@tesouro/embedded-components-react 0.2.66 → 0.2.68
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.css +8 -0
- package/dist/lib/ReceivablesWidget.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index3.js +22 -22
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js +138 -135
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/feature/dist/lib/labels.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index3.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index5.js +16 -24
- package/dist/libs/tesouro-embedded-components-react/expense-approval-policies-widget/ui/dist/index8.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index6.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index9.js +6 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index2.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +13 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +23 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index12.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +23 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +10 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +9 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index13.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index14.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +2 -2
- 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 +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index163.js +27 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +10 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index165.js +18 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index166.js +19 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index167.js +2 -197
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +12 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index169.js +18 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index170.js +20 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index171.js +27 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +113 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +70 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index174.js +11 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index176.js +9 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index177.js +45 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +74 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +54 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index180.js +196 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index181.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index182.js +24 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index183.js +79 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index184.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index185.js +40 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index186.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index187.js +116 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index188.js +70 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index189.js +184 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index190.js +31 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index191.js +120 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index192.js +53 -388
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index193.js +21 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index194.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index195.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index196.js +12 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index197.js +10 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index198.js +17 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index199.js +4 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index200.js +5 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index201.js +88 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index202.js +7 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index203.js +47 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index204.js +48 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index205.js +390 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index206.js +16 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index207.js +22 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index208.js +17 -114
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index209.js +12 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index210.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index211.js +93 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index213.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index214.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index215.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +36 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +46 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +29 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +5 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +75 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +32 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +50 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +34 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +54 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +345 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +2 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +15 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +8 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +14 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +11 -247
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +17 -179
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +33 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +37 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +35 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +15 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +17 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +247 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +182 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +11 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +18 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +23 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +36 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +56 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +52 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +28 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +98 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +46 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +16 -487
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +25 -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 +63 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +96 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +107 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +85 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +486 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +165 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +42 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +62 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +29 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +113 -344
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +22 -303
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +40 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +52 -157
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +16 -262
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +14 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +76 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +36 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +338 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +301 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +101 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +161 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +264 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +23 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +20 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +62 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +94 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +96 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +189 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +77 -149
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +44 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +73 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +22 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +57 -127
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +27 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +56 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +18 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +10 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +149 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +19 -96
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +63 -108
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +24 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +127 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +44 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +23 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +30 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +157 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +27 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +28 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +76 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +63 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +43 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +21 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +187 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +106 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +81 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +287 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +47 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +15 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +86 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +223 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +35 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +47 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +46 -155
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +110 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +12 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +22 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +17 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +17 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +171 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +130 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +153 -180
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +10 -106
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +17 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +60 -287
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +65 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +60 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +6 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +8 -222
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +57 -34
- 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 +22 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +61 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +14 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +32 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +43 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +27 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +32 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +6 -102
- 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 +104 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +33 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index373.js +55 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +24 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +26 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +41 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +23 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +65 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +93 -33
- 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 +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +33 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +54 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +33 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +24 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +10 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +10 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +118 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +18 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +16 -123
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index39.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +96 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +38 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +32 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index396.js +73 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index398.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +16 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index40.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +11 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +15 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +22 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +48 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +11 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +65 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +17 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index408.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +15 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index41.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index410.js +10 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +14 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +64 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +21 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +2 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +31 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +4 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +127 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +7 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +52 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index42.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +18 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +46 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +27 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +21 -126
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +62 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +37 -66
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index430.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +32 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +85 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +103 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +112 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +28 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +24 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +39 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +5 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index44.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +9 -111
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +29 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +69 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +54 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +41 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +69 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +81 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +51 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +49 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index45.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +30 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +52 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +36 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +44 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +67 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +21 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +52 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +31 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +39 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +17 -21
- 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 +95 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +15 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +75 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +19 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +9 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +17 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +81 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +39 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +36 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +13 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index47.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +54 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +51 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +56 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +31 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +19 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +9 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +64 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index48.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +39 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +47 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index54.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index55.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index56.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index59.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/index87.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index88.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index89.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index9.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index90.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index95.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index2.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/settings-widget/ui/dist/index2.js +11 -11
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/monite-wrapper/feature/dist/lib/MoniteWrapper.js +22 -22
- package/package.json +1 -1
|
@@ -1,42 +1,57 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
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 "./index58.js";
|
|
5
|
+
import { useDebounce as y } from "./index66.js";
|
|
6
|
+
import { useRootElements as A } from "./index93.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
|
|
11
13
|
}) => {
|
|
12
14
|
const {
|
|
13
|
-
i18n:
|
|
14
|
-
} =
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
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
|
|
29
|
+
}
|
|
30
|
+
});
|
|
31
|
+
return /* @__PURE__ */ o(P, { control: l, name: n, render: ({
|
|
32
|
+
field: s,
|
|
33
|
+
fieldState: {
|
|
34
|
+
error: r
|
|
35
|
+
}
|
|
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
|
|
36
50
|
] })
|
|
37
|
-
|
|
38
|
-
|
|
51
|
+
} }) }),
|
|
52
|
+
r && /* @__PURE__ */ o(S, { error: !0, children: r.message })
|
|
53
|
+
] }) });
|
|
39
54
|
};
|
|
40
55
|
export {
|
|
41
|
-
|
|
56
|
+
z as AutocompleteUser
|
|
42
57
|
};
|
|
@@ -12,10 +12,10 @@ import { Button as p } from "./index85.js";
|
|
|
12
12
|
import { Sheet as U, SheetContent as _, SheetHeader as $, SheetTitle as F, SheetDescription as I, SheetFooter as j, SheetClose as D } from "./index131.js";
|
|
13
13
|
import { LoadingSpinner as L } from "./index132.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 "./index170.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 "./index171.js";
|
|
18
|
+
import { ProductFormContent as T } from "./index172.js";
|
|
19
19
|
const ie = (s) => /* @__PURE__ */ e(S, { children: /* @__PURE__ */ e(V, { ...s }) }), V = ({
|
|
20
20
|
onClose: s,
|
|
21
21
|
open: u,
|
|
@@ -1,49 +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
|
-
|
|
25
|
-
showDivider: p = !0,
|
|
26
|
-
closeSecondaryLevelDialog: m
|
|
27
|
-
}) => {
|
|
28
|
-
const {
|
|
29
|
-
i18n: u
|
|
30
|
-
} = L(), a = f(), h = a?.isDialogContent && !i, n = d || u._("Close dialog");
|
|
31
|
-
return /* @__PURE__ */ t(g, { children: [
|
|
32
|
-
/* @__PURE__ */ t(l, { container: !0, alignItems: "center", children: [
|
|
33
|
-
/* @__PURE__ */ e(l, { item: !0, xs: 11, children: i && o ? /* @__PURE__ */ e(j, { previousLevelTitle: o, title: r, onPreviousLevelClick: m }) : /* @__PURE__ */ e(k, { variant: "h3", children: r }) }),
|
|
34
|
-
/* @__PURE__ */ e(l, { item: !0, xs: 1, children: h && /* @__PURE__ */ e(v, { color: "inherit", onClick: a.onClose, ariaLabelOverride: n, tooltip: n, children: /* @__PURE__ */ e(C, {}) }) })
|
|
35
|
-
] }),
|
|
36
|
-
p && /* @__PURE__ */ e(T, {})
|
|
37
|
-
] });
|
|
38
|
-
}), k = x(b)(({
|
|
39
|
-
theme: r
|
|
40
|
-
}) => ({
|
|
41
|
-
"&.MuiDialogTitle-root.MuiTypography-root": {
|
|
42
|
-
...r.typography.h3,
|
|
43
|
-
// MUI v5 styles DialogTitle as H6. This is a workaround to apply H3 styles
|
|
44
|
-
padding: r.spacing(3)
|
|
45
|
-
}
|
|
46
|
-
}));
|
|
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
|
|
24
|
+
};
|
|
47
25
|
export {
|
|
48
|
-
|
|
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
|
|
49
32
|
};
|
|
@@ -1,76 +1,59 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import { useMemo as
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
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 "./index95.js";
|
|
4
|
+
import "date-fns";
|
|
5
|
+
import { RHFAutocomplete as M } from "./index479.js";
|
|
6
|
+
import { ListSubheader as S, Divider as q } from "@mui/material";
|
|
7
|
+
import { useLingui as L } from "@lingui/react";
|
|
8
|
+
import { CurrencyInput as W } from "./index480.js";
|
|
9
|
+
import { CurrencyOption as j } from "./index481.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
|
|
14
22
|
}) => {
|
|
15
23
|
const {
|
|
16
24
|
i18n: n
|
|
17
|
-
} =
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
flexWrap: "wrap"
|
|
27
|
-
}, children: r.was_created_by_user_id?.map((o) => /* @__PURE__ */ e(w, { userId: o.id }, o.id)) });
|
|
28
|
-
break;
|
|
29
|
-
case "tags":
|
|
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;
|
|
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"
|
|
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"
|
|
62
34
|
}
|
|
63
|
-
}
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
35
|
+
}
|
|
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) });
|
|
73
56
|
};
|
|
74
57
|
export {
|
|
75
|
-
|
|
58
|
+
R as MoniteCurrency
|
|
76
59
|
};
|
|
@@ -1,88 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { useLingui as
|
|
4
|
-
import
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
rules: r,
|
|
12
|
-
usersFromListCount: t,
|
|
13
|
-
rolesFromListCount: c,
|
|
14
|
-
onAddRule: f,
|
|
15
|
-
onEditRule: b,
|
|
16
|
-
onDeleteRule: g
|
|
1
|
+
import { jsxs as l, Fragment as m, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useDialog as p } from "./index51.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
|
|
17
11
|
}) => {
|
|
18
12
|
const {
|
|
19
|
-
i18n:
|
|
20
|
-
} =
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
}
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
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") }) }) })
|
|
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 })
|
|
36
|
+
] })
|
|
83
37
|
] })
|
|
84
|
-
] })
|
|
38
|
+
] });
|
|
85
39
|
};
|
|
86
40
|
export {
|
|
87
|
-
|
|
41
|
+
x as DialogFooter
|
|
88
42
|
};
|
|
@@ -1,57 +1,49 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import
|
|
6
|
-
import
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
const
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
1
|
+
import { jsxs as t, jsx as e, Fragment as g } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { IconWrapper as v } from "./index224.js";
|
|
3
|
+
import { useDialog as f } from "./index51.js";
|
|
4
|
+
import { useLingui as L } from "@lingui/react";
|
|
5
|
+
import y from "@mui/icons-material/ArrowForward";
|
|
6
|
+
import C from "@mui/icons-material/Close";
|
|
7
|
+
import { Breadcrumbs as D, Typography as s, Grid as l, Divider as T, styled as x, DialogTitle as b } from "@mui/material";
|
|
8
|
+
import { memo as c } from "react";
|
|
9
|
+
const j = c(({
|
|
10
|
+
previousLevelTitle: r,
|
|
11
|
+
onPreviousLevelClick: i,
|
|
12
|
+
title: o
|
|
13
|
+
}) => /* @__PURE__ */ t(D, { color: "inherit", separator: /* @__PURE__ */ e(y, { fontSize: "small", color: "disabled" }), sx: {
|
|
14
|
+
padding: 3
|
|
15
|
+
}, "aria-label": "breadcrumb", children: [
|
|
16
|
+
/* @__PURE__ */ e(s, { onClick: i, sx: {
|
|
17
|
+
cursor: i ? "pointer" : "default"
|
|
18
|
+
}, children: r }),
|
|
19
|
+
/* @__PURE__ */ e(s, { children: o })
|
|
20
|
+
] })), G = c(({
|
|
21
|
+
title: r,
|
|
22
|
+
secondaryLevel: i = !1,
|
|
23
|
+
previousLevelTitle: o,
|
|
24
|
+
closeButtonTooltip: d,
|
|
25
|
+
showDivider: p = !0,
|
|
26
|
+
closeSecondaryLevelDialog: m
|
|
13
27
|
}) => {
|
|
14
28
|
const {
|
|
15
29
|
i18n: u
|
|
16
|
-
} =
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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
|
-
] }) });
|
|
54
|
-
};
|
|
30
|
+
} = L(), a = f(), h = a?.isDialogContent && !i, n = d || u._("Close dialog");
|
|
31
|
+
return /* @__PURE__ */ t(g, { children: [
|
|
32
|
+
/* @__PURE__ */ t(l, { container: !0, alignItems: "center", children: [
|
|
33
|
+
/* @__PURE__ */ e(l, { item: !0, xs: 11, children: i && o ? /* @__PURE__ */ e(j, { previousLevelTitle: o, title: r, onPreviousLevelClick: m }) : /* @__PURE__ */ e(k, { variant: "h3", children: r }) }),
|
|
34
|
+
/* @__PURE__ */ e(l, { item: !0, xs: 1, children: h && /* @__PURE__ */ e(v, { color: "inherit", onClick: a.onClose, ariaLabelOverride: n, tooltip: n, children: /* @__PURE__ */ e(C, {}) }) })
|
|
35
|
+
] }),
|
|
36
|
+
p && /* @__PURE__ */ e(T, {})
|
|
37
|
+
] });
|
|
38
|
+
}), k = x(b)(({
|
|
39
|
+
theme: r
|
|
40
|
+
}) => ({
|
|
41
|
+
"&.MuiDialogTitle-root.MuiTypography-root": {
|
|
42
|
+
...r.typography.h3,
|
|
43
|
+
// MUI v5 styles DialogTitle as H6. This is a workaround to apply H3 styles
|
|
44
|
+
padding: r.spacing(3)
|
|
45
|
+
}
|
|
46
|
+
}));
|
|
55
47
|
export {
|
|
56
|
-
|
|
48
|
+
G as DialogHeader
|
|
57
49
|
};
|