@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,22 +1,35 @@
|
|
|
1
|
-
import { jsx as
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
1
|
+
import { jsxs as n, jsx as o } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useRootElements as g } from "./index93.js";
|
|
3
|
+
import { TagsAutocomplete as f } from "./index454.js";
|
|
4
|
+
import { DialogTitle as h, DialogContent as C, DialogActions as v, Button as r } from "@mui/material";
|
|
5
|
+
import "react-hook-form";
|
|
6
|
+
import { Dialog as x } from "./index51.js";
|
|
7
|
+
import { useLingui as D } from "@lingui/react";
|
|
8
|
+
import { useState as T } from "react";
|
|
9
|
+
const R = ({
|
|
10
|
+
opened: a,
|
|
11
|
+
onClose: t,
|
|
12
|
+
value: l,
|
|
13
|
+
updateTags: s
|
|
7
14
|
}) => {
|
|
8
|
-
const
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
|
|
15
|
+
const {
|
|
16
|
+
root: m
|
|
17
|
+
} = g(), {
|
|
18
|
+
i18n: e
|
|
19
|
+
} = D(), [i, c] = T(l), d = (u) => {
|
|
20
|
+
c(u);
|
|
21
|
+
}, p = () => {
|
|
22
|
+
s?.(i), t();
|
|
23
|
+
};
|
|
24
|
+
return /* @__PURE__ */ n(x, { open: a, onClose: t, container: m, fullWidth: !0, children: [
|
|
25
|
+
/* @__PURE__ */ o(h, { children: e._("Edit tags") }),
|
|
26
|
+
/* @__PURE__ */ o(C, { dividers: !0, children: /* @__PURE__ */ o(f, { value: i, onChange: d }) }),
|
|
27
|
+
/* @__PURE__ */ n(v, { children: [
|
|
28
|
+
/* @__PURE__ */ o(r, { variant: "text", onClick: t, children: e._("Cancel") }),
|
|
29
|
+
/* @__PURE__ */ o(r, { variant: "contained", onClick: p, children: e._("Update") })
|
|
30
|
+
] })
|
|
31
|
+
] });
|
|
19
32
|
};
|
|
20
33
|
export {
|
|
21
|
-
|
|
34
|
+
R as TagsModal
|
|
22
35
|
};
|
|
@@ -1,18 +1,22 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
o
|
|
13
|
-
}
|
|
14
|
-
|
|
1
|
+
import { jsx as r } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useState as l, useEffect as c } from "react";
|
|
3
|
+
const u = ({
|
|
4
|
+
shouldStartProgress: e,
|
|
5
|
+
isError: d,
|
|
6
|
+
isSuccess: w
|
|
7
|
+
}) => {
|
|
8
|
+
const [a, o] = l(0);
|
|
9
|
+
return c(() => {
|
|
10
|
+
let s;
|
|
11
|
+
return e && (s = setInterval(() => {
|
|
12
|
+
o((t) => t < 98 ? t + 2 : t === 98 ? t + 1 : t);
|
|
13
|
+
}, 200)), () => {
|
|
14
|
+
clearInterval(s);
|
|
15
|
+
};
|
|
16
|
+
}, [e]), w ? /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-success ttw:rounded-md" }) : d ? /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-danger ttw:rounded-md" }) : /* @__PURE__ */ r("div", { className: "ttw:w-65.5 ttw:h-1.5 ttw:bg-neutral ttw:rounded-md", children: /* @__PURE__ */ r("div", { className: "ttw:bg-primary ttw:h-full ttw:rounded-md", style: {
|
|
17
|
+
width: `${a}%`
|
|
18
|
+
} }) });
|
|
15
19
|
};
|
|
16
20
|
export {
|
|
17
|
-
|
|
21
|
+
u as UploadBar
|
|
18
22
|
};
|
|
@@ -1,70 +1,15 @@
|
|
|
1
1
|
import { useMemo as s } from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
4
|
-
import { ApprovalStepResolver as j } from "./index483.js";
|
|
5
|
-
import { extractStructureItemsFromScriptStep as q, processApprovalStructure as w, findUserApprovalCall as x } from "./index299.js";
|
|
6
|
-
function C(i, p, v = "desc") {
|
|
2
|
+
import { useGetProducts as i } from "./index168.js";
|
|
3
|
+
const a = () => {
|
|
7
4
|
const {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
} = b(), {
|
|
12
|
-
data: f,
|
|
13
|
-
isLoading: _
|
|
14
|
-
} = n.finops.getApprovalRequests.useQuery({
|
|
15
|
-
query: {
|
|
16
|
-
object_id: i,
|
|
17
|
-
object_type: "payable",
|
|
18
|
-
limit: 50,
|
|
19
|
-
order: v
|
|
20
|
-
}
|
|
21
|
-
}), {
|
|
22
|
-
data: g,
|
|
23
|
-
isLoading: h
|
|
24
|
-
} = n.finops.getApprovalPoliciesId.useQuery({
|
|
25
|
-
path: {
|
|
26
|
-
approval_policy_id: p
|
|
27
|
-
}
|
|
28
|
-
}), u = s(() => f?.data || [], [f]), a = s(() => g?.script || [], [g]), o = s(() => !a.length || !u ? [] : new j(a, u, m).buildCompleteSteps(), [a, u, m]), l = s(() => {
|
|
29
|
-
const t = /* @__PURE__ */ new Set();
|
|
30
|
-
return a.forEach((e) => {
|
|
31
|
-
const r = q(e), S = w(r), y = x(S);
|
|
32
|
-
y?.params?.user_ids && y.params.user_ids.forEach((E) => t.add(E));
|
|
33
|
-
}), o.forEach((e) => {
|
|
34
|
-
e.actualAssignees.forEach((r) => t.add(r));
|
|
35
|
-
}), Array.from(t);
|
|
36
|
-
}, [a, o]), {
|
|
37
|
-
data: d,
|
|
38
|
-
isLoading: A
|
|
39
|
-
} = n.finops.getEntityUsers.useQuery({
|
|
40
|
-
query: {
|
|
41
|
-
id__in: l.length > 0 ? l : void 0,
|
|
42
|
-
limit: 100
|
|
43
|
-
}
|
|
44
|
-
}, {
|
|
45
|
-
enabled: l.length > 0
|
|
46
|
-
}), c = s(() => {
|
|
47
|
-
const t = /* @__PURE__ */ new Map();
|
|
48
|
-
return d?.data && d.data.forEach((e) => {
|
|
49
|
-
t.set(e.id, e);
|
|
50
|
-
}), t;
|
|
51
|
-
}, [d]);
|
|
5
|
+
data: e,
|
|
6
|
+
isLoading: t
|
|
7
|
+
} = i();
|
|
52
8
|
return {
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
resolvedUsers: t.actualAssignees.map((e) => c.get(e)),
|
|
56
|
-
userNames: t.actualAssignees.map((e) => {
|
|
57
|
-
const r = c.get(e);
|
|
58
|
-
return r && (`${r.first_name || ""} ${r.last_name || ""}`.trim() || r.email || r.login) || e;
|
|
59
|
-
})
|
|
60
|
-
})), [o, c]),
|
|
61
|
-
isLoading: _ || h || A,
|
|
62
|
-
error: null
|
|
9
|
+
existingCurrencies: s(() => new Set(e?.data?.map((r) => r.price?.currency).filter((r) => !!r) ?? []), [e?.data]),
|
|
10
|
+
isLoadingProducts: t
|
|
63
11
|
};
|
|
64
|
-
}
|
|
65
|
-
function $(i, p) {
|
|
66
|
-
return C(i, p.id, "desc");
|
|
67
|
-
}
|
|
12
|
+
};
|
|
68
13
|
export {
|
|
69
|
-
|
|
14
|
+
a as useExistingCurrenciesFromProducts
|
|
70
15
|
};
|
|
@@ -1,15 +1,70 @@
|
|
|
1
1
|
import { useMemo as s } from "react";
|
|
2
|
-
import {
|
|
3
|
-
|
|
2
|
+
import { useMoniteContext as b } from "./index58.js";
|
|
3
|
+
import { useLingui as L } from "@lingui/react";
|
|
4
|
+
import { ApprovalStepResolver as j } from "./index484.js";
|
|
5
|
+
import { extractStructureItemsFromScriptStep as q, processApprovalStructure as w, findUserApprovalCall as x } from "./index288.js";
|
|
6
|
+
function C(i, p, v = "desc") {
|
|
4
7
|
const {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
+
i18n: m
|
|
9
|
+
} = L(), {
|
|
10
|
+
api: n
|
|
11
|
+
} = b(), {
|
|
12
|
+
data: f,
|
|
13
|
+
isLoading: _
|
|
14
|
+
} = n.finops.getApprovalRequests.useQuery({
|
|
15
|
+
query: {
|
|
16
|
+
object_id: i,
|
|
17
|
+
object_type: "payable",
|
|
18
|
+
limit: 50,
|
|
19
|
+
order: v
|
|
20
|
+
}
|
|
21
|
+
}), {
|
|
22
|
+
data: g,
|
|
23
|
+
isLoading: h
|
|
24
|
+
} = n.finops.getApprovalPoliciesId.useQuery({
|
|
25
|
+
path: {
|
|
26
|
+
approval_policy_id: p
|
|
27
|
+
}
|
|
28
|
+
}), u = s(() => f?.data || [], [f]), a = s(() => g?.script || [], [g]), o = s(() => !a.length || !u ? [] : new j(a, u, m).buildCompleteSteps(), [a, u, m]), l = s(() => {
|
|
29
|
+
const t = /* @__PURE__ */ new Set();
|
|
30
|
+
return a.forEach((e) => {
|
|
31
|
+
const r = q(e), S = w(r), y = x(S);
|
|
32
|
+
y?.params?.user_ids && y.params.user_ids.forEach((E) => t.add(E));
|
|
33
|
+
}), o.forEach((e) => {
|
|
34
|
+
e.actualAssignees.forEach((r) => t.add(r));
|
|
35
|
+
}), Array.from(t);
|
|
36
|
+
}, [a, o]), {
|
|
37
|
+
data: d,
|
|
38
|
+
isLoading: A
|
|
39
|
+
} = n.finops.getEntityUsers.useQuery({
|
|
40
|
+
query: {
|
|
41
|
+
id__in: l.length > 0 ? l : void 0,
|
|
42
|
+
limit: 100
|
|
43
|
+
}
|
|
44
|
+
}, {
|
|
45
|
+
enabled: l.length > 0
|
|
46
|
+
}), c = s(() => {
|
|
47
|
+
const t = /* @__PURE__ */ new Map();
|
|
48
|
+
return d?.data && d.data.forEach((e) => {
|
|
49
|
+
t.set(e.id, e);
|
|
50
|
+
}), t;
|
|
51
|
+
}, [d]);
|
|
8
52
|
return {
|
|
9
|
-
|
|
10
|
-
|
|
53
|
+
steps: s(() => o.map((t) => ({
|
|
54
|
+
...t,
|
|
55
|
+
resolvedUsers: t.actualAssignees.map((e) => c.get(e)),
|
|
56
|
+
userNames: t.actualAssignees.map((e) => {
|
|
57
|
+
const r = c.get(e);
|
|
58
|
+
return r && (`${r.first_name || ""} ${r.last_name || ""}`.trim() || r.email || r.login) || e;
|
|
59
|
+
})
|
|
60
|
+
})), [o, c]),
|
|
61
|
+
isLoading: _ || h || A,
|
|
62
|
+
error: null
|
|
11
63
|
};
|
|
12
|
-
}
|
|
64
|
+
}
|
|
65
|
+
function $(i, p) {
|
|
66
|
+
return C(i, p.id, "desc");
|
|
67
|
+
}
|
|
13
68
|
export {
|
|
14
|
-
|
|
69
|
+
$ as useResolvedApprovalStepsWithPolicy
|
|
15
70
|
};
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as a, Fragment as D, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { tagCategories as _, getTagCategoryLabel as B } from "./
|
|
3
|
-
import { useTags as K } from "./
|
|
2
|
+
import { tagCategories as _, getTagCategoryLabel as B } from "./index294.js";
|
|
3
|
+
import { useTags as K } from "./index295.js";
|
|
4
4
|
import { MoniteScopedProviders as L } from "./index84.js";
|
|
5
5
|
import { useRootElements as R } from "./index93.js";
|
|
6
6
|
import { Button as c } from "./index85.js";
|
|
7
|
-
import { Form as O, FormField as g, FormItem as u, FormLabel as p, FormControl as N, FormMessage as h } from "./
|
|
8
|
-
import { Input as U } from "./
|
|
9
|
-
import { InputTags as q } from "./
|
|
10
|
-
import { Select as H, SelectTrigger as G, SelectValue as J, SelectContent as Q, SelectItem as W } from "./
|
|
7
|
+
import { Form as O, FormField as g, FormItem as u, FormLabel as p, FormControl as N, FormMessage as h } from "./index309.js";
|
|
8
|
+
import { Input as U } from "./index123.js";
|
|
9
|
+
import { InputTags as q } from "./index310.js";
|
|
10
|
+
import { Select as H, SelectTrigger as G, SelectValue as J, SelectContent as Q, SelectItem as W } from "./index311.js";
|
|
11
11
|
import { Sheet as X, SheetContent as Y, SheetHeader as Z, SheetTitle as ee, SheetDescription as ae, SheetFooter as te } from "./index131.js";
|
|
12
12
|
import { zodResolver as re } from "@hookform/resolvers/zod";
|
|
13
13
|
import { useLingui as oe } from "@lingui/react";
|
|
@@ -1,50 +1,42 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
approvalRequestId: void 0,
|
|
29
|
-
approvedBy: void 0,
|
|
30
|
-
objectId: void 0,
|
|
31
|
-
rejectedBy: void 0,
|
|
32
|
-
requiredApprovalCount: 1
|
|
33
|
-
}, s, a);
|
|
1
|
+
import { jsx as n, jsxs as a, Fragment as v } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { createElement as x } from "@emotion/react";
|
|
3
|
+
import { useLedgerAccounts as L } from "./index20.js";
|
|
4
|
+
import { useRootElements as C } from "./index93.js";
|
|
5
|
+
import { useLingui as T } from "@lingui/react";
|
|
6
|
+
import { FormControl as G, TextField as p, Autocomplete as P, Typography as s, CircularProgress as A } from "@mui/material";
|
|
7
|
+
import { useMemo as m } from "react";
|
|
8
|
+
const k = ({
|
|
9
|
+
value: r,
|
|
10
|
+
error: u,
|
|
11
|
+
helperText: c,
|
|
12
|
+
disabled: h,
|
|
13
|
+
placeholder: y,
|
|
14
|
+
onChange: f
|
|
15
|
+
}) => {
|
|
16
|
+
const {
|
|
17
|
+
i18n: t
|
|
18
|
+
} = T(), {
|
|
19
|
+
data: l,
|
|
20
|
+
isLoading: d,
|
|
21
|
+
error: g
|
|
22
|
+
} = L(), {
|
|
23
|
+
root: b
|
|
24
|
+
} = C(), i = m(() => l?.data ?? [], [l?.data]), _ = m(() => r ? i.find((e) => e.id === r) ?? null : null, [r, i]);
|
|
25
|
+
return g ? /* @__PURE__ */ n(G, { error: !0, fullWidth: !0, children: /* @__PURE__ */ n(p, { label: t._("GL Code"), variant: "standard", disabled: !0, error: !0, helperText: t._("Failed to load GL codes") }) }) : /* @__PURE__ */ n(P, { options: i, value: _, onChange: (e, o) => f(o?.id || null), getOptionLabel: (e) => e.nominal_code && e.type ? `${e.nominal_code} — ${e.type}` : e.nominal_code || e.type || e.name || "", isOptionEqualToValue: (e, o) => e.id === o.id, loading: d, disabled: h || d, slotProps: {
|
|
26
|
+
popper: {
|
|
27
|
+
container: b
|
|
34
28
|
}
|
|
35
|
-
}
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
}
|
|
29
|
+
}, renderInput: (e) => /* @__PURE__ */ n(p, { ...e, label: t._("GL Code"), variant: "standard", fullWidth: !0, error: u, helperText: c, placeholder: y, InputProps: {
|
|
30
|
+
...e.InputProps,
|
|
31
|
+
endAdornment: /* @__PURE__ */ a(v, { children: [
|
|
32
|
+
d ? /* @__PURE__ */ n(A, { color: "inherit", size: 20 }) : null,
|
|
33
|
+
e.InputProps.endAdornment
|
|
34
|
+
] })
|
|
35
|
+
} }), renderOption: (e, o) => /* @__PURE__ */ x("li", { ...e, key: o.id }, /* @__PURE__ */ a("div", { children: [
|
|
36
|
+
/* @__PURE__ */ n(s, { variant: "body2", color: "text.secondary", component: "div", fontWeight: 600, children: o.nominal_code && o.type ? `${o.nominal_code} — ${o.type}` : o.nominal_code || o.type }),
|
|
37
|
+
o.subtype && /* @__PURE__ */ n(s, { variant: "body2", component: "div", fontWeight: 400, children: o.subtype })
|
|
38
|
+
] })), noOptionsText: t._("No GL codes found") });
|
|
39
|
+
};
|
|
48
40
|
export {
|
|
49
|
-
|
|
41
|
+
k as GLCodeSelector
|
|
50
42
|
};
|
|
@@ -1,42 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
})
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
import { extractApprovalCalls as n, findUserApprovalCall as h, findRoleApprovalCall as u, getApprovalRuleLabel as v, processChainApprovalCalls as d, createChainApprovalStep as A, resolveStepForCall as S, createBaseApprovalStep as i, extractItemsFromScriptStep as C } from "./index288.js";
|
|
2
|
+
class f {
|
|
3
|
+
constructor(t, s, e) {
|
|
4
|
+
this.policyScript = t, this.requests = s, this.i18n = e;
|
|
5
|
+
}
|
|
6
|
+
policyScript;
|
|
7
|
+
requests;
|
|
8
|
+
i18n;
|
|
9
|
+
processApprovalItem(t, s) {
|
|
10
|
+
const e = n(t), r = h(e), o = u(e), a = v(r, o, this.i18n);
|
|
11
|
+
if (e.length > 1 && r) {
|
|
12
|
+
const {
|
|
13
|
+
allChainUserIds: p,
|
|
14
|
+
allChainRequests: l
|
|
15
|
+
} = d(e, this.requests), c = this.i18n._("All users from the list");
|
|
16
|
+
return A(p, l, s, c);
|
|
17
|
+
} else {
|
|
18
|
+
const p = e[0];
|
|
19
|
+
if (p) {
|
|
20
|
+
const l = S(p, this.requests);
|
|
21
|
+
return i(l, s, a);
|
|
22
|
+
}
|
|
23
|
+
return i({
|
|
24
|
+
assignees: [],
|
|
25
|
+
actualAssignees: [],
|
|
26
|
+
relatedRequests: [],
|
|
27
|
+
stepStatus: "waiting",
|
|
28
|
+
approvalRequestId: void 0,
|
|
29
|
+
approvedBy: void 0,
|
|
30
|
+
objectId: void 0,
|
|
31
|
+
rejectedBy: void 0,
|
|
32
|
+
requiredApprovalCount: 1
|
|
33
|
+
}, s, a);
|
|
28
34
|
}
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
};
|
|
35
|
+
}
|
|
36
|
+
buildCompleteSteps() {
|
|
37
|
+
const t = [];
|
|
38
|
+
let s = 1;
|
|
39
|
+
return this.policyScript.forEach((e) => {
|
|
40
|
+
const r = C(e);
|
|
41
|
+
r.length > 0 && (r.forEach((o) => {
|
|
42
|
+
const a = this.processApprovalItem(o, s);
|
|
43
|
+
t.push(a);
|
|
44
|
+
}), s++);
|
|
45
|
+
}), t;
|
|
46
|
+
}
|
|
47
|
+
}
|
|
40
48
|
export {
|
|
41
|
-
|
|
49
|
+
f as ApprovalStepResolver
|
|
42
50
|
};
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as e, jsxs as a, Fragment as l } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { FinanceBannerWrapper as C } from "./
|
|
3
|
-
import { FinanceFaqWrapper as L } from "./
|
|
4
|
-
import { FinanceProgressBar as T } from "./
|
|
5
|
-
import { useFinancing as V, FinancialApplicationState as t } from "./
|
|
2
|
+
import { FinanceBannerWrapper as C } from "./index346.js";
|
|
3
|
+
import { FinanceFaqWrapper as L } from "./index347.js";
|
|
4
|
+
import { FinanceProgressBar as T } from "./index348.js";
|
|
5
|
+
import { useFinancing as V, FinancialApplicationState as t } from "./index349.js";
|
|
6
6
|
import "./index58.js";
|
|
7
7
|
import "react-hot-toast";
|
|
8
8
|
import { useLingui as k } from "@lingui/react";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsx as t } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { BACKGROUND_FINANCE_STATUS_MUI_MAP as _, ROW_TO_TAG_FINANCE_STATUS_MUI_MAP as r, FINANCE_INVOICE_STATUS_TO_MUI_ICON_MAP as c } from "./index126.js";
|
|
3
|
-
import { getCommonStatusLabel as f } from "./
|
|
3
|
+
import { getCommonStatusLabel as f } from "./index353.js";
|
|
4
4
|
import { useLingui as u } from "@lingui/react";
|
|
5
5
|
import l from "@mui/icons-material/Circle";
|
|
6
6
|
import { Chip as A } from "@mui/material";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { Badge as a } from "./
|
|
3
|
-
import { getCommonStatusLabel as g } from "./
|
|
2
|
+
import { Badge as a } from "./index249.js";
|
|
3
|
+
import { getCommonStatusLabel as g } from "./index304.js";
|
|
4
4
|
import "date-fns";
|
|
5
5
|
import { useLingui as s } from "@lingui/react";
|
|
6
6
|
import { cn as c } from "./index101.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { useMoniteContext as C } from "./index58.js";
|
|
2
|
-
import { fromMinorUnitsWithCurrency as N, toMinorUnitsWithCurrency as d } from "./
|
|
2
|
+
import { fromMinorUnitsWithCurrency as N, toMinorUnitsWithCurrency as d } from "./index119.js";
|
|
3
3
|
import { getAPIErrorMessage as g } from "./index121.js";
|
|
4
4
|
import { useLingui as M } from "@lingui/react";
|
|
5
5
|
import { useEffect as D, useCallback as s } from "react";
|
|
@@ -6,9 +6,9 @@ import "date-fns";
|
|
|
6
6
|
import { useApprovalPolicyById as d } from "./index77.js";
|
|
7
7
|
import "react-hot-toast";
|
|
8
8
|
import "@lingui/react";
|
|
9
|
-
import { LoadingPage as n } from "./
|
|
10
|
-
import { ApprovalPolicyForm as a } from "./
|
|
11
|
-
import { ApprovalPolicyView as c } from "./
|
|
9
|
+
import { LoadingPage as n } from "./index200.js";
|
|
10
|
+
import { ApprovalPolicyForm as a } from "./index283.js";
|
|
11
|
+
import { ApprovalPolicyView as c } from "./index284.js";
|
|
12
12
|
const C = ({
|
|
13
13
|
id: i,
|
|
14
14
|
onCreated: e,
|
|
@@ -6,7 +6,7 @@ import R from "@mui/icons-material/ChevronLeft";
|
|
|
6
6
|
import D from "@mui/icons-material/ChevronRight";
|
|
7
7
|
import { Grid as h, Select as I, Box as u, IconButton as d, Typography as j, MenuItem as B } from "@mui/material";
|
|
8
8
|
import { styled as z, useThemeProps as O } from "@mui/material/styles";
|
|
9
|
-
import { getLayoutStyles as k } from "./
|
|
9
|
+
import { getLayoutStyles as k } from "./index329.js";
|
|
10
10
|
const c = "MoniteTablePagination", E = 10, V = ({
|
|
11
11
|
onPaginationModelChange: o,
|
|
12
12
|
paginationModel: i,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsxs as r, jsx as i } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useFinancing as m } from "./
|
|
2
|
+
import { useFinancing as m } from "./index349.js";
|
|
3
3
|
import "./index58.js";
|
|
4
4
|
import "react-hot-toast";
|
|
5
5
|
import { useLingui as h } from "@lingui/react";
|
|
6
6
|
import { useKanmonContext as u } from "./index57.js";
|
|
7
7
|
import g from "@mui/icons-material/Money";
|
|
8
8
|
import { useTheme as x, Stack as o, Box as t, lighten as f, Typography as a, Button as l } from "@mui/material";
|
|
9
|
-
import { FinanceFaqWrapper as y } from "./
|
|
9
|
+
import { FinanceFaqWrapper as y } from "./index347.js";
|
|
10
10
|
const w = () => {
|
|
11
11
|
const {
|
|
12
12
|
i18n: e
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { FinanceBannerWrapper as d } from "./
|
|
3
|
-
import { FinanceOverviewCard as T } from "./
|
|
4
|
-
import { useFinancing as L } from "./
|
|
5
|
-
import { useGetFinanceOffers as O } from "./
|
|
2
|
+
import { FinanceBannerWrapper as d } from "./index346.js";
|
|
3
|
+
import { FinanceOverviewCard as T } from "./index356.js";
|
|
4
|
+
import { useFinancing as L } from "./index349.js";
|
|
5
|
+
import { useGetFinanceOffers as O } from "./index357.js";
|
|
6
6
|
import "react-hot-toast";
|
|
7
7
|
import "./index58.js";
|
|
8
8
|
import { useLingui as S } from "@lingui/react";
|
|
9
|
-
import { useFinanceAnInvoice as C } from "./
|
|
10
|
-
import { useGetFinancedInvoices as E } from "./
|
|
9
|
+
import { useFinanceAnInvoice as C } from "./index358.js";
|
|
10
|
+
import { useGetFinancedInvoices as E } from "./index352.js";
|
|
11
11
|
import { useKanmonContext as D } from "./index57.js";
|
|
12
12
|
import { Box as r, Typography as a, Tooltip as W, Button as j } from "@mui/material";
|
|
13
13
|
import { useState as k } from "react";
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { jsx as r, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { ApprovalPoliciesRules as N } from "./
|
|
3
|
-
import { User as q } from "./
|
|
4
|
-
import { ApprovalStatusChip as I } from "./
|
|
5
|
-
import { extractApprovalCallsForTable as O } from "./
|
|
2
|
+
import { ApprovalPoliciesRules as N } from "./index285.js";
|
|
3
|
+
import { User as q } from "./index286.js";
|
|
4
|
+
import { ApprovalStatusChip as I } from "./index287.js";
|
|
5
|
+
import { extractApprovalCallsForTable as O } from "./index288.js";
|
|
6
6
|
import { useMoniteContext as Y } from "./index58.js";
|
|
7
7
|
import { MoniteScopedProviders as j } from "./index84.js";
|
|
8
8
|
import { useUserPermissions as z } from "./index142.js";
|
|
@@ -24,9 +24,9 @@ import { useLingui as U } from "@lingui/react";
|
|
|
24
24
|
import { DataTable as G } from "./index159.js";
|
|
25
25
|
import { hasSelectedText as Q } from "./index160.js";
|
|
26
26
|
import { formatISO as g, addDays as J } from "date-fns";
|
|
27
|
-
import { FILTER_TYPE_CREATED_AT as n, FILTER_TYPE_CREATED_BY as V, FILTER_TYPE_SEARCH as v } from "./
|
|
28
|
-
import { ApprovalPoliciesTriggers as W } from "./
|
|
29
|
-
import { Filters as X } from "./
|
|
27
|
+
import { FILTER_TYPE_CREATED_AT as n, FILTER_TYPE_CREATED_BY as V, FILTER_TYPE_SEARCH as v } from "./index289.js";
|
|
28
|
+
import { ApprovalPoliciesTriggers as W } from "./index290.js";
|
|
29
|
+
import { Filters as X } from "./index291.js";
|
|
30
30
|
const Fe = (s) => /* @__PURE__ */ r(j, { children: /* @__PURE__ */ r(Z, { ...s }) }), Z = ({
|
|
31
31
|
onChangeFilter: s,
|
|
32
32
|
onRowClick: u,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { jsx as r, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
2
|
-
import { useFinancing as t } from "./
|
|
3
|
-
import { useGetFinanceOffers as a } from "./
|
|
2
|
+
import { useFinancing as t } from "./index349.js";
|
|
3
|
+
import { useGetFinanceOffers as a } from "./index357.js";
|
|
4
4
|
import "react-hot-toast";
|
|
5
5
|
import "./index58.js";
|
|
6
6
|
import "@lingui/react";
|
|
7
7
|
import { CircularProgress as m, Stack as c } from "@mui/material";
|
|
8
|
-
import { FinancedInvoicesTable as p } from "./
|
|
9
|
-
import { FinanceWidget as l } from "./
|
|
8
|
+
import { FinancedInvoicesTable as p } from "./index351.js";
|
|
9
|
+
import { FinanceWidget as l } from "./index362.js";
|
|
10
10
|
const j = ({
|
|
11
11
|
onRowClick: i
|
|
12
12
|
}) => {
|