@tesouro/embedded-components-react 0.3.38 → 0.3.40

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.
Files changed (16) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index11.js +59 -48
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index4.js +2 -2
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index5.js +163 -51
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index6.js +39 -20
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +25 -24
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +5 -0
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -0
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +68 -65
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -0
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +77 -65
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +1 -0
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +1 -0
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +156 -138
  14. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +23 -23
  15. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  16. package/package.json +1 -1
@@ -1,247 +1,265 @@
1
- import { Alert as e, AlertTitle as t, Button as n, DataTable as r, DataTableSortableHeader as i, Input as a, Tabs as o, TabsContent as ee, TabsList as te, TabsTrigger as ne } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
- import { EmptyState as s } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
- import { ErrorState as c } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
1
+ import { Alert as e, AlertTitle as t, Button as n, DataTable as r, DataTableSortableHeader as ee, Input as i, Tabs as te, TabsContent as a, TabsList as o, TabsTrigger as s, Tooltip as ne, TooltipContent as re, TooltipProvider as ie, TooltipTrigger as ae } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { EmptyState as c } from "../../../shared/ui/dist/lib/EmptyState/EmptyState.js";
3
+ import { ErrorState as oe } from "../../../shared/ui/dist/lib/ErrorState/ErrorState.js";
4
4
  import "../../../shared/ui/dist/index.js";
5
5
  import { AddBillPanel as l } from "./index7.js";
6
6
  import "./index8.js";
7
- import { BillStatusBadge as u } from "./index20.js";
7
+ import { BillStatusBadge as se } from "./index20.js";
8
8
  import "./index21.js";
9
- import { DueDateValue as re } from "./index23.js";
9
+ import { DueDateValue as ce } from "./index23.js";
10
10
  import "./index24.js";
11
- import { MissingValue as d } from "./index53.js";
11
+ import { MissingValue as u } from "./index53.js";
12
12
  import "./index54.js";
13
- import { BILLS_SCREEN_LABELS_EN as f, BILLS_SCREEN_UPLOAD_ACCEPT as p } from "./index55.js";
14
- import { BillDuplicateBadge as ie } from "./index57.js";
13
+ import { BILLS_SCREEN_LABELS_EN as d, BILLS_SCREEN_UPLOAD_ACCEPT as f } from "./index55.js";
14
+ import { BillDuplicateBadge as le } from "./index57.js";
15
15
  import "./index58.js";
16
- import { BillsFilterBar as m } from "./index64.js";
16
+ import { BillsFilterBar as ue } from "./index64.js";
17
17
  import "./index65.js";
18
- import { BillColumn as h } from "./index66.js";
19
- import { useMemo as g } from "react";
20
- import { jsx as _, jsxs as v } from "react/jsx-runtime";
21
- import { ChevronRightIcon as y, CopyX as ae, PaperclipIcon as oe, PlusIcon as se, SearchIcon as ce } from "lucide-react";
18
+ import { BillColumn as p } from "./index66.js";
19
+ import { useMemo as m } from "react";
20
+ import { jsx as h, jsxs as g } from "react/jsx-runtime";
21
+ import { ChevronRightIcon as de, CopyX as fe, PaperclipIcon as pe, PlusIcon as me, SearchIcon as he } from "lucide-react";
22
22
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js
23
- var le = [
23
+ var ge = [
24
24
  10,
25
25
  25,
26
26
  50,
27
27
  100
28
- ], ue = 240, de = [
29
- h.Vendor,
30
- h.IssueDate,
31
- h.DueDate,
32
- h.ScheduledDate,
33
- h.PaidDate,
34
- h.Status,
35
- h.AmountDue,
36
- h.AmountScheduled,
37
- h.AmountPaid,
38
- h.TotalAmount,
39
- h.AddedOn
40
- ], b = [
41
- h.Vendor,
42
- h.DueDate,
43
- h.Status,
44
- h.AmountDue,
45
- h.AddedOn
28
+ ], _e = 240, _ = 40, ve = [
29
+ p.Vendor,
30
+ p.Attachment,
31
+ p.IssueDate,
32
+ p.DueDate,
33
+ p.ScheduledDate,
34
+ p.PaidDate,
35
+ p.Status,
36
+ p.AmountDue,
37
+ p.AmountScheduled,
38
+ p.AmountPaid,
39
+ p.TotalAmount,
40
+ p.AddedOn
41
+ ], v = [
42
+ p.Vendor,
43
+ p.Attachment,
44
+ p.DueDate,
45
+ p.Status,
46
+ p.AmountDue,
47
+ p.AddedOn
46
48
  ];
47
- function x({ rows: x, isLoading: S, isError: C, sorting: fe, onSortingChange: pe, pageSize: me, onPageSizeChange: he, pageSizeOptions: w = le, pageInfo: ge, hasNextPage: T, hasPrevPage: E, onNextPage: D, onPrevPage: O, filterTabs: k, selectedFilterTabId: A, onFilterTabChange: j, searchValue: M, onSearchChange: N, filters: P, visibleColumns: F = b, cellTestIds: I, isSearchActive: L, showAddPanelWhenEmpty: _e, emptyState: R, onCreateClick: z, onRetry: B, onFilesSelected: V, maxFiles: H, onEnterManually: U, uploadStatus: W, uploadErrorMessage: G, emailAddress: K, onCopyEmail: q, labels: J, duplicateWarning: Y, onReviewDuplicates: X }) {
48
- let Z = g(() => ({
49
- ...f,
49
+ function y({ rows: y, isLoading: b, isError: x, sorting: ye, onSortingChange: be, pageSize: S, onPageSizeChange: C, pageSizeOptions: w = ge, pageInfo: T, hasNextPage: E, hasPrevPage: D, onNextPage: O, onPrevPage: k, filterTabs: A, selectedFilterTabId: j, onFilterTabChange: M, searchValue: N, onSearchChange: xe, filters: P, visibleColumns: F = v, cellTestIds: I, isSearchActive: L, showAddPanelWhenEmpty: Se, emptyState: R, onCreateClick: z, onRetry: B, onFilesSelected: V, maxFiles: H, onEnterManually: U, uploadStatus: W, uploadErrorMessage: G, emailAddress: K, onCopyEmail: q, labels: J, duplicateWarning: Y, onReviewDuplicates: X }) {
50
+ let Z = m(() => ({
51
+ ...d,
50
52
  ...J,
51
53
  statusBadge: {
52
- ...f.statusBadge,
54
+ ...d.statusBadge,
53
55
  ...J?.statusBadge
54
56
  },
55
57
  addBill: {
56
- ...f.addBill,
58
+ ...d.addBill,
57
59
  ...J?.addBill,
58
60
  dropzone: {
59
- ...f.addBill.dropzone,
61
+ ...d.addBill.dropzone,
60
62
  ...J?.addBill?.dropzone
61
63
  }
62
64
  },
63
65
  sortableHeader: {
64
- ...f.sortableHeader,
66
+ ...d.sortableHeader,
65
67
  ...J?.sortableHeader
66
68
  },
67
69
  missingValue: {
68
- ...f.missingValue,
70
+ ...d.missingValue,
69
71
  ...J?.missingValue
70
72
  },
71
73
  dueDate: {
72
- ...f.dueDate,
74
+ ...d.dueDate,
73
75
  ...J?.dueDate
74
76
  }
75
- }), [J]), Q = g(() => {
77
+ }), [J]), Q = m(() => {
76
78
  let e = (e) => function({ column: t }) {
77
- return /* @__PURE__ */ _(i, {
79
+ return /* @__PURE__ */ h(ee, {
78
80
  column: t,
79
81
  title: e,
80
82
  labels: Z.sortableHeader
81
83
  });
82
84
  }, t = (e, t) => function({ row: n }) {
83
- return /* @__PURE__ */ _("span", {
85
+ return /* @__PURE__ */ h("span", {
84
86
  "data-testid": I?.[t],
85
- children: n.original[e] || /* @__PURE__ */ _(d, { labels: Z.missingValue })
87
+ children: n.original[e] || /* @__PURE__ */ h(u, { labels: Z.missingValue })
86
88
  });
87
89
  }, n = function({ row: e }) {
88
- return /* @__PURE__ */ _("span", {
89
- "data-testid": I?.[h.DueDate],
90
- children: /* @__PURE__ */ _(re, {
91
- value: e.original.dueDateLabel || /* @__PURE__ */ _(d, { labels: Z.missingValue }),
90
+ return /* @__PURE__ */ h("span", {
91
+ "data-testid": I?.[p.DueDate],
92
+ children: /* @__PURE__ */ h(ce, {
93
+ value: e.original.dueDateLabel || /* @__PURE__ */ h(u, { labels: Z.missingValue }),
92
94
  tone: e.original.dueDateTone,
93
95
  labels: Z.dueDate
94
96
  })
95
97
  });
96
98
  }, r = (e, t) => function({ row: n }) {
97
- return /* @__PURE__ */ _("div", {
99
+ return /* @__PURE__ */ h("div", {
98
100
  className: "ttw:text-right",
99
101
  "data-testid": I?.[t],
100
- children: n.original[e] || /* @__PURE__ */ _(d, { labels: Z.missingValue })
102
+ children: n.original[e] || /* @__PURE__ */ h(u, { labels: Z.missingValue })
101
103
  });
102
- }, a = (e) => function() {
103
- return /* @__PURE__ */ _("div", {
104
+ }, i = (e) => function() {
105
+ return /* @__PURE__ */ h("div", {
104
106
  className: "ttw:text-right",
105
107
  children: e
106
108
  });
107
109
  };
108
110
  return {
109
- [h.Vendor]: {
111
+ [p.Vendor]: {
110
112
  accessorKey: "vendorLabel",
111
113
  enableSorting: !0,
112
- minSize: ue,
114
+ minSize: _e,
113
115
  header: e(Z.columnVendor),
114
- cell: ({ row: e }) => /* @__PURE__ */ v("span", {
115
- className: "ttw:flex ttw:items-center ttw:gap-1.5",
116
- "data-testid": I?.[h.Vendor],
117
- children: [e.original.vendorLabel || /* @__PURE__ */ _(d, { labels: Z.missingValue }), e.original.attachment ? /* @__PURE__ */ _(oe, {
118
- className: "ttw:size-3.5 ttw:shrink-0 ttw:text-muted-foreground",
119
- "aria-label": e.original.attachment.label,
120
- role: "img"
121
- }) : null]
116
+ cell: ({ row: e }) => /* @__PURE__ */ h("span", {
117
+ "data-testid": I?.[p.Vendor],
118
+ children: e.original.vendorLabel || /* @__PURE__ */ h(u, { labels: Z.missingValue })
122
119
  })
123
120
  },
124
- [h.IssueDate]: {
121
+ [p.Attachment]: {
122
+ accessorKey: "attachment",
123
+ enableSorting: !1,
124
+ size: _,
125
+ minSize: _,
126
+ header: () => /* @__PURE__ */ h("span", {
127
+ className: "ttw:sr-only",
128
+ children: Z.columnAttachment
129
+ }),
130
+ cell: ({ row: e }) => e.original.attachment ? /* @__PURE__ */ h("div", {
131
+ className: "ttw:flex ttw:justify-center",
132
+ "data-testid": I?.[p.Attachment],
133
+ children: /* @__PURE__ */ h(ie, { children: /* @__PURE__ */ g(ne, { children: [/* @__PURE__ */ h(ae, {
134
+ type: "button",
135
+ className: "ttw:inline-flex ttw:cursor-default",
136
+ "aria-label": e.original.attachment.label,
137
+ onClick: (e) => e.stopPropagation(),
138
+ children: /* @__PURE__ */ h(pe, { className: "ttw:size-3.5 ttw:shrink-0 ttw:text-muted-foreground" })
139
+ }), /* @__PURE__ */ h(re, { children: e.original.attachment.label })] }) })
140
+ }) : null
141
+ },
142
+ [p.IssueDate]: {
125
143
  accessorKey: "issueDateLabel",
126
144
  enableSorting: !0,
127
145
  header: e(Z.columnIssueDate),
128
- cell: t("issueDateLabel", h.IssueDate)
146
+ cell: t("issueDateLabel", p.IssueDate)
129
147
  },
130
- [h.DueDate]: {
148
+ [p.DueDate]: {
131
149
  accessorKey: "dueDateLabel",
132
150
  enableSorting: !0,
133
151
  header: e(Z.columnDueDate),
134
152
  cell: n
135
153
  },
136
- [h.ScheduledDate]: {
154
+ [p.ScheduledDate]: {
137
155
  accessorKey: "scheduledDateLabel",
138
156
  enableSorting: !0,
139
157
  header: e(Z.columnScheduledDate),
140
- cell: t("scheduledDateLabel", h.ScheduledDate)
158
+ cell: t("scheduledDateLabel", p.ScheduledDate)
141
159
  },
142
- [h.PaidDate]: {
160
+ [p.PaidDate]: {
143
161
  accessorKey: "paidDateLabel",
144
162
  enableSorting: !1,
145
163
  header: Z.columnPaidDate,
146
- cell: t("paidDateLabel", h.PaidDate)
164
+ cell: t("paidDateLabel", p.PaidDate)
147
165
  },
148
- [h.Status]: {
166
+ [p.Status]: {
149
167
  accessorKey: "status",
150
168
  enableSorting: !1,
151
169
  header: Z.columnStatus,
152
- cell: ({ row: e }) => /* @__PURE__ */ v("div", {
170
+ cell: ({ row: e }) => /* @__PURE__ */ g("div", {
153
171
  className: "ttw:flex ttw:items-center ttw:gap-1",
154
- "data-testid": I?.[h.Status],
155
- children: [/* @__PURE__ */ _(u, {
172
+ "data-testid": I?.[p.Status],
173
+ children: [/* @__PURE__ */ h(se, {
156
174
  status: e.original.status,
157
175
  tone: e.original.statusTone,
158
176
  labels: Z.statusBadge
159
- }), e.original.duplicateBadge ? /* @__PURE__ */ _(ie, { ...e.original.duplicateBadge }) : null]
177
+ }), e.original.duplicateBadge ? /* @__PURE__ */ h(le, { ...e.original.duplicateBadge }) : null]
160
178
  })
161
179
  },
162
- [h.AmountDue]: {
180
+ [p.AmountDue]: {
163
181
  accessorKey: "amountDueLabel",
164
182
  enableSorting: !1,
165
- header: a(Z.columnAmountDue),
166
- cell: r("amountDueLabel", h.AmountDue)
183
+ header: i(Z.columnAmountDue),
184
+ cell: r("amountDueLabel", p.AmountDue)
167
185
  },
168
- [h.AmountScheduled]: {
186
+ [p.AmountScheduled]: {
169
187
  accessorKey: "amountScheduledLabel",
170
188
  enableSorting: !1,
171
- header: a(Z.columnAmountScheduled),
172
- cell: r("amountScheduledLabel", h.AmountScheduled)
189
+ header: i(Z.columnAmountScheduled),
190
+ cell: r("amountScheduledLabel", p.AmountScheduled)
173
191
  },
174
- [h.AmountPaid]: {
192
+ [p.AmountPaid]: {
175
193
  accessorKey: "amountPaidLabel",
176
194
  enableSorting: !1,
177
- header: a(Z.columnAmountPaid),
178
- cell: r("amountPaidLabel", h.AmountPaid)
195
+ header: i(Z.columnAmountPaid),
196
+ cell: r("amountPaidLabel", p.AmountPaid)
179
197
  },
180
- [h.TotalAmount]: {
198
+ [p.TotalAmount]: {
181
199
  accessorKey: "totalAmountLabel",
182
200
  enableSorting: !1,
183
- header: a(Z.columnTotalAmount),
184
- cell: r("totalAmountLabel", h.TotalAmount)
201
+ header: i(Z.columnTotalAmount),
202
+ cell: r("totalAmountLabel", p.TotalAmount)
185
203
  },
186
- [h.AddedOn]: {
204
+ [p.AddedOn]: {
187
205
  accessorKey: "addedOnLabel",
188
206
  enableSorting: !0,
189
207
  header: e(Z.columnAddedOn),
190
- cell: t("addedOnLabel", h.AddedOn)
208
+ cell: t("addedOnLabel", p.AddedOn)
191
209
  }
192
210
  };
193
- }, [Z, I]), ve = g(() => [...de.filter((e) => F.includes(e)).map((e) => Q[e]), {
211
+ }, [Z, I]), Ce = m(() => [...ve.filter((e) => F.includes(e)).map((e) => Q[e]), {
194
212
  id: "actions",
195
213
  enableSorting: !1,
196
- header: () => /* @__PURE__ */ _("span", {
214
+ header: () => /* @__PURE__ */ h("span", {
197
215
  className: "ttw:sr-only",
198
216
  children: Z.columnActions
199
217
  }),
200
- cell: ({ row: e }) => /* @__PURE__ */ _("div", {
218
+ cell: ({ row: e }) => /* @__PURE__ */ h("div", {
201
219
  className: "ttw:flex ttw:justify-end",
202
- children: /* @__PURE__ */ _(n, {
220
+ children: /* @__PURE__ */ h(n, {
203
221
  variant: "ghost",
204
222
  size: "icon",
205
223
  "aria-label": Z.openRow(e.original.vendorLabel || Z.missingValue.missing),
206
224
  onClick: (t) => {
207
225
  t.stopPropagation(), e.original.onOpen();
208
226
  },
209
- children: /* @__PURE__ */ _(y, { className: "ttw:size-4" })
227
+ children: /* @__PURE__ */ h(de, { className: "ttw:size-4" })
210
228
  })
211
229
  })
212
230
  }], [
213
231
  Q,
214
232
  Z,
215
233
  F
216
- ]), ye = !!(z && V) && !S && !C && !L && x.length === 0 && _e === !0, $ = /* @__PURE__ */ v("div", {
234
+ ]), we = !!(z && V) && !b && !x && !L && y.length === 0 && Se === !0, $ = /* @__PURE__ */ g("div", {
217
235
  className: "ttw:relative ttw:w-80",
218
- children: [/* @__PURE__ */ _(ce, { 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__ */ _(a, {
236
+ children: [/* @__PURE__ */ h(he, { 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__ */ h(i, {
219
237
  className: "ttw:pl-9",
220
238
  type: "search",
221
239
  "aria-label": Z.searchLabel,
222
240
  placeholder: Z.searchPlaceholder,
223
- value: M,
224
- onChange: (e) => N(e.target.value)
241
+ value: N,
242
+ onChange: (e) => xe(e.target.value)
225
243
  })]
226
- }), be = P ? /* @__PURE__ */ _(m, {
244
+ }), Te = P ? /* @__PURE__ */ h(ue, {
227
245
  ...P,
228
246
  className: "ttw:px-4",
229
247
  searchSlot: $
230
- }) : /* @__PURE__ */ _("div", {
248
+ }) : /* @__PURE__ */ h("div", {
231
249
  className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:gap-2 ttw:px-4",
232
250
  children: $
233
251
  });
234
- return /* @__PURE__ */ v("div", {
252
+ return /* @__PURE__ */ g("div", {
235
253
  className: "ttw:flex ttw:flex-col ttw:gap-3",
236
- children: [Y ? /* @__PURE__ */ v(e, {
254
+ children: [Y ? /* @__PURE__ */ g(e, {
237
255
  className: "ttw:[&>svg]:size-6 ttw:flex ttw:items-center ttw:bg-amber-50 ttw:text-amber-700 ttw:border-amber-300",
238
256
  children: [
239
- /* @__PURE__ */ _(ae, {}),
240
- /* @__PURE__ */ _(t, {
257
+ /* @__PURE__ */ h(fe, {}),
258
+ /* @__PURE__ */ h(t, {
241
259
  className: "ttw:flex-1",
242
260
  children: Y
243
261
  }),
244
- X ? /* @__PURE__ */ _(n, {
262
+ X ? /* @__PURE__ */ h(n, {
245
263
  type: "button",
246
264
  variant: "outline",
247
265
  className: "ttw:text-foreground",
@@ -249,81 +267,81 @@ function x({ rows: x, isLoading: S, isError: C, sorting: fe, onSortingChange: pe
249
267
  children: Z.duplicateBillsReviewButton
250
268
  }) : null
251
269
  ]
252
- }) : null, /* @__PURE__ */ v(o, {
253
- value: A,
254
- onValueChange: j,
270
+ }) : null, /* @__PURE__ */ g(te, {
271
+ value: j,
272
+ onValueChange: M,
255
273
  className: "ttw:flex ttw:flex-col ttw:gap-4",
256
- children: [/* @__PURE__ */ v("div", {
274
+ children: [/* @__PURE__ */ g("div", {
257
275
  className: "ttw:flex ttw:flex-wrap ttw:items-center ttw:justify-between ttw:gap-3",
258
- children: [/* @__PURE__ */ _(te, {
276
+ children: [/* @__PURE__ */ h(o, {
259
277
  "aria-label": Z.filterTabsLabel,
260
- children: k.map((e) => /* @__PURE__ */ v(ne, {
278
+ children: A.map((e) => /* @__PURE__ */ g(s, {
261
279
  value: e.id,
262
280
  className: "ttw:min-w-28",
263
281
  children: [e.icon, e.label]
264
282
  }, e.id))
265
- }), z ? /* @__PURE__ */ v(n, {
283
+ }), z ? /* @__PURE__ */ g(n, {
266
284
  onClick: z,
267
- children: [/* @__PURE__ */ _(se, { className: "ttw:size-4" }), Z.createButton]
285
+ children: [/* @__PURE__ */ h(me, { className: "ttw:size-4" }), Z.createButton]
268
286
  }) : null]
269
287
  }), (() => {
270
- let e = C ? /* @__PURE__ */ _(c, {
288
+ let e = x ? /* @__PURE__ */ h(oe, {
271
289
  title: Z.errorTitle,
272
290
  description: Z.errorDescription,
273
291
  retryLabel: B ? Z.errorRetry : void 0,
274
292
  onRetry: B
275
- }) : ye && z && V ? /* @__PURE__ */ _("div", {
293
+ }) : we && z && V ? /* @__PURE__ */ h("div", {
276
294
  className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card",
277
- children: K && q ? /* @__PURE__ */ _(l, {
295
+ children: K && q ? /* @__PURE__ */ h(l, {
278
296
  emailAddress: K,
279
297
  onCopyEmail: q,
280
298
  onFilesSelected: V,
281
- accept: p,
299
+ accept: f,
282
300
  maxFiles: H,
283
301
  uploadStatus: W,
284
302
  uploadErrorMessage: G,
285
303
  onEnterManually: U ?? z,
286
304
  labels: Z.addBill
287
- }) : /* @__PURE__ */ _(l, {
305
+ }) : /* @__PURE__ */ h(l, {
288
306
  onFilesSelected: V,
289
- accept: p,
307
+ accept: f,
290
308
  maxFiles: H,
291
309
  uploadStatus: W,
292
310
  uploadErrorMessage: G,
293
311
  onEnterManually: U ?? z,
294
312
  labels: Z.addBill
295
313
  })
296
- }) : /* @__PURE__ */ _(r, {
297
- columns: ve,
298
- data: x,
299
- isLoading: S,
300
- sorting: fe,
301
- onSortingChange: pe,
302
- pageSize: me,
303
- onPageSizeChange: he,
314
+ }) : /* @__PURE__ */ h(r, {
315
+ columns: Ce,
316
+ data: y,
317
+ isLoading: b,
318
+ sorting: ye,
319
+ onSortingChange: be,
320
+ pageSize: S,
321
+ onPageSizeChange: C,
304
322
  pageSizeOptions: w,
305
- pageInfo: ge,
306
- hasNextPage: T,
307
- hasPrevPage: E,
308
- onNextPage: D,
309
- onPrevPage: O,
323
+ pageInfo: T,
324
+ hasNextPage: E,
325
+ hasPrevPage: D,
326
+ onNextPage: O,
327
+ onPrevPage: k,
310
328
  onRowClick: (e) => e.onOpen(),
311
- filterComponent: be,
312
- children: L ? /* @__PURE__ */ _(s, {
329
+ filterComponent: Te,
330
+ children: L ? /* @__PURE__ */ h(c, {
313
331
  title: Z.filteredEmptyTitle,
314
332
  description: Z.filteredEmptyDescription
315
- }) : R ? /* @__PURE__ */ _(s, {
333
+ }) : R ? /* @__PURE__ */ h(c, {
316
334
  title: R.title,
317
335
  description: R.description
318
336
  }) : void 0
319
337
  });
320
- return k.map((t) => /* @__PURE__ */ _(ee, {
338
+ return A.map((t) => /* @__PURE__ */ h(a, {
321
339
  value: t.id,
322
- children: t.id === A ? e : null
340
+ children: t.id === j ? e : null
323
341
  }, t.id));
324
342
  })()]
325
343
  })]
326
344
  });
327
345
  }
328
346
  //#endregion
329
- export { x as BillsScreen, x as default, b as DEFAULT_BILL_COLUMNS };
347
+ export { y as BillsScreen, y as default, v as DEFAULT_BILL_COLUMNS };
@@ -5,30 +5,30 @@ import { isWidgetGatewayHost as c } from "./lib/widgetGatewayHosts.js";
5
5
  import "./lib/rest/client.gen.js";
6
6
  import { EmbedApiProvider as l, useEmbedApi as u } from "./lib/EmbedApiContext.js";
7
7
  import { optionalOrganizationHeaders as d, organizationHeaders as f } from "./lib/organizationHeaders.js";
8
- import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getBankAccountAccess as M, getDepartment as N, getExternalBankAccountAccess as P, getLocation as F, getPayablesId as I, getPayablesIdLineItems as L, getPaymentRecords as R, getUsers as z, listDepartments as B, listLocations as V, listRoles as H, manageBankAccountAccess as U, patchCounterpartsId as W, patchCounterpartsIdAddressesId as G, patchCounterpartsIdBankAccountsId as K, patchMeasureUnitsId as q, patchPayablesId as J, patchProductsId as Y, patchReceivablesId as X, patchTagsId as Z, postApprovalRequestsIdApprove as Q, postApprovalRequestsIdReject as $, postCounterparts as ee, postCounterpartsIdAddresses as te, postCounterpartsIdBankAccounts as ne, postCounterpartsIdBankAccountsIdMakeDefault as re, postMeasureUnits as ie, postPayables as ae, postPayablesIdApprovePaymentOperation as oe, postPayablesIdAttachFile as se, postPayablesIdCancel as ce, postPayablesIdMarkAsPaid as le, postPayablesIdReject as ue, postPayablesIdReopen as de, postPayablesIdSchedulePayment as fe, postPayablesIdSubmitForApproval as pe, postPayablesIdValidate as me, postPayablesUploadFromFile as he, postPaymentIntentsIdCancel as ge, postProducts as _e, postReceivables as ve, postReceivablesIdAccept as ye, postReceivablesIdCancel as be, postReceivablesIdClone as xe, postReceivablesIdDecline as Se, postReceivablesIdIssue as Ce, postReceivablesIdMarkAsPaid as we, postReceivablesIdMarkAsPartiallyPaid as Te, postReceivablesIdMarkAsUncollectible as Ee, postReceivablesIdSend as De, postTags as Oe, putPayablesIdLineItems as ke, putReceivablesIdLineItems as Ae, updateDepartment as je, updateLocation as Me, updateUser as Ne } from "./lib/rest/sdk.gen.js";
9
- import { fetchWidgetInit as Pe } from "./lib/fetchWidgetInit.js";
10
- import { hasAnyScope as Fe } from "./lib/hasAnyScope.js";
11
- import { connectExternalBankAccountMutation as Ie, createAchMoneyMovementMutation as Le, createApplicationMutation as Re, createBankAccountMutation as ze, createBookTransferMutation as Be, createDebitCardMutation as Ve, createVelocityControlMutation as He, deleteApprovalPoliciesIdMutation as Ue, deleteLedgerAccountsIdMutation as We, deleteReceiptsIdMutation as Ge, disableUserMutation as Ke, getAnalyticsPayablesOptions as qe, getAnalyticsReceivablesOptions as Je, getApplicationStatusOptions as Ye, getApprovalPoliciesOptions as Xe, getApprovalPoliciesQueryKey as Ze, getApprovalRequestsOptions as Qe, getApprovalRequestsQueryKey as $e, getBankAccountAccessQueryKey as et, getBankAccountOptions as tt, getBankAccountQueryKey as nt, getBankAccountTransactionsOptions as rt, getBankAccountTransfersOptions as it, getBankAccountTransfersQueryKey as at, getBankAccountsQueryKey as ot, getCounterpartsIdAddressesOptions as st, getCounterpartsIdAddressesQueryKey as ct, getCounterpartsIdBankAccountsOptions as lt, getCounterpartsIdBankAccountsQueryKey as ut, getCounterpartsIdOptions as dt, getCounterpartsIdQueryKey as ft, getCounterpartsOptions as pt, getCounterpartsQueryKey as mt, getCreditCardByIdOptions as ht, getCreditCardsOptions as gt, getDebitCardByIdOptions as _t, getDebitCardCredentialsOptions as vt, getDebitCardsOptions as yt, getDebitCardsQueryKey as bt, getDepartmentOptions as xt, getDepartmentQueryKey as St, getEntitiesIdSettingsOptions as Ct, getEntitiesIdSettingsQueryKey as wt, getEntitiesMeOptions as Tt, getEntityUsersMyEntityOptions as Et, getEntityUsersOptions as Dt, getExternalBankAccountAccessQueryKey as Ot, getExternalBankAccountsOptions as kt, getExternalBankAccountsQueryKey as At, getLedgerAccountsQueryKey as jt, getLocationOptions as Mt, getLocationQueryKey as Nt, getMeasureUnitsOptions as Pt, getMeasureUnitsQueryKey as Ft, getOrganizationOptions as It, getPayablesAnalyticsOptions as Lt, getPayablesAnalyticsQueryKey as Rt, getPayablesIdHistoryOptions as zt, getPayablesIdHistoryQueryKey as Bt, getPayablesIdLineItemsOptions as Vt, getPayablesIdLineItemsQueryKey as Ht, getPayablesIdOptions as Ut, getPayablesIdQueryKey as Wt, getPayablesIdSuggestionsOptions as Gt, getPayablesOptions as Kt, getPayablesQueryKey as qt, getPaymentRecordsOptions as Jt, getPaymentRecordsQueryKey as Yt, getProductsIdOptions as Xt, getProductsIdQueryKey as Zt, getProductsOptions as Qt, getProductsQueryKey as $t, getReceiptsIdQueryKey as en, getReceiptsOptions as tn, getReceiptsQueryKey as nn, getReceivablesIdHistoryOptions as rn, getReceivablesIdHistoryQueryKey as an, getReceivablesIdMailsOptions as on, getReceivablesIdMailsQueryKey as sn, getReceivablesIdOptions as cn, getReceivablesIdPdfLinkOptions as ln, getReceivablesIdPdfLinkQueryKey as un, getReceivablesIdQueryKey as dn, getReceivablesOptions as fn, getReceivablesQueryKey as pn, getTagsOptions as mn, getTagsQueryKey as hn, getTransactionsIdQueryKey as gn, getTransactionsOptions as _n, getTransactionsQueryKey as vn, getTransactionsValidationsOptions as yn, getTransactionsValidationsQueryKey as bn, getUsersOptions as xn, getUsersQueryKey as Sn, getVelocityControlsQueryKey as Cn, grantBankAccountAccessMutation as wn, grantExternalBankAccountAccessMutation as Tn, linkExternalBankAccountMutation as En, listDepartmentsOptions as Dn, listDepartmentsQueryKey as On, listLocationsOptions as kn, listLocationsQueryKey as An, listRolesQueryKey as jn, manageDebitCardAccessMutation as Mn, patchApprovalPoliciesIdMutation as Nn, patchEntitiesIdSettingsMutation as Pn, patchLedgerAccountsIdMutation as Fn, patchReceiptsIdMutation as In, postApprovalPoliciesMutation as Ln, postLedgerAccountsMutation as Rn, putTransactionsValidationsMutation as zn, submitApplicationMutation as Bn, unlinkExternalBankAccountMutation as Vn, updateApplicationMutation as Hn, updateBankAccountMutation as Un, updateExternalBankAccountMutation as Wn, validateExternalBankAccountMutation as Gn } from "./lib/rest/@tanstack/react-query.gen.js";
8
+ import { bulkUpdateDepartmentMembers as p, bulkUpdateLocationMembers as m, bulkUpdateRoleMembers as h, createDepartment as g, createLocation as _, createUser as v, deactivateDepartment as y, deactivateLocation as b, deleteCounterpartsId as x, deleteCounterpartsIdBankAccountsId as S, deleteMeasureUnitsId as C, deletePayablesId as w, deletePayablesIdFile as T, deleteProductsId as E, deleteReceivablesId as D, deleteTagsId as O, downloadBankAccountTransactions as k, getApplicationStatus as A, getApprovalPolicies as j, getApprovalRequests as M, getBankAccountAccess as N, getDepartment as P, getExternalBankAccountAccess as F, getLocation as I, getPayablesId as L, getPayablesIdHistory as R, getPayablesIdLineItems as z, getPaymentRecords as B, getUsers as V, listDepartments as H, listLocations as U, listRoles as W, manageBankAccountAccess as G, patchCounterpartsId as K, patchCounterpartsIdAddressesId as q, patchCounterpartsIdBankAccountsId as J, patchMeasureUnitsId as Y, patchPayablesId as X, patchProductsId as Z, patchReceivablesId as Q, patchTagsId as $, postApprovalRequestsIdApprove as ee, postApprovalRequestsIdReject as te, postCounterparts as ne, postCounterpartsIdAddresses as re, postCounterpartsIdBankAccounts as ie, postCounterpartsIdBankAccountsIdMakeDefault as ae, postMeasureUnits as oe, postPayables as se, postPayablesIdApprovePaymentOperation as ce, postPayablesIdAttachFile as le, postPayablesIdCancel as ue, postPayablesIdMarkAsPaid as de, postPayablesIdReject as fe, postPayablesIdReopen as pe, postPayablesIdSchedulePayment as me, postPayablesIdSubmitForApproval as he, postPayablesIdValidate as ge, postPayablesUploadFromFile as _e, postPaymentIntentsIdCancel as ve, postProducts as ye, postReceivables as be, postReceivablesIdAccept as xe, postReceivablesIdCancel as Se, postReceivablesIdClone as Ce, postReceivablesIdDecline as we, postReceivablesIdIssue as Te, postReceivablesIdMarkAsPaid as Ee, postReceivablesIdMarkAsPartiallyPaid as De, postReceivablesIdMarkAsUncollectible as Oe, postReceivablesIdSend as ke, postTags as Ae, putPayablesIdLineItems as je, putReceivablesIdLineItems as Me, updateDepartment as Ne, updateLocation as Pe, updateUser as Fe } from "./lib/rest/sdk.gen.js";
9
+ import { fetchWidgetInit as Ie } from "./lib/fetchWidgetInit.js";
10
+ import { hasAnyScope as Le } from "./lib/hasAnyScope.js";
11
+ import { connectExternalBankAccountMutation as Re, createAchMoneyMovementMutation as ze, createApplicationMutation as Be, createBankAccountMutation as Ve, createBookTransferMutation as He, createDebitCardMutation as Ue, createVelocityControlMutation as We, deleteApprovalPoliciesIdMutation as Ge, deleteLedgerAccountsIdMutation as Ke, deleteReceiptsIdMutation as qe, disableUserMutation as Je, getAnalyticsPayablesOptions as Ye, getAnalyticsReceivablesOptions as Xe, getApplicationStatusOptions as Ze, getApprovalPoliciesOptions as Qe, getApprovalPoliciesQueryKey as $e, getApprovalRequestsOptions as et, getApprovalRequestsQueryKey as tt, getBankAccountAccessQueryKey as nt, getBankAccountOptions as rt, getBankAccountQueryKey as it, getBankAccountTransactionsOptions as at, getBankAccountTransfersOptions as ot, getBankAccountTransfersQueryKey as st, getBankAccountsQueryKey as ct, getCounterpartsIdAddressesOptions as lt, getCounterpartsIdAddressesQueryKey as ut, getCounterpartsIdBankAccountsOptions as dt, getCounterpartsIdBankAccountsQueryKey as ft, getCounterpartsIdOptions as pt, getCounterpartsIdQueryKey as mt, getCounterpartsOptions as ht, getCounterpartsQueryKey as gt, getCreditCardByIdOptions as _t, getCreditCardsOptions as vt, getDebitCardByIdOptions as yt, getDebitCardCredentialsOptions as bt, getDebitCardsOptions as xt, getDebitCardsQueryKey as St, getDepartmentOptions as Ct, getDepartmentQueryKey as wt, getEntitiesIdSettingsOptions as Tt, getEntitiesIdSettingsQueryKey as Et, getEntitiesMeOptions as Dt, getEntityUsersMyEntityOptions as Ot, getEntityUsersOptions as kt, getExternalBankAccountAccessQueryKey as At, getExternalBankAccountsOptions as jt, getExternalBankAccountsQueryKey as Mt, getLedgerAccountsQueryKey as Nt, getLocationOptions as Pt, getLocationQueryKey as Ft, getMeasureUnitsOptions as It, getMeasureUnitsQueryKey as Lt, getOrganizationOptions as Rt, getPayablesAnalyticsOptions as zt, getPayablesAnalyticsQueryKey as Bt, getPayablesIdHistoryOptions as Vt, getPayablesIdHistoryQueryKey as Ht, getPayablesIdLineItemsOptions as Ut, getPayablesIdLineItemsQueryKey as Wt, getPayablesIdOptions as Gt, getPayablesIdQueryKey as Kt, getPayablesIdSuggestionsOptions as qt, getPayablesOptions as Jt, getPayablesQueryKey as Yt, getPaymentRecordsOptions as Xt, getPaymentRecordsQueryKey as Zt, getProductsIdOptions as Qt, getProductsIdQueryKey as $t, getProductsOptions as en, getProductsQueryKey as tn, getReceiptsIdQueryKey as nn, getReceiptsOptions as rn, getReceiptsQueryKey as an, getReceivablesIdHistoryOptions as on, getReceivablesIdHistoryQueryKey as sn, getReceivablesIdMailsOptions as cn, getReceivablesIdMailsQueryKey as ln, getReceivablesIdOptions as un, getReceivablesIdPdfLinkOptions as dn, getReceivablesIdPdfLinkQueryKey as fn, getReceivablesIdQueryKey as pn, getReceivablesOptions as mn, getReceivablesQueryKey as hn, getTagsOptions as gn, getTagsQueryKey as _n, getTransactionsIdQueryKey as vn, getTransactionsOptions as yn, getTransactionsQueryKey as bn, getTransactionsValidationsOptions as xn, getTransactionsValidationsQueryKey as Sn, getUsersOptions as Cn, getUsersQueryKey as wn, getVelocityControlsQueryKey as Tn, grantBankAccountAccessMutation as En, grantExternalBankAccountAccessMutation as Dn, linkExternalBankAccountMutation as On, listDepartmentsOptions as kn, listDepartmentsQueryKey as An, listLocationsOptions as jn, listLocationsQueryKey as Mn, listRolesQueryKey as Nn, manageDebitCardAccessMutation as Pn, patchApprovalPoliciesIdMutation as Fn, patchEntitiesIdSettingsMutation as In, patchLedgerAccountsIdMutation as Ln, patchReceiptsIdMutation as Rn, postApprovalPoliciesMutation as zn, postLedgerAccountsMutation as Bn, putTransactionsValidationsMutation as Vn, submitApplicationMutation as Hn, unlinkExternalBankAccountMutation as Un, updateApplicationMutation as Wn, updateBankAccountMutation as Gn, updateExternalBankAccountMutation as Kn, validateExternalBankAccountMutation as qn } from "./lib/rest/@tanstack/react-query.gen.js";
12
12
  import "./lib/queryKeys.js";
13
- import { withAuthEpoch as Kn } from "./lib/withAuthEpoch.js";
14
- import { useCurrentUserQuery as qn } from "./lib/useCurrentUserQuery.js";
13
+ import { withAuthEpoch as Jn } from "./lib/withAuthEpoch.js";
14
+ import { useCurrentUserQuery as Yn } from "./lib/useCurrentUserQuery.js";
15
15
  import "./lib/apiErrorStatus.js";
16
- import { isApiForbiddenError as Jn } from "./lib/isApiForbiddenError.js";
17
- import { isApiNotFoundError as Yn } from "./lib/isApiNotFoundError.js";
16
+ import { isApiForbiddenError as Xn } from "./lib/isApiForbiddenError.js";
17
+ import { isApiNotFoundError as Zn } from "./lib/isApiNotFoundError.js";
18
18
  import "./lib/isUserDataNotFoundError.js";
19
- import { useGetUserDataQuery as Xn } from "./lib/useGetUserDataQuery.js";
20
- import { useUpsertUserDataMutation as Zn } from "./lib/useUpsertUserDataMutation.js";
19
+ import { useGetUserDataQuery as Qn } from "./lib/useGetUserDataQuery.js";
20
+ import { useUpsertUserDataMutation as $n } from "./lib/useUpsertUserDataMutation.js";
21
21
  import "./lib/rest/zod.gen.js";
22
- import { Scope as Qn } from "./lib/scopes.js";
23
- import { getAllPagesNextPageParam as $n, getAllPagesNextPaginationTokenParam as er, isAllPagesResolving as tr, useAutoFetchNextPage as nr } from "./lib/allPages.js";
24
- import { useAllBankAccountsQuery as rr } from "./lib/bank-account/useAllBankAccountsQuery.js";
25
- import { useAllExternalBankAccountsQuery as ir } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
26
- import { useAllMerchantCategoryGroupsQuery as ar } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
27
- import { useAllLedgerAccountsQuery as or, useLedgerAccountsQuery as sr } from "./lib/reference-data/useLedgerAccountsQuery.js";
28
- import { usePaymentTermsQuery as cr } from "./lib/reference-data/usePaymentTermsQuery.js";
29
- import { useAllOrganizationRolesQuery as lr } from "./lib/role/useAllOrganizationRolesQuery.js";
30
- import { useRolePermissionsQueries as ur } from "./lib/role/useRolePermissionsQueries.js";
31
- import { useAllOrganizationUsersQuery as dr } from "./lib/user/useAllOrganizationUsersQuery.js";
32
- import { useAcceptWidgetDisclosures as fr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
33
- import { useDisclosuresQuery as pr } from "./lib/disclosures/useDisclosuresQuery.js";
34
- export { l as EmbedApiProvider, Qn as Scope, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Ie as connectExternalBankAccountMutation, Le as createAchMoneyMovementMutation, Re as createApplicationMutation, ze as createBankAccountMutation, Be as createBookTransferMutation, Ve as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, He as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, Ue as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, We as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, Ge as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ke as disableUserMutation, k as downloadBankAccountTransactions, Pe as fetchWidgetInit, $n as getAllPagesNextPageParam, er as getAllPagesNextPaginationTokenParam, qe as getAnalyticsPayablesOptions, Je as getAnalyticsReceivablesOptions, A as getApplicationStatus, Ye as getApplicationStatusOptions, j as getApprovalPolicies, Xe as getApprovalPoliciesOptions, Ze as getApprovalPoliciesQueryKey, Qe as getApprovalRequestsOptions, $e as getApprovalRequestsQueryKey, M as getBankAccountAccess, et as getBankAccountAccessQueryKey, tt as getBankAccountOptions, nt as getBankAccountQueryKey, rt as getBankAccountTransactionsOptions, it as getBankAccountTransfersOptions, at as getBankAccountTransfersQueryKey, ot as getBankAccountsQueryKey, st as getCounterpartsIdAddressesOptions, ct as getCounterpartsIdAddressesQueryKey, lt as getCounterpartsIdBankAccountsOptions, ut as getCounterpartsIdBankAccountsQueryKey, dt as getCounterpartsIdOptions, ft as getCounterpartsIdQueryKey, pt as getCounterpartsOptions, mt as getCounterpartsQueryKey, ht as getCreditCardByIdOptions, gt as getCreditCardsOptions, _t as getDebitCardByIdOptions, vt as getDebitCardCredentialsOptions, yt as getDebitCardsOptions, bt as getDebitCardsQueryKey, N as getDepartment, xt as getDepartmentOptions, St as getDepartmentQueryKey, Ct as getEntitiesIdSettingsOptions, wt as getEntitiesIdSettingsQueryKey, Tt as getEntitiesMeOptions, Et as getEntityUsersMyEntityOptions, Dt as getEntityUsersOptions, P as getExternalBankAccountAccess, Ot as getExternalBankAccountAccessQueryKey, kt as getExternalBankAccountsOptions, At as getExternalBankAccountsQueryKey, jt as getLedgerAccountsQueryKey, F as getLocation, Mt as getLocationOptions, Nt as getLocationQueryKey, Pt as getMeasureUnitsOptions, Ft as getMeasureUnitsQueryKey, It as getOrganizationOptions, Lt as getPayablesAnalyticsOptions, Rt as getPayablesAnalyticsQueryKey, I as getPayablesId, zt as getPayablesIdHistoryOptions, Bt as getPayablesIdHistoryQueryKey, L as getPayablesIdLineItems, Vt as getPayablesIdLineItemsOptions, Ht as getPayablesIdLineItemsQueryKey, Ut as getPayablesIdOptions, Wt as getPayablesIdQueryKey, Gt as getPayablesIdSuggestionsOptions, Kt as getPayablesOptions, qt as getPayablesQueryKey, R as getPaymentRecords, Jt as getPaymentRecordsOptions, Yt as getPaymentRecordsQueryKey, Xt as getProductsIdOptions, Zt as getProductsIdQueryKey, Qt as getProductsOptions, $t as getProductsQueryKey, en as getReceiptsIdQueryKey, tn as getReceiptsOptions, nn as getReceiptsQueryKey, rn as getReceivablesIdHistoryOptions, an as getReceivablesIdHistoryQueryKey, on as getReceivablesIdMailsOptions, sn as getReceivablesIdMailsQueryKey, cn as getReceivablesIdOptions, ln as getReceivablesIdPdfLinkOptions, un as getReceivablesIdPdfLinkQueryKey, dn as getReceivablesIdQueryKey, fn as getReceivablesOptions, pn as getReceivablesQueryKey, mn as getTagsOptions, hn as getTagsQueryKey, gn as getTransactionsIdQueryKey, _n as getTransactionsOptions, vn as getTransactionsQueryKey, yn as getTransactionsValidationsOptions, bn as getTransactionsValidationsQueryKey, z as getUsers, xn as getUsersOptions, Sn as getUsersQueryKey, Cn as getVelocityControlsQueryKey, wn as grantBankAccountAccessMutation, Tn as grantExternalBankAccountAccessMutation, Fe as hasAnyScope, t as invalidateAllClients, tr as isAllPagesResolving, Jn as isApiForbiddenError, Yn as isApiNotFoundError, c as isWidgetGatewayHost, En as linkExternalBankAccountMutation, B as listDepartments, Dn as listDepartmentsOptions, On as listDepartmentsQueryKey, V as listLocations, kn as listLocationsOptions, An as listLocationsQueryKey, H as listRoles, jn as listRolesQueryKey, U as manageBankAccountAccess, Mn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, Nn as patchApprovalPoliciesIdMutation, W as patchCounterpartsId, G as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, Pn as patchEntitiesIdSettingsMutation, Fn as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, In as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchTagsId, Ln as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, Rn as postLedgerAccountsMutation, ie as postMeasureUnits, ae as postPayables, oe as postPayablesIdApprovePaymentOperation, se as postPayablesIdAttachFile, ce as postPayablesIdCancel, le as postPayablesIdMarkAsPaid, ue as postPayablesIdReject, de as postPayablesIdReopen, fe as postPayablesIdSchedulePayment, pe as postPayablesIdSubmitForApproval, me as postPayablesIdValidate, he as postPayablesUploadFromFile, ge as postPaymentIntentsIdCancel, _e as postProducts, ve as postReceivables, ye as postReceivablesIdAccept, be as postReceivablesIdCancel, xe as postReceivablesIdClone, Se as postReceivablesIdDecline, Ce as postReceivablesIdIssue, we as postReceivablesIdMarkAsPaid, Te as postReceivablesIdMarkAsPartiallyPaid, Ee as postReceivablesIdMarkAsUncollectible, De as postReceivablesIdSend, Oe as postTags, ke as putPayablesIdLineItems, Ae as putReceivablesIdLineItems, zn as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Bn as submitApplicationMutation, Vn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, Hn as updateApplicationMutation, Un as updateBankAccountMutation, je as updateDepartment, Wn as updateExternalBankAccountMutation, Me as updateLocation, Ne as updateUser, fr as useAcceptWidgetDisclosures, rr as useAllBankAccountsQuery, ir as useAllExternalBankAccountsQuery, or as useAllLedgerAccountsQuery, ar as useAllMerchantCategoryGroupsQuery, lr as useAllOrganizationRolesQuery, dr as useAllOrganizationUsersQuery, nr as useAutoFetchNextPage, qn as useCurrentUserQuery, pr as useDisclosuresQuery, u as useEmbedApi, Xn as useGetUserDataQuery, sr as useLedgerAccountsQuery, cr as usePaymentTermsQuery, ur as useRolePermissionsQueries, Zn as useUpsertUserDataMutation, Gn as validateExternalBankAccountMutation, Kn as withAuthEpoch };
22
+ import { Scope as er } from "./lib/scopes.js";
23
+ import { getAllPagesNextPageParam as tr, getAllPagesNextPaginationTokenParam as nr, isAllPagesResolving as rr, useAutoFetchNextPage as ir } from "./lib/allPages.js";
24
+ import { useAllBankAccountsQuery as ar } from "./lib/bank-account/useAllBankAccountsQuery.js";
25
+ import { useAllExternalBankAccountsQuery as or } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
26
+ import { useAllMerchantCategoryGroupsQuery as sr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
27
+ import { useAllLedgerAccountsQuery as cr, useLedgerAccountsQuery as lr } from "./lib/reference-data/useLedgerAccountsQuery.js";
28
+ import { usePaymentTermsQuery as ur } from "./lib/reference-data/usePaymentTermsQuery.js";
29
+ import { useAllOrganizationRolesQuery as dr } from "./lib/role/useAllOrganizationRolesQuery.js";
30
+ import { useRolePermissionsQueries as fr } from "./lib/role/useRolePermissionsQueries.js";
31
+ import { useAllOrganizationUsersQuery as pr } from "./lib/user/useAllOrganizationUsersQuery.js";
32
+ import { useAcceptWidgetDisclosures as mr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
33
+ import { useDisclosuresQuery as hr } from "./lib/disclosures/useDisclosuresQuery.js";
34
+ export { l as EmbedApiProvider, er as Scope, p as bulkUpdateDepartmentMembers, m as bulkUpdateLocationMembers, h as bulkUpdateRoleMembers, e as cancelAllClients, o as cloneEmbeddedClient, Re as connectExternalBankAccountMutation, ze as createAchMoneyMovementMutation, Be as createApplicationMutation, Ve as createBankAccountMutation, He as createBookTransferMutation, Ue as createDebitCardMutation, g as createDepartment, s as createEmbeddedClient, _ as createLocation, v as createUser, We as createVelocityControlMutation, y as deactivateDepartment, b as deactivateLocation, Ge as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, Ke as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, qe as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Je as disableUserMutation, k as downloadBankAccountTransactions, Ie as fetchWidgetInit, tr as getAllPagesNextPageParam, nr as getAllPagesNextPaginationTokenParam, Ye as getAnalyticsPayablesOptions, Xe as getAnalyticsReceivablesOptions, A as getApplicationStatus, Ze as getApplicationStatusOptions, j as getApprovalPolicies, Qe as getApprovalPoliciesOptions, $e as getApprovalPoliciesQueryKey, M as getApprovalRequests, et as getApprovalRequestsOptions, tt as getApprovalRequestsQueryKey, N as getBankAccountAccess, nt as getBankAccountAccessQueryKey, rt as getBankAccountOptions, it as getBankAccountQueryKey, at as getBankAccountTransactionsOptions, ot as getBankAccountTransfersOptions, st as getBankAccountTransfersQueryKey, ct as getBankAccountsQueryKey, lt as getCounterpartsIdAddressesOptions, ut as getCounterpartsIdAddressesQueryKey, dt as getCounterpartsIdBankAccountsOptions, ft as getCounterpartsIdBankAccountsQueryKey, pt as getCounterpartsIdOptions, mt as getCounterpartsIdQueryKey, ht as getCounterpartsOptions, gt as getCounterpartsQueryKey, _t as getCreditCardByIdOptions, vt as getCreditCardsOptions, yt as getDebitCardByIdOptions, bt as getDebitCardCredentialsOptions, xt as getDebitCardsOptions, St as getDebitCardsQueryKey, P as getDepartment, Ct as getDepartmentOptions, wt as getDepartmentQueryKey, Tt as getEntitiesIdSettingsOptions, Et as getEntitiesIdSettingsQueryKey, Dt as getEntitiesMeOptions, Ot as getEntityUsersMyEntityOptions, kt as getEntityUsersOptions, F as getExternalBankAccountAccess, At as getExternalBankAccountAccessQueryKey, jt as getExternalBankAccountsOptions, Mt as getExternalBankAccountsQueryKey, Nt as getLedgerAccountsQueryKey, I as getLocation, Pt as getLocationOptions, Ft as getLocationQueryKey, It as getMeasureUnitsOptions, Lt as getMeasureUnitsQueryKey, Rt as getOrganizationOptions, zt as getPayablesAnalyticsOptions, Bt as getPayablesAnalyticsQueryKey, L as getPayablesId, R as getPayablesIdHistory, Vt as getPayablesIdHistoryOptions, Ht as getPayablesIdHistoryQueryKey, z as getPayablesIdLineItems, Ut as getPayablesIdLineItemsOptions, Wt as getPayablesIdLineItemsQueryKey, Gt as getPayablesIdOptions, Kt as getPayablesIdQueryKey, qt as getPayablesIdSuggestionsOptions, Jt as getPayablesOptions, Yt as getPayablesQueryKey, B as getPaymentRecords, Xt as getPaymentRecordsOptions, Zt as getPaymentRecordsQueryKey, Qt as getProductsIdOptions, $t as getProductsIdQueryKey, en as getProductsOptions, tn as getProductsQueryKey, nn as getReceiptsIdQueryKey, rn as getReceiptsOptions, an as getReceiptsQueryKey, on as getReceivablesIdHistoryOptions, sn as getReceivablesIdHistoryQueryKey, cn as getReceivablesIdMailsOptions, ln as getReceivablesIdMailsQueryKey, un as getReceivablesIdOptions, dn as getReceivablesIdPdfLinkOptions, fn as getReceivablesIdPdfLinkQueryKey, pn as getReceivablesIdQueryKey, mn as getReceivablesOptions, hn as getReceivablesQueryKey, gn as getTagsOptions, _n as getTagsQueryKey, vn as getTransactionsIdQueryKey, yn as getTransactionsOptions, bn as getTransactionsQueryKey, xn as getTransactionsValidationsOptions, Sn as getTransactionsValidationsQueryKey, V as getUsers, Cn as getUsersOptions, wn as getUsersQueryKey, Tn as getVelocityControlsQueryKey, En as grantBankAccountAccessMutation, Dn as grantExternalBankAccountAccessMutation, Le as hasAnyScope, t as invalidateAllClients, rr as isAllPagesResolving, Xn as isApiForbiddenError, Zn as isApiNotFoundError, c as isWidgetGatewayHost, On as linkExternalBankAccountMutation, H as listDepartments, kn as listDepartmentsOptions, An as listDepartmentsQueryKey, U as listLocations, jn as listLocationsOptions, Mn as listLocationsQueryKey, W as listRoles, Nn as listRolesQueryKey, G as manageBankAccountAccess, Pn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, Fn as patchApprovalPoliciesIdMutation, K as patchCounterpartsId, q as patchCounterpartsIdAddressesId, J as patchCounterpartsIdBankAccountsId, In as patchEntitiesIdSettingsMutation, Ln as patchLedgerAccountsIdMutation, Y as patchMeasureUnitsId, X as patchPayablesId, Z as patchProductsId, Rn as patchReceiptsIdMutation, Q as patchReceivablesId, $ as patchTagsId, zn as postApprovalPoliciesMutation, ee as postApprovalRequestsIdApprove, te as postApprovalRequestsIdReject, ne as postCounterparts, re as postCounterpartsIdAddresses, ie as postCounterpartsIdBankAccounts, ae as postCounterpartsIdBankAccountsIdMakeDefault, Bn as postLedgerAccountsMutation, oe as postMeasureUnits, se as postPayables, ce as postPayablesIdApprovePaymentOperation, le as postPayablesIdAttachFile, ue as postPayablesIdCancel, de as postPayablesIdMarkAsPaid, fe as postPayablesIdReject, pe as postPayablesIdReopen, me as postPayablesIdSchedulePayment, he as postPayablesIdSubmitForApproval, ge as postPayablesIdValidate, _e as postPayablesUploadFromFile, ve as postPaymentIntentsIdCancel, ye as postProducts, be as postReceivables, xe as postReceivablesIdAccept, Se as postReceivablesIdCancel, Ce as postReceivablesIdClone, we as postReceivablesIdDecline, Te as postReceivablesIdIssue, Ee as postReceivablesIdMarkAsPaid, De as postReceivablesIdMarkAsPartiallyPaid, Oe as postReceivablesIdMarkAsUncollectible, ke as postReceivablesIdSend, Ae as postTags, je as putPayablesIdLineItems, Me as putReceivablesIdLineItems, Vn as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Hn as submitApplicationMutation, Un as unlinkExternalBankAccountMutation, a as unregisterQueryClient, Wn as updateApplicationMutation, Gn as updateBankAccountMutation, Ne as updateDepartment, Kn as updateExternalBankAccountMutation, Pe as updateLocation, Fe as updateUser, mr as useAcceptWidgetDisclosures, ar as useAllBankAccountsQuery, or as useAllExternalBankAccountsQuery, cr as useAllLedgerAccountsQuery, sr as useAllMerchantCategoryGroupsQuery, dr as useAllOrganizationRolesQuery, pr as useAllOrganizationUsersQuery, ir as useAutoFetchNextPage, Yn as useCurrentUserQuery, hr as useDisclosuresQuery, u as useEmbedApi, Qn as useGetUserDataQuery, lr as useLedgerAccountsQuery, ur as usePaymentTermsQuery, fr as useRolePermissionsQueries, $n as useUpsertUserDataMutation, qn as validateExternalBankAccountMutation, Jn as withAuthEpoch };
@@ -1,5 +1,5 @@
1
1
  //#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.3.38", n = "7a64fdfcc04902cd65bace1dd767edac043debe5", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.40", n = "80aac9cf53d8b3c3e7b9263ec2497dcf449f2628", r = Object.freeze({
3
3
  library_name: e,
4
4
  library_version: t,
5
5
  library_sha: n
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tesouro/embedded-components-react",
3
- "version": "0.3.38",
3
+ "version": "0.3.40",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {