@tesouro/embedded-components-react 0.2.123 → 0.2.124
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 +19 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index11.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +23 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +23 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +2 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +2 -2
- 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 +14 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +75 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +6 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +5 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +33 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +32 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +7 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +12 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +9 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +119 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +216 -119
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +11 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +46 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +44 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +15 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index15.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +152 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index152.js +24 -150
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index155.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index158.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index161.js +99 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +57 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +9 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +42 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +76 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +54 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +14 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +25 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +76 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +29 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +38 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +7 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +116 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +69 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +188 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +27 -133
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +107 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +134 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +13 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +16 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +23 -183
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +26 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +183 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +10 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +22 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +50 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +4 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +5 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +88 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +33 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +6 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +39 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +43 -420
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +202 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +414 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +24 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index2.js +21 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index212.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index216.js +2 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index217.js +23 -361
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index218.js +358 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index219.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index220.js +2 -407
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index221.js +407 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index222.js +7 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index223.js +34 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index224.js +99 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index225.js +25 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +7 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +7 -211
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +214 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +9 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +47 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +28 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +4 -33
- 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 +77 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +32 -346
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +36 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +66 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +345 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +15 -32
- 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 +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +11 -245
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +245 -49
- 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 +9 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +18 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +22 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +36 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +50 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +46 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +30 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +98 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +43 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +147 -32
- 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 +106 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +73 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +44 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +9 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +14 -60
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +74 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +75 -489
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +39 -163
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +42 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +62 -44
- 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 +29 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +111 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +22 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +43 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +56 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +92 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +97 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +213 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +486 -122
- 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 +163 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +19 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +37 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +343 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +298 -107
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +98 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +162 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +263 -92
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +22 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index3.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index30.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +20 -213
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +64 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +22 -347
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +53 -299
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +27 -101
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +53 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +15 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +22 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +28 -65
- 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 +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +59 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +94 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +109 -168
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +84 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +62 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +156 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +27 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +78 -68
- 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 +62 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +43 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +132 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +110 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +81 -62
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +285 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +46 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +15 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +86 -149
- 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 +225 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +39 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +11 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +8 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +10 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +7 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +149 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +95 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index34.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +16 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +84 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +17 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +50 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +10 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +35 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +20 -110
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -283
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +162 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +134 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +157 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +10 -223
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +18 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +63 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +65 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +58 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +7 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +62 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index36.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +21 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +62 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +14 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +26 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +28 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index37.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index38.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +16 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +24 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +47 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +11 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +31 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +126 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +32 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +66 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +45 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +27 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +20 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +91 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +37 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +34 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +7 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +51 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +16 -36
- 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 +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +33 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +5 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +31 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +20 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +64 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +20 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +16 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +21 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +11 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +21 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +53 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +34 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +12 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +31 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +85 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index43.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +23 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +105 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +111 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +75 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +67 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +33 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +23 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +15 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +35 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +8 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +10 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +71 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +85 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +54 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +49 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +49 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +29 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +52 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +36 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +44 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +68 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +20 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +82 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index46.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +42 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +34 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +50 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +59 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +31 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +33 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +51 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +92 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +16 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +75 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +21 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +9 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index5.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index50.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index52.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index53.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +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/index6.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index79.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index8.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index86.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index87.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index94.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index2.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index4.js +70 -65
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index5.js +26 -24
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index7.js +18 -16
- package/package.json +1 -1
|
@@ -1,76 +1,56 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
onEditTrigger: b,
|
|
13
|
-
onDeleteTrigger: _
|
|
1
|
+
import { jsx as t, jsxs as s, Fragment as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as C } from "react";
|
|
3
|
+
import { useFormContext as O, Controller as P } from "react-hook-form";
|
|
4
|
+
import { useMoniteContext as A } from "./index57.js";
|
|
5
|
+
import { useRootElements as F } from "./index92.js";
|
|
6
|
+
import { useLingui as L } from "@lingui/react";
|
|
7
|
+
import { Autocomplete as T, TextField as b, CircularProgress as y, FormHelperText as R } from "@mui/material";
|
|
8
|
+
const v = ({
|
|
9
|
+
control: u,
|
|
10
|
+
name: n,
|
|
11
|
+
label: a
|
|
14
12
|
}) => {
|
|
15
13
|
const {
|
|
16
|
-
i18n:
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
t = /* @__PURE__ */ e(s, { direction: "row", gap: 1, sx: {
|
|
31
|
-
flexWrap: "wrap"
|
|
32
|
-
}, children: r.tags?.map((o) => /* @__PURE__ */ e(g, { label: o.name }, o.id)) });
|
|
33
|
-
break;
|
|
34
|
-
case "counterpart_id":
|
|
35
|
-
t = /* @__PURE__ */ e(s, { direction: "row", gap: 1, sx: {
|
|
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;
|
|
14
|
+
i18n: m
|
|
15
|
+
} = L(), {
|
|
16
|
+
api: d
|
|
17
|
+
} = A(), {
|
|
18
|
+
root: c
|
|
19
|
+
} = F(), {
|
|
20
|
+
setValue: f
|
|
21
|
+
} = O(), [g, x] = C(""), {
|
|
22
|
+
data: h,
|
|
23
|
+
isLoading: i,
|
|
24
|
+
refetch: I
|
|
25
|
+
} = d.finops.getRoles.useQuery({
|
|
26
|
+
query: {
|
|
27
|
+
name: g || void 0
|
|
45
28
|
}
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
/* @__PURE__ */
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
]
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
/* @__PURE__ */
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
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
|
-
] })
|
|
29
|
+
});
|
|
30
|
+
return /* @__PURE__ */ t(P, { control: u, name: n, render: ({
|
|
31
|
+
field: l,
|
|
32
|
+
fieldState: {
|
|
33
|
+
error: r
|
|
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 })
|
|
72
52
|
] }) });
|
|
73
53
|
};
|
|
74
54
|
export {
|
|
75
|
-
|
|
55
|
+
v as AutocompleteRoles
|
|
76
56
|
};
|
|
@@ -4,7 +4,7 @@ import { ProductEditForm as T } from "./index207.js";
|
|
|
4
4
|
import { MoniteScopedProviders as j } from "./index83.js";
|
|
5
5
|
import { useCurrencies as B } from "./index58.js";
|
|
6
6
|
import { useMoniteContext as L } from "./index57.js";
|
|
7
|
-
import { useUserPermissions as k } from "./
|
|
7
|
+
import { useUserPermissions as k } from "./index141.js";
|
|
8
8
|
import "../../shared/data-access/dist/lib/rest/client/utils.gen.js";
|
|
9
9
|
import "../../shared/data-access/dist/lib/EmbedApiContext.js";
|
|
10
10
|
import "../../shared/data-access/dist/lib/rest/client.gen.js";
|
|
@@ -13,17 +13,17 @@ import "../../shared/data-access/dist/lib/rest/zod.gen.js";
|
|
|
13
13
|
import { Scope as w } from "../../shared/data-access/dist/lib/scopes.js";
|
|
14
14
|
import { useState as y } from "react";
|
|
15
15
|
import { Button as b } from "./index84.js";
|
|
16
|
-
import { DropdownMenu as W, DropdownMenuTrigger as z, DropdownMenuContent as U, DropdownMenuItem as E } from "./
|
|
17
|
-
import { Sheet as u, SheetContent as h, SheetHeader as H, SheetTitle as R, SheetDescription as G, SheetClose as V } from "./
|
|
18
|
-
import { Skeleton as N } from "./
|
|
16
|
+
import { DropdownMenu as W, DropdownMenuTrigger as z, DropdownMenuContent as U, DropdownMenuItem as E } from "./index133.js";
|
|
17
|
+
import { Sheet as u, SheetContent as h, SheetHeader as H, SheetTitle as R, SheetDescription as G, SheetClose as V } from "./index130.js";
|
|
18
|
+
import { Skeleton as N } from "./index132.js";
|
|
19
19
|
import { Typography as x } from "./index85.js";
|
|
20
|
-
import { LoadingSpinner as X } from "./
|
|
21
|
-
import { NotFound as q } from "./
|
|
20
|
+
import { LoadingSpinner as X } from "./index131.js";
|
|
21
|
+
import { NotFound as q } from "./index149.js";
|
|
22
22
|
import { useLingui as J } from "@lingui/react";
|
|
23
23
|
import { MoreVerticalIcon as K, Trash2 as Q, X as Y } from "lucide-react";
|
|
24
24
|
import { useGetProductById as Z } from "./index208.js";
|
|
25
25
|
import { ProductDetailLine as f } from "./index209.js";
|
|
26
|
-
import { AccessRestriction as tt } from "./
|
|
26
|
+
import { AccessRestriction as tt } from "./index152.js";
|
|
27
27
|
const Pt = (a) => /* @__PURE__ */ t(j, { children: /* @__PURE__ */ t(et, { ...a }) }), et = ({
|
|
28
28
|
id: a,
|
|
29
29
|
open: n,
|
|
@@ -1,88 +1,57 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
rolesFromListCount: c,
|
|
14
|
-
onAddRule: f,
|
|
15
|
-
onEditRule: b,
|
|
16
|
-
onDeleteRule: g
|
|
1
|
+
import { jsx as o, jsxs as a, Fragment as p } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as O } from "react";
|
|
3
|
+
import { useFormContext as _, Controller as P } from "react-hook-form";
|
|
4
|
+
import { useMoniteContext as b } from "./index57.js";
|
|
5
|
+
import { useDebounce as y } from "./index65.js";
|
|
6
|
+
import { useRootElements as A } from "./index92.js";
|
|
7
|
+
import { useLingui as F } from "@lingui/react";
|
|
8
|
+
import { Autocomplete as L, TextField as T, CircularProgress as E, FormHelperText as S } from "@mui/material";
|
|
9
|
+
const z = ({
|
|
10
|
+
control: l,
|
|
11
|
+
name: n,
|
|
12
|
+
label: m
|
|
17
13
|
}) => {
|
|
18
14
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
} =
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
15
|
+
i18n: u
|
|
16
|
+
} = F(), {
|
|
17
|
+
api: d
|
|
18
|
+
} = b(), {
|
|
19
|
+
root: c
|
|
20
|
+
} = A(), {
|
|
21
|
+
setValue: f
|
|
22
|
+
} = _(), [g, h] = O(""), x = y(g, 300), {
|
|
23
|
+
data: C,
|
|
24
|
+
isLoading: i,
|
|
25
|
+
refetch: I
|
|
26
|
+
} = d.finops.getEntityUsers.useQuery({
|
|
27
|
+
query: {
|
|
28
|
+
name__istartswith: x || void 0
|
|
33
29
|
}
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
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;
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ o(P, { control: l, name: n, render: ({
|
|
32
|
+
field: s,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
57
35
|
}
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
] })
|
|
36
|
+
}) => /* @__PURE__ */ a(p, { children: [
|
|
37
|
+
/* @__PURE__ */ o(L, { ...s, id: s.name, 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__ */ a(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 })
|
|
84
53
|
] }) });
|
|
85
54
|
};
|
|
86
55
|
export {
|
|
87
|
-
|
|
56
|
+
z as AutocompleteUser
|
|
88
57
|
};
|
|
@@ -1,57 +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
|
-
isLoading: i,
|
|
25
|
-
refetch: I
|
|
26
|
-
} = d.finops.getEntityUsers.useQuery({
|
|
27
|
-
query: {
|
|
28
|
-
name__istartswith: x || void 0
|
|
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
|
-
] }) });
|
|
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
|
|
54
24
|
};
|
|
55
25
|
export {
|
|
56
|
-
|
|
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
|
|
57
32
|
};
|
|
@@ -1,56 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import {
|
|
1
|
+
import { jsx as o, jsxs as b } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useMemo as g, Fragment as w } from "react";
|
|
3
|
+
import { getCurrenciesArray as x, sortCurrencyOptionsByGroup as O, filterOptions as v, getGroupTitleForOption as B } from "./index94.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { RHFAutocomplete as M } from "./index477.js";
|
|
6
|
+
import { ListSubheader as S, Divider as q } from "@mui/material";
|
|
6
7
|
import { useLingui as L } from "@lingui/react";
|
|
7
|
-
import {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
8
|
+
import { CurrencyInput as W } from "./index478.js";
|
|
9
|
+
import { CurrencyOption as j } from "./index479.js";
|
|
10
|
+
const R = ({
|
|
11
|
+
required: s,
|
|
12
|
+
actualCurrency: y,
|
|
13
|
+
groups: t,
|
|
14
|
+
fullWidth: m,
|
|
15
|
+
showCodeOnly: i,
|
|
16
|
+
hideLabel: h = !1,
|
|
17
|
+
showCurrencyCode: p = !1,
|
|
18
|
+
showCurrencySymbol: u = !0,
|
|
19
|
+
showClearButton: C = !0,
|
|
20
|
+
allowedCurrencies: l,
|
|
21
|
+
...d
|
|
12
22
|
}) => {
|
|
13
23
|
const {
|
|
14
|
-
i18n:
|
|
15
|
-
} = L(), {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
} = d.finops.getRoles.useQuery({
|
|
26
|
-
query: {
|
|
27
|
-
name: g || void 0
|
|
28
|
-
}
|
|
29
|
-
});
|
|
30
|
-
return /* @__PURE__ */ t(P, { control: u, name: n, render: ({
|
|
31
|
-
field: l,
|
|
32
|
-
fieldState: {
|
|
33
|
-
error: r
|
|
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
|
|
24
|
+
i18n: n
|
|
25
|
+
} = L(), a = n._("Currency"), c = g(() => {
|
|
26
|
+
const e = x(n);
|
|
27
|
+
return l ? e.filter((r) => l.includes(r.code)) : e;
|
|
28
|
+
}, [l, n]), f = O(c, t);
|
|
29
|
+
return /* @__PURE__ */ o(M, { ...d, required: s, disabled: c?.length === 1 || d.disabled, className: `Monite-Currency ${h && "Monite-Label-Hidden"}`, disableClearable: !C, label: a, options: f, optionKey: "code", labelKey: i ? "code" : "label", fullWidth: m, slotProps: {
|
|
30
|
+
paper: {
|
|
31
|
+
sx: {
|
|
32
|
+
"& .MuiAutocomplete-listbox hr:last-of-type": {
|
|
33
|
+
display: "none"
|
|
34
|
+
}
|
|
39
35
|
}
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
36
|
+
}
|
|
37
|
+
}, renderInput: (e, r) => /* @__PURE__ */ o(W, { error: r?.error, defaultValue: y, required: r?.required ?? s, label: r?.label ?? a, showCodeOnly: i, showCurrencySymbol: u, showCurrencyCode: p, ...e }), renderOption: (e, r) => /* @__PURE__ */ o(j, { props: e, option: r, showCodeOnly: i, showCurrencyCode: p, showCurrencySymbol: u }, r.code), filterOptions: v, groupBy: t ? (e) => B(e, t)?.title : void 0, renderGroup: (e) => e.group.trim() === "" ? e.children : /* @__PURE__ */ b(w, { children: [
|
|
38
|
+
/* @__PURE__ */ o(S, { component: "div", title: e.group, sx: {
|
|
39
|
+
bgcolor: "background.paper",
|
|
40
|
+
typography: "body2",
|
|
41
|
+
fontWeight: (r) => r.typography.fontWeightBold,
|
|
42
|
+
textOverflow: "ellipsis",
|
|
43
|
+
overflow: "hidden",
|
|
44
|
+
whiteSpace: "nowrap",
|
|
45
|
+
py: 1.25,
|
|
46
|
+
px: 2,
|
|
47
|
+
top: -12
|
|
48
|
+
// hack needed to align the group title with the first option (MUI handles custom groups poorly)
|
|
49
|
+
}, children: e.group }),
|
|
50
|
+
e.children,
|
|
51
|
+
/* @__PURE__ */ o(q, { sx: {
|
|
52
|
+
mx: 1,
|
|
53
|
+
mt: 1
|
|
54
|
+
} })
|
|
55
|
+
] }, e.key) });
|
|
53
56
|
};
|
|
54
57
|
export {
|
|
55
|
-
|
|
58
|
+
R as MoniteCurrency
|
|
56
59
|
};
|
|
@@ -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
|
};
|