@tesouro/embedded-components-react 0.2.288 → 0.2.292
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.d.ts +1 -0
- package/dist/lib/ReceivablesWidget.d.ts +1 -0
- package/dist/lib/monite-sdk.d.ts +1 -1
- package/dist/lib/monite-sdk.js +55 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +33 -32
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +189 -185
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +56 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index226.js +12 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index227.js +8 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index228.js +8 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +74 -444
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index230.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index231.js +443 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index232.js +2 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index233.js +40 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index234.js +81 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +58 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index236.js +1 -43
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index237.js +31 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index238.js +43 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index239.js +4 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index240.js +2 -113
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index241.js +49 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index242.js +118 -184
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +5 -214
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index244.js +181 -152
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index245.js +209 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index246.js +157 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index247.js +57 -296
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index248.js +60 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +297 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index250.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index251.js +6 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index253.js +17 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index254.js +72 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index255.js +51 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index256.js +1 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index257.js +24 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index258.js +79 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index259.js +88 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +8 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +27 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +19 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +3 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +55 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +35 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +101 -51
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +24 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +24 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +55 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +13 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +55 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +2 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +7 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +49 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +40 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +74 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +7 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +74 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +41 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +1 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +7 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +20 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +48 -47
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +63 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +53 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +162 -79
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +85 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +25 -595
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +599 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +0 -167
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +163 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +25 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +10 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +16 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +21 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +27 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +91 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +10 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +10 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +70 -121
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +126 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +1 -122
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +62 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +120 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +21 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +6 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +33 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +7 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +55 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +74 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +25 -58
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +1 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +57 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +17 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +180 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +29 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +3 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +61 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +8 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +44 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +9 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +16 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +5 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +9 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +6 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +8 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +32 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +18 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +16 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +20 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index370.js +5 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index371.js +117 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +62 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +198 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index375.js +1 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index376.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index377.js +42 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index378.js +5 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index379.js +10 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index380.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index381.js +7 -423
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index382.js +7 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index383.js +421 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index384.js +1 -95
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index385.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index386.js +92 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index387.js +20 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index388.js +16 -189
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index389.js +2 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index390.js +193 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index391.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index392.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index393.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index394.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index395.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index397.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index399.js +160 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index400.js +1 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index401.js +10 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index402.js +61 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index403.js +44 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index404.js +49 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index405.js +81 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index406.js +23 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index407.js +40 -343
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index409.js +344 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index411.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index413.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index414.js +0 -161
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index415.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js +159 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js +34 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js +31 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js +4 -187
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index421.js +87 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index422.js +173 -195
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index423.js +132 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index424.js +209 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index425.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index426.js +14 -253
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index427.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index428.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index429.js +237 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index431.js +33 -164
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index432.js +142 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index433.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index434.js +165 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index435.js +26 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index436.js +8 -154
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index437.js +59 -69
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index438.js +38 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index439.js +153 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index440.js +67 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index441.js +217 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index442.js +33 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index443.js +1 -188
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index444.js +77 -162
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index445.js +14 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index446.js +185 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index447.js +166 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index448.js +12 -310
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index449.js +9 -90
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index450.js +5 -190
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index451.js +312 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index452.js +90 -85
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index453.js +182 -125
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index454.js +29 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index455.js +82 -445
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index456.js +133 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index457.js +37 -144
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index458.js +434 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index459.js +16 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index460.js +141 -59
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index461.js +143 -68
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index462.js +36 -147
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index463.js +59 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index464.js +66 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index465.js +149 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index466.js +59 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index467.js +84 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index468.js +14 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index469.js +19 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index470.js +20 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index471.js +102 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index472.js +42 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index473.js +27 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index474.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index475.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index476.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index477.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index478.js +13 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index479.js +13 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index480.js +9 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index481.js +101 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index482.js +35 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index483.js +43 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index484.js +65 -134
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index485.js +28 -129
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index486.js +157 -63
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index487.js +129 -235
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index488.js +131 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index489.js +68 -434
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index490.js +246 -21
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index491.js +8 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index492.js +6 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index493.js +433 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index494.js +23 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index495.js +17 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index496.js +53 -145
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index497.js +44 -112
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index498.js +12 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index499.js +40 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index500.js +143 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index501.js +111 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index502.js +38 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index503.js +32 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index504.js +18 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index505.js +19 -171
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index506.js +22 -139
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index507.js +72 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index508.js +17 -115
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index509.js +172 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index510.js +138 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index511.js +32 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index512.js +114 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index513.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index514.js +45 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index515.js +12 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index516.js +22 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index517.js +28 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index518.js +36 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index519.js +77 -50
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index520.js +54 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index521.js +35 -38
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index522.js +92 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index523.js +50 -132
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index524.js +1 -109
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index525.js +35 -49
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index526.js +1 -785
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index527.js +132 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index528.js +104 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index529.js +54 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index530.js +781 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index531.js +89 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index532.js +103 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index533.js +6 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index534.js +24 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index535.js +12 -170
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index536.js +2 -208
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index537.js +21 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index538.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index539.js +156 -143
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index540.js +202 -91
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index541.js +80 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index542.js +19 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index543.js +157 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index544.js +94 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index545.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index546.js +3 -186
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index547.js +16 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index548.js +24 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index549.js +0 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index550.js +183 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index551.js +1 -77
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index552.js +40 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index553.js +5 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index554.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index555.js +74 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index556.js +17 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index557.js +19 -130
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index558.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index559.js +8 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index560.js +13 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index561.js +128 -217
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index562.js +5 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index563.js +6 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index564.js +5 -185
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index565.js +212 -196
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index566.js +11 -99
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index567.js +34 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index568.js +172 -44
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index569.js +198 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index570.js +96 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index571.js +60 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index572.js +54 -84
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index573.js +92 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index574.js +39 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index575.js +79 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index576.js +87 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index577.js +12 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index578.js +26 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index579.js +17 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index580.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index581.js +22 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index582.js +1 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index583.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index584.js +4 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index585.js +9 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index586.js +17 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index587.js +5 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index588.js +9 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index589.js +5 -117
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index590.js +6 -80
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index591.js +18 -142
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index592.js +71 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index593.js +117 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index594.js +75 -86
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index595.js +146 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index596.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index597.js +14 -67
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index598.js +91 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index599.js +2 -65
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index600.js +22 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index601.js +69 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index602.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index603.js +66 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index604.js +25 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index605.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index606.js +36 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index607.js +15 -94
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index608.js +33 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index609.js +30 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index610.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index611.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index6.js +2 -2
- 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 +1 -1
- package/package.json +1 -1
|
@@ -1,37 +1,162 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { Scope as e } from "../../shared/data-access/dist/lib/scopes.js";
|
|
2
|
+
import "../../shared/data-access/dist/index.js";
|
|
3
|
+
import { ScopedCssBaselineContainerClassName as t } from "./index31.js";
|
|
4
|
+
import { generatePayablesButtonCssVars as n } from "./index44.js";
|
|
5
|
+
import { useMoniteContext as r } from "./index47.js";
|
|
6
|
+
import { MoniteScopedProviders as i } from "./index209.js";
|
|
7
|
+
import { useUserPermissions as a } from "./index112.js";
|
|
8
|
+
import { NotFound as o } from "./index230.js";
|
|
9
|
+
import { AccessRestriction as s } from "./index238.js";
|
|
10
|
+
import "./index240.js";
|
|
11
|
+
import { LoadingPage as c } from "./index251.js";
|
|
12
|
+
import "./index252.js";
|
|
13
|
+
import { classNames as l } from "./index335.js";
|
|
14
|
+
import { PayableDetailsForceActionDialog as u } from "./index349.js";
|
|
15
|
+
import { PayableDetailsForm as ee } from "./index383.js";
|
|
16
|
+
import "./index384.js";
|
|
17
|
+
import { usePayableDetails as te } from "./index390.js";
|
|
18
|
+
import { PayableDetailsAttachFile as ne } from "./index391.js";
|
|
19
|
+
import "./index392.js";
|
|
20
|
+
import { PayableDetailsHeader as re } from "./index399.js";
|
|
21
|
+
import "./index400.js";
|
|
22
|
+
import { PayableDetailsInfo as ie } from "./index409.js";
|
|
23
|
+
import "./index410.js";
|
|
24
|
+
import { PayableDetailsNoAttachedFile as ae } from "./index411.js";
|
|
25
|
+
import "./index412.js";
|
|
26
|
+
import { FileViewer as oe } from "./index413.js";
|
|
27
|
+
import "./index414.js";
|
|
28
|
+
import "./index415.js";
|
|
29
|
+
import { useId as se, useMemo as ce, useState as le } from "react";
|
|
30
|
+
import { Fragment as ue, jsx as d, jsxs as f } from "@emotion/react/jsx-runtime";
|
|
31
|
+
import { Alert as p, Backdrop as m, Box as h, DialogContent as g, Grid as _ } from "@mui/material";
|
|
32
|
+
import { useLingui as v } from "@lingui/react";
|
|
2
33
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index416.js
|
|
3
|
-
var i = () => {
|
|
4
|
-
let
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
34
|
+
var y = (e) => /* @__PURE__ */ d(i, { children: /* @__PURE__ */ d(b, { ...e }) }), b = ({ id: i, optionalFields: y, enableGLCodes: b, hideAddDiscountButton: x, hideAddBankAccountButton: S, shouldOpenInEditMode: C, initialCounterpartId: w, onClose: T, onSaved: E, onCanceled: D, onSubmitted: O, onRejected: k, onApproved: A, onReopened: j, onDeleted: M, onPay: N }) => {
|
|
35
|
+
let { payable: P, payableQueryError: F, permissions: I, lineItems: L, isEdit: R, isLoading: z, showPayButton: B, actions: { setEdit: V, createInvoice: H, saveInvoice: U, submitInvoice: de, payInvoice: fe, rejectInvoice: pe, approveInvoice: me, forceRejectInvoice: he, forceApproveInvoice: ge, cancelInvoice: _e, reopenInvoice: ve, deleteInvoice: ye, updateTags: be, modalComponent: xe } } = te({
|
|
36
|
+
id: i,
|
|
37
|
+
enableGLCodes: b,
|
|
38
|
+
shouldOpenInEditMode: C,
|
|
39
|
+
onSaved: E,
|
|
40
|
+
onCanceled: D,
|
|
41
|
+
onSubmitted: O,
|
|
42
|
+
onRejected: k,
|
|
43
|
+
onApproved: A,
|
|
44
|
+
onReopened: j,
|
|
45
|
+
onDeleted: M,
|
|
46
|
+
onPay: N
|
|
47
|
+
}), [W, G] = le(null), K = () => G(null), Se = async () => {
|
|
48
|
+
K(), await ge();
|
|
49
|
+
}, q = async () => {
|
|
50
|
+
K(), await he();
|
|
51
|
+
}, { i18n: J } = v(), { componentSettings: Y, theme: X } = r(), Ce = ce(() => n(X.components?.styles?.payables?.button), [X.components?.styles?.payables?.button]), Z = a(), Q = Z.has(e.PayableWriteOrg), we = Z.has(e.PayableReadOrg), $ = `Monite-PayableDetailsForm-${se()}`;
|
|
52
|
+
return we ? F ? /* @__PURE__ */ d(o, {
|
|
53
|
+
title: J._("Payable not found"),
|
|
54
|
+
description: J._("There is no payable by provided id: {id}", { id: i })
|
|
55
|
+
}) : /* @__PURE__ */ d(ue, { children: /* @__PURE__ */ f(h, {
|
|
56
|
+
className: l(t, "Monite-PayableDetails", "Monite-Payables"),
|
|
57
|
+
style: Ce,
|
|
58
|
+
sx: {
|
|
59
|
+
width: "100%",
|
|
60
|
+
height: "100%",
|
|
61
|
+
display: "flex",
|
|
62
|
+
flexDirection: "column",
|
|
63
|
+
position: "absolute"
|
|
64
|
+
},
|
|
65
|
+
children: [
|
|
66
|
+
/* @__PURE__ */ d(m, {
|
|
67
|
+
open: z,
|
|
68
|
+
sx: { zIndex: (e) => e.zIndex.drawer + 1 },
|
|
69
|
+
children: /* @__PURE__ */ d(c, {})
|
|
70
|
+
}),
|
|
71
|
+
/* @__PURE__ */ d(re, {
|
|
72
|
+
payable: P,
|
|
73
|
+
permissions: I,
|
|
74
|
+
setEdit: V,
|
|
75
|
+
isEdit: R,
|
|
76
|
+
submitInvoice: de,
|
|
77
|
+
rejectInvoice: pe,
|
|
78
|
+
approveInvoice: me,
|
|
79
|
+
forceRejectInvoice: () => G("reject"),
|
|
80
|
+
forceApproveInvoice: () => G("approve"),
|
|
81
|
+
reopenInvoice: ve,
|
|
82
|
+
cancelInvoice: _e,
|
|
83
|
+
deleteInvoice: ye,
|
|
84
|
+
payInvoice: fe,
|
|
85
|
+
payableDetailsFormId: $,
|
|
86
|
+
onClose: T,
|
|
87
|
+
modalComponent: xe,
|
|
88
|
+
showPayButton: B
|
|
89
|
+
}, String(R)),
|
|
90
|
+
/* @__PURE__ */ d(u, {
|
|
91
|
+
open: W === "approve",
|
|
92
|
+
type: "approve",
|
|
93
|
+
onClose: K,
|
|
94
|
+
onConfirm: Se
|
|
95
|
+
}),
|
|
96
|
+
/* @__PURE__ */ d(u, {
|
|
97
|
+
open: W === "reject",
|
|
98
|
+
type: "reject",
|
|
99
|
+
onClose: K,
|
|
100
|
+
onConfirm: q
|
|
101
|
+
}),
|
|
102
|
+
/* @__PURE__ */ d(g, {
|
|
103
|
+
sx: {
|
|
104
|
+
display: "flex",
|
|
105
|
+
flexDirection: "column"
|
|
106
|
+
},
|
|
107
|
+
children: /* @__PURE__ */ f(_, {
|
|
108
|
+
container: !0,
|
|
109
|
+
columnSpacing: 4,
|
|
110
|
+
height: "100%",
|
|
111
|
+
children: [/* @__PURE__ */ f(_, {
|
|
112
|
+
item: !0,
|
|
113
|
+
container: !0,
|
|
114
|
+
xs: 6,
|
|
115
|
+
height: "100%",
|
|
116
|
+
children: [
|
|
117
|
+
P?.file && /* @__PURE__ */ d(oe, {
|
|
118
|
+
name: P.file.name,
|
|
119
|
+
mimetype: P.file.mimetype,
|
|
120
|
+
url: P.file.url
|
|
121
|
+
}),
|
|
122
|
+
Q && P?.id && !P?.file && /* @__PURE__ */ d(ne, { payableId: P.id }),
|
|
123
|
+
!Q && P?.id && !P?.file && /* @__PURE__ */ d(ae, {})
|
|
124
|
+
]
|
|
125
|
+
}), /* @__PURE__ */ f(_, {
|
|
126
|
+
item: !0,
|
|
127
|
+
container: !0,
|
|
128
|
+
xs: 6,
|
|
129
|
+
flexDirection: "column",
|
|
130
|
+
height: "100%",
|
|
131
|
+
overflow: "auto",
|
|
132
|
+
children: [P && (P.status === "new" || P.status === "draft") && (P.ocr_status === "error" || P.ocr_status === "canceled") && /* @__PURE__ */ d(h, {
|
|
133
|
+
mb: 2,
|
|
134
|
+
children: /* @__PURE__ */ d(p, {
|
|
135
|
+
severity: "error",
|
|
136
|
+
children: J._("Due to an error, the OCR failed to read the data from the document. Please input the data manually.")
|
|
137
|
+
})
|
|
138
|
+
}), R ? /* @__PURE__ */ d(ee, {
|
|
139
|
+
savePayable: U,
|
|
140
|
+
createPayable: H,
|
|
141
|
+
payable: P,
|
|
142
|
+
initialCounterpartId: w,
|
|
143
|
+
optionalFields: y,
|
|
144
|
+
lineItems: L,
|
|
145
|
+
payableDetailsFormId: $,
|
|
146
|
+
enableGLCodes: b,
|
|
147
|
+
hideAddDiscountButton: x ?? Y?.payables?.hideAddDiscountButton,
|
|
148
|
+
hideAddBankAccountButton: S ?? Y?.payables?.hideAddBankAccountButton
|
|
149
|
+
}) : P && /* @__PURE__ */ d(ie, {
|
|
150
|
+
updateTags: (e) => i && be(i, e || []),
|
|
151
|
+
payable: P,
|
|
152
|
+
optionalFields: y,
|
|
153
|
+
enableGLCodes: b
|
|
154
|
+
})]
|
|
155
|
+
})]
|
|
156
|
+
})
|
|
157
|
+
})
|
|
158
|
+
]
|
|
159
|
+
}) }) : /* @__PURE__ */ d(s, {});
|
|
35
160
|
};
|
|
36
161
|
//#endregion
|
|
37
|
-
export {
|
|
162
|
+
export { y as PayableDetails };
|
|
@@ -1,36 +1 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { useLingui as n } from "@lingui/react";
|
|
3
|
-
import { twMerge as r } from "tailwind-merge";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index417.js
|
|
5
|
-
var i = ({ isAllStatus: i, data: a, amountOfItems: o, selected: s, onClick: c, formatAmount: l, statusChip: u, allItemsText: d }) => {
|
|
6
|
-
let { i18n: f } = n();
|
|
7
|
-
return /* @__PURE__ */ e("button", {
|
|
8
|
-
onClick: c,
|
|
9
|
-
type: "button",
|
|
10
|
-
className: r("ttw:flex ttw:flex-col ttw:gap-2 ttw:px-4 ttw:py-2 ttw:rounded-xl ttw:border ttw:w-42 ttw:shrink-0 ttw:text-left ttw:cursor-pointer ttw:transition-colors ttw:bg-white", s ? "ttw:border-indigo-700" : "ttw:border-white ttw:hover:border-indigo-700"),
|
|
11
|
-
children: i ? /* @__PURE__ */ t("div", {
|
|
12
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
13
|
-
children: [/* @__PURE__ */ e("span", {
|
|
14
|
-
className: "ttw:text-xs ttw:font-medium ttw:text-zinc-950",
|
|
15
|
-
children: d ?? f._("All items")
|
|
16
|
-
}), /* @__PURE__ */ e("span", {
|
|
17
|
-
className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums",
|
|
18
|
-
children: a
|
|
19
|
-
})]
|
|
20
|
-
}) : /* @__PURE__ */ t("div", {
|
|
21
|
-
className: "ttw:flex ttw:flex-col",
|
|
22
|
-
children: [/* @__PURE__ */ t("div", {
|
|
23
|
-
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
|
|
24
|
-
children: [u, /* @__PURE__ */ e("span", {
|
|
25
|
-
className: "ttw:text-xs ttw:font-medium ttw:leading-4.5 ttw:text-zinc-950 ttw:tabular-nums",
|
|
26
|
-
children: o ?? 0
|
|
27
|
-
})]
|
|
28
|
-
}), /* @__PURE__ */ e("span", {
|
|
29
|
-
className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums ttw:overflow-hidden ttw:whitespace-nowrap ttw:text-ellipsis",
|
|
30
|
-
children: l(a)
|
|
31
|
-
})]
|
|
32
|
-
})
|
|
33
|
-
});
|
|
34
|
-
};
|
|
35
|
-
//#endregion
|
|
36
|
-
export { i as StatusCard };
|
|
1
|
+
import "./index416.js";
|
|
@@ -1,6 +1,37 @@
|
|
|
1
|
+
import { useCallback as e, useEffect as t, useRef as n, useState as r } from "react";
|
|
1
2
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index418.js
|
|
2
|
-
var
|
|
3
|
-
|
|
3
|
+
var i = () => {
|
|
4
|
+
let i = n(null), [a, o] = r(!1), [s, c] = r(0), [l, u] = r(0), d = e((e) => {
|
|
5
|
+
o(!0), c(e.pageX - (i.current?.offsetLeft || 0)), u(i.current?.scrollLeft || 0);
|
|
6
|
+
}, []), f = e(() => {
|
|
7
|
+
o(!1);
|
|
8
|
+
}, []), p = e(() => {
|
|
9
|
+
o(!1);
|
|
10
|
+
}, []), m = e((e) => {
|
|
11
|
+
if (!a) return;
|
|
12
|
+
e.preventDefault();
|
|
13
|
+
let t = e.pageX - (i.current?.offsetLeft || 0) - s;
|
|
14
|
+
i.current && (i.current.scrollLeft = l - t);
|
|
15
|
+
}, [
|
|
16
|
+
a,
|
|
17
|
+
s,
|
|
18
|
+
l
|
|
19
|
+
]), h = e((e) => {
|
|
20
|
+
i.current && (e.deltaMode === 0 && Math.abs(e.deltaX) > Math.abs(e.deltaY) ? (e.preventDefault(), i.current.scrollLeft += e.deltaX * 2) : e.preventDefault());
|
|
21
|
+
}, []);
|
|
22
|
+
return t(() => {
|
|
23
|
+
let e = i.current;
|
|
24
|
+
if (e) return e.addEventListener("wheel", h), () => {
|
|
25
|
+
e.removeEventListener("wheel", h);
|
|
26
|
+
};
|
|
27
|
+
}, [h]), {
|
|
28
|
+
containerRef: i,
|
|
29
|
+
handleMouseDown: d,
|
|
30
|
+
handleMouseLeave: f,
|
|
31
|
+
handleMouseUp: p,
|
|
32
|
+
handleMouseMove: m,
|
|
33
|
+
isDragging: a
|
|
34
|
+
};
|
|
4
35
|
};
|
|
5
36
|
//#endregion
|
|
6
|
-
export {
|
|
37
|
+
export { i as useDragScroll };
|
|
@@ -1,105 +1,36 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import { PayableStatusChip as r } from "./index197.js";
|
|
5
|
-
import "./index391.js";
|
|
6
|
-
import { useDragScroll as i } from "./index416.js";
|
|
7
|
-
import { StatusCard as a } from "./index417.js";
|
|
8
|
-
import { getPayablesAnalyticsSnapshot as o } from "./index418.js";
|
|
9
|
-
import { useEffect as s, useRef as c } from "react";
|
|
10
|
-
import { jsx as l } from "@emotion/react/jsx-runtime";
|
|
11
|
-
import { useLingui as u } from "@lingui/react";
|
|
1
|
+
import { jsx as e, jsxs as t } from "@emotion/react/jsx-runtime";
|
|
2
|
+
import { useLingui as n } from "@lingui/react";
|
|
3
|
+
import { twMerge as r } from "tailwind-merge";
|
|
12
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index419.js
|
|
13
|
-
var
|
|
14
|
-
{
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
groupStatus: "paid",
|
|
41
|
-
apiStatuses: ["paid"],
|
|
42
|
-
representativeStatus: "paid"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
groupStatus: "cancelled",
|
|
46
|
-
apiStatuses: ["canceled"],
|
|
47
|
-
representativeStatus: "canceled"
|
|
48
|
-
}
|
|
49
|
-
], f = ({ onChangeFilter: e, selectedStatus: o }) => {
|
|
50
|
-
let { i18n: s } = u(), { data: c, isLoading: f } = p(), { formatCurrencyToDisplay: m } = t(), { containerRef: h, handleMouseDown: g, handleMouseLeave: _, handleMouseUp: v, handleMouseMove: y } = i();
|
|
51
|
-
if (f) return /* @__PURE__ */ l("div", {
|
|
52
|
-
className: "ttw:flex ttw:gap-2",
|
|
53
|
-
children: Array.from({ length: 6 }).map((e, t) => /* @__PURE__ */ l(n, { className: "ttw:h-16.5 ttw:w-42 ttw:rounded-xl ttw:animate-pulse" }, t))
|
|
54
|
-
});
|
|
55
|
-
let b = c?.data ?? [], x = d.map(({ groupStatus: e, apiStatuses: t }) => {
|
|
56
|
-
if (e === "all") return {
|
|
57
|
-
status: "all",
|
|
58
|
-
count: b.reduce((e, t) => e + t.count, 0),
|
|
59
|
-
sum_total_amount: b.reduce((e, t) => e + (t.sum_total_amount ?? 0), 0)
|
|
60
|
-
};
|
|
61
|
-
let n = b.filter((e) => t.includes(e.status));
|
|
62
|
-
return {
|
|
63
|
-
status: e,
|
|
64
|
-
count: n.reduce((e, t) => e + t.count, 0),
|
|
65
|
-
sum_total_amount: n.reduce((e, t) => e + (t.sum_total_amount ?? 0), 0)
|
|
66
|
-
};
|
|
67
|
-
}).filter((e) => e.status === "all" || e.count > 0), S = (t) => {
|
|
68
|
-
e("status", t === "all" ? null : t);
|
|
69
|
-
}, C = (e) => m(e, "USD") ?? "—";
|
|
70
|
-
return /* @__PURE__ */ l("div", {
|
|
71
|
-
ref: h,
|
|
72
|
-
className: "ttw:flex ttw:gap-2 ttw:mb-6 ttw:overflow-x-auto ttw:[scrollbar-width:none] ttw:[&::-webkit-scrollbar]:hidden ttw:cursor-grab ttw:select-none",
|
|
73
|
-
onMouseDown: g,
|
|
74
|
-
onMouseLeave: _,
|
|
75
|
-
onMouseUp: v,
|
|
76
|
-
onMouseMove: y,
|
|
77
|
-
children: x.map((e) => {
|
|
78
|
-
let t = d.find((t) => t.groupStatus === e.status);
|
|
79
|
-
return /* @__PURE__ */ l(a, {
|
|
80
|
-
allItemsText: s._("All bills"),
|
|
81
|
-
isAllStatus: e.status === "all",
|
|
82
|
-
data: e.status === "all" ? e.count ?? 0 : e.sum_total_amount ?? 0,
|
|
83
|
-
amountOfItems: e.status === "all" ? void 0 : e.count ?? 0,
|
|
84
|
-
selected: o === e.status,
|
|
85
|
-
onClick: () => S(e.status),
|
|
86
|
-
formatAmount: C,
|
|
87
|
-
statusChip: t?.representativeStatus ? /* @__PURE__ */ l(r, { status: t.representativeStatus }) : void 0
|
|
88
|
-
}, e.status);
|
|
5
|
+
var i = ({ isAllStatus: i, data: a, amountOfItems: o, selected: s, onClick: c, formatAmount: l, statusChip: u, allItemsText: d }) => {
|
|
6
|
+
let { i18n: f } = n();
|
|
7
|
+
return /* @__PURE__ */ e("button", {
|
|
8
|
+
onClick: c,
|
|
9
|
+
type: "button",
|
|
10
|
+
className: r("ttw:flex ttw:flex-col ttw:gap-2 ttw:px-4 ttw:py-2 ttw:rounded-xl ttw:border ttw:w-42 ttw:shrink-0 ttw:text-left ttw:cursor-pointer ttw:transition-colors ttw:bg-white", s ? "ttw:border-indigo-700" : "ttw:border-white ttw:hover:border-indigo-700"),
|
|
11
|
+
children: i ? /* @__PURE__ */ t("div", {
|
|
12
|
+
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
13
|
+
children: [/* @__PURE__ */ e("span", {
|
|
14
|
+
className: "ttw:text-xs ttw:font-medium ttw:text-zinc-950",
|
|
15
|
+
children: d ?? f._("All items")
|
|
16
|
+
}), /* @__PURE__ */ e("span", {
|
|
17
|
+
className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums",
|
|
18
|
+
children: a
|
|
19
|
+
})]
|
|
20
|
+
}) : /* @__PURE__ */ t("div", {
|
|
21
|
+
className: "ttw:flex ttw:flex-col",
|
|
22
|
+
children: [/* @__PURE__ */ t("div", {
|
|
23
|
+
className: "ttw:flex ttw:items-center ttw:justify-between ttw:gap-2",
|
|
24
|
+
children: [u, /* @__PURE__ */ e("span", {
|
|
25
|
+
className: "ttw:text-xs ttw:font-medium ttw:leading-4.5 ttw:text-zinc-950 ttw:tabular-nums",
|
|
26
|
+
children: o ?? 0
|
|
27
|
+
})]
|
|
28
|
+
}), /* @__PURE__ */ e("span", {
|
|
29
|
+
className: "ttw:text-2xl ttw:font-medium ttw:text-zinc-950 ttw:leading-8 ttw:tabular-nums ttw:overflow-hidden ttw:whitespace-nowrap ttw:text-ellipsis",
|
|
30
|
+
children: l(a)
|
|
31
|
+
})]
|
|
89
32
|
})
|
|
90
33
|
});
|
|
91
|
-
}, p = () => {
|
|
92
|
-
let { api: t, queryClient: n } = e(), r = t.finops.getPayablesAnalytics.useQuery({}, {
|
|
93
|
-
enabled: !!n,
|
|
94
|
-
refetchInterval: 3e3
|
|
95
|
-
}), i = o(r.data?.data), a = c(void 0);
|
|
96
|
-
return s(() => {
|
|
97
|
-
i !== void 0 && a.current !== void 0 && i !== a.current && n && t.finops.getPayables.invalidateQueries(n), a.current = i;
|
|
98
|
-
}, [
|
|
99
|
-
i,
|
|
100
|
-
t,
|
|
101
|
-
n
|
|
102
|
-
]), r;
|
|
103
34
|
};
|
|
104
35
|
//#endregion
|
|
105
|
-
export {
|
|
36
|
+
export { i as StatusCard };
|
|
@@ -1,189 +1,6 @@
|
|
|
1
|
-
import { AmountFilter as e, DateRangePicker as t, FilterBar as n, FilterMenuButton as r, FilterTag as i, Input as a, MultiSelectFilter as o, Popover as s, PopoverContent as c, PopoverTrigger as l, RadioGroup as u, RadioGroupItem as d, SearchInput as f, useFilterPanel as p } from "../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { ListFilter as m } from "lucide-react";
|
|
3
|
-
import { Fragment as h, jsx as g, jsxs as _ } from "@emotion/react/jsx-runtime";
|
|
4
|
-
import { useLingui as v } from "@lingui/react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index420.js
|
|
6
|
-
var
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
amount: "ttw:w-64",
|
|
10
|
-
vendor: "ttw:w-64",
|
|
11
|
-
attachment: "ttw:w-56"
|
|
12
|
-
}, b = {
|
|
13
|
-
due_date: "Due date",
|
|
14
|
-
created_at: "Created on",
|
|
15
|
-
issued_at: "Issue date"
|
|
16
|
-
}, x = [
|
|
17
|
-
{
|
|
18
|
-
id: "date",
|
|
19
|
-
label: "Due date",
|
|
20
|
-
activeDateField: "due_date"
|
|
21
|
-
},
|
|
22
|
-
{
|
|
23
|
-
id: "date",
|
|
24
|
-
label: "Created on",
|
|
25
|
-
activeDateField: "created_at"
|
|
26
|
-
},
|
|
27
|
-
{
|
|
28
|
-
id: "date",
|
|
29
|
-
label: "Issue date",
|
|
30
|
-
activeDateField: "issued_at"
|
|
31
|
-
},
|
|
32
|
-
{
|
|
33
|
-
id: "status",
|
|
34
|
-
label: "Status",
|
|
35
|
-
activeDateField: void 0
|
|
36
|
-
},
|
|
37
|
-
{
|
|
38
|
-
id: "amount",
|
|
39
|
-
label: "Amount",
|
|
40
|
-
activeDateField: void 0
|
|
41
|
-
},
|
|
42
|
-
{
|
|
43
|
-
id: "vendor",
|
|
44
|
-
label: "Vendor",
|
|
45
|
-
activeDateField: void 0
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
id: "attachment",
|
|
49
|
-
label: "Attachment",
|
|
50
|
-
activeDateField: void 0
|
|
51
|
-
}
|
|
52
|
-
];
|
|
53
|
-
function S(S) {
|
|
54
|
-
let { i18n: C } = v(), w = p(), T = w.isMenuOpen || !!w.activePanelId, E = w.activePanelId && y[w.activePanelId] || "ttw:w-52", D = S.allPresets.map((e) => ({
|
|
55
|
-
value: e.value,
|
|
56
|
-
label: e.label,
|
|
57
|
-
group: e.group
|
|
58
|
-
})), O = (e) => {
|
|
59
|
-
e || (w.closeMenu(), w.closePanel());
|
|
60
|
-
}, k = (e, t) => {
|
|
61
|
-
t && S.onActiveDateFieldChange(t), w.openPanel(e);
|
|
62
|
-
}, A = S.hasFile === !0 ? "has" : S.hasFile === !1 ? "no" : "any";
|
|
63
|
-
return /* @__PURE__ */ g(n, {
|
|
64
|
-
className: "ttw:pl-4",
|
|
65
|
-
searchSlot: /* @__PURE__ */ g(f, {
|
|
66
|
-
value: S.searchValue,
|
|
67
|
-
onChange: (e) => S.onSearchChange(e.target.value),
|
|
68
|
-
placeholder: "Search by number or vendor..."
|
|
69
|
-
}),
|
|
70
|
-
menuSlot: /* @__PURE__ */ _(s, {
|
|
71
|
-
open: T,
|
|
72
|
-
onOpenChange: O,
|
|
73
|
-
children: [/* @__PURE__ */ g(l, {
|
|
74
|
-
asChild: !0,
|
|
75
|
-
children: /* @__PURE__ */ g(r, {
|
|
76
|
-
activeCount: S.activeFilterCount,
|
|
77
|
-
onClick: w.toggleMenu
|
|
78
|
-
})
|
|
79
|
-
}), /* @__PURE__ */ _(c, {
|
|
80
|
-
align: "start",
|
|
81
|
-
className: `ttw:p-0 ${E}`,
|
|
82
|
-
children: [
|
|
83
|
-
w.isMenuOpen && /* @__PURE__ */ g("div", {
|
|
84
|
-
className: "ttw:p-1",
|
|
85
|
-
children: x.map((e, t) => /* @__PURE__ */ _("button", {
|
|
86
|
-
type: "button",
|
|
87
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:w-full ttw:px-2 ttw:py-1.5 ttw:rounded-md ttw:text-xs ttw:font-medium ttw:hover:bg-accent ttw:transition-colors ttw:cursor-pointer",
|
|
88
|
-
onClick: () => k(e.id, e.activeDateField),
|
|
89
|
-
children: [/* @__PURE__ */ g(m, { className: "ttw:size-4 ttw:text-muted-foreground ttw:shrink-0" }), e.label]
|
|
90
|
-
}, `${e.id}-${t}`))
|
|
91
|
-
}),
|
|
92
|
-
w.activePanelId === "date" && /* @__PURE__ */ g(t, {
|
|
93
|
-
from: S.dateFrom,
|
|
94
|
-
to: S.dateTo,
|
|
95
|
-
onRangeChange: S.onDateRangeChange,
|
|
96
|
-
selectedPreset: S.selectedDatePreset,
|
|
97
|
-
onPresetChange: S.onDatePresetChange,
|
|
98
|
-
presets: D,
|
|
99
|
-
labels: { fieldLabel: b[S.activeDateField] }
|
|
100
|
-
}),
|
|
101
|
-
w.activePanelId === "status" && /* @__PURE__ */ g(o, {
|
|
102
|
-
options: S.statusOptions,
|
|
103
|
-
selectedValues: S.selectedStatus,
|
|
104
|
-
onSelectionChange: S.onStatusChange
|
|
105
|
-
}),
|
|
106
|
-
w.activePanelId === "amount" && /* @__PURE__ */ g(e, {
|
|
107
|
-
mode: S.amountMode,
|
|
108
|
-
onModeChange: S.onAmountModeChange,
|
|
109
|
-
min: S.amountMin,
|
|
110
|
-
max: S.amountMax,
|
|
111
|
-
onMinChange: S.onAmountMinChange,
|
|
112
|
-
onMaxChange: S.onAmountMaxChange,
|
|
113
|
-
showFlowDirection: !1,
|
|
114
|
-
labels: {
|
|
115
|
-
min: "No less than",
|
|
116
|
-
max: "No more than"
|
|
117
|
-
}
|
|
118
|
-
}),
|
|
119
|
-
w.activePanelId === "vendor" && /* @__PURE__ */ _("div", {
|
|
120
|
-
className: "ttw:p-3 ttw:flex ttw:flex-col ttw:gap-2",
|
|
121
|
-
children: [
|
|
122
|
-
/* @__PURE__ */ g("p", {
|
|
123
|
-
className: "ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
124
|
-
children: "Vendor name"
|
|
125
|
-
}),
|
|
126
|
-
/* @__PURE__ */ g(a, {
|
|
127
|
-
type: "text",
|
|
128
|
-
value: S.vendorName,
|
|
129
|
-
onChange: (e) => S.onVendorNameChange(e.target.value),
|
|
130
|
-
placeholder: "Search vendors...",
|
|
131
|
-
className: "ttw:h-8 ttw:text-xs"
|
|
132
|
-
}),
|
|
133
|
-
/* @__PURE__ */ g("p", {
|
|
134
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
135
|
-
children: C._("Matches names containing your search")
|
|
136
|
-
})
|
|
137
|
-
]
|
|
138
|
-
}),
|
|
139
|
-
w.activePanelId === "attachment" && /* @__PURE__ */ g("div", {
|
|
140
|
-
className: "ttw:p-3",
|
|
141
|
-
children: /* @__PURE__ */ g(u, {
|
|
142
|
-
value: A,
|
|
143
|
-
onValueChange: (e) => {
|
|
144
|
-
e === "any" ? S.onHasFileChange(void 0) : e === "has" ? S.onHasFileChange(!0) : S.onHasFileChange(!1);
|
|
145
|
-
},
|
|
146
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
147
|
-
children: [
|
|
148
|
-
{
|
|
149
|
-
value: "any",
|
|
150
|
-
label: "Any"
|
|
151
|
-
},
|
|
152
|
-
{
|
|
153
|
-
value: "has",
|
|
154
|
-
label: "Has attachment"
|
|
155
|
-
},
|
|
156
|
-
{
|
|
157
|
-
value: "no",
|
|
158
|
-
label: "No attachment"
|
|
159
|
-
}
|
|
160
|
-
].map(({ value: e, label: t }) => /* @__PURE__ */ _("label", {
|
|
161
|
-
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:cursor-pointer",
|
|
162
|
-
children: [/* @__PURE__ */ g(d, { value: e }), /* @__PURE__ */ g("span", {
|
|
163
|
-
className: "ttw:text-xs ttw:font-medium",
|
|
164
|
-
children: t
|
|
165
|
-
})]
|
|
166
|
-
}, e))
|
|
167
|
-
})
|
|
168
|
-
})
|
|
169
|
-
]
|
|
170
|
-
})]
|
|
171
|
-
}),
|
|
172
|
-
activeChipsSlot: /* @__PURE__ */ _(h, { children: [S.activeChips.map((e) => /* @__PURE__ */ g(i, {
|
|
173
|
-
label: e.label,
|
|
174
|
-
count: e.count,
|
|
175
|
-
variant: "default",
|
|
176
|
-
onLabelClick: e.key === "date" ? () => {
|
|
177
|
-
w.openPanel("date");
|
|
178
|
-
} : void 0,
|
|
179
|
-
onDismiss: () => S.onDismissChip(e.key)
|
|
180
|
-
}, e.key)), S.activeFilterCount > 0 && /* @__PURE__ */ g("button", {
|
|
181
|
-
type: "button",
|
|
182
|
-
className: "ttw:text-xs ttw:text-muted-foreground ttw:hover:text-foreground ttw:transition-colors ttw:cursor-pointer ttw:whitespace-nowrap",
|
|
183
|
-
onClick: S.onClearAll,
|
|
184
|
-
children: "Clear all"
|
|
185
|
-
})] })
|
|
186
|
-
});
|
|
187
|
-
}
|
|
2
|
+
var e = (e) => JSON.stringify(Object.entries(e).sort(([e], [t]) => e.localeCompare(t))), t = (t) => {
|
|
3
|
+
if (t) return JSON.stringify(t.map(e).sort((e, t) => e.localeCompare(t)));
|
|
4
|
+
};
|
|
188
5
|
//#endregion
|
|
189
|
-
export {
|
|
6
|
+
export { t as getPayablesAnalyticsSnapshot };
|