@tesouro/embedded-components-react 0.7.49 → 0.7.51
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/lib/monite-sdk.d.ts +42 -42
- package/dist/lib/monite-sdk.js +18 -18
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/useCounterpartsTable.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/counterparts.js +233 -88
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/mocks/labels.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index100.js +56 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index101.js +10 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index102.js +39 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index103.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index104.js +105 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +1 -56
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index106.js +56 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index109.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index110.js +55 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index111.js +1 -153
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index112.js +150 -52
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index113.js +55 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index114.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index115.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index116.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index117.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index118.js +7 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index119.js +51 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index120.js +38 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index121.js +72 -39
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index122.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index123.js +7 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index124.js +6 -64
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index125.js +57 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index126.js +172 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index127.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index128.js +2 -76
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index129.js +76 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index130.js +0 -78
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index131.js +78 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index132.js +1 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index133.js +35 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index134.js +0 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index135.js +56 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index136.js +44 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index137.js +0 -568
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index138.js +568 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index139.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index140.js +1 -160
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index141.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index142.js +0 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index143.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index144.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index145.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index146.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index147.js +10 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index148.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index149.js +19 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index150.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index151.js +1 -93
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index154.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index159.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index162.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index164.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index168.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index172.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index173.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index175.js +12 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index178.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index179.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index229.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index235.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index249.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index252.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index260.js +87 -41
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index261.js +44 -48
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index262.js +48 -82
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index263.js +83 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index264.js +7 -305
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index265.js +307 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index266.js +1 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index267.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index268.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index269.js +29 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index270.js +1 -22
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index271.js +22 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index272.js +0 -159
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index273.js +159 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index274.js +1 -37
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index275.js +34 -33
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index276.js +33 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index277.js +3 -102
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js +88 -172
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js +171 -116
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index280.js +114 -191
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index281.js +209 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index282.js +11 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index283.js +14 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index284.js +31 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index285.js +0 -241
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index286.js +241 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index287.js +1 -36
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index288.js +31 -137
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index289.js +142 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index290.js +0 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index291.js +166 -25
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index292.js +26 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index293.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index294.js +17 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index295.js +4 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index296.js +12 -18
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index297.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index298.js +21 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index299.js +4 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index300.js +11 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index301.js +20 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index302.js +8 -26
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index303.js +23 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index304.js +12 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index305.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index306.js +25 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index307.js +14 -81
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index308.js +81 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index309.js +14 -100
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index310.js +98 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index311.js +43 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index312.js +30 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index313.js +0 -105
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index314.js +102 -35
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index315.js +32 -166
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index316.js +171 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index317.js +13 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index318.js +4 -70
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index319.js +62 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index320.js +24 -209
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +207 -87
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index322.js +90 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index323.js +17 -158
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index324.js +144 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index325.js +100 -42
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index326.js +46 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index327.js +4 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index328.js +20 -73
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index329.js +74 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index330.js +16 -19
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index331.js +19 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index333.js +10 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index334.js +11 -131
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index335.js +129 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index336.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index337.js +8 -5
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index338.js +4 -221
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index339.js +219 -31
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +31 -11
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index341.js +12 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index342.js +34 -20
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index343.js +18 -72
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index344.js +73 -181
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index345.js +182 -14
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index346.js +14 -204
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index347.js +192 -88
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index348.js +97 -61
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index349.js +63 -54
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index350.js +46 -83
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index351.js +91 -40
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index352.js +39 -75
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index353.js +63 -71
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index354.js +85 -12
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index355.js +12 -24
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index356.js +25 -16
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index357.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index358.js +4 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index359.js +23 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +0 -45
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index361.js +46 -32
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index362.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index363.js +2 -34
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index364.js +33 -15
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index365.js +14 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index366.js +29 -27
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index367.js +31 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index368.js +2 -97
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index369.js +97 -0
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index96.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +17 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index98.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index99.js +1 -57
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
|
@@ -1,189 +1,105 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { useMoniteContext as e } from "./index45.js";
|
|
2
|
+
import { useCurrencies as t } from "./index76.js";
|
|
3
|
+
import { Skeleton as n } from "./index72.js";
|
|
4
|
+
import { PayableStatusChip as r } from "./index246.js";
|
|
5
|
+
import "./index247.js";
|
|
6
|
+
import { useDragScroll as i } from "./index275.js";
|
|
7
|
+
import { StatusCard as a } from "./index276.js";
|
|
8
|
+
import { getPayablesAnalyticsSnapshot as o } from "./index277.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";
|
|
5
12
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index278.js
|
|
6
|
-
var
|
|
7
|
-
date: "ttw:w-auto",
|
|
8
|
-
status: "ttw:w-56",
|
|
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 = [
|
|
13
|
+
var d = [
|
|
17
14
|
{
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
15
|
+
groupStatus: "all",
|
|
16
|
+
apiStatuses: [],
|
|
17
|
+
representativeStatus: null
|
|
21
18
|
},
|
|
22
19
|
{
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
20
|
+
groupStatus: "draft",
|
|
21
|
+
apiStatuses: ["draft", "new"],
|
|
22
|
+
representativeStatus: "draft"
|
|
26
23
|
},
|
|
27
24
|
{
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
25
|
+
groupStatus: "pending_approval",
|
|
26
|
+
apiStatuses: ["approve_in_progress"],
|
|
27
|
+
representativeStatus: "approve_in_progress"
|
|
31
28
|
},
|
|
32
29
|
{
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
30
|
+
groupStatus: "rejected",
|
|
31
|
+
apiStatuses: ["rejected"],
|
|
32
|
+
representativeStatus: "rejected"
|
|
36
33
|
},
|
|
37
34
|
{
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
35
|
+
groupStatus: "ready_to_pay",
|
|
36
|
+
apiStatuses: ["waiting_to_be_paid", "partially_paid"],
|
|
37
|
+
representativeStatus: "waiting_to_be_paid"
|
|
41
38
|
},
|
|
42
39
|
{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
40
|
+
groupStatus: "paid",
|
|
41
|
+
apiStatuses: ["paid"],
|
|
42
|
+
representativeStatus: "paid"
|
|
46
43
|
},
|
|
47
44
|
{
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
45
|
+
groupStatus: "cancelled",
|
|
46
|
+
apiStatuses: ["canceled"],
|
|
47
|
+
representativeStatus: "canceled"
|
|
51
48
|
}
|
|
52
|
-
]
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
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
|
-
})] })
|
|
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))
|
|
186
54
|
});
|
|
187
|
-
}
|
|
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);
|
|
89
|
+
})
|
|
90
|
+
});
|
|
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
|
+
};
|
|
188
104
|
//#endregion
|
|
189
|
-
export {
|
|
105
|
+
export { f as SummaryCardsFilters };
|
|
@@ -1,134 +1,189 @@
|
|
|
1
|
-
import {
|
|
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";
|
|
2
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index279.js
|
|
3
|
-
var
|
|
6
|
+
var y = {
|
|
7
|
+
date: "ttw:w-auto",
|
|
8
|
+
status: "ttw:w-56",
|
|
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 = [
|
|
4
17
|
{
|
|
5
|
-
|
|
6
|
-
label: "
|
|
7
|
-
|
|
18
|
+
id: "date",
|
|
19
|
+
label: "Due date",
|
|
20
|
+
activeDateField: "due_date"
|
|
8
21
|
},
|
|
9
22
|
{
|
|
10
|
-
|
|
11
|
-
label: "
|
|
12
|
-
|
|
23
|
+
id: "date",
|
|
24
|
+
label: "Created on",
|
|
25
|
+
activeDateField: "created_at"
|
|
13
26
|
},
|
|
14
27
|
{
|
|
15
|
-
|
|
16
|
-
label: "
|
|
17
|
-
|
|
28
|
+
id: "date",
|
|
29
|
+
label: "Issue date",
|
|
30
|
+
activeDateField: "issued_at"
|
|
18
31
|
},
|
|
19
32
|
{
|
|
20
|
-
|
|
21
|
-
label: "
|
|
22
|
-
|
|
33
|
+
id: "status",
|
|
34
|
+
label: "Status",
|
|
35
|
+
activeDateField: void 0
|
|
23
36
|
},
|
|
24
37
|
{
|
|
25
|
-
|
|
26
|
-
label: "
|
|
27
|
-
|
|
38
|
+
id: "amount",
|
|
39
|
+
label: "Amount",
|
|
40
|
+
activeDateField: void 0
|
|
28
41
|
},
|
|
29
42
|
{
|
|
30
|
-
|
|
31
|
-
label: "
|
|
32
|
-
|
|
43
|
+
id: "vendor",
|
|
44
|
+
label: "Vendor",
|
|
45
|
+
activeDateField: void 0
|
|
33
46
|
},
|
|
34
47
|
{
|
|
35
|
-
|
|
36
|
-
label: "
|
|
37
|
-
|
|
38
|
-
},
|
|
39
|
-
{
|
|
40
|
-
value: "last_month",
|
|
41
|
-
label: "Last month",
|
|
42
|
-
group: "Past"
|
|
43
|
-
},
|
|
44
|
-
{
|
|
45
|
-
value: "last_30_days",
|
|
46
|
-
label: "Last 30 days",
|
|
47
|
-
group: "Past"
|
|
48
|
-
},
|
|
49
|
-
{
|
|
50
|
-
value: "last_90_days",
|
|
51
|
-
label: "Last 90 days",
|
|
52
|
-
group: "Past"
|
|
53
|
-
},
|
|
54
|
-
{
|
|
55
|
-
value: "last_quarter",
|
|
56
|
-
label: "Last quarter",
|
|
57
|
-
group: "Past"
|
|
58
|
-
},
|
|
59
|
-
{
|
|
60
|
-
value: "last_year",
|
|
61
|
-
label: "Last year",
|
|
62
|
-
group: "Past"
|
|
48
|
+
id: "attachment",
|
|
49
|
+
label: "Attachment",
|
|
50
|
+
activeDateField: void 0
|
|
63
51
|
}
|
|
64
52
|
];
|
|
65
|
-
function
|
|
66
|
-
let
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
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
|
+
});
|
|
132
187
|
}
|
|
133
188
|
//#endregion
|
|
134
|
-
export {
|
|
189
|
+
export { S as PayablesFilterBar };
|