@tesouro/embedded-components-react 0.5.258 → 0.5.259
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/README.md +2 -1
- package/dist/index.css +109 -9
- package/dist/index.d.ts +41 -10
- package/dist/lib/ReceivablesWidget.d.ts +41 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index.js +11 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index10.js +42 -94
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index11.js +91 -76
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index12.js +67 -173
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index13.js +186 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index14.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index4.js +28 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index5.js +128 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index6.js +66 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index7.js +28 -34
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index8.js +24 -168
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/data-access/dist/index9.js +173 -44
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +274 -267
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/helpers.js +99 -95
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/paymentTerms.js +28 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/preview.js +49 -43
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/unsavedChanges.js +13 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActions.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableActionsModal.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableAttachmentUploads.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableBankAccount.js +77 -72
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableDetails.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableForm.js +363 -295
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableIssuePreflight.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePaymentRecord.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablePreview.js +36 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableReminders.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivableStatusCards.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/useReceivablesTable.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +12 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +21 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +68 -64
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +383 -379
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +22 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +258 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +2 -100
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +95 -23
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +23 -231
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +237 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +3 -249
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +234 -78
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +87 -53
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +49 -349
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js +359 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +40 -40
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +247 -214
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +175 -147
- 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/product-catalog/feature/dist/index.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +109 -89
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +0 -4
|
@@ -0,0 +1,359 @@
|
|
|
1
|
+
import { Button as e, DataTable as t, DropdownMenu as n, DropdownMenuContent as r, DropdownMenuItem as i, DropdownMenuTrigger as a, Input as o, Select as s, SelectContent as c, SelectItem as l, SelectTrigger as u, SelectValue as d, Skeleton as f, Tabs as ee, TabsList as te, TabsTrigger as p } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { EmptyState as m } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
|
|
3
|
+
import { ErrorState as h } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
|
|
4
|
+
import "../../../shared/ui/dist/index.js";
|
|
5
|
+
import { RECEIVABLES_SCREEN_LABELS_EN as g } from "./index13.js";
|
|
6
|
+
import { ReceivableStatusBadge as _ } from "./index22.js";
|
|
7
|
+
import { ReceivableStatusCards as v } from "./index51.js";
|
|
8
|
+
import { jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
9
|
+
import { ArrowDownIcon as x, ArrowUpDownIcon as S, ArrowUpIcon as C, LockKeyholeIcon as w, MoreHorizontalIcon as T, PlusIcon as E, SearchIcon as D, SettingsIcon as O } from "lucide-react";
|
|
10
|
+
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index52.js
|
|
11
|
+
var k = [
|
|
12
|
+
10,
|
|
13
|
+
25,
|
|
14
|
+
50,
|
|
15
|
+
100
|
|
16
|
+
], A = "all";
|
|
17
|
+
function j({ label: t, ariaLabel: n, column: r }) {
|
|
18
|
+
let i = r.getIsSorted();
|
|
19
|
+
return /* @__PURE__ */ b("div", {
|
|
20
|
+
className: "ttw:flex ttw:items-center ttw:gap-2 ttw:text-inherit",
|
|
21
|
+
children: [t, /* @__PURE__ */ y(e, {
|
|
22
|
+
variant: "ghost",
|
|
23
|
+
size: "icon-sm",
|
|
24
|
+
"aria-label": n,
|
|
25
|
+
onClick: () => r.toggleSorting(i === "asc"),
|
|
26
|
+
children: y(i === "asc" ? C : i === "desc" ? x : S, { className: "ttw:size-4" })
|
|
27
|
+
})]
|
|
28
|
+
});
|
|
29
|
+
}
|
|
30
|
+
function ne({ labels: e, searchValue: t, onSearchChange: n, statusFilter: r, statusOptions: i, onStatusFilterChange: a }) {
|
|
31
|
+
return /* @__PURE__ */ b("div", {
|
|
32
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
|
|
33
|
+
children: [/* @__PURE__ */ b("div", {
|
|
34
|
+
className: "ttw:relative ttw:w-80",
|
|
35
|
+
children: [/* @__PURE__ */ y(D, { className: "ttw:pointer-events-none ttw:absolute ttw:left-3 ttw:top-1/2 ttw:size-4 ttw:-translate-y-1/2 ttw:text-muted-foreground" }), /* @__PURE__ */ y(o, {
|
|
36
|
+
className: "ttw:pl-9",
|
|
37
|
+
placeholder: e.searchPlaceholder,
|
|
38
|
+
value: t,
|
|
39
|
+
onChange: (e) => n(e.target.value)
|
|
40
|
+
})]
|
|
41
|
+
}), /* @__PURE__ */ b(s, {
|
|
42
|
+
value: r,
|
|
43
|
+
onValueChange: a,
|
|
44
|
+
children: [/* @__PURE__ */ y(u, {
|
|
45
|
+
"aria-label": e.columnStatus,
|
|
46
|
+
className: "ttw:w-48",
|
|
47
|
+
children: /* @__PURE__ */ y(d, {})
|
|
48
|
+
}), /* @__PURE__ */ b(c, { children: [/* @__PURE__ */ y(l, {
|
|
49
|
+
value: A,
|
|
50
|
+
children: e.statusFilterAll
|
|
51
|
+
}), i.map((t) => /* @__PURE__ */ y(l, {
|
|
52
|
+
value: t.value,
|
|
53
|
+
children: N(t, e.statusBadge)
|
|
54
|
+
}, t.value))] })]
|
|
55
|
+
})]
|
|
56
|
+
});
|
|
57
|
+
}
|
|
58
|
+
function M({ enabled: e, label: t, action: n, row: r, onActionClick: a, variant: o }) {
|
|
59
|
+
return e ? /* @__PURE__ */ y(i, {
|
|
60
|
+
variant: o,
|
|
61
|
+
onClick: (e) => {
|
|
62
|
+
e.stopPropagation(), a(n, r);
|
|
63
|
+
},
|
|
64
|
+
children: t
|
|
65
|
+
}) : null;
|
|
66
|
+
}
|
|
67
|
+
function re({ row: e }) {
|
|
68
|
+
return e.customerState === "resolving" ? /* @__PURE__ */ y(f, { className: "ttw:h-4 ttw:w-full" }) : e.customerState === "missing" ? /* @__PURE__ */ y("span", {
|
|
69
|
+
className: "ttw:opacity-40",
|
|
70
|
+
children: e.customerLabel
|
|
71
|
+
}) : /* @__PURE__ */ y("span", { children: e.customerLabel });
|
|
72
|
+
}
|
|
73
|
+
function N(e, t) {
|
|
74
|
+
return t[e.value] ?? e.label;
|
|
75
|
+
}
|
|
76
|
+
function P({ rows: i, activeTab: o, enabledTabs: s, onTabChange: c, isLoading: l, isError: u, isAccessRestricted: d, sorting: f, onSortingChange: x, pageSize: S, onPageSizeChange: C, pageSizeOptions: D = k, pageInfo: A, hasNextPage: N, hasPrevPage: P, onNextPage: F, onPrevPage: I, searchValue: L, onSearchChange: R, statusFilter: z, statusOptions: B, onStatusFilterChange: V, statusCards: H, onStatusCardSelect: U, filterBar: W, isFiltering: G, onCreateClick: K, onTemplateSettingsClick: q, onRowClick: J, onActionClick: Y, onRetry: X, labels: Z }) {
|
|
77
|
+
let Q = {
|
|
78
|
+
...g,
|
|
79
|
+
...Z,
|
|
80
|
+
statusBadge: {
|
|
81
|
+
...g.statusBadge,
|
|
82
|
+
...Z?.statusBadge
|
|
83
|
+
}
|
|
84
|
+
}, $ = [
|
|
85
|
+
{
|
|
86
|
+
accessorKey: "documentLabel",
|
|
87
|
+
enableSorting: !0,
|
|
88
|
+
header: ({ column: e }) => /* @__PURE__ */ y(j, {
|
|
89
|
+
column: e,
|
|
90
|
+
label: Q.columnDocument,
|
|
91
|
+
ariaLabel: Q.sortByDocument
|
|
92
|
+
}),
|
|
93
|
+
cell: ({ row: e }) => /* @__PURE__ */ b("div", {
|
|
94
|
+
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
95
|
+
children: [/* @__PURE__ */ y("span", {
|
|
96
|
+
className: "ttw:font-medium",
|
|
97
|
+
children: e.original.documentLabel
|
|
98
|
+
}), /* @__PURE__ */ y("span", {
|
|
99
|
+
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
100
|
+
children: e.original.type === "credit_note" ? Q.tabCreditNotes : e.original.type === "quote" ? Q.tabQuotes : Q.tabInvoices
|
|
101
|
+
})]
|
|
102
|
+
}),
|
|
103
|
+
minSize: 180
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
accessorKey: "customerLabel",
|
|
107
|
+
header: Q.columnCustomer,
|
|
108
|
+
cell: ({ row: e }) => /* @__PURE__ */ y(re, { row: e.original }),
|
|
109
|
+
minSize: 180
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
accessorKey: "status",
|
|
113
|
+
enableSorting: !0,
|
|
114
|
+
header: ({ column: e }) => /* @__PURE__ */ y(j, {
|
|
115
|
+
column: e,
|
|
116
|
+
label: Q.columnStatus,
|
|
117
|
+
ariaLabel: Q.sortByStatus
|
|
118
|
+
}),
|
|
119
|
+
cell: ({ row: e }) => /* @__PURE__ */ y(_, {
|
|
120
|
+
status: e.original.status,
|
|
121
|
+
tone: e.original.statusTone,
|
|
122
|
+
labels: Q.statusBadge
|
|
123
|
+
})
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
accessorKey: "issueDateLabel",
|
|
127
|
+
enableSorting: !0,
|
|
128
|
+
header: ({ column: e }) => /* @__PURE__ */ y(j, {
|
|
129
|
+
column: e,
|
|
130
|
+
label: Q.columnIssueDate,
|
|
131
|
+
ariaLabel: Q.sortByIssueDate
|
|
132
|
+
})
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
accessorKey: "dueDateLabel",
|
|
136
|
+
enableSorting: !0,
|
|
137
|
+
header: ({ column: e }) => /* @__PURE__ */ y(j, {
|
|
138
|
+
column: e,
|
|
139
|
+
label: Q.columnDueDate,
|
|
140
|
+
ariaLabel: Q.sortByDueDate
|
|
141
|
+
})
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
accessorKey: "totalLabel",
|
|
145
|
+
enableSorting: !0,
|
|
146
|
+
header: ({ column: e }) => /* @__PURE__ */ y("div", {
|
|
147
|
+
className: "ttw:flex ttw:justify-end",
|
|
148
|
+
children: /* @__PURE__ */ y(j, {
|
|
149
|
+
column: e,
|
|
150
|
+
label: Q.columnTotal,
|
|
151
|
+
ariaLabel: Q.sortByTotal
|
|
152
|
+
})
|
|
153
|
+
}),
|
|
154
|
+
cell: ({ row: e }) => /* @__PURE__ */ y("div", {
|
|
155
|
+
className: "ttw:text-right",
|
|
156
|
+
children: e.original.totalLabel
|
|
157
|
+
})
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
accessorKey: "amountDueLabel",
|
|
161
|
+
header: () => /* @__PURE__ */ y("div", {
|
|
162
|
+
className: "ttw:text-right",
|
|
163
|
+
children: Q.columnAmountDue
|
|
164
|
+
}),
|
|
165
|
+
cell: ({ row: e }) => /* @__PURE__ */ y("div", {
|
|
166
|
+
className: "ttw:text-right",
|
|
167
|
+
children: e.original.amountDueLabel
|
|
168
|
+
})
|
|
169
|
+
}
|
|
170
|
+
], ie = Y ? [...$, {
|
|
171
|
+
id: "actions",
|
|
172
|
+
header: () => /* @__PURE__ */ y("span", {
|
|
173
|
+
className: "ttw:sr-only",
|
|
174
|
+
children: Q.columnActions
|
|
175
|
+
}),
|
|
176
|
+
cell: ({ row: t }) => /* @__PURE__ */ y("div", {
|
|
177
|
+
className: "ttw:flex ttw:justify-end",
|
|
178
|
+
children: /* @__PURE__ */ b(n, { children: [/* @__PURE__ */ y(a, {
|
|
179
|
+
asChild: !0,
|
|
180
|
+
children: /* @__PURE__ */ y(e, {
|
|
181
|
+
variant: "ghost",
|
|
182
|
+
size: "icon-sm",
|
|
183
|
+
"aria-label": Q.columnActions,
|
|
184
|
+
onClick: (e) => e.stopPropagation(),
|
|
185
|
+
children: /* @__PURE__ */ y(T, { className: "ttw:size-4" })
|
|
186
|
+
})
|
|
187
|
+
}), /* @__PURE__ */ b(r, {
|
|
188
|
+
align: "end",
|
|
189
|
+
children: [
|
|
190
|
+
/* @__PURE__ */ y(M, {
|
|
191
|
+
enabled: t.original.actions.edit,
|
|
192
|
+
label: Q.actionEdit,
|
|
193
|
+
action: "edit",
|
|
194
|
+
row: t.original,
|
|
195
|
+
onActionClick: Y
|
|
196
|
+
}),
|
|
197
|
+
/* @__PURE__ */ y(M, {
|
|
198
|
+
enabled: t.original.actions.issue,
|
|
199
|
+
label: Q.actionIssue,
|
|
200
|
+
action: "issue",
|
|
201
|
+
row: t.original,
|
|
202
|
+
onActionClick: Y
|
|
203
|
+
}),
|
|
204
|
+
/* @__PURE__ */ y(M, {
|
|
205
|
+
enabled: t.original.actions.send,
|
|
206
|
+
label: Q.actionSend,
|
|
207
|
+
action: "send",
|
|
208
|
+
row: t.original,
|
|
209
|
+
onActionClick: Y
|
|
210
|
+
}),
|
|
211
|
+
/* @__PURE__ */ y(M, {
|
|
212
|
+
enabled: t.original.actions.recordPayment,
|
|
213
|
+
label: Q.actionRecordPayment,
|
|
214
|
+
action: "recordPayment",
|
|
215
|
+
row: t.original,
|
|
216
|
+
onActionClick: Y
|
|
217
|
+
}),
|
|
218
|
+
/* @__PURE__ */ y(M, {
|
|
219
|
+
enabled: t.original.actions.markPaid,
|
|
220
|
+
label: Q.actionMarkPaid,
|
|
221
|
+
action: "markPaid",
|
|
222
|
+
row: t.original,
|
|
223
|
+
onActionClick: Y
|
|
224
|
+
}),
|
|
225
|
+
/* @__PURE__ */ y(M, {
|
|
226
|
+
enabled: t.original.actions.markUncollectible,
|
|
227
|
+
label: Q.actionMarkUncollectible,
|
|
228
|
+
action: "markUncollectible",
|
|
229
|
+
row: t.original,
|
|
230
|
+
onActionClick: Y
|
|
231
|
+
}),
|
|
232
|
+
/* @__PURE__ */ y(M, {
|
|
233
|
+
enabled: t.original.actions.accept,
|
|
234
|
+
label: Q.actionAccept,
|
|
235
|
+
action: "accept",
|
|
236
|
+
row: t.original,
|
|
237
|
+
onActionClick: Y
|
|
238
|
+
}),
|
|
239
|
+
/* @__PURE__ */ y(M, {
|
|
240
|
+
enabled: t.original.actions.decline,
|
|
241
|
+
label: Q.actionDecline,
|
|
242
|
+
action: "decline",
|
|
243
|
+
row: t.original,
|
|
244
|
+
onActionClick: Y
|
|
245
|
+
}),
|
|
246
|
+
/* @__PURE__ */ y(M, {
|
|
247
|
+
enabled: t.original.actions.cancel,
|
|
248
|
+
label: Q.actionCancel,
|
|
249
|
+
action: "cancel",
|
|
250
|
+
row: t.original,
|
|
251
|
+
onActionClick: Y
|
|
252
|
+
}),
|
|
253
|
+
/* @__PURE__ */ y(M, {
|
|
254
|
+
enabled: t.original.actions.clone,
|
|
255
|
+
label: Q.actionClone,
|
|
256
|
+
action: "clone",
|
|
257
|
+
row: t.original,
|
|
258
|
+
onActionClick: Y
|
|
259
|
+
}),
|
|
260
|
+
/* @__PURE__ */ y(M, {
|
|
261
|
+
enabled: t.original.actions.delete,
|
|
262
|
+
label: Q.actionDelete,
|
|
263
|
+
action: "delete",
|
|
264
|
+
row: t.original,
|
|
265
|
+
onActionClick: Y,
|
|
266
|
+
variant: "destructive"
|
|
267
|
+
})
|
|
268
|
+
]
|
|
269
|
+
})] })
|
|
270
|
+
}),
|
|
271
|
+
size: 72
|
|
272
|
+
}] : $;
|
|
273
|
+
return /* @__PURE__ */ b("div", {
|
|
274
|
+
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
275
|
+
children: [
|
|
276
|
+
/* @__PURE__ */ b("div", {
|
|
277
|
+
className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
|
|
278
|
+
children: [/* @__PURE__ */ y("div", {
|
|
279
|
+
className: "ttw:flex ttw:items-center ttw:gap-3",
|
|
280
|
+
children: !d && /* @__PURE__ */ y(ee, {
|
|
281
|
+
value: o,
|
|
282
|
+
onValueChange: (e) => c(e),
|
|
283
|
+
children: /* @__PURE__ */ b(te, { children: [
|
|
284
|
+
s.includes("invoices") && /* @__PURE__ */ y(p, {
|
|
285
|
+
value: "invoices",
|
|
286
|
+
children: Q.tabInvoices
|
|
287
|
+
}),
|
|
288
|
+
s.includes("quotes") && /* @__PURE__ */ y(p, {
|
|
289
|
+
value: "quotes",
|
|
290
|
+
children: Q.tabQuotes
|
|
291
|
+
}),
|
|
292
|
+
s.includes("credit_notes") && /* @__PURE__ */ y(p, {
|
|
293
|
+
value: "credit_notes",
|
|
294
|
+
children: Q.tabCreditNotes
|
|
295
|
+
})
|
|
296
|
+
] })
|
|
297
|
+
})
|
|
298
|
+
}), /* @__PURE__ */ b("div", {
|
|
299
|
+
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
300
|
+
children: [q && /* @__PURE__ */ b(e, {
|
|
301
|
+
variant: "outline",
|
|
302
|
+
onClick: q,
|
|
303
|
+
children: [/* @__PURE__ */ y(O, { className: "ttw:size-4" }), Q.templateSettingsButton]
|
|
304
|
+
}), K && /* @__PURE__ */ b(e, {
|
|
305
|
+
onClick: K,
|
|
306
|
+
children: [/* @__PURE__ */ y(E, { className: "ttw:size-4" }), Q.createButton]
|
|
307
|
+
})]
|
|
308
|
+
})]
|
|
309
|
+
}),
|
|
310
|
+
!d && H && U && /* @__PURE__ */ y(v, {
|
|
311
|
+
view: H,
|
|
312
|
+
onSelect: U,
|
|
313
|
+
labels: { all: Q.statusCardsAll }
|
|
314
|
+
}),
|
|
315
|
+
d ? /* @__PURE__ */ y(h, {
|
|
316
|
+
icon: /* @__PURE__ */ y(w, { className: "ttw:size-8 ttw:text-primary" }),
|
|
317
|
+
title: Q.accessRestrictedTitle,
|
|
318
|
+
description: Q.accessRestrictedDescription
|
|
319
|
+
}) : u ? /* @__PURE__ */ y(h, {
|
|
320
|
+
title: Q.errorTitle,
|
|
321
|
+
description: Q.errorDescription,
|
|
322
|
+
retryLabel: X ? Q.errorRetry : void 0,
|
|
323
|
+
onRetry: X
|
|
324
|
+
}) : /* @__PURE__ */ y(t, {
|
|
325
|
+
columns: ie,
|
|
326
|
+
data: i,
|
|
327
|
+
isLoading: l,
|
|
328
|
+
sorting: f,
|
|
329
|
+
onSortingChange: x,
|
|
330
|
+
pageSize: S,
|
|
331
|
+
onPageSizeChange: C,
|
|
332
|
+
pageSizeOptions: D,
|
|
333
|
+
pageInfo: A,
|
|
334
|
+
hasNextPage: N,
|
|
335
|
+
hasPrevPage: P,
|
|
336
|
+
onNextPage: F,
|
|
337
|
+
onPrevPage: I,
|
|
338
|
+
onRowClick: J,
|
|
339
|
+
rowAriaLabel: (e) => Q.openRow(e.documentLabel),
|
|
340
|
+
filterComponent: W ?? /* @__PURE__ */ y(ne, {
|
|
341
|
+
labels: Q,
|
|
342
|
+
searchValue: L,
|
|
343
|
+
onSearchChange: R,
|
|
344
|
+
statusFilter: z,
|
|
345
|
+
statusOptions: B,
|
|
346
|
+
onStatusFilterChange: V
|
|
347
|
+
}),
|
|
348
|
+
children: /* @__PURE__ */ y(m, {
|
|
349
|
+
title: G ? Q.filterEmptyTitle : Q.emptyTitle,
|
|
350
|
+
description: G ? Q.filterEmptyDescription : Q.emptyDescription,
|
|
351
|
+
actionLabel: G ? void 0 : Q.emptyAction,
|
|
352
|
+
onAction: G ? void 0 : K
|
|
353
|
+
})
|
|
354
|
+
})
|
|
355
|
+
]
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
//#endregion
|
|
359
|
+
export { P as ReceivablesScreen, P as default };
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { UNSAVED_INVOICE_DIALOG_LABELS_EN as s } from "./index13.js";
|
|
3
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
|
+
import { XIcon as u } from "lucide-react";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index53.js
|
|
6
|
+
function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _ }) {
|
|
7
|
+
let v = {
|
|
8
|
+
...s,
|
|
9
|
+
..._
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(e, {
|
|
12
|
+
open: d,
|
|
13
|
+
onOpenChange: (e) => {
|
|
14
|
+
!e && !h && m();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ l(t, { children: [
|
|
17
|
+
/* @__PURE__ */ l("button", {
|
|
18
|
+
type: "button",
|
|
19
|
+
onClick: m,
|
|
20
|
+
disabled: h,
|
|
21
|
+
className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
|
|
22
|
+
children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
|
|
23
|
+
className: "ttw:sr-only",
|
|
24
|
+
children: v.unsavedCloseButton
|
|
25
|
+
})]
|
|
26
|
+
}),
|
|
27
|
+
/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: v.unsavedTitle }), /* @__PURE__ */ c(n, { children: v.unsavedDescription })] }),
|
|
28
|
+
/* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
29
|
+
type: "button",
|
|
30
|
+
variant: "outline",
|
|
31
|
+
onClick: p,
|
|
32
|
+
disabled: h,
|
|
33
|
+
children: v.unsavedDiscardButton
|
|
34
|
+
}), /* @__PURE__ */ c(o, {
|
|
35
|
+
type: "button",
|
|
36
|
+
loading: h,
|
|
37
|
+
disabled: h || g,
|
|
38
|
+
onClick: f,
|
|
39
|
+
children: v.unsavedSaveDraftButton
|
|
40
|
+
})] })
|
|
41
|
+
] })
|
|
42
|
+
});
|
|
43
|
+
}
|
|
44
|
+
//#endregion
|
|
45
|
+
export { d as UnsavedInvoiceDialog, d as default };
|
|
@@ -1,47 +1,47 @@
|
|
|
1
1
|
import "./lib/finopsApiVersion.js";
|
|
2
2
|
import "./lib/rest/client.gen.js";
|
|
3
3
|
import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteFilesId as d, deleteMeasureUnitsId as f, deletePayablesId as p, deletePayablesIdFile as m, deleteProductsId as h, deleteReceivablesId as g, downloadBankAccountTransactions as _, getApplicationStatus as v, getApprovalPolicies as y, getApprovalRequests as b, getBankAccountAccess as x, getBankAccountStatement as S, getCounterparts as C, getDepartment as w, getDepositableBankAccounts as T, getExternalBankAccountAccess as E, getLocation as D, getPayables as O, getPayablesId as k, getPayablesIdHistory as A, getPayablesIdLineItems as j, getPaymentRecords as M, getProducts as N, getReceipts as P, getReceivables as F, getReceivablesIdHistory as I, getUsers as L, listDepartments as R, listLocations as z, listRoles as B, manageBankAccountAccess as V, manageDebitCardAccess as H, patchCounterpartsId as U, patchCounterpartsIdAddressesId as W, patchCounterpartsIdBankAccountsId as G, patchEntitiesIdSettings as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchRecurrencesId as Z, patchTransactionsId as Q, postApprovalRequestsIdApprove as $, postApprovalRequestsIdReject as ee, postBankDetails as te, postCounterparts as ne, postCounterpartsIdAddresses as re, postCounterpartsIdBankAccounts as ie, postCounterpartsIdBankAccountsIdMakeDefault as ae, postFiles as oe, postMeasureUnits as se, postOverdueReminders as ce, postPayables as le, postPayablesIdApprovePaymentOperation as ue, postPayablesIdAttachFile as de, postPayablesIdCancel as fe, postPayablesIdDuplicatesIdConfirm as pe, postPayablesIdDuplicatesIdDismiss as me, postPayablesIdMarkAsPaid as he, postPayablesIdReject as ge, postPayablesIdReopen as _e, postPayablesIdSchedulePayment as ve, postPayablesIdSubmitForApproval as ye, postPayablesIdValidate as be, postPayablesUploadFromFile as xe, postPaymentIntentsIdCancel as Se, postPaymentRecords as Ce, postPaymentReminders as we, postProducts as Te, postReceivables as Ee, postReceivablesIdAccept as De, postReceivablesIdCancel as Oe, postReceivablesIdClone as ke, postReceivablesIdDecline as Ae, postReceivablesIdIssue as je, postReceivablesIdMarkAsPaid as Me, postReceivablesIdMarkAsUncollectible as Ne, postReceivablesIdSend as Pe, postRecurrences as Fe, postRecurrencesIdCancel as Ie, postRecurrencesIdPause as Le, postRecurrencesIdResume as Re, postTransactionsIdApprove as ze, postTransactionsIdReject as Be, postTransactionsIdReopen as Ve, postTransactionsIdSubmit as He, putEntitiesIdLogo as Ue, putPayablesIdLineItems as We, updateDepartment as Ge, updateLocation as Ke, updateUser as qe } from "./lib/rest/sdk.gen.js";
|
|
4
|
-
import { activateCreditCardMutation as Je, activateDebitCardMutation as Ye, connectExternalBankAccountMutation as Xe, createAchMoneyMovementMutation as Ze, createApplicationMutation as Qe, createBankAccountMutation as $e, createBookTransferMutation as et, createCheckDepositMutation as tt, createDebitCardMutation as nt, createVelocityControlMutation as rt, deleteApprovalPoliciesIdMutation as it, deleteBankAccountApplicationMutation as at, deleteLedgerAccountsIdMutation as ot, deleteReceiptsIdMutation as st, disableUserMutation as ct, getAnalyticsPayablesOptions as lt, getAnalyticsPayablesQueryKey as ut, getAnalyticsReceiptsOptions as dt, getAnalyticsReceiptsQueryKey as ft, getAnalyticsReceivablesOptions as pt, getAnalyticsReceivablesQueryKey as mt, getAnalyticsTransactionsOptions as ht, getAnalyticsTransactionsQueryKey as gt, getApprovalPoliciesOptions as _t, getApprovalPoliciesQueryKey as vt, getApprovalRequestsOptions as yt, getApprovalRequestsQueryKey as bt, getBankAccountAccessQueryKey as xt, getBankAccountApplicationOptions as St, getBankAccountOptions as Ct, getBankAccountQueryKey as wt, getBankAccountStatementsOptions as Tt, getBankAccountTransactionsOptions as Et, getBankAccountTransactionsQueryKey as Dt, getBankAccountTransfersOptions as Ot, getBankAccountTransfersQueryKey as kt, getBankAccountsQueryKey as At,
|
|
5
|
-
import { OrganizationStatus as
|
|
6
|
-
import { withAuthEpoch as
|
|
7
|
-
import { applicationStatusInvalidationKey as
|
|
8
|
-
import { createClientSecretInstaller as
|
|
9
|
-
import { cancelAllClients as
|
|
10
|
-
import { cloneEmbeddedClient as
|
|
4
|
+
import { activateCreditCardMutation as Je, activateDebitCardMutation as Ye, connectExternalBankAccountMutation as Xe, createAchMoneyMovementMutation as Ze, createApplicationMutation as Qe, createBankAccountMutation as $e, createBookTransferMutation as et, createCheckDepositMutation as tt, createDebitCardMutation as nt, createVelocityControlMutation as rt, deleteApprovalPoliciesIdMutation as it, deleteBankAccountApplicationMutation as at, deleteLedgerAccountsIdMutation as ot, deleteReceiptsIdMutation as st, disableUserMutation as ct, getAnalyticsPayablesOptions as lt, getAnalyticsPayablesQueryKey as ut, getAnalyticsReceiptsOptions as dt, getAnalyticsReceiptsQueryKey as ft, getAnalyticsReceivablesOptions as pt, getAnalyticsReceivablesQueryKey as mt, getAnalyticsTransactionsOptions as ht, getAnalyticsTransactionsQueryKey as gt, getApprovalPoliciesOptions as _t, getApprovalPoliciesQueryKey as vt, getApprovalRequestsOptions as yt, getApprovalRequestsQueryKey as bt, getBankAccountAccessQueryKey as xt, getBankAccountApplicationOptions as St, getBankAccountOptions as Ct, getBankAccountQueryKey as wt, getBankAccountStatementsOptions as Tt, getBankAccountTransactionsOptions as Et, getBankAccountTransactionsQueryKey as Dt, getBankAccountTransfersOptions as Ot, getBankAccountTransfersQueryKey as kt, getBankAccountsQueryKey as At, getBankDetailsIdOptions as jt, getBankDetailsOptions as Mt, getBankDetailsQueryKey as Nt, getCounterpartsIdAddressesOptions as Pt, getCounterpartsIdAddressesQueryKey as Ft, getCounterpartsIdBankAccountsOptions as It, getCounterpartsIdBankAccountsQueryKey as Lt, getCounterpartsIdOptions as Rt, getCounterpartsIdQueryKey as zt, getCounterpartsOptions as Bt, getCounterpartsQueryKey as Vt, getCreditCardByIdOptions as Ht, getCreditCardByIdQueryKey as Ut, getCreditCardsOptions as Wt, getCreditCardsQueryKey as Gt, getDebitCardByIdOptions as Kt, getDebitCardByIdQueryKey as qt, getDebitCardCredentialsOptions as Jt, getDebitCardsOptions as Yt, getDebitCardsQueryKey as Xt, getDepartmentOptions as Zt, getDepartmentQueryKey as Qt, getDepositableBankAccountsOptions as $t, getDocumentsIdNextNumbersOptions as en, getDocumentsIdNextNumbersQueryKey as tn, getEntitiesIdPaymentMethodsOptions as nn, getEntitiesIdSettingsOptions as rn, getEntitiesIdSettingsQueryKey as an, getEntityUsersMyEntityOptions as on, getEntityUsersOptions as sn, getExternalBankAccountAccessQueryKey as cn, getExternalBankAccountOptions as ln, getExternalBankAccountsOptions as un, getExternalBankAccountsQueryKey as dn, getFilesQueryKey as fn, getLedgerAccountsQueryKey as pn, getLocationOptions as mn, getLocationQueryKey as hn, getMeasureUnitsOptions as gn, getMeasureUnitsQueryKey as _n, getOrganizationOptions as vn, getOverdueRemindersOptions as yn, getOverdueRemindersQueryKey as bn, getPayablesIdHistoryOptions as xn, getPayablesIdHistoryQueryKey as Sn, getPayablesIdLineItemsOptions as Cn, getPayablesIdLineItemsQueryKey as wn, getPayablesIdOptions as Tn, getPayablesIdQueryKey as En, getPayablesIdSuggestionsOptions as Dn, getPayablesOptions as On, getPayablesQueryKey as kn, getPaymentRecordsOptions as An, getPaymentRecordsQueryKey as jn, getPaymentRemindersOptions as Mn, getPaymentRemindersQueryKey as Nn, getProductsIdOptions as Pn, getProductsIdQueryKey as Fn, getProductsOptions as In, getProductsQueryKey as Ln, getReceiptsIdQueryKey as Rn, getReceiptsOptions as zn, getReceiptsQueryKey as Bn, getReceivablesIdHistoryQueryKey as Vn, getReceivablesIdMailsQueryKey as Hn, getReceivablesIdOptions as Un, getReceivablesIdPdfLinkOptions as Wn, getReceivablesIdPdfLinkQueryKey as Gn, getReceivablesIdQueryKey as Kn, getReceivablesOptions as qn, getReceivablesQueryKey as Jn, getReceivablesRequiredFieldsOptions as Yn, getRecurrencesIdOptions as Xn, getRecurrencesIdQueryKey as Zn, getRecurrencesQueryKey as Qn, getTransactionsIdExpenseHistoryOptions as $n, getTransactionsIdExpenseHistoryQueryKey as er, getTransactionsIdOptions as tr, getTransactionsIdQueryKey as nr, getTransactionsOptions as rr, getTransactionsQueryKey as ir, getTransactionsValidationsOptions as ar, getTransactionsValidationsQueryKey as or, getUsersOptions as sr, getUsersQueryKey as cr, getVelocityControlsQueryKey as lr, grantBankAccountAccessMutation as ur, grantExternalBankAccountAccessMutation as dr, linkExternalBankAccountMutation as fr, listDepartmentsOptions as pr, listDepartmentsQueryKey as mr, listLocationsOptions as hr, listLocationsQueryKey as gr, listRolesQueryKey as _r, manageDebitCardAccessMutation as vr, patchApprovalPoliciesIdMutation as yr, patchLedgerAccountsIdMutation as br, patchReceiptsIdMutation as xr, postApprovalPoliciesMutation as Sr, postLedgerAccountsMutation as Cr, postReceiptsUploadFromFileMutation as wr, putTransactionsValidationsMutation as Tr, setDebitCardLockStatusMutation as Er, submitApplicationMutation as Dr, unlinkExternalBankAccountMutation as Or, updateApplicationMutation as kr, updateBankAccountMutation as Ar, updateDebitCardMutation as jr, updateExternalBankAccountMutation as Mr, validateExternalBankAccountMutation as Nr, verifyDebitCardMutation as Pr } from "./lib/rest/@tanstack/react-query.gen.js";
|
|
5
|
+
import { OrganizationStatus as Fr, isOrganizationOnItsWay as Ir } from "./lib/organizationStatus.js";
|
|
6
|
+
import { withAuthEpoch as Lr, withAuthEpochInfinite as Rr } from "./lib/withAuthEpoch.js";
|
|
7
|
+
import { applicationStatusInvalidationKey as zr, applicationStatusQueryOptions as Br } from "./lib/applicationStatusQueryOptions.js";
|
|
8
|
+
import { createClientSecretInstaller as Vr } from "./lib/scopedClientSecret.js";
|
|
9
|
+
import { cancelAllClients as Hr, invalidateAllClients as Ur, registerQueryClient as Wr, removeInactiveFromAllClients as Gr, resetAllClients as Kr, setAllClientsQueriesData as qr, unregisterQueryClient as Jr } from "./lib/clientRegistry.js";
|
|
10
|
+
import { cloneEmbeddedClient as Yr, createEmbeddedClient as Xr } from "./lib/createEmbeddedClient.js";
|
|
11
11
|
import "./lib/widgetGatewayHosts.js";
|
|
12
|
-
import { attachTransportInterceptors as
|
|
13
|
-
import { EmbedApiProvider as
|
|
14
|
-
import { optionalOrganizationHeaders as
|
|
15
|
-
import { fetchWidgetInit as
|
|
16
|
-
import { hasAnyScope as
|
|
17
|
-
import { myEntityInvalidationKey as
|
|
18
|
-
import { useCurrentUserQuery as
|
|
19
|
-
import { useMyEntityQuery as
|
|
20
|
-
import { useMailboxAddress as
|
|
12
|
+
import { attachTransportInterceptors as Zr } from "./lib/transportInterceptors.js";
|
|
13
|
+
import { EmbedApiProvider as Qr, useEmbedApi as $r } from "./lib/EmbedApiContext.js";
|
|
14
|
+
import { optionalOrganizationHeaders as ei, organizationHeaders as ti } from "./lib/organizationHeaders.js";
|
|
15
|
+
import { fetchWidgetInit as ni } from "./lib/fetchWidgetInit.js";
|
|
16
|
+
import { hasAnyScope as ri } from "./lib/hasAnyScope.js";
|
|
17
|
+
import { myEntityInvalidationKey as ii } from "./lib/queryKeys.js";
|
|
18
|
+
import { useCurrentUserQuery as ai } from "./lib/useCurrentUserQuery.js";
|
|
19
|
+
import { useMyEntityQuery as oi } from "./lib/useMyEntityQuery.js";
|
|
20
|
+
import { useMailboxAddress as si } from "./lib/useMailboxAddress.js";
|
|
21
21
|
import "./lib/apiErrorStatus.js";
|
|
22
|
-
import { isApiConflictError as
|
|
23
|
-
import { isApiForbiddenError as
|
|
24
|
-
import { isApiNotFoundError as
|
|
25
|
-
import { isApiUnprocessableError as
|
|
22
|
+
import { isApiConflictError as ci } from "./lib/isApiConflictError.js";
|
|
23
|
+
import { isApiForbiddenError as li } from "./lib/isApiForbiddenError.js";
|
|
24
|
+
import { isApiNotFoundError as ui } from "./lib/isApiNotFoundError.js";
|
|
25
|
+
import { isApiUnprocessableError as di } from "./lib/isApiUnprocessableError.js";
|
|
26
26
|
import "./lib/isUserDataNotFoundError.js";
|
|
27
|
-
import { useGetUserDataQuery as
|
|
28
|
-
import { useUpsertUserDataMutation as
|
|
27
|
+
import { useGetUserDataQuery as fi } from "./lib/useGetUserDataQuery.js";
|
|
28
|
+
import { useUpsertUserDataMutation as pi } from "./lib/useUpsertUserDataMutation.js";
|
|
29
29
|
import "./lib/rest/zod.gen.js";
|
|
30
|
-
import { Scope as
|
|
31
|
-
import { getAllPagesNextPageParam as
|
|
32
|
-
import { useAllBankAccountsQuery as
|
|
33
|
-
import { useAllDebitCardsQuery as
|
|
34
|
-
import { useAllExternalBankAccountsQuery as
|
|
35
|
-
import { useAllMerchantCategoryGroupsQuery as
|
|
36
|
-
import { useAllLedgerAccountsQuery as
|
|
37
|
-
import { usePaymentTermsQuery as
|
|
38
|
-
import { useAllOrganizationRolesQuery as
|
|
39
|
-
import { useRolePermissionsQueries as
|
|
40
|
-
import { useAllOrganizationUsersQuery as
|
|
41
|
-
import { personDisclosure as
|
|
42
|
-
import { useAcceptWidgetDisclosures as
|
|
43
|
-
import { useDisclosuresQuery as
|
|
44
|
-
import { OnboardingSuppressionReason as
|
|
45
|
-
import { useOrganizationOnboardingSuppression as
|
|
46
|
-
import { useOrganizationApplicationStatus as
|
|
47
|
-
export {
|
|
30
|
+
import { Scope as mi, isScope as hi } from "./lib/scopes.js";
|
|
31
|
+
import { getAllPagesNextPageParam as gi, getAllPagesNextPaginationTokenParam as _i, isAllPagesResolving as vi, useAutoFetchNextPage as yi } from "./lib/allPages.js";
|
|
32
|
+
import { useAllBankAccountsQuery as bi } from "./lib/bank-account/useAllBankAccountsQuery.js";
|
|
33
|
+
import { useAllDebitCardsQuery as xi } from "./lib/debit-card/useAllDebitCardsQuery.js";
|
|
34
|
+
import { useAllExternalBankAccountsQuery as Si } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
|
|
35
|
+
import { useAllMerchantCategoryGroupsQuery as Ci } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
|
|
36
|
+
import { useAllLedgerAccountsQuery as wi, useLedgerAccountsQuery as Ti } from "./lib/reference-data/useLedgerAccountsQuery.js";
|
|
37
|
+
import { usePaymentTermsQuery as Ei } from "./lib/reference-data/usePaymentTermsQuery.js";
|
|
38
|
+
import { useAllOrganizationRolesQuery as Di } from "./lib/role/useAllOrganizationRolesQuery.js";
|
|
39
|
+
import { useRolePermissionsQueries as Oi } from "./lib/role/useRolePermissionsQueries.js";
|
|
40
|
+
import { useAllOrganizationUsersQuery as ki } from "./lib/user/useAllOrganizationUsersQuery.js";
|
|
41
|
+
import { personDisclosure as Ai } from "./lib/disclosures/personDisclosure.js";
|
|
42
|
+
import { useAcceptWidgetDisclosures as ji } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
|
|
43
|
+
import { useDisclosuresQuery as Mi } from "./lib/disclosures/useDisclosuresQuery.js";
|
|
44
|
+
import { OnboardingSuppressionReason as Ni } from "./lib/onboardingSuppressionReason.js";
|
|
45
|
+
import { useOrganizationOnboardingSuppression as Pi } from "./lib/useOrganizationOnboardingSuppression.js";
|
|
46
|
+
import { useOrganizationApplicationStatus as Fi } from "./lib/useOrganizationApplicationStatus.js";
|
|
47
|
+
export { Qr as EmbedApiProvider, Ni as OnboardingSuppressionReason, Fr as OrganizationStatus, mi as Scope, Je as activateCreditCardMutation, Ye as activateDebitCardMutation, zr as applicationStatusInvalidationKey, Br as applicationStatusQueryOptions, Zr as attachTransportInterceptors, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, Hr as cancelAllClients, Yr as cloneEmbeddedClient, Xe as connectExternalBankAccountMutation, Ze as createAchMoneyMovementMutation, Qe as createApplicationMutation, $e as createBankAccountMutation, et as createBookTransferMutation, tt as createCheckDepositMutation, Vr as createClientSecretInstaller, nt as createDebitCardMutation, r as createDepartment, Xr as createEmbeddedClient, i as createLocation, a as createUser, rt as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, it as deleteApprovalPoliciesIdMutation, at as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, d as deleteFilesId, ot as deleteLedgerAccountsIdMutation, f as deleteMeasureUnitsId, p as deletePayablesId, m as deletePayablesIdFile, h as deleteProductsId, st as deleteReceiptsIdMutation, g as deleteReceivablesId, ct as disableUserMutation, _ as downloadBankAccountTransactions, ni as fetchWidgetInit, gi as getAllPagesNextPageParam, _i as getAllPagesNextPaginationTokenParam, lt as getAnalyticsPayablesOptions, ut as getAnalyticsPayablesQueryKey, dt as getAnalyticsReceiptsOptions, ft as getAnalyticsReceiptsQueryKey, pt as getAnalyticsReceivablesOptions, mt as getAnalyticsReceivablesQueryKey, ht as getAnalyticsTransactionsOptions, gt as getAnalyticsTransactionsQueryKey, v as getApplicationStatus, y as getApprovalPolicies, _t as getApprovalPoliciesOptions, vt as getApprovalPoliciesQueryKey, b as getApprovalRequests, yt as getApprovalRequestsOptions, bt as getApprovalRequestsQueryKey, x as getBankAccountAccess, xt as getBankAccountAccessQueryKey, St as getBankAccountApplicationOptions, Ct as getBankAccountOptions, wt as getBankAccountQueryKey, S as getBankAccountStatement, Tt as getBankAccountStatementsOptions, Et as getBankAccountTransactionsOptions, Dt as getBankAccountTransactionsQueryKey, Ot as getBankAccountTransfersOptions, kt as getBankAccountTransfersQueryKey, At as getBankAccountsQueryKey, jt as getBankDetailsIdOptions, Mt as getBankDetailsOptions, Nt as getBankDetailsQueryKey, C as getCounterparts, Pt as getCounterpartsIdAddressesOptions, Ft as getCounterpartsIdAddressesQueryKey, It as getCounterpartsIdBankAccountsOptions, Lt as getCounterpartsIdBankAccountsQueryKey, Rt as getCounterpartsIdOptions, zt as getCounterpartsIdQueryKey, Bt as getCounterpartsOptions, Vt as getCounterpartsQueryKey, Ht as getCreditCardByIdOptions, Ut as getCreditCardByIdQueryKey, Wt as getCreditCardsOptions, Gt as getCreditCardsQueryKey, Kt as getDebitCardByIdOptions, qt as getDebitCardByIdQueryKey, Jt as getDebitCardCredentialsOptions, Yt as getDebitCardsOptions, Xt as getDebitCardsQueryKey, w as getDepartment, Zt as getDepartmentOptions, Qt as getDepartmentQueryKey, T as getDepositableBankAccounts, $t as getDepositableBankAccountsOptions, en as getDocumentsIdNextNumbersOptions, tn as getDocumentsIdNextNumbersQueryKey, nn as getEntitiesIdPaymentMethodsOptions, rn as getEntitiesIdSettingsOptions, an as getEntitiesIdSettingsQueryKey, on as getEntityUsersMyEntityOptions, sn as getEntityUsersOptions, E as getExternalBankAccountAccess, cn as getExternalBankAccountAccessQueryKey, ln as getExternalBankAccountOptions, un as getExternalBankAccountsOptions, dn as getExternalBankAccountsQueryKey, fn as getFilesQueryKey, pn as getLedgerAccountsQueryKey, D as getLocation, mn as getLocationOptions, hn as getLocationQueryKey, gn as getMeasureUnitsOptions, _n as getMeasureUnitsQueryKey, vn as getOrganizationOptions, yn as getOverdueRemindersOptions, bn as getOverdueRemindersQueryKey, O as getPayables, k as getPayablesId, A as getPayablesIdHistory, xn as getPayablesIdHistoryOptions, Sn as getPayablesIdHistoryQueryKey, j as getPayablesIdLineItems, Cn as getPayablesIdLineItemsOptions, wn as getPayablesIdLineItemsQueryKey, Tn as getPayablesIdOptions, En as getPayablesIdQueryKey, Dn as getPayablesIdSuggestionsOptions, On as getPayablesOptions, kn as getPayablesQueryKey, M as getPaymentRecords, An as getPaymentRecordsOptions, jn as getPaymentRecordsQueryKey, Mn as getPaymentRemindersOptions, Nn as getPaymentRemindersQueryKey, N as getProducts, Pn as getProductsIdOptions, Fn as getProductsIdQueryKey, In as getProductsOptions, Ln as getProductsQueryKey, P as getReceipts, Rn as getReceiptsIdQueryKey, zn as getReceiptsOptions, Bn as getReceiptsQueryKey, F as getReceivables, I as getReceivablesIdHistory, Vn as getReceivablesIdHistoryQueryKey, Hn as getReceivablesIdMailsQueryKey, Un as getReceivablesIdOptions, Wn as getReceivablesIdPdfLinkOptions, Gn as getReceivablesIdPdfLinkQueryKey, Kn as getReceivablesIdQueryKey, qn as getReceivablesOptions, Jn as getReceivablesQueryKey, Yn as getReceivablesRequiredFieldsOptions, Xn as getRecurrencesIdOptions, Zn as getRecurrencesIdQueryKey, Qn as getRecurrencesQueryKey, $n as getTransactionsIdExpenseHistoryOptions, er as getTransactionsIdExpenseHistoryQueryKey, tr as getTransactionsIdOptions, nr as getTransactionsIdQueryKey, rr as getTransactionsOptions, ir as getTransactionsQueryKey, ar as getTransactionsValidationsOptions, or as getTransactionsValidationsQueryKey, L as getUsers, sr as getUsersOptions, cr as getUsersQueryKey, lr as getVelocityControlsQueryKey, ur as grantBankAccountAccessMutation, dr as grantExternalBankAccountAccessMutation, ri as hasAnyScope, Ur as invalidateAllClients, vi as isAllPagesResolving, ci as isApiConflictError, li as isApiForbiddenError, ui as isApiNotFoundError, di as isApiUnprocessableError, Ir as isOrganizationOnItsWay, hi as isScope, fr as linkExternalBankAccountMutation, R as listDepartments, pr as listDepartmentsOptions, mr as listDepartmentsQueryKey, z as listLocations, hr as listLocationsOptions, gr as listLocationsQueryKey, B as listRoles, _r as listRolesQueryKey, V as manageBankAccountAccess, H as manageDebitCardAccess, vr as manageDebitCardAccessMutation, ii as myEntityInvalidationKey, ei as optionalOrganizationHeaders, ti as organizationHeaders, yr as patchApprovalPoliciesIdMutation, U as patchCounterpartsId, W as patchCounterpartsIdAddressesId, G as patchCounterpartsIdBankAccountsId, K as patchEntitiesIdSettings, br as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, xr as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchRecurrencesId, Q as patchTransactionsId, Ai as personDisclosure, Sr as postApprovalPoliciesMutation, $ as postApprovalRequestsIdApprove, ee as postApprovalRequestsIdReject, te as postBankDetails, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postCounterpartsIdBankAccountsIdMakeDefault, oe as postFiles, Cr as postLedgerAccountsMutation, se as postMeasureUnits, ce as postOverdueReminders, le as postPayables, ue as postPayablesIdApprovePaymentOperation, de as postPayablesIdAttachFile, fe as postPayablesIdCancel, pe as postPayablesIdDuplicatesIdConfirm, me as postPayablesIdDuplicatesIdDismiss, he as postPayablesIdMarkAsPaid, ge as postPayablesIdReject, _e as postPayablesIdReopen, ve as postPayablesIdSchedulePayment, ye as postPayablesIdSubmitForApproval, be as postPayablesIdValidate, xe as postPayablesUploadFromFile, Se as postPaymentIntentsIdCancel, Ce as postPaymentRecords, we as postPaymentReminders, Te as postProducts, wr as postReceiptsUploadFromFileMutation, Ee as postReceivables, De as postReceivablesIdAccept, Oe as postReceivablesIdCancel, ke as postReceivablesIdClone, Ae as postReceivablesIdDecline, je as postReceivablesIdIssue, Me as postReceivablesIdMarkAsPaid, Ne as postReceivablesIdMarkAsUncollectible, Pe as postReceivablesIdSend, Fe as postRecurrences, Ie as postRecurrencesIdCancel, Le as postRecurrencesIdPause, Re as postRecurrencesIdResume, ze as postTransactionsIdApprove, Be as postTransactionsIdReject, Ve as postTransactionsIdReopen, He as postTransactionsIdSubmit, Ue as putEntitiesIdLogo, We as putPayablesIdLineItems, Tr as putTransactionsValidationsMutation, Wr as registerQueryClient, Gr as removeInactiveFromAllClients, Kr as resetAllClients, qr as setAllClientsQueriesData, Er as setDebitCardLockStatusMutation, Dr as submitApplicationMutation, Or as unlinkExternalBankAccountMutation, Jr as unregisterQueryClient, kr as updateApplicationMutation, Ar as updateBankAccountMutation, jr as updateDebitCardMutation, Ge as updateDepartment, Mr as updateExternalBankAccountMutation, Ke as updateLocation, qe as updateUser, ji as useAcceptWidgetDisclosures, bi as useAllBankAccountsQuery, xi as useAllDebitCardsQuery, Si as useAllExternalBankAccountsQuery, wi as useAllLedgerAccountsQuery, Ci as useAllMerchantCategoryGroupsQuery, Di as useAllOrganizationRolesQuery, ki as useAllOrganizationUsersQuery, yi as useAutoFetchNextPage, ai as useCurrentUserQuery, Mi as useDisclosuresQuery, $r as useEmbedApi, fi as useGetUserDataQuery, Ti as useLedgerAccountsQuery, si as useMailboxAddress, oi as useMyEntityQuery, Fi as useOrganizationApplicationStatus, Pi as useOrganizationOnboardingSuppression, Ei as usePaymentTermsQuery, Oi as useRolePermissionsQueries, pi as useUpsertUserDataMutation, Nr as validateExternalBankAccountMutation, Pr as verifyDebitCardMutation, Lr as withAuthEpoch, Rr as withAuthEpochInfinite };
|