@tesouro/embedded-components-react 0.11.87 → 0.11.89

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 (35) hide show
  1. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index.js +19 -19
  2. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index10.js +3 -3
  3. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index11.js +5 -7
  4. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index12.js +2 -2
  5. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index13.js +4 -3
  6. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index14.js +13 -27
  7. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index15.js +30 -17
  8. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index16.js +23 -16
  9. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index17.js +26 -12
  10. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index18.js +12 -57
  11. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index19.js +48 -29
  12. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index20.js +35 -16
  13. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index21.js +13 -37
  14. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index22.js +31 -14
  15. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index23.js +26 -2
  16. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index24.js +2 -0
  17. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index4.js +8 -76
  18. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index5.js +60 -19
  19. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index6.js +6 -5
  20. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index7.js +12 -17
  21. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index8.js +20 -14
  22. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/data-access/dist/index9.js +16 -18
  23. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index19.js +5 -5
  24. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index21.js +1 -1
  25. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index22.js +1 -1
  26. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index28.js +1 -0
  27. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index29.js +1 -1
  28. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index32.js +1 -1
  29. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index33.js +1 -1
  30. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js +126 -108
  31. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index4.js +1 -1
  32. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index41.js +2 -2
  33. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index44.js +2 -2
  34. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  35. package/package.json +1 -1
@@ -5,46 +5,59 @@
5
5
  import { toast as e } from "../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import { extractApiErrorMessage as t } from "../../../../shared/util/dist/lib/apiErrors.js";
7
7
  import "../../../../shared/util/dist/index.js";
8
+ import { isApiConflictError as n } from "../../../../shared/data-access/dist/lib/isApiConflictError.js";
9
+ import { isApiUnprocessableError as r } from "../../../../shared/data-access/dist/lib/isApiUnprocessableError.js";
10
+ import "../../../../shared/data-access/dist/index.js";
8
11
  import "../../../../shared/ui/dist/index.js";
9
- import { BILL_CREATE_MESSAGE_LABELS_EN as n } from "./index28.js";
10
- import { encodeFileToBase64 as r } from "./index34.js";
11
- import { mapBillFormToPayload as i, mapLineItemsToPayload as a, mapPayableAmountFieldsToPayload as o } from "./index35.js";
12
- import { validateBillCompleteness as s, validateBillTotalIsPayable as c, validateBillTotals as l, validateBillValues as u, validateLineItems as d, validateStoredAmountDue as ee } from "./index36.js";
13
- import { useReplacePayableLineItemsMutation as f } from "../../data-access/dist/index4.js";
14
- import { useCreatePayableMutation as p } from "../../data-access/dist/index8.js";
15
- import { useDeletePayableFileMutation as m } from "../../data-access/dist/index9.js";
16
- import { useSubmitPayableForApprovalMutation as h } from "../../data-access/dist/index14.js";
17
- import { useUpdatePayableMutation as g } from "../../data-access/dist/index15.js";
18
- import { useValidatePayableMutation as te } from "../../data-access/dist/index16.js";
12
+ import { BILL_CREATE_MESSAGE_LABELS_EN as i } from "./index28.js";
13
+ import { encodeFileToBase64 as a } from "./index34.js";
14
+ import { mapBillFormToPayload as o, mapLineItemsToPayload as s, mapPayableAmountFieldsToPayload as c } from "./index35.js";
15
+ import { validateBillCompleteness as l, validateBillTotalIsPayable as u, validateBillTotals as d, validateBillValues as f, validateLineItems as p, validateStoredAmountDue as ee } from "./index36.js";
16
+ import { useReplacePayableLineItemsMutation as m } from "../../data-access/dist/index5.js";
17
+ import { useCreatePayableMutation as h } from "../../data-access/dist/index9.js";
18
+ import { useDeletePayableFileMutation as g } from "../../data-access/dist/index10.js";
19
+ import { useSubmitPayableForApprovalMutation as te } from "../../data-access/dist/index15.js";
20
+ import { useUpdatePayableMutation as ne } from "../../data-access/dist/index16.js";
21
+ import { useValidatePayableMutation as re } from "../../data-access/dist/index17.js";
19
22
  import "../../data-access/dist/index.js";
20
- import { useCallback as _, useRef as ne, useState as v } from "react";
23
+ import { useCallback as _, useRef as v, useState as y } from "react";
21
24
  // ../../libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index37.js
22
- var y = {
25
+ var b = {
23
26
  document_id: "invoiceNumber",
24
27
  issued_at: "invoiceDate",
25
28
  due_date: "dueDate",
26
29
  counterpart_id: "vendor",
27
30
  purchase_order_number: "poNumber"
28
- }, b = { tax_amount: "tax" };
29
- function x(e) {
31
+ }, x = { tax_amount: "tax" };
32
+ function S(e) {
30
33
  return e.type === "type_error.none.not_allowed" || e.msg === "none is not an allowed value";
31
34
  }
32
- var re = "pending-vendor";
33
- function S(e) {
35
+ var ie = "pending-vendor";
36
+ function C(e) {
34
37
  return !!t(e)?.includes("line_items_enabled");
35
38
  }
36
- function ie(e) {
39
+ function w(e) {
37
40
  return !!t(e)?.includes("A vendor could not be linked or created for this payable");
38
41
  }
39
- function C(e, t = n) {
40
- let r = {}, i = {}, a = [];
41
- for (let n of e) {
42
- let e = n.loc[0] ?? t.unknownValidationField, o = y[e], s = b[e], c = x(n) ? t.requiredField : n.msg;
43
- o ? r[o] = c : s ? i[s] = c : a.push(t.unmappedValidationError(e, c));
42
+ function T(e) {
43
+ if (!n(e) && !r(e) || typeof e != "object" || !e || !("error" in e)) return;
44
+ let t = e.error;
45
+ if (typeof t == "object" && t && "message" in t) return typeof t.message == "string" && t.message.trim() ? t.message : void 0;
46
+ }
47
+ function E(e, t) {
48
+ if (C(e)) return t.discountTaxBlockedByLineItems;
49
+ let n = T(e);
50
+ return n ? t.saveRejected(n) : t.saveFailed;
51
+ }
52
+ function D(e, t = i) {
53
+ let n = {}, r = {}, a = [];
54
+ for (let i of e) {
55
+ let e = i.loc[0] ?? t.unknownValidationField, o = b[e], s = x[e], c = S(i) ? t.requiredField : i.msg;
56
+ o ? n[o] = c : s ? r[s] = c : a.push(t.unmappedValidationError(e, c));
44
57
  }
45
- return a.length && (r.form = a.join(" ")), {
46
- formErrors: r,
47
- totalsErrors: Object.keys(i).length ? i : void 0
58
+ return a.length && (n.form = a.join(" ")), {
59
+ formErrors: n,
60
+ totalsErrors: Object.keys(r).length ? r : void 0
48
61
  };
49
62
  }
50
63
  function ae(e, t) {
@@ -56,76 +69,76 @@ function ae(e, t) {
56
69
  };
57
70
  return n;
58
71
  }
59
- function w({ payableId: t, form: y, counterpartId: b, isVendorPending: x, onVendorIncomplete: w, clearCounterpart: T, prepareVendorForSave: E, onSaved: D, onPayableCreated: O, readSavedStatus: k, onDraftSaved: A, onFinalized: j, labels: M }) {
72
+ function O({ payableId: t, form: n, counterpartId: r, isVendorPending: b, onVendorIncomplete: x, clearCounterpart: S, prepareVendorForSave: C, onSaved: T, onPayableCreated: O, readSavedStatus: k, onDraftSaved: A, onFinalized: j, labels: M }) {
60
73
  let N = {
61
- ...n,
74
+ ...i,
62
75
  ...M
63
- }, [P, F] = v(), I = t ?? P, [L, R] = v(), oe = _(() => R(void 0), []), [z, B] = v(!1), se = _(() => B(!0), []), [V, H] = v(), U = ne(!1), [ce, le] = v(0), W = _(() => le((e) => e + 1), []), G = p(), K = m(), q = g(), J = f(), Y = te(), X = h(), Z = _(() => y.isTotalsDirty ? l(y.discount, y.tax, y.totalOverride, N) : void 0, [y, N]), Q = _(() => {
64
- let t = u(y.values, N), n = d(y.lineItems, N), r = Z();
65
- return y.setErrors(t), y.setLineItemErrors(n), y.setTotalsErrors(r), !t && !n && !r || (n && e.error(N.lineItemsNeedAttention), W(), !1);
76
+ }, [P, F] = y(), I = t ?? P, [L, R] = y(), oe = _(() => R(void 0), []), [z, B] = y(!1), se = _(() => B(!0), []), [V, H] = y(), U = v(!1), [ce, le] = y(0), W = _(() => le((e) => e + 1), []), G = h(), K = g(), q = ne(), J = m(), Y = re(), X = te(), Z = _(() => n.isTotalsDirty ? d(n.discount, n.tax, n.totalOverride, N) : void 0, [n, N]), Q = _(() => {
77
+ let t = f(n.values, N), r = p(n.lineItems, N), i = Z();
78
+ return n.setErrors(t), n.setLineItemErrors(r), n.setTotalsErrors(i), !t && !r && !i || (r && e.error(N.lineItemsNeedAttention), W(), !1);
66
79
  }, [
67
- y,
80
+ n,
68
81
  N,
69
82
  W,
70
83
  Z
71
- ]), $ = _(async (e, t, n) => {
72
- let s = !I && L ? {
73
- base64EncodedFile: await r(L),
84
+ ]), $ = _(async (e, t, i) => {
85
+ let l = !I && L ? {
86
+ base64EncodedFile: await a(L),
74
87
  fileName: L.name
75
- } : void 0, c = y.isTotalsDirty ? {
76
- discount: y.discount,
77
- tax: y.tax,
78
- total: y.totalOverride
79
- } : void 0, l = i({
80
- values: y.values,
81
- initialLineItems: I ? void 0 : y.lineItems,
82
- counterpartId: t ?? b,
83
- clearCounterpart: T,
88
+ } : void 0, u = n.isTotalsDirty ? {
89
+ discount: n.discount,
90
+ tax: n.tax,
91
+ total: n.totalOverride
92
+ } : void 0, d = o({
93
+ values: n.values,
94
+ initialLineItems: I ? void 0 : n.lineItems,
95
+ counterpartId: t ?? r,
96
+ clearCounterpart: S,
84
97
  counterpartBankAccountId: e,
85
98
  currentTotals: {
86
- discount: y.discount,
87
- tax: y.tax,
88
- total: y.totalOverride
99
+ discount: n.discount,
100
+ tax: n.tax,
101
+ total: n.totalOverride
89
102
  },
90
- lineItems: y.lineItems,
91
- editedTotals: c,
92
- document: s
93
- }), u = n ? {
94
- ...l,
95
- counterpart_raw_data: n
96
- } : l, d = I;
97
- if (d ? await q.mutateAsync({
98
- path: { payable_id: d },
99
- body: u
100
- }) : (d = (await G.mutateAsync({ body: u }))?.id, d && (F(d), O?.(d), s && R(void 0))), !d) throw Error("Payable was created without an id");
103
+ lineItems: n.lineItems,
104
+ editedTotals: u,
105
+ document: l
106
+ }), f = i ? {
107
+ ...d,
108
+ counterpart_raw_data: i
109
+ } : d, p = I;
110
+ if (p ? await q.mutateAsync({
111
+ path: { payable_id: p },
112
+ body: f
113
+ }) : (p = (await G.mutateAsync({ body: f }))?.id, p && (F(p), O?.(p), l && R(void 0))), !p) throw Error("Payable was created without an id");
101
114
  if (z) {
102
115
  try {
103
- await K.mutateAsync({ path: { payable_id: d } });
116
+ await K.mutateAsync({ path: { payable_id: p } });
104
117
  } catch {}
105
118
  B(!1);
106
119
  }
107
120
  return await J.mutateAsync({
108
- path: { payable_id: d },
109
- body: { data: a(y.lineItems) }
110
- }), c && await q.mutateAsync({
111
- path: { payable_id: d },
112
- body: o({
113
- lineItems: y.lineItems,
114
- editedTotals: c
121
+ path: { payable_id: p },
122
+ body: { data: s(n.lineItems) }
123
+ }), u && await q.mutateAsync({
124
+ path: { payable_id: p },
125
+ body: c({
126
+ lineItems: n.lineItems,
127
+ editedTotals: u
115
128
  })
116
- }), d;
129
+ }), p;
117
130
  }, [
118
- b,
119
- T,
131
+ r,
132
+ S,
120
133
  G,
121
134
  K,
122
135
  z,
123
- y.discount,
124
- y.isTotalsDirty,
125
- y.lineItems,
126
- y.tax,
127
- y.totalOverride,
128
- y.values,
136
+ n.discount,
137
+ n.isTotalsDirty,
138
+ n.lineItems,
139
+ n.tax,
140
+ n.totalOverride,
141
+ n.values,
129
142
  O,
130
143
  I,
131
144
  J,
@@ -139,83 +152,88 @@ function w({ payableId: t, form: y, counterpartId: b, isVendorPending: x, onVend
139
152
  if (!U.current && Q()) {
140
153
  U.current = !0, H("draft");
141
154
  try {
142
- let t = await E?.({ allowIncompleteVendor: !0 });
155
+ let t = await C?.({ allowIncompleteVendor: !0 });
143
156
  if (t && !t.ok) return;
144
- let n = await $(t?.counterpartBankAccountId, t?.counterpartId, t?.counterpartRawData);
145
- y.setErrors(void 0), D?.(n), A?.(n);
146
- let r = await k?.();
147
- return e.success(r === "draft" ? N.submittedDemoted : N.draftSaved), n;
157
+ let r = await $(t?.counterpartBankAccountId, t?.counterpartId, t?.counterpartRawData);
158
+ n.setErrors(void 0), T?.(r), A?.(r);
159
+ let i = await k?.();
160
+ return e.success(i === "draft" ? N.submittedDemoted : N.draftSaved), r;
148
161
  } catch (e) {
149
- y.setSaveFailureMessage(S(e) ? N.discountTaxBlockedByLineItems : N.saveFailed), W();
162
+ n.setSaveFailureMessage(E(e, {
163
+ discountTaxBlockedByLineItems: N.discountTaxBlockedByLineItems,
164
+ saveFailed: N.saveFailed,
165
+ saveRejected: N.saveRejected
166
+ })), W();
150
167
  return;
151
168
  } finally {
152
169
  H(void 0), U.current = !1;
153
170
  }
154
171
  }
155
172
  }, [
156
- y,
173
+ n,
157
174
  Q,
158
175
  N.discountTaxBlockedByLineItems,
159
176
  N.draftSaved,
160
177
  N.saveFailed,
178
+ N.saveRejected,
161
179
  N.submittedDemoted,
162
180
  A,
163
- D,
181
+ T,
164
182
  k,
165
- E,
183
+ C,
166
184
  $,
167
185
  W
168
186
  ]),
169
187
  finalize: _(async () => {
170
188
  if (U.current) return;
171
- let t = d(y.lineItems, N), n = u(y.values, N), r = Z(), i = c(y.total, N), a = y.isTotalsDirty ? ee(y.totalOverride, N) : void 0, o = r || i || a ? {
172
- ...a,
173
- ...i,
174
- ...r
175
- } : void 0, { formErrors: l, lineItemErrors: f } = s(y.values, b ?? (x ? re : void 0), y.lineItems, N), p = ae(f, t);
176
- y.setLineItemErrors(p), y.setTotalsErrors(o);
177
- let m = {
178
- ...l,
179
- ...n
189
+ let t = p(n.lineItems, N), i = f(n.values, N), a = Z(), o = u(n.total, N), s = n.isTotalsDirty ? ee(n.totalOverride, N) : void 0, c = a || o || s ? {
190
+ ...s,
191
+ ...o,
192
+ ...a
193
+ } : void 0, { formErrors: d, lineItemErrors: m } = l(n.values, r ?? (b ? ie : void 0), n.lineItems, N), h = ae(m, t);
194
+ n.setLineItemErrors(h), n.setTotalsErrors(c);
195
+ let g = {
196
+ ...d,
197
+ ...i
180
198
  };
181
- if (y.setErrors(Object.keys(m).length ? m : void 0), t && e.error(N.lineItemsNeedAttention), p || o || Object.keys(m).length) m.vendor && w?.(), W();
199
+ if (n.setErrors(Object.keys(g).length ? g : void 0), t && e.error(N.lineItemsNeedAttention), h || c || Object.keys(g).length) g.vendor && x?.(), W();
182
200
  else {
183
201
  U.current = !0, H("finalize");
184
202
  try {
185
203
  let t;
186
204
  try {
187
- let e = await E?.();
205
+ let e = await C?.();
188
206
  if (e && !e.ok) return;
189
207
  t = await $(e?.counterpartBankAccountId, e?.counterpartId);
190
208
  } catch (e) {
191
- y.setSaveFailureMessage(S(e) ? N.discountTaxBlockedByLineItems : N.saveFailed), W();
209
+ n.setSaveFailureMessage(E(e, N)), W();
192
210
  return;
193
211
  }
194
- D?.(t);
212
+ T?.(t);
195
213
  try {
196
- let n = await Y.mutateAsync({ path: { payable_id: t } });
197
- if (n.validation_errors.length) {
198
- let e = C(n.validation_errors, N);
199
- y.setErrors(e.formErrors), y.setTotalsErrors(e.totalsErrors), W();
214
+ let r = await Y.mutateAsync({ path: { payable_id: t } });
215
+ if (r.validation_errors.length) {
216
+ let e = D(r.validation_errors, N);
217
+ n.setErrors(e.formErrors), n.setTotalsErrors(e.totalsErrors), W();
200
218
  return;
201
219
  }
202
- await X.mutateAsync({ path: { payable_id: t } }), y.setErrors(void 0), j?.(t), e.success(N.billFinalized);
220
+ await X.mutateAsync({ path: { payable_id: t } }), n.setErrors(void 0), j?.(t), e.success(N.billFinalized);
203
221
  } catch (e) {
204
- ie(e) ? y.setErrors({ vendor: N.vendorResolutionFailed }) : y.setSaveFailureMessage(N.finalizeFailed), W();
222
+ w(e) ? n.setErrors({ vendor: N.vendorResolutionFailed }) : n.setSaveFailureMessage(N.finalizeFailed), W();
205
223
  }
206
224
  } finally {
207
225
  H(void 0), U.current = !1;
208
226
  }
209
227
  }
210
228
  }, [
229
+ r,
211
230
  b,
212
- x,
213
- y,
231
+ n,
214
232
  N,
215
233
  j,
216
- D,
217
- w,
218
- E,
234
+ T,
235
+ x,
236
+ C,
219
237
  $,
220
238
  W,
221
239
  X,
@@ -236,4 +254,4 @@ function w({ payableId: t, form: y, counterpartId: b, isVendorPending: x, onVend
236
254
  hasFileDeletionFailed: K.isError
237
255
  };
238
256
  }
239
- export { C as mapValidationErrorsToForm, w as useBillCreateController };
257
+ export { D as mapValidationErrorsToForm, O as useBillCreateController };
@@ -18,7 +18,7 @@ import "../../../util/dist/index.js";
18
18
  import { derivePayableStatus as d } from "../../../../shared/document-status/util/dist/lib/derivePayableStatus.js";
19
19
  import { useApplyDuplicateVerdictsMutation as f } from "../../../data-access/dist/lib/useApplyDuplicateVerdictsMutation.js";
20
20
  import "../../../data-access/dist/index.js";
21
- import { usePayablesByIdsQueries as p } from "../../data-access/dist/index22.js";
21
+ import { usePayablesByIdsQueries as p } from "../../data-access/dist/index23.js";
22
22
  import "../../data-access/dist/index.js";
23
23
  import { DUPLICATE_BILLS_LABELS_EN as m } from "./index3.js";
24
24
  import { useCallback as h, useMemo as g, useState as _ } from "react";
@@ -26,8 +26,8 @@ import { ExtractionNotice as fe } from "../../ui/dist/index46.js";
26
26
  import { UnsavedBillDialog as pe } from "../../ui/dist/index52.js";
27
27
  import "../../ui/dist/index.js";
28
28
  import { BILL_CREATE_MESSAGE_LABELS_EN as me, mergeBillDialogCopy as he } from "./index28.js";
29
- import { useAllPayableLineItemsQuery as ge } from "../../data-access/dist/index4.js";
30
- import { usePayableQuery as _e } from "../../data-access/dist/index21.js";
29
+ import { useAllPayableLineItemsQuery as ge } from "../../data-access/dist/index5.js";
30
+ import { usePayableQuery as _e } from "../../data-access/dist/index22.js";
31
31
  import "../../data-access/dist/index.js";
32
32
  import { useBillCreateController as ve } from "./index37.js";
33
33
  import { useBillForm as ye } from "./index39.js";
@@ -18,8 +18,8 @@ import "../../../ui/dist/index.js";
18
18
  import { BillDetailsSheet as c } from "../../ui/dist/index34.js";
19
19
  import { BillDuplicateNotice as l } from "../../ui/dist/index37.js";
20
20
  import "../../ui/dist/index.js";
21
- import { useAllPayableLineItemsQuery as u } from "../../data-access/dist/index4.js";
22
- import { usePayableQuery as d } from "../../data-access/dist/index21.js";
21
+ import { useAllPayableLineItemsQuery as u } from "../../data-access/dist/index5.js";
22
+ import { usePayableQuery as d } from "../../data-access/dist/index22.js";
23
23
  import "../../data-access/dist/index.js";
24
24
  import { buildPaymentHistory as f } from "./index2.js";
25
25
  import { canOverrideApprovalPolicy as p, canReadCounterpartBankAccounts as m } from "./index5.js";
@@ -1,5 +1,5 @@
1
1
  // ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
2
- var e = "@tesouro/embedded-components-react", t = "0.11.87", n = "53df41cdf627cda1e94c3b89c91905186a5e4bd0", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.11.89", n = "16bf9a2f26330727abc163e9e3fad7f1dc4d12dd", 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.11.87",
3
+ "version": "0.11.89",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "sideEffects": [