@tesouro/embedded-components-react 0.2.204 → 0.2.206
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/ReceivablesWidget.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +20 -20
- 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/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/index111.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +9 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +25 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +1269 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +22 -1270
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +5 -5
- 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/index163.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +19 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +19 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +114 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +70 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +11 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +25 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +96 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +101 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +14 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +13 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +11 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +99 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +57 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +9 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +45 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +58 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +14 -228
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +23 -467
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +74 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +27 -537
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +40 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +6 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +226 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +459 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +106 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +536 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +24 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +35 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +5 -146
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +488 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +164 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +42 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +59 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +118 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +44 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +53 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +146 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +86 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +25 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +183 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +26 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +28 -359
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +42 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +63 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +96 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +62 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index24.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +73 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +50 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +27 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +72 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +10 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +13 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index25.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +73 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +75 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +20 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +17 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +164 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +132 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +66 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +156 -41
- 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 +10 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +63 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +60 -483
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +55 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +6 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +8 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +59 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +23 -118
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +62 -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 +14 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +64 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +22 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +54 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +27 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +60 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +14 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +36 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +80 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +33 -28
- 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 +359 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +117 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +6 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +17 -300
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +9 -98
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +11 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +11 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +12 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +20 -19
- 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 +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +54 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +35 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +12 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +29 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +17 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +107 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +10 -8
- 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 +19 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +23 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +38 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +56 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +47 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +30 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +95 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +43 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +146 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +109 -149
- 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 +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +149 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +19 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +7 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +25 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +119 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +44 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +114 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +109 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +49 -18
- 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 +200 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +69 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +345 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +300 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +95 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +159 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +262 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +19 -159
- 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 +30 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +38 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +27 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +30 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +29 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +12 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +32 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +16 -200
- 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 +40 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +2 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +96 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +96 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +211 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +26 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +126 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +157 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +28 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +56 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +34 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +123 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +17 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +34 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +22 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +73 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +16 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +3 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +13 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +16 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +49 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +32 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +20 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +47 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +44 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +61 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +44 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +36 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +13 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +63 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +118 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +81 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +2 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +11 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +65 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +44 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +26 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +7 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +15 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +91 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +83 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +17 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +84 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +266 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +37 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +60 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +44 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +22 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +139 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +284 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +43 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +15 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +31 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +40 -266
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +69 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +94 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +10 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +9 -141
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +5 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +27 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +38 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +31 -284
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +4 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +127 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +51 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +40 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +46 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +82 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +55 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +51 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +29 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +53 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +54 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +69 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +8 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +80 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +38 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +18 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +12 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +33 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +32 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +85 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +23 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +100 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +112 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +70 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +66 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +39 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +12 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +41 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +37 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +13 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +52 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +22 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +37 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +51 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +59 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +29 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +26 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +92 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +14 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +75 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +9 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +68 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +39 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +51 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +35 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +17 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +48 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +7 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +39 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index58.js +2 -2
- 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 +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +33 -30
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +23 -23
- package/package.json +1 -1
|
@@ -1,25 +1,65 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
}
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as a, jsx as e } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Fragment as m } from "react";
|
|
3
|
+
import { useLingui as h } from "@lingui/react";
|
|
4
|
+
import _ from "@mui/icons-material/MonetizationOnOutlined";
|
|
5
|
+
import { useTheme as g, Box as i, Typography as n, lighten as f, List as x, ListItem as l } from "@mui/material";
|
|
6
|
+
const F = ({
|
|
7
|
+
offers: p
|
|
8
|
+
}) => {
|
|
9
|
+
const {
|
|
10
|
+
i18n: t
|
|
11
|
+
} = h(), d = g();
|
|
12
|
+
return !p || p.length === 0 ? null : /* @__PURE__ */ a(i, { width: "100%", children: [
|
|
13
|
+
/* @__PURE__ */ e(n, { variant: "subtitle1", sx: {
|
|
14
|
+
mb: 3,
|
|
15
|
+
display: "inline-block"
|
|
16
|
+
}, children: t._("Current offer") }),
|
|
17
|
+
/* @__PURE__ */ e(i, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
gap: 2,
|
|
20
|
+
flexWrap: "wrap"
|
|
21
|
+
}, children: p.map((o, c) => o?.pricing_plans?.map((r, s) => /* @__PURE__ */ a(i, { width: 232, height: 148, px: 3, py: 2.5, sx: {
|
|
22
|
+
backgroundColor: d.palette.background.paper,
|
|
23
|
+
borderRadius: "16px",
|
|
24
|
+
border: `1px solid ${d.palette.divider}`
|
|
25
|
+
}, children: [
|
|
26
|
+
/* @__PURE__ */ a(i, { sx: {
|
|
27
|
+
display: "flex",
|
|
28
|
+
alignItems: "center",
|
|
29
|
+
gap: 1,
|
|
30
|
+
mb: 2
|
|
31
|
+
}, children: [
|
|
32
|
+
/* @__PURE__ */ e(_, { sx: {
|
|
33
|
+
fontSize: 24,
|
|
34
|
+
color: f(d.palette.primary.main, 0.6)
|
|
35
|
+
} }),
|
|
36
|
+
/* @__PURE__ */ e(n, { variant: "body1", fontWeight: 500, sx: {
|
|
37
|
+
flex: "1 1 0%",
|
|
38
|
+
width: "100%"
|
|
39
|
+
}, children: t._("Financing plan") })
|
|
40
|
+
] }),
|
|
41
|
+
/* @__PURE__ */ e(x, { sx: {
|
|
42
|
+
p: 0
|
|
43
|
+
}, children: /* @__PURE__ */ a(m, { children: [
|
|
44
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
45
|
+
p: 0
|
|
46
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemAdvance_rate_percentage}% advance rate", {
|
|
47
|
+
itemAdvance_rate_percentage: r.advance_rate_percentage / 100
|
|
48
|
+
}) }) }),
|
|
49
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
50
|
+
p: 0
|
|
51
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("Pay in {itemRepayment_duration_days} days", {
|
|
52
|
+
itemRepayment_duration_days: r.repayment_duration_days
|
|
53
|
+
}) }) }),
|
|
54
|
+
/* @__PURE__ */ e(l, { sx: {
|
|
55
|
+
p: 0
|
|
56
|
+
}, children: /* @__PURE__ */ e(n, { variant: "body1", fontWeight: 400, children: t._("{itemFee_percentage}% fee", {
|
|
57
|
+
itemFee_percentage: r.fee_percentage / 100
|
|
58
|
+
}) }) })
|
|
59
|
+
] }, r.advance_rate_percentage) })
|
|
60
|
+
] }, `${o.available_amount}-${c}-${o.total_amount}-${s}`))) })
|
|
61
|
+
] });
|
|
16
62
|
};
|
|
17
63
|
export {
|
|
18
|
-
|
|
19
|
-
o as FILTER_TYPE_CREATED_AT,
|
|
20
|
-
p as FILTER_TYPE_CREATED_BY,
|
|
21
|
-
T as FILTER_TYPE_SEARCH,
|
|
22
|
-
d as ROLE_APPROVAL_CALLS,
|
|
23
|
-
R as ROW_TO_STATUS_MUI_MAP,
|
|
24
|
-
i as getRowToStatusTextMap
|
|
64
|
+
F as FinanceOffers
|
|
25
65
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as s } from "./index57.js";
|
|
2
|
-
import { getAPIErrorMessage as i } from "./
|
|
2
|
+
import { getAPIErrorMessage as i } from "./index119.js";
|
|
3
3
|
import { useLingui as n } from "@lingui/react";
|
|
4
4
|
import { toast as p } from "react-hot-toast";
|
|
5
5
|
const c = (t) => {
|
|
@@ -1,46 +1,16 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
} = l({
|
|
15
|
-
approvalPolicy: o
|
|
16
|
-
});
|
|
17
|
-
return o ? /* @__PURE__ */ i(s, { children: Object.keys(a).map((r) => {
|
|
18
|
-
switch (r) {
|
|
19
|
-
case "amount":
|
|
20
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
21
|
-
/* @__PURE__ */ i(m, { width: 18 }),
|
|
22
|
-
e(r)
|
|
23
|
-
] }, r);
|
|
24
|
-
case "was_created_by_user_id":
|
|
25
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
26
|
-
/* @__PURE__ */ i(p, { width: 18 }),
|
|
27
|
-
e(r)
|
|
28
|
-
] }, r);
|
|
29
|
-
case "counterpart_id":
|
|
30
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
31
|
-
/* @__PURE__ */ i(n, { width: 18 }),
|
|
32
|
-
e(r)
|
|
33
|
-
] }, r);
|
|
34
|
-
case "tags":
|
|
35
|
-
return /* @__PURE__ */ t("li", { children: [
|
|
36
|
-
/* @__PURE__ */ i(c, { width: 18 }),
|
|
37
|
-
e(r)
|
|
38
|
-
] }, r);
|
|
39
|
-
default:
|
|
40
|
-
return null;
|
|
41
|
-
}
|
|
42
|
-
}) }) : null;
|
|
43
|
-
};
|
|
1
|
+
import { jsxs as r, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { Box as f } from "@mui/material";
|
|
3
|
+
import { FinanceLimits as e } from "./index267.js";
|
|
4
|
+
import { FinanceOffers as i } from "./index269.js";
|
|
5
|
+
const p = ({
|
|
6
|
+
offers: s
|
|
7
|
+
}) => /* @__PURE__ */ r(f, { sx: {
|
|
8
|
+
display: "flex",
|
|
9
|
+
gap: 2
|
|
10
|
+
}, children: [
|
|
11
|
+
/* @__PURE__ */ o(e, { offers: s }),
|
|
12
|
+
s?.[0]?.status === "CURRENT" && /* @__PURE__ */ o(i, { offers: s })
|
|
13
|
+
] });
|
|
44
14
|
export {
|
|
45
|
-
|
|
15
|
+
p as FinanceWidget
|
|
46
16
|
};
|
|
@@ -1,59 +1,69 @@
|
|
|
1
|
-
import { jsxs as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { useLingui as
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
import { jsxs as r, jsx as e, Fragment as T } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { MeasureUnitsFormRow as f } from "./index396.js";
|
|
3
|
+
import { ConfirmDeleteMeasureUnitDialog as j } from "./index397.js";
|
|
4
|
+
import { TableActions as z } from "./index398.js";
|
|
5
|
+
import { Table as A, TableHeader as E, TableRow as h, TableHead as l, TableBody as G, TableCell as d } from "./index241.js";
|
|
6
|
+
import { useLingui as I } from "@lingui/react";
|
|
7
|
+
import { Loader2 as b, Search as S } from "lucide-react";
|
|
8
|
+
import { useState as m, useCallback as w } from "react";
|
|
9
|
+
import "./index57.js";
|
|
10
|
+
import "react-hot-toast";
|
|
11
|
+
import { useGetMeasureUnits as _ } from "./index313.js";
|
|
12
|
+
import { useDeleteMeasureUnit as y } from "./index399.js";
|
|
13
|
+
import { InputGroup as F, InputGroupAddon as H, InputGroupInput as k } from "./index101.js";
|
|
14
|
+
import { useDebounceCallback as R } from "./index65.js";
|
|
15
|
+
const at = () => {
|
|
16
16
|
const {
|
|
17
|
-
i18n:
|
|
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
|
-
|
|
17
|
+
i18n: i
|
|
18
|
+
} = I(), [g, s] = m(null), [a, c] = m(null), x = !!a, [u, N] = m(""), {
|
|
19
|
+
data: C,
|
|
20
|
+
isLoading: M
|
|
21
|
+
} = _(), n = y(a?.name), $ = R((t) => {
|
|
22
|
+
N(t);
|
|
23
|
+
}, 500), D = C?.data?.filter((t) => t.name.toLowerCase().includes(u.toLowerCase()) || t.description && t.description.toLowerCase().includes(u.toLowerCase())) || [], L = w((t) => {
|
|
24
|
+
c(t);
|
|
25
|
+
}, []), o = w(() => {
|
|
26
|
+
c(null);
|
|
27
|
+
}, []), U = w(() => {
|
|
28
|
+
a && n.mutate({
|
|
29
|
+
path: {
|
|
30
|
+
unit_id: a.id
|
|
31
|
+
}
|
|
32
|
+
}, {
|
|
33
|
+
onSuccess: () => o()
|
|
34
|
+
});
|
|
35
|
+
}, [n, a, o]), p = n.isPending, v = () => {
|
|
36
|
+
s(null);
|
|
37
|
+
};
|
|
38
|
+
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:h-full ttw:relative", children: [
|
|
39
|
+
M ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:justify-center ttw:items-center ttw:h-full", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }) : /* @__PURE__ */ r(T, { children: [
|
|
40
|
+
p && /* @__PURE__ */ e("div", { className: "ttw:absolute ttw:inset-0 ttw:bg-white/70 ttw:flex ttw:justify-center ttw:items-center ttw:z-10", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }),
|
|
41
|
+
/* @__PURE__ */ r(F, { children: [
|
|
42
|
+
/* @__PURE__ */ e(H, { align: "inline-start", children: /* @__PURE__ */ e(S, {}) }),
|
|
43
|
+
/* @__PURE__ */ e(k, { placeholder: i._("Search"), onChange: (t) => $(t.target.value) })
|
|
44
|
+
] }),
|
|
45
|
+
/* @__PURE__ */ r(A, { className: "ttw:table-fixed ttw:border ttw:border-border ttw:rounded-md", children: [
|
|
46
|
+
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(h, { className: "ttw:hover:bg-transparent ttw:border-border", children: [
|
|
47
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[35%]", children: i._("Unit label") }),
|
|
48
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[55%]", children: i._("Description (optional)") }),
|
|
49
|
+
/* @__PURE__ */ e(l, { className: "ttw:w-[10%]" })
|
|
50
|
+
] }) }),
|
|
51
|
+
/* @__PURE__ */ r(G, { children: [
|
|
52
|
+
/* @__PURE__ */ e(f, { isEditMode: !1 }),
|
|
53
|
+
D.map((t) => g?.id === t.id ? /* @__PURE__ */ e(f, { isEditMode: !0, initialValues: t, onCancel: v, onEdit: () => s(null), id: t.id }, t.id) : /* @__PURE__ */ r(h, { className: "ttw:border-border", children: [
|
|
54
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[35%] ttw:text-sm ttw:truncate", children: t.name }),
|
|
55
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[55%] ttw:text-sm ttw:text-muted-foreground ttw:truncate", children: t.description || "—" }),
|
|
56
|
+
/* @__PURE__ */ e(d, { className: "ttw:w-[10%]", children: /* @__PURE__ */ e(z, { permissions: {
|
|
57
|
+
isUpdateAllowed: !0,
|
|
58
|
+
isDeleteAllowed: !0
|
|
59
|
+
}, onEdit: () => s(t), onDelete: () => L(t) }) })
|
|
60
|
+
] }, t.id))
|
|
61
|
+
] })
|
|
62
|
+
] })
|
|
63
|
+
] }),
|
|
64
|
+
/* @__PURE__ */ e(j, { open: x, id: a?.id, name: a?.name || "", isLoading: p, onClose: o, onDelete: U })
|
|
55
65
|
] });
|
|
56
66
|
};
|
|
57
67
|
export {
|
|
58
|
-
|
|
68
|
+
at as ManageMeasureUnitsForm
|
|
59
69
|
};
|
|
@@ -1,69 +1,24 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
const {
|
|
17
|
-
i18n: i
|
|
18
|
-
} = I(), [g, s] = m(null), [a, c] = m(null), x = !!a, [u, N] = m(""), {
|
|
19
|
-
data: C,
|
|
20
|
-
isLoading: M
|
|
21
|
-
} = _(), n = y(a?.name), $ = R((t) => {
|
|
22
|
-
N(t);
|
|
23
|
-
}, 500), D = C?.data?.filter((t) => t.name.toLowerCase().includes(u.toLowerCase()) || t.description && t.description.toLowerCase().includes(u.toLowerCase())) || [], L = w((t) => {
|
|
24
|
-
c(t);
|
|
25
|
-
}, []), o = w(() => {
|
|
26
|
-
c(null);
|
|
27
|
-
}, []), U = w(() => {
|
|
28
|
-
a && n.mutate({
|
|
29
|
-
path: {
|
|
30
|
-
unit_id: a.id
|
|
31
|
-
}
|
|
32
|
-
}, {
|
|
33
|
-
onSuccess: () => o()
|
|
34
|
-
});
|
|
35
|
-
}, [n, a, o]), p = n.isPending, v = () => {
|
|
36
|
-
s(null);
|
|
37
|
-
};
|
|
38
|
-
return /* @__PURE__ */ r("div", { className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:h-full ttw:relative", children: [
|
|
39
|
-
M ? /* @__PURE__ */ e("div", { className: "ttw:flex ttw:justify-center ttw:items-center ttw:h-full", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }) : /* @__PURE__ */ r(T, { children: [
|
|
40
|
-
p && /* @__PURE__ */ e("div", { className: "ttw:absolute ttw:inset-0 ttw:bg-white/70 ttw:flex ttw:justify-center ttw:items-center ttw:z-10", children: /* @__PURE__ */ e(b, { className: "ttw:size-10 ttw:animate-spin ttw:text-muted-foreground" }) }),
|
|
41
|
-
/* @__PURE__ */ r(F, { children: [
|
|
42
|
-
/* @__PURE__ */ e(H, { align: "inline-start", children: /* @__PURE__ */ e(S, {}) }),
|
|
43
|
-
/* @__PURE__ */ e(k, { placeholder: i._("Search"), onChange: (t) => $(t.target.value) })
|
|
44
|
-
] }),
|
|
45
|
-
/* @__PURE__ */ r(A, { className: "ttw:table-fixed ttw:border ttw:border-border ttw:rounded-md", children: [
|
|
46
|
-
/* @__PURE__ */ e(E, { children: /* @__PURE__ */ r(h, { className: "ttw:hover:bg-transparent ttw:border-border", children: [
|
|
47
|
-
/* @__PURE__ */ e(l, { className: "ttw:w-[35%]", children: i._("Unit label") }),
|
|
48
|
-
/* @__PURE__ */ e(l, { className: "ttw:w-[55%]", children: i._("Description (optional)") }),
|
|
49
|
-
/* @__PURE__ */ e(l, { className: "ttw:w-[10%]" })
|
|
50
|
-
] }) }),
|
|
51
|
-
/* @__PURE__ */ r(G, { children: [
|
|
52
|
-
/* @__PURE__ */ e(f, { isEditMode: !1 }),
|
|
53
|
-
D.map((t) => g?.id === t.id ? /* @__PURE__ */ e(f, { isEditMode: !0, initialValues: t, onCancel: v, onEdit: () => s(null), id: t.id }, t.id) : /* @__PURE__ */ r(h, { className: "ttw:border-border", children: [
|
|
54
|
-
/* @__PURE__ */ e(d, { className: "ttw:w-[35%] ttw:text-sm ttw:truncate", children: t.name }),
|
|
55
|
-
/* @__PURE__ */ e(d, { className: "ttw:w-[55%] ttw:text-sm ttw:text-muted-foreground ttw:truncate", children: t.description || "—" }),
|
|
56
|
-
/* @__PURE__ */ e(d, { className: "ttw:w-[10%]", children: /* @__PURE__ */ e(z, { permissions: {
|
|
57
|
-
isUpdateAllowed: !0,
|
|
58
|
-
isDeleteAllowed: !0
|
|
59
|
-
}, onEdit: () => s(t), onDelete: () => L(t) }) })
|
|
60
|
-
] }, t.id))
|
|
61
|
-
] })
|
|
62
|
-
] })
|
|
63
|
-
] }),
|
|
64
|
-
/* @__PURE__ */ e(j, { open: x, id: a?.id, name: a?.name || "", isLoading: p, onClose: o, onDelete: U })
|
|
65
|
-
] });
|
|
66
|
-
};
|
|
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";
|
|
67
16
|
export {
|
|
68
|
-
|
|
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
|
|
69
24
|
};
|
|
@@ -1,23 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import "./
|
|
3
|
-
import "
|
|
4
|
-
import "
|
|
5
|
-
import {
|
|
6
|
-
import "
|
|
7
|
-
import "
|
|
8
|
-
import "
|
|
9
|
-
import {
|
|
10
|
-
const
|
|
11
|
-
|
|
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 "./index348.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 "./index272.js";
|
|
8
|
+
import { getRowToStatusTextMap as S } from "./index400.js";
|
|
9
|
+
import { AutocompleteCreatedBy as M } from "./index401.js";
|
|
10
|
+
const O = ({
|
|
11
|
+
onChangeFilter: l,
|
|
12
|
+
sx: i
|
|
12
13
|
}) => {
|
|
13
14
|
const {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
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
|
+
] });
|
|
20
56
|
};
|
|
21
57
|
export {
|
|
22
|
-
|
|
58
|
+
O as ApprovalRequestsFilter
|
|
23
59
|
};
|
|
@@ -1,45 +1,31 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
const
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
onDelete: m,
|
|
11
|
-
modalOpened: d
|
|
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 "./index272.js";
|
|
6
|
+
import { getRowToStatusTextMap as T } from "./index400.js";
|
|
7
|
+
const c = ({
|
|
8
|
+
ref: s,
|
|
9
|
+
...e
|
|
12
10
|
}) => {
|
|
13
11
|
const {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
} =
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
r.mutate(void 0, {
|
|
32
|
-
onSuccess: () => {
|
|
33
|
-
g.success(o._("Tag “{tagName}” was deleted", {
|
|
34
|
-
tagName: e.name
|
|
35
|
-
})), i?.(), m?.(e.id);
|
|
36
|
-
}
|
|
37
|
-
});
|
|
38
|
-
};
|
|
39
|
-
return /* @__PURE__ */ a(u, { open: d, title: o._("Delete “{tagName}” tag?", {
|
|
40
|
-
tagName: e.name
|
|
41
|
-
}), message: o._("This action can’t be undone."), confirmLabel: o._("Delete"), cancelLabel: o._("Cancel"), onClose: i, onConfirm: l, isLoading: r.isPending });
|
|
42
|
-
};
|
|
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
|
+
})({});
|
|
43
29
|
export {
|
|
44
|
-
|
|
30
|
+
c as ApprovalRequestStatusChip
|
|
45
31
|
};
|
|
@@ -1,16 +1,62 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
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
|
+
};
|
|
13
60
|
export {
|
|
14
|
-
|
|
15
|
-
a as tagCategories
|
|
61
|
+
q as useApprovalRequestActionsCell
|
|
16
62
|
};
|