@tesouro/embedded-components-react 0.2.85 → 0.2.87
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +4 -0
- package/dist/lib/BillPayWidget.d.ts +4 -0
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/lib/monite-sdk.d.ts +19 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/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 +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +24 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +13 -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 +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +33 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +80 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.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/index140.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +107 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +2 -2
- 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/index157.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +13 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +19 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +9 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +21 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +22 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +27 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +108 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +69 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +13 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +94 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +57 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +9 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +75 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +54 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +78 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +29 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +40 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +7 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +114 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +70 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +191 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +29 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +109 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +131 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +18 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +25 -390
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +19 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +183 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +13 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +22 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +118 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +4 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +88 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +6 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +43 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +48 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +394 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +20 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +36 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +30 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +62 -345
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +96 -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/index240.js +110 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +86 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +62 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +486 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +163 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +149 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +19 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +42 -15
- 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 +62 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +29 -248
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +113 -182
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +22 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +53 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +22 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +53 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +29 -30
- 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 +55 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +37 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +341 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +296 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +103 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +157 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +267 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +20 -73
- 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 +24 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +31 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +73 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +2 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +95 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +96 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +191 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +41 -485
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +21 -160
- 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 +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +72 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +32 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +18 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +42 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +14 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +69 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +35 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +34 -80
- 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 +54 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +344 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +18 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +13 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +13 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +10 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +15 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +28 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +26 -25
- 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 +31 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +33 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +15 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +241 -336
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +174 -294
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +12 -103
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +18 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +23 -264
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +38 -23
- 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 +56 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +51 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +29 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +98 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +44 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +65 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +43 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +22 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +187 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +98 -161
- 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 +81 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +278 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +15 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +83 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +221 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +94 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +16 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +71 -57
- 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 +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +48 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +45 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +160 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +25 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +76 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +27 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +126 -284
- 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 +21 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +18 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +165 -219
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +129 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +162 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +12 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +18 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +60 -124
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +63 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +59 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +6 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +11 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +58 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +22 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +14 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +75 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +41 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +255 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +32 -255
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +53 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +24 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +123 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +16 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +16 -8
- 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 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +24 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +36 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +71 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +16 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +16 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +11 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +30 -93
- 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 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +61 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +19 -18
- 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 +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +21 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +28 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +24 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +20 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +46 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +12 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +37 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +8 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +14 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +65 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +21 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +68 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +47 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +152 -148
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +26 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +7 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +31 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +4 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +127 -19
- 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 +12 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +21 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +48 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +101 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +19 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +35 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +57 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +35 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +40 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +72 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +94 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +75 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +66 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +39 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +32 -104
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +85 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +24 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +103 -26
- 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 +110 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +28 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +24 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +38 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +5 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +39 -73
- 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 +29 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +81 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +48 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +47 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +82 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +52 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +50 -67
- 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 +57 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +53 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +70 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +21 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +93 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +75 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +21 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +9 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +19 -40
- 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 +48 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +57 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +29 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +40 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +35 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +30 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +66 -93
- 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 +40 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +20 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +14 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +16 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- 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/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/index94.js +1 -1
- 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 +22 -22
- package/package.json +1 -1
|
@@ -1,76 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
flexWrap: "wrap"
|
|
37
|
-
}, children: r.counterpart_id?.map((o) => /* @__PURE__ */ e(g, { label: o.label }, o.id)) });
|
|
38
|
-
break;
|
|
39
|
-
case "amount":
|
|
40
|
-
t = /* @__PURE__ */ e("p", { children: u(r.amount?.value ?? [], r.amount?.currency ?? "EUR") });
|
|
41
|
-
break;
|
|
42
|
-
default:
|
|
43
|
-
t = i;
|
|
44
|
-
break;
|
|
45
|
-
}
|
|
46
|
-
return {
|
|
47
|
-
key: i,
|
|
48
|
-
label: c,
|
|
49
|
-
value: t
|
|
50
|
-
};
|
|
51
|
-
}), [r, p, u]);
|
|
52
|
-
return /* @__PURE__ */ e(y, { variant: "outlined", children: /* @__PURE__ */ l(C, { children: [
|
|
53
|
-
/* @__PURE__ */ e(v, { children: /* @__PURE__ */ l(d, { children: [
|
|
54
|
-
/* @__PURE__ */ e(a, { children: n._("Condition") }),
|
|
55
|
-
/* @__PURE__ */ e(a, { children: n._("Criteria") }),
|
|
56
|
-
/* @__PURE__ */ e(a, {})
|
|
57
|
-
] }) }),
|
|
58
|
-
/* @__PURE__ */ l(A, { children: [
|
|
59
|
-
h.length > 0 ? h.map((i) => /* @__PURE__ */ l(d, { hover: !0, sx: {
|
|
60
|
-
"&.MuiTableRow-root": {
|
|
61
|
-
cursor: "pointer"
|
|
62
|
-
}
|
|
63
|
-
}, onClick: () => b(i.key), children: [
|
|
64
|
-
/* @__PURE__ */ e(a, { children: i.label }),
|
|
65
|
-
/* @__PURE__ */ e(a, { children: i.value }),
|
|
66
|
-
/* @__PURE__ */ e(a, { children: /* @__PURE__ */ e(j, { "aria-label": n._("Delete trigger"), onClick: (c) => {
|
|
67
|
-
c.stopPropagation(), _(i.key);
|
|
68
|
-
}, children: /* @__PURE__ */ e(x, {}) }) })
|
|
69
|
-
] }, i.label)) : /* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(a, { colSpan: 3, children: n._("No conditions") }) }),
|
|
70
|
-
/* @__PURE__ */ e(d, { children: /* @__PURE__ */ e(a, { colSpan: 3, children: /* @__PURE__ */ e(B, { startIcon: /* @__PURE__ */ e(f, {}), onClick: m, disabled: !!(r?.was_created_by_user_id?.length && r?.tags?.length && r?.counterpart_id?.length && r?.amount?.value?.length), children: n._("Add new condition") }) }) })
|
|
71
|
-
] })
|
|
72
|
-
] }) });
|
|
1
|
+
import { getSharedApprovalRuleLabel as _, getUsersFromListLabel as t } from "./index378.js";
|
|
2
|
+
const r = {
|
|
3
|
+
SINGLE_USER: "single_user",
|
|
4
|
+
USERS_FROM_LIST: "users_from_list",
|
|
5
|
+
ROLES_FROM_LIST: "roles_from_list",
|
|
6
|
+
APPROVAL_CHAIN: "approval_chain"
|
|
7
|
+
}, S = {
|
|
8
|
+
REQUEST_APPROVAL_BY_USERS: "ApprovalRequests.request_approval_by_users",
|
|
9
|
+
REQUEST_APPROVAL_BY_ROLES: "ApprovalRequests.request_approval_by_roles"
|
|
10
|
+
}, L = (s, e) => {
|
|
11
|
+
switch (s) {
|
|
12
|
+
case r.SINGLE_USER:
|
|
13
|
+
return e._("Single user");
|
|
14
|
+
case r.USERS_FROM_LIST:
|
|
15
|
+
return e._("Users from the list");
|
|
16
|
+
case r.ROLES_FROM_LIST:
|
|
17
|
+
return e._("Roles from the list");
|
|
18
|
+
case r.APPROVAL_CHAIN:
|
|
19
|
+
return e._("Approval chain");
|
|
20
|
+
default:
|
|
21
|
+
return;
|
|
22
|
+
}
|
|
23
|
+
}, l = (s, e, a) => {
|
|
24
|
+
switch (s) {
|
|
25
|
+
case r.SINGLE_USER:
|
|
26
|
+
return _.singleUser(e);
|
|
27
|
+
case r.USERS_FROM_LIST:
|
|
28
|
+
return t(e, a);
|
|
29
|
+
case r.ROLES_FROM_LIST:
|
|
30
|
+
return _.anyUserWithRole(e);
|
|
31
|
+
case r.APPROVAL_CHAIN:
|
|
32
|
+
return _.allUsersFromList(e);
|
|
33
|
+
default:
|
|
34
|
+
return;
|
|
35
|
+
}
|
|
73
36
|
};
|
|
74
37
|
export {
|
|
75
|
-
|
|
38
|
+
r as APPROVAL_POLICY_RULE_TYPES,
|
|
39
|
+
S as APPROVAL_REQUEST_CALLS,
|
|
40
|
+
l as getRuleLabel,
|
|
41
|
+
L as getRuleName
|
|
76
42
|
};
|
|
@@ -12,10 +12,10 @@ import { Button as p } from "./index84.js";
|
|
|
12
12
|
import { Sheet as U, SheetContent as _, SheetHeader as $, SheetTitle as F, SheetDescription as I, SheetFooter as j, SheetClose as D } from "./index130.js";
|
|
13
13
|
import { LoadingSpinner as L } from "./index131.js";
|
|
14
14
|
import { useForm as M, FormProvider as k } from "react-hook-form";
|
|
15
|
-
import { useCreateProduct as q } from "./
|
|
15
|
+
import { useCreateProduct as q } from "./index167.js";
|
|
16
16
|
import "react-hot-toast";
|
|
17
|
-
import { getProductValidationSchema as z } from "./
|
|
18
|
-
import { ProductFormContent as T } from "./
|
|
17
|
+
import { getProductValidationSchema as z } from "./index168.js";
|
|
18
|
+
import { ProductFormContent as T } from "./index169.js";
|
|
19
19
|
const ie = (s) => /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(V, { ...s }) }), V = ({
|
|
20
20
|
onClose: s,
|
|
21
21
|
open: u,
|
|
@@ -1,88 +1,32 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
switch (l) {
|
|
25
|
-
case "users_from_list":
|
|
26
|
-
s = d(l, (typeof t == "string" ? parseInt(t) : t) || 0);
|
|
27
|
-
break;
|
|
28
|
-
case "roles_from_list":
|
|
29
|
-
s = d(l, typeof c == "string" ? parseInt(c) : c || 0);
|
|
30
|
-
break;
|
|
31
|
-
default:
|
|
32
|
-
s = d(l);
|
|
33
|
-
}
|
|
34
|
-
switch (l) {
|
|
35
|
-
case "single_user":
|
|
36
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
37
|
-
overflow: "hidden"
|
|
38
|
-
}, children: r.single_user?.id && /* @__PURE__ */ e(h, { userId: r.single_user?.id }, r.single_user?.id) });
|
|
39
|
-
break;
|
|
40
|
-
case "users_from_list":
|
|
41
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
42
|
-
overflow: "hidden"
|
|
43
|
-
}, children: r?.users_from_list?.map((o) => /* @__PURE__ */ e(h, { userId: o.id }, o.id)) });
|
|
44
|
-
break;
|
|
45
|
-
case "roles_from_list":
|
|
46
|
-
a = /* @__PURE__ */ e(p, { direction: "row", gap: 1, flexWrap: "wrap", useFlexGap: !0, sx: {
|
|
47
|
-
"& > *": {
|
|
48
|
-
flexShrink: 0
|
|
49
|
-
}
|
|
50
|
-
}, children: r.roles_from_list?.map((o) => /* @__PURE__ */ e(j, { roleId: o.id }, o.id)) });
|
|
51
|
-
break;
|
|
52
|
-
case "approval_chain":
|
|
53
|
-
a = /* @__PURE__ */ e(p, { direction: "column", spacing: 0.5, sx: {
|
|
54
|
-
overflow: "hidden"
|
|
55
|
-
}, children: r?.approval_chain?.map((o) => /* @__PURE__ */ e(h, { userId: o.id }, o.id)) });
|
|
56
|
-
break;
|
|
57
|
-
}
|
|
58
|
-
return {
|
|
59
|
-
key: l,
|
|
60
|
-
label: s,
|
|
61
|
-
value: a
|
|
62
|
-
};
|
|
63
|
-
}), [r, t, d, c]);
|
|
64
|
-
return /* @__PURE__ */ e(C, { variant: "outlined", children: /* @__PURE__ */ u(T, { children: [
|
|
65
|
-
/* @__PURE__ */ e(y, { children: /* @__PURE__ */ u(m, { children: [
|
|
66
|
-
/* @__PURE__ */ e(i, { children: n._("Condition") }),
|
|
67
|
-
/* @__PURE__ */ e(i, { children: n._("Criteria") }),
|
|
68
|
-
/* @__PURE__ */ e(i, {})
|
|
69
|
-
] }) }),
|
|
70
|
-
/* @__PURE__ */ u(I, { children: [
|
|
71
|
-
_.length > 0 ? _.map((l) => /* @__PURE__ */ u(m, { hover: !0, sx: {
|
|
72
|
-
"&.MuiTableRow-root": {
|
|
73
|
-
cursor: "pointer"
|
|
74
|
-
}
|
|
75
|
-
}, onClick: () => b(l.key), children: [
|
|
76
|
-
/* @__PURE__ */ e(i, { children: l.label }),
|
|
77
|
-
/* @__PURE__ */ e(i, { children: l.value }),
|
|
78
|
-
/* @__PURE__ */ e(i, { children: /* @__PURE__ */ e(R, { "aria-label": n._("Delete trigger"), onClick: (s) => {
|
|
79
|
-
s.stopPropagation(), g(l.key);
|
|
80
|
-
}, children: /* @__PURE__ */ e(w, {}) }) })
|
|
81
|
-
] }, l.label)) : /* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(i, { colSpan: 3, children: n._("No rules") }) }),
|
|
82
|
-
/* @__PURE__ */ e(m, { children: /* @__PURE__ */ e(i, { colSpan: 3, children: /* @__PURE__ */ e(S, { startIcon: /* @__PURE__ */ e(x, {}), onClick: f, disabled: !!r.single_user && (r.users_from_list?.length ?? 0) > 0 && (r.roles_from_list?.length ?? 0) > 0 && (r.approval_chain?.length ?? 0) > 0, children: n._("Add new rule") }) }) })
|
|
83
|
-
] })
|
|
84
|
-
] }) });
|
|
1
|
+
const n = {
|
|
2
|
+
WAS_CREATED_BY_USER_ID: "was_created_by_user_id",
|
|
3
|
+
COUNTERPART_ID: "counterpart_id",
|
|
4
|
+
TAGS: "tags.id",
|
|
5
|
+
AMOUNT: "amount",
|
|
6
|
+
CURRENCY: "currency"
|
|
7
|
+
}, o = (e) => Object.values(n).includes(e), r = {
|
|
8
|
+
IN: "in",
|
|
9
|
+
EQUALS: "==",
|
|
10
|
+
GREATER_THAN: ">",
|
|
11
|
+
LESS_THAN: "<",
|
|
12
|
+
GREATER_THAN_OR_EQUAL: ">=",
|
|
13
|
+
LESS_THAN_OR_EQUAL: "<=",
|
|
14
|
+
RANGE: "range"
|
|
15
|
+
}, i = (e) => Object.values(r).includes(e), a = (e) => e.replace("invoice.", ""), t = (e) => e.operator === r.IN && typeof e.left_operand == "string" && typeof e.right_operand == "object" && e.right_operand && "name" in e.right_operand, _ = (e) => !!e.left_operand && typeof e.left_operand == "object" && "name" in e.left_operand, l = (e) => t(e) ? {
|
|
16
|
+
key: a(e.right_operand.name),
|
|
17
|
+
value: e.left_operand
|
|
18
|
+
} : _(e) ? {
|
|
19
|
+
key: a(e.left_operand?.name),
|
|
20
|
+
value: e.right_operand
|
|
21
|
+
} : {
|
|
22
|
+
key: null,
|
|
23
|
+
value: null
|
|
85
24
|
};
|
|
86
25
|
export {
|
|
87
|
-
|
|
26
|
+
n as NAMED_VALUES,
|
|
27
|
+
r as OPERATOR_OPERATIONS,
|
|
28
|
+
a as extractFieldName,
|
|
29
|
+
l as getTriggerKeyAndValue,
|
|
30
|
+
i as isValidOperation,
|
|
31
|
+
o as isValidTriggerKey
|
|
88
32
|
};
|
|
@@ -1,57 +1,85 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
import { Autocomplete as L, TextField as T, CircularProgress as E, FormHelperText as S } from "@mui/material";
|
|
9
|
-
const z = ({
|
|
10
|
-
control: a,
|
|
11
|
-
name: n,
|
|
12
|
-
label: m
|
|
1
|
+
const i = ({
|
|
2
|
+
variant: t,
|
|
3
|
+
isError: e = !1,
|
|
4
|
+
componentType: s,
|
|
5
|
+
showAvatar: a = !1,
|
|
6
|
+
showUsersAsEmail: n = !1,
|
|
7
|
+
className: w = ""
|
|
13
8
|
}) => {
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
return /* @__PURE__ */ o(P, { control: a, name: n, render: ({
|
|
32
|
-
field: s,
|
|
33
|
-
fieldState: {
|
|
34
|
-
error: r
|
|
35
|
-
}
|
|
36
|
-
}) => /* @__PURE__ */ l(p, { children: [
|
|
37
|
-
/* @__PURE__ */ o(L, { ...s, id: s.name, multiple: !0, autoComplete: !0, includeInputInList: !0, filterSelectedOptions: !0, noOptionsText: u._("No users found"), slotProps: {
|
|
38
|
-
popper: {
|
|
39
|
-
container: c
|
|
40
|
-
}
|
|
41
|
-
}, loading: i, options: C?.data || [], getOptionKey: (e) => e.id, getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(), isOptionEqualToValue: (e, t) => e.id === t.id, filterOptions: (e) => e, onInputChange: (e, t) => {
|
|
42
|
-
h(t);
|
|
43
|
-
}, onChange: (e, t) => {
|
|
44
|
-
f(n, t), I();
|
|
45
|
-
}, renderInput: (e) => /* @__PURE__ */ o(T, { ...e, label: m, error: !!r, InputProps: {
|
|
46
|
-
...e.InputProps,
|
|
47
|
-
endAdornment: /* @__PURE__ */ l(p, { children: [
|
|
48
|
-
i ? /* @__PURE__ */ o(E, { color: "inherit", size: 20 }) : null,
|
|
49
|
-
e.InputProps.endAdornment
|
|
50
|
-
] })
|
|
51
|
-
} }) }),
|
|
52
|
-
r && /* @__PURE__ */ o(S, { error: !0, children: r.message })
|
|
53
|
-
] }) });
|
|
9
|
+
if (e) {
|
|
10
|
+
const r = `ttw:text-muted-foreground ${w}`;
|
|
11
|
+
return s === "user" && t !== "badge" ? {
|
|
12
|
+
useBadge: !1,
|
|
13
|
+
badgeVariant: "outline",
|
|
14
|
+
className: r,
|
|
15
|
+
showAvatar: !1,
|
|
16
|
+
showIcon: !1
|
|
17
|
+
} : {
|
|
18
|
+
useBadge: !0,
|
|
19
|
+
badgeVariant: "outline",
|
|
20
|
+
className: r,
|
|
21
|
+
showAvatar: !1,
|
|
22
|
+
showIcon: !1
|
|
23
|
+
};
|
|
24
|
+
}
|
|
25
|
+
return s === "user" ? o(t, a, n, w) : l(t, w);
|
|
54
26
|
};
|
|
27
|
+
function o(t, e, s, a) {
|
|
28
|
+
switch (t) {
|
|
29
|
+
case "badge":
|
|
30
|
+
return {
|
|
31
|
+
useBadge: !0,
|
|
32
|
+
badgeVariant: "secondary",
|
|
33
|
+
className: `ttw:gap-1 ttw:px-2 ttw:py-1 ${a}`,
|
|
34
|
+
showAvatar: e,
|
|
35
|
+
showIcon: !1
|
|
36
|
+
};
|
|
37
|
+
case "cell":
|
|
38
|
+
return {
|
|
39
|
+
useBadge: !1,
|
|
40
|
+
badgeVariant: "secondary",
|
|
41
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ttw:overflow-hidden ttw:text-ellipsis ttw:whitespace-nowrap ttw:block ${s ? "ttw:text-blue-600" : ""} ${a}`,
|
|
42
|
+
showAvatar: !1,
|
|
43
|
+
showIcon: !1
|
|
44
|
+
};
|
|
45
|
+
default:
|
|
46
|
+
return {
|
|
47
|
+
useBadge: !1,
|
|
48
|
+
badgeVariant: "secondary",
|
|
49
|
+
className: `ttw:text-sm ttw:font-medium ttw:text-foreground ${a}`,
|
|
50
|
+
showAvatar: !1,
|
|
51
|
+
showIcon: !1
|
|
52
|
+
};
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
function l(t, e) {
|
|
56
|
+
switch (t) {
|
|
57
|
+
case "filled":
|
|
58
|
+
return {
|
|
59
|
+
useBadge: !0,
|
|
60
|
+
badgeVariant: "secondary",
|
|
61
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-gray-100 ttw:text-gray-800 ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-lg ttw:px-4 ttw:py-1 ${e}`,
|
|
62
|
+
showAvatar: !1,
|
|
63
|
+
showIcon: !1
|
|
64
|
+
};
|
|
65
|
+
case "outlined":
|
|
66
|
+
return {
|
|
67
|
+
useBadge: !0,
|
|
68
|
+
badgeVariant: "outline",
|
|
69
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:text-sm ttw:font-medium ttw:whitespace-nowrap ttw:rounded ttw:px-2 ttw:py-1 ttw:gap-1 ${e}`,
|
|
70
|
+
showAvatar: !1,
|
|
71
|
+
showIcon: !0
|
|
72
|
+
};
|
|
73
|
+
default:
|
|
74
|
+
return {
|
|
75
|
+
useBadge: !0,
|
|
76
|
+
badgeVariant: "secondary",
|
|
77
|
+
className: `ttw:inline-flex ttw:items-center ttw:justify-center ttw:h-8 ttw:bg-[rgb(248,248,255)] ttw:text-[rgb(55,55,255)] ttw:text-sm ttw:leading-4 ttw:font-medium ttw:whitespace-nowrap ttw:border-0 ttw:rounded-[7.98px] ttw:px-2 ttw:py-[7px] ttw:gap-2 ttw:transition-colors ${e}`,
|
|
78
|
+
showAvatar: !1,
|
|
79
|
+
showIcon: !0
|
|
80
|
+
};
|
|
81
|
+
}
|
|
82
|
+
}
|
|
55
83
|
export {
|
|
56
|
-
|
|
84
|
+
i as getVariantProps
|
|
57
85
|
};
|
|
@@ -1,56 +1,55 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import { jsx as o, jsxs as x } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { UUserSquare as N } from "./index377.js";
|
|
3
|
+
import { useMoniteContext as v } from "./index57.js";
|
|
4
|
+
import { Badge as n } from "./index242.js";
|
|
5
|
+
import { Skeleton as b } from "./index132.js";
|
|
6
|
+
import { getVariantProps as i } from "./index441.js";
|
|
7
|
+
const j = ({
|
|
8
|
+
roleId: s,
|
|
9
|
+
variant: a = "default",
|
|
10
|
+
quoted: l = !1,
|
|
11
|
+
roleData: e
|
|
12
12
|
}) => {
|
|
13
13
|
const {
|
|
14
|
-
|
|
15
|
-
} =
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
} =
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
data: h,
|
|
23
|
-
isLoading: i,
|
|
24
|
-
refetch: I
|
|
25
|
-
} = d.finops.getRoles.useQuery({
|
|
26
|
-
query: {
|
|
27
|
-
name: g || void 0
|
|
14
|
+
api: m
|
|
15
|
+
} = v(), {
|
|
16
|
+
data: c,
|
|
17
|
+
isLoading: d,
|
|
18
|
+
isError: f
|
|
19
|
+
} = m.finops.getRolesId.useQuery({
|
|
20
|
+
path: {
|
|
21
|
+
role_id: s
|
|
28
22
|
}
|
|
23
|
+
}, {
|
|
24
|
+
enabled: !e
|
|
25
|
+
}), t = e ?? c, r = !e && d;
|
|
26
|
+
if (!t && !r && f && s) {
|
|
27
|
+
const {
|
|
28
|
+
badgeVariant: u,
|
|
29
|
+
className: g
|
|
30
|
+
} = i({
|
|
31
|
+
variant: a,
|
|
32
|
+
isError: !0,
|
|
33
|
+
componentType: "role"
|
|
34
|
+
});
|
|
35
|
+
return /* @__PURE__ */ o(n, { variant: u, className: g, children: "N/A" });
|
|
36
|
+
}
|
|
37
|
+
if (!t && !r || !t)
|
|
38
|
+
return null;
|
|
39
|
+
const {
|
|
40
|
+
badgeVariant: p,
|
|
41
|
+
className: w,
|
|
42
|
+
showIcon: h
|
|
43
|
+
} = i({
|
|
44
|
+
variant: a,
|
|
45
|
+
isError: !1,
|
|
46
|
+
componentType: "role"
|
|
29
47
|
});
|
|
30
|
-
return /* @__PURE__ */
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
}
|
|
35
|
-
}) => /* @__PURE__ */ s(p, { children: [
|
|
36
|
-
/* @__PURE__ */ t(T, { ...l, id: l.name, multiple: !0, autoComplete: !0, includeInputInList: !0, filterSelectedOptions: !0, noOptionsText: m._("No roles found"), slotProps: {
|
|
37
|
-
popper: {
|
|
38
|
-
container: c
|
|
39
|
-
}
|
|
40
|
-
}, loading: i, options: h?.data || [], getOptionKey: (e) => e.id, getOptionLabel: (e) => e.name, isOptionEqualToValue: (e, o) => e.id === o.id, filterOptions: (e) => e, onInputChange: (e, o) => {
|
|
41
|
-
x(o);
|
|
42
|
-
}, onChange: (e, o) => {
|
|
43
|
-
f(n, o), I();
|
|
44
|
-
}, renderInput: (e) => /* @__PURE__ */ t(b, { ...e, label: a, error: !!r, InputProps: {
|
|
45
|
-
...e.InputProps,
|
|
46
|
-
endAdornment: /* @__PURE__ */ s(p, { children: [
|
|
47
|
-
i ? /* @__PURE__ */ t(y, { color: "inherit", size: 20 }) : null,
|
|
48
|
-
e.InputProps.endAdornment
|
|
49
|
-
] })
|
|
50
|
-
} }) }),
|
|
51
|
-
r && /* @__PURE__ */ t(R, { error: !0, children: r.message })
|
|
52
|
-
] }) });
|
|
48
|
+
return /* @__PURE__ */ x(n, { variant: p, className: w, children: [
|
|
49
|
+
h && /* @__PURE__ */ o(N, { width: 24, height: 24, className: a === "default" ? "ttw:text-[rgb(97,97,97)] ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0" : "ttw:!w-6 ttw:!h-6 ttw:flex-shrink-0" }),
|
|
50
|
+
r ? /* @__PURE__ */ o(b, { className: "ttw:h-4 ttw:w-20" }) : l ? `"${t.name}"` : t.name
|
|
51
|
+
] });
|
|
53
52
|
};
|
|
54
53
|
export {
|
|
55
|
-
|
|
54
|
+
j as Role
|
|
56
55
|
};
|
|
@@ -1,57 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
name: n,
|
|
12
|
-
label: m
|
|
1
|
+
import { jsxs as l, Fragment as m, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDialog as p } from "./index50.js";
|
|
3
|
+
import { useLingui as C } from "@lingui/react";
|
|
4
|
+
import { Divider as u, DialogActions as L, Stack as d, Button as r, CircularProgress as a } from "@mui/material";
|
|
5
|
+
const x = ({
|
|
6
|
+
deleteButton: e,
|
|
7
|
+
primaryButton: n,
|
|
8
|
+
secondaryButton: i,
|
|
9
|
+
cancelButton: t,
|
|
10
|
+
showDivider: c = !0
|
|
13
11
|
}) => {
|
|
14
12
|
const {
|
|
15
|
-
i18n:
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
popper: {
|
|
39
|
-
container: c
|
|
40
|
-
}
|
|
41
|
-
}, loading: i, options: C?.data || [], getOptionKey: (e) => e.id, getOptionLabel: (e) => `${e.first_name ?? ""} ${e.last_name ?? ""}`.trim(), isOptionEqualToValue: (e, t) => e.id === t.id, filterOptions: (e) => e, onInputChange: (e, t) => {
|
|
42
|
-
h(t);
|
|
43
|
-
}, onChange: (e, t) => {
|
|
44
|
-
f(n, t), I();
|
|
45
|
-
}, renderInput: (e) => /* @__PURE__ */ o(T, { ...e, label: m, error: !!r, InputProps: {
|
|
46
|
-
...e.InputProps,
|
|
47
|
-
endAdornment: /* @__PURE__ */ a(p, { children: [
|
|
48
|
-
i ? /* @__PURE__ */ o(E, { color: "inherit", size: 20 }) : null,
|
|
49
|
-
e.InputProps.endAdornment
|
|
13
|
+
i18n: s
|
|
14
|
+
} = C(), g = p(), h = (b) => "formId" in b;
|
|
15
|
+
return /* @__PURE__ */ l(m, { children: [
|
|
16
|
+
c && /* @__PURE__ */ o(u, {}),
|
|
17
|
+
/* @__PURE__ */ l(L, { sx: {
|
|
18
|
+
display: "flex",
|
|
19
|
+
justifyContent: "space-between",
|
|
20
|
+
width: "100%"
|
|
21
|
+
}, children: [
|
|
22
|
+
/* @__PURE__ */ l(d, { direction: "row", spacing: 2, children: [
|
|
23
|
+
e && /* @__PURE__ */ o(r, { variant: "text", color: "error", onClick: e.onClick, disabled: e.isDisabled || e.isLoading, children: e.isLoading ? /* @__PURE__ */ o(a, { color: "inherit", size: 20 }) : e.label || s._("Delete") }),
|
|
24
|
+
i?.onTheLeft && /* @__PURE__ */ o(r, { variant: "text", color: "primary", onClick: i.onClick, disabled: i.isDisabled || i.isLoading, children: i.isLoading ? /* @__PURE__ */ o(a, { color: "inherit", size: 20 }) : i.label })
|
|
25
|
+
] }),
|
|
26
|
+
/* @__PURE__ */ l(d, { direction: "row", spacing: 2, children: [
|
|
27
|
+
!t?.hideCancel && /* @__PURE__ */ o(r, { variant: "text", color: "primary", onClick: t?.onClick || g?.onClose, disabled: n?.isLoading || i?.isLoading || e?.isLoading, children: t?.label || s._("Cancel") }),
|
|
28
|
+
i && !i.onTheLeft && /* @__PURE__ */ o(r, { variant: "text", color: "primary", onClick: i.onClick, disabled: i.isDisabled || i.isLoading, children: i.isLoading ? /* @__PURE__ */ o(a, { color: "inherit", size: 20 }) : i.label }),
|
|
29
|
+
n && /* @__PURE__ */ o(r, { variant: "contained", color: "primary", ...h(n) ? {
|
|
30
|
+
type: "submit",
|
|
31
|
+
form: n.formId
|
|
32
|
+
} : {
|
|
33
|
+
type: "button",
|
|
34
|
+
onClick: n.onClick
|
|
35
|
+
}, disabled: n.isDisabled || n.isLoading, children: n.isLoading ? /* @__PURE__ */ o(a, { color: "inherit", size: 20 }) : n.label })
|
|
50
36
|
] })
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
] }) });
|
|
37
|
+
] })
|
|
38
|
+
] });
|
|
54
39
|
};
|
|
55
40
|
export {
|
|
56
|
-
|
|
41
|
+
x as DialogFooter
|
|
57
42
|
};
|