@tesouro/embedded-components-react 0.3.23 → 0.3.24

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.
@@ -4,7 +4,7 @@
4
4
  "use client";
5
5
  import { useEmbedApi as e } from "../../../shared/data-access/dist/lib/EmbedApiContext.js";
6
6
  import { organizationHeaders as t } from "../../../shared/data-access/dist/lib/organizationHeaders.js";
7
- import { deleteFilesId as n, deletePayablesId as r, patchPayablesId as i, postPayables as a, postPayablesIdApprovePaymentOperation as o, postPayablesIdAttachFile as s, postPayablesIdCancel as c, postPayablesIdMarkAsPaid as l, postPayablesIdReject as u, postPayablesIdReopen as d, postPayablesIdSubmitForApproval as f, postPayablesIdValidate as p, postPayablesUploadFromFile as m, postPaymentRecordsIdCancel as h } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
7
+ import { deletePayablesId as n, deletePayablesIdFile as r, patchPayablesId as i, postPayables as a, postPayablesIdApprovePaymentOperation as o, postPayablesIdAttachFile as s, postPayablesIdCancel as c, postPayablesIdMarkAsPaid as l, postPayablesIdReject as u, postPayablesIdReopen as d, postPayablesIdSubmitForApproval as f, postPayablesIdValidate as p, postPayablesUploadFromFile as m, postPaymentRecordsIdCancel as h } from "../../../shared/data-access/dist/lib/rest/sdk.gen.js";
8
8
  import "../../../shared/data-access/dist/index.js";
9
9
  import { invalidateDeletedPayableQueries as g, invalidatePayableQueries as _, reconcileCancelledPaymentQueries as v } from "./index4.js";
10
10
  import { useMutation as y } from "@tanstack/react-query";
@@ -52,11 +52,11 @@ function x() {
52
52
  });
53
53
  }
54
54
  function S() {
55
- let { client: n, organizationId: i } = e();
55
+ let { client: r, organizationId: i } = e();
56
56
  return y({
57
57
  mutationFn: async ({ path: e }) => {
58
- await r({
59
- client: n,
58
+ await n({
59
+ client: r,
60
60
  headers: t(i),
61
61
  path: e,
62
62
  throwOnError: !0
@@ -64,7 +64,7 @@ function S() {
64
64
  },
65
65
  onSuccess: async (e, t) => {
66
66
  await g({
67
- client: n,
67
+ client: r,
68
68
  organizationId: i,
69
69
  payableId: t.path.payable_id
70
70
  });
@@ -126,11 +126,11 @@ function w() {
126
126
  });
127
127
  }
128
128
  function T() {
129
- let { client: r, organizationId: i } = e();
129
+ let { client: n, organizationId: i } = e();
130
130
  return y({
131
131
  mutationFn: async ({ path: e }) => {
132
- await n({
133
- client: r,
132
+ await r({
133
+ client: n,
134
134
  headers: t(i),
135
135
  path: e,
136
136
  throwOnError: !0
@@ -138,9 +138,9 @@ function T() {
138
138
  },
139
139
  onSuccess: async (e, t) => {
140
140
  await _({
141
- client: r,
141
+ client: n,
142
142
  organizationId: i,
143
- payableId: t.payableId
143
+ payableId: t.path.payable_id
144
144
  });
145
145
  }
146
146
  });
@@ -29,7 +29,9 @@ var l = {
29
29
  vendorDetailsFailed: "We could not load this vendor. Try again."
30
30
  }, d = {
31
31
  attachFailed: "We could not attach that file. Try again.",
32
+ deleteFailed: "We could not remove that document. Try again.",
32
33
  noDocument: "No document attached to this bill.",
34
+ pendingDeletionNotice: "This document will be removed when you save this bill.",
33
35
  preview: c
34
36
  }, f = {
35
37
  notProvided: "Not provided",
@@ -4,16 +4,16 @@
4
4
  "use client";
5
5
  import { SourceDocumentPanel as e } from "../../ui/dist/index90.js";
6
6
  import "../../ui/dist/index.js";
7
- import { useAttachPayableFileMutation as t, useDeletePayableFileMutation as n } from "../../data-access/dist/index10.js";
7
+ import { useAttachPayableFileMutation as t } from "../../data-access/dist/index10.js";
8
8
  import "../../data-access/dist/index.js";
9
- import { createSourceDocumentPreview as r } from "./index30.js";
10
- import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as i } from "./index31.js";
11
- import { useEffect as a, useState as o } from "react";
12
- import { jsx as s } from "react/jsx-runtime";
9
+ import { createSourceDocumentPreview as n } from "./index30.js";
10
+ import { SOURCE_DOCUMENT_CONTAINER_LABELS_EN as r } from "./index31.js";
11
+ import { useEffect as i, useState as a } from "react";
12
+ import { jsx as o } from "react/jsx-runtime";
13
13
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js
14
- function c(e) {
15
- let [t, n] = o();
16
- return a(() => {
14
+ function s(e) {
15
+ let [t, n] = a();
16
+ return i(() => {
17
17
  if (!e) {
18
18
  n(void 0);
19
19
  return;
@@ -22,50 +22,59 @@ function c(e) {
22
22
  return n(t), () => URL.revokeObjectURL(t);
23
23
  }, [e]), t;
24
24
  }
25
- function l({ payableId: a, file: o, isDocumentPending: l, pendingFileName: u, readOnly: d, staging: f, labels: p }) {
26
- let { stagedFile: m, onFileStaged: h, onClearStagedFile: g, isSaving: _ } = f ?? {}, v = {
27
- ...i,
25
+ function c({ payableId: i, file: a, isDocumentPending: c, pendingFileName: l, readOnly: u, staging: d, deletion: f, labels: p }) {
26
+ let { stagedFile: m, onFileStaged: h, onClearStagedFile: g, isSaving: _ } = d ?? {}, { isPending: v, onRequest: y, onDetachNow: b, isDeleting: x, hasFailed: S } = f ?? {}, C = {
27
+ ...r,
28
28
  ...p,
29
29
  preview: {
30
- ...i.preview,
30
+ ...r.preview,
31
31
  ...p?.preview
32
32
  }
33
- }, y = t(), b = n(), x = c(m), S = !!(o || m);
34
- if (!S && (l || y.isPending)) return /* @__PURE__ */ s(e, {
33
+ }, w = t(), T = s(m), E = !!(a && !v || m);
34
+ if (!E && (c || w.isPending)) return /* @__PURE__ */ o(e, {
35
35
  mode: "loading",
36
- fileName: u
36
+ fileName: l
37
37
  });
38
- if (!S && d) return /* @__PURE__ */ s("div", {
38
+ if (!E && u) return /* @__PURE__ */ o("div", {
39
39
  className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4 ttw:text-sm ttw:text-muted-foreground",
40
- children: v.noDocument
40
+ children: C.noDocument
41
41
  });
42
- if (!S) return /* @__PURE__ */ s(e, {
42
+ if (!E) return /* @__PURE__ */ o(e, {
43
43
  mode: "upload",
44
- uploadStatus: y.isPending ? "uploading" : "idle",
45
- uploadErrorMessage: y.isError ? v.attachFailed : void 0,
44
+ uploadStatus: w.isPending || x ? "uploading" : "idle",
45
+ uploadErrorMessage: w.isError ? C.attachFailed : S ? C.deleteFailed : void 0,
46
+ noticeMessage: v && !S ? C.pendingDeletionNotice : void 0,
46
47
  onFilesSelected: (e) => {
47
48
  let [t] = e;
48
- t && (a ? y.mutate({
49
- path: { payable_id: a },
50
- file: t
51
- }) : h?.(t));
49
+ if (t) {
50
+ if (i) {
51
+ let e = () => w.mutate({
52
+ path: { payable_id: i },
53
+ file: t
54
+ });
55
+ if (v && b) {
56
+ b().then(e, () => void 0);
57
+ return;
58
+ }
59
+ e();
60
+ } else h?.(t);
61
+ }
52
62
  }
53
63
  });
54
- let C = o?.name ?? m?.name ?? "", w = r(o || {
55
- name: C,
56
- url: x ?? "",
64
+ let D = a?.name ?? m?.name ?? "", O = n(a || {
65
+ name: D,
66
+ url: T ?? "",
57
67
  mimetype: m?.type ?? ""
58
- }, v.preview);
59
- return /* @__PURE__ */ s(e, {
68
+ }, C.preview);
69
+ return /* @__PURE__ */ o(e, {
60
70
  mode: "document",
61
- fileName: C,
62
- preview: w,
63
- onDownload: o ? () => window.open(o.url, "_blank", "noopener,noreferrer") : void 0,
64
- onDelete: d ? void 0 : o && a ? () => b.mutate({
65
- path: { file_id: o.id },
66
- payableId: a
67
- }) : _ ? void 0 : g
71
+ fileName: D,
72
+ preview: O,
73
+ isDeleting: x,
74
+ deleteErrorMessage: S ? C.deleteFailed : void 0,
75
+ onDownload: a ? () => window.open(a.url, "_blank", "noopener,noreferrer") : void 0,
76
+ onDelete: u ? void 0 : a && i ? y : _ ? void 0 : g
68
77
  });
69
78
  }
70
79
  //#endregion
71
- export { l as SourceDocumentContainer, l as default };
80
+ export { c as SourceDocumentContainer, c as default };
@@ -5,32 +5,32 @@
5
5
  import { toast as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
6
  import "../../../shared/ui/dist/index.js";
7
7
  import { useReplacePayableLineItemsMutation as t } from "../../data-access/dist/index7.js";
8
- import { useCreatePayableMutation as n, useSubmitPayableForApprovalMutation as r, useUpdatePayableMutation as i, useValidatePayableMutation as a } from "../../data-access/dist/index10.js";
8
+ import { useCreatePayableMutation as n, useDeletePayableFileMutation as r, useSubmitPayableForApprovalMutation as i, useUpdatePayableMutation as a, useValidatePayableMutation as o } from "../../data-access/dist/index10.js";
9
9
  import "../../data-access/dist/index.js";
10
- import { BILL_CREATE_MESSAGE_LABELS_EN as o } from "./index31.js";
11
- import { encodeFileToBase64 as s } from "./index37.js";
12
- import { mapBillFormToPayload as c, mapLineItemsToPayload as l } from "./index38.js";
13
- import { validateBillCompleteness as u, validateBillTotals as d, validateLineItems as f } from "./index39.js";
14
- import { useCallback as p, useRef as m, useState as h } from "react";
10
+ import { BILL_CREATE_MESSAGE_LABELS_EN as s } from "./index31.js";
11
+ import { encodeFileToBase64 as c } from "./index37.js";
12
+ import { mapBillFormToPayload as l, mapLineItemsToPayload as u } from "./index38.js";
13
+ import { validateBillCompleteness as d, validateBillTotals as f, validateLineItems as p } from "./index39.js";
14
+ import { useCallback as m, useRef as h, useState as g } from "react";
15
15
  //#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js
16
- var g = {
16
+ var _ = {
17
17
  document_id: "invoiceNumber",
18
18
  issued_at: "invoiceDate",
19
19
  due_date: "dueDate",
20
20
  counterpart_id: "vendor"
21
21
  };
22
- function _(e) {
22
+ function v(e) {
23
23
  return e.type === "type_error.none.not_allowed" || e.msg === "none is not an allowed value";
24
24
  }
25
- function v(e, t = o) {
25
+ function y(e, t = s) {
26
26
  let n = {}, r = [];
27
27
  for (let i of e) {
28
- let e = i.loc[0] ?? t.unknownValidationField, a = g[e], o = _(i) ? t.requiredField : i.msg;
28
+ let e = i.loc[0] ?? t.unknownValidationField, a = _[e], o = v(i) ? t.requiredField : i.msg;
29
29
  a ? n[a] = o : r.push(t.unmappedValidationError(e, o));
30
30
  }
31
31
  return r.length && (n.form = r.join(" ")), n;
32
32
  }
33
- function y(e, t) {
33
+ function b(e, t) {
34
34
  if (!e && !t) return;
35
35
  let n = {}, r = /* @__PURE__ */ new Set([...Object.keys(e ?? {}), ...Object.keys(t ?? {})]);
36
36
  for (let i of r) n[i] = {
@@ -39,131 +39,146 @@ function y(e, t) {
39
39
  };
40
40
  return n;
41
41
  }
42
- function b({ payableId: g, form: _, counterpartId: b, clearCounterpart: x, prepareVendorForSave: S, onSaved: C, onPayableCreated: w, onDraftSaved: T, onFinalized: E, labels: D }) {
43
- let O = {
44
- ...o,
45
- ...D
46
- }, [k, A] = h(), j = g ?? k, [M, N] = h(), P = p(() => N(void 0), []), [F, I] = h(), L = m(!1), R = n(), z = i(), B = t(), V = a(), H = r(), U = p(() => {
47
- let t = f(_.lineItems, O), n = d(_.discount, _.tax, _.totalOverride, O);
48
- return _.setLineItemErrors(t), !t && !n || (t ? (_.setErrors(void 0), e.error(O.lineItemsNeedAttention)) : _.setErrors(n), !1);
49
- }, [_, O]), W = p(async (e) => {
50
- let t = !j && M ? {
51
- base64EncodedFile: await s(M),
52
- fileName: M.name
53
- } : void 0, n = c({
54
- values: _.values,
55
- counterpartId: b,
56
- clearCounterpart: x,
42
+ function x({ payableId: _, form: v, counterpartId: x, clearCounterpart: S, prepareVendorForSave: C, onSaved: w, onPayableCreated: T, onDraftSaved: E, onFinalized: D, labels: O }) {
43
+ let k = {
44
+ ...s,
45
+ ...O
46
+ }, [A, j] = g(), M = _ ?? A, [N, P] = g(), F = m(() => P(void 0), []), [I, L] = g(!1), R = m(() => L(!0), []), [z, B] = g(), V = h(!1), H = n(), U = r(), W = a(), G = t(), K = o(), q = i(), J = m(() => {
47
+ let t = p(v.lineItems, k), n = f(v.discount, v.tax, v.totalOverride, k);
48
+ return v.setLineItemErrors(t), !t && !n || (t ? (v.setErrors(void 0), e.error(k.lineItemsNeedAttention)) : v.setErrors(n), !1);
49
+ }, [v, k]), Y = m(async (e) => {
50
+ let t = !M && N ? {
51
+ base64EncodedFile: await c(N),
52
+ fileName: N.name
53
+ } : void 0, n = l({
54
+ values: v.values,
55
+ counterpartId: x,
56
+ clearCounterpart: S,
57
57
  counterpartBankAccountId: e,
58
- editedTotals: _.isTotalsDirty ? {
59
- discount: _.discount,
60
- tax: _.tax,
61
- total: _.totalOverride
58
+ editedTotals: v.isTotalsDirty ? {
59
+ discount: v.discount,
60
+ tax: v.tax,
61
+ total: v.totalOverride
62
62
  } : void 0,
63
63
  document: t
64
- }), r = j;
65
- if (r ? await z.mutateAsync({
64
+ }), r = M;
65
+ if (r ? await W.mutateAsync({
66
66
  path: { payable_id: r },
67
67
  body: n
68
- }) : (r = (await R.mutateAsync({ body: n }))?.id, r && (A(r), w?.(r), t && N(void 0))), !r) throw Error("Payable was created without an id");
69
- return await B.mutateAsync({
68
+ }) : (r = (await H.mutateAsync({ body: n }))?.id, r && (j(r), T?.(r), t && P(void 0))), !r) throw Error("Payable was created without an id");
69
+ if (I) {
70
+ try {
71
+ await U.mutateAsync({ path: { payable_id: r } });
72
+ } catch {}
73
+ L(!1);
74
+ }
75
+ return await G.mutateAsync({
70
76
  path: { payable_id: r },
71
- body: { data: l(_.lineItems) }
77
+ body: { data: u(v.lineItems) }
72
78
  }), r;
73
79
  }, [
74
- b,
75
80
  x,
76
- R,
77
- _.discount,
78
- _.isTotalsDirty,
79
- _.lineItems,
80
- _.tax,
81
- _.totalOverride,
82
- _.values,
83
- w,
84
- j,
85
- B,
81
+ S,
82
+ H,
83
+ U,
84
+ I,
85
+ v.discount,
86
+ v.isTotalsDirty,
87
+ v.lineItems,
88
+ v.tax,
89
+ v.totalOverride,
90
+ v.values,
91
+ T,
86
92
  M,
87
- z
88
- ]);
93
+ G,
94
+ N,
95
+ W
96
+ ]), X = m(async () => {
97
+ M && (await U.mutateAsync({ path: { payable_id: M } }), L(!1));
98
+ }, [U, M]);
89
99
  return {
90
- saveDraft: p(async () => {
91
- if (!L.current && U()) {
92
- L.current = !0, I("draft");
100
+ saveDraft: m(async () => {
101
+ if (!V.current && J()) {
102
+ V.current = !0, B("draft");
93
103
  try {
94
- let t = await S?.();
104
+ let t = await C?.();
95
105
  if (t && !t.ok) return;
96
- let n = await W(t?.counterpartBankAccountId);
97
- _.setErrors(void 0), C?.(n), T?.(n), e.success(O.draftSaved);
106
+ let n = await Y(t?.counterpartBankAccountId);
107
+ v.setErrors(void 0), w?.(n), E?.(n), e.success(k.draftSaved);
98
108
  } catch {
99
- _.setErrors({ form: O.saveFailed });
109
+ v.setErrors({ form: k.saveFailed });
100
110
  } finally {
101
- I(void 0), L.current = !1;
111
+ B(void 0), V.current = !1;
102
112
  }
103
113
  }
104
114
  }, [
105
- _,
106
- U,
107
- O.draftSaved,
108
- O.saveFailed,
109
- T,
115
+ v,
116
+ J,
117
+ k.draftSaved,
118
+ k.saveFailed,
119
+ E,
120
+ w,
110
121
  C,
111
- S,
112
- W
122
+ Y
113
123
  ]),
114
- finalize: p(async () => {
115
- if (L.current) return;
116
- let t = f(_.lineItems, O), n = d(_.discount, _.tax, _.totalOverride, O), { formErrors: r, lineItemErrors: i } = u(_.values, b, _.lineItems, O), a = y(i, t);
117
- _.setLineItemErrors(a);
124
+ finalize: m(async () => {
125
+ if (V.current) return;
126
+ let t = p(v.lineItems, k), n = f(v.discount, v.tax, v.totalOverride, k), { formErrors: r, lineItemErrors: i } = d(v.values, x, v.lineItems, k), a = b(i, t);
127
+ v.setLineItemErrors(a);
118
128
  let o = {
119
129
  ...r,
120
130
  ...n
121
131
  };
122
- if (_.setErrors(Object.keys(o).length ? o : void 0), t && e.error(O.lineItemsNeedAttention), !(a || Object.keys(o).length)) {
123
- L.current = !0, I("finalize");
132
+ if (v.setErrors(Object.keys(o).length ? o : void 0), t && e.error(k.lineItemsNeedAttention), !(a || Object.keys(o).length)) {
133
+ V.current = !0, B("finalize");
124
134
  try {
125
135
  let t;
126
136
  try {
127
- let e = await S?.();
137
+ let e = await C?.();
128
138
  if (e && !e.ok) return;
129
- t = await W(e?.counterpartBankAccountId);
139
+ t = await Y(e?.counterpartBankAccountId);
130
140
  } catch {
131
- _.setErrors({ form: O.saveFailed });
141
+ v.setErrors({ form: k.saveFailed });
132
142
  return;
133
143
  }
134
- C?.(t);
144
+ w?.(t);
135
145
  try {
136
- let n = await V.mutateAsync({ path: { payable_id: t } });
146
+ let n = await K.mutateAsync({ path: { payable_id: t } });
137
147
  if (n.validation_errors.length) {
138
- _.setErrors(v(n.validation_errors, O));
148
+ v.setErrors(y(n.validation_errors, k));
139
149
  return;
140
150
  }
141
- await H.mutateAsync({ path: { payable_id: t } }), _.setErrors(void 0), E?.(t), e.success(O.billFinalized);
151
+ await q.mutateAsync({ path: { payable_id: t } }), v.setErrors(void 0), D?.(t), e.success(k.billFinalized);
142
152
  } catch {
143
- _.setErrors({ form: O.finalizeFailed });
153
+ v.setErrors({ form: k.finalizeFailed });
144
154
  }
145
155
  } finally {
146
- I(void 0), L.current = !1;
156
+ B(void 0), V.current = !1;
147
157
  }
148
158
  }
149
159
  }, [
150
- b,
151
- _,
152
- O,
153
- E,
160
+ x,
161
+ v,
162
+ k,
163
+ D,
164
+ w,
154
165
  C,
155
- S,
156
- W,
157
- H,
158
- V
166
+ Y,
167
+ q,
168
+ K
159
169
  ]),
160
- payableId: j,
161
- isSavingDraft: F === "draft",
162
- isFinalizing: F === "finalize",
163
- stagedFile: M,
164
- stageFile: N,
165
- clearStagedFile: P
170
+ payableId: M,
171
+ isSavingDraft: z === "draft",
172
+ isFinalizing: z === "finalize",
173
+ stagedFile: N,
174
+ stageFile: P,
175
+ clearStagedFile: F,
176
+ isFileDeletionPending: I,
177
+ requestFileDeletion: R,
178
+ detachFileNow: X,
179
+ isDeletingFile: U.isPending,
180
+ hasFileDeletionFailed: U.isError
166
181
  };
167
182
  }
168
183
  //#endregion
169
- export { v as mapValidationErrorsToForm, b as useBillCreateController };
184
+ export { y as mapValidationErrorsToForm, x as useBillCreateController };
@@ -144,9 +144,10 @@ function u({ open: u, onOpenChange: d, payableId: f, readOnly: p = !1, copy: m,
144
144
  D,
145
145
  p
146
146
  ]), J = D?.source_of_payable_data === "ocr", Y = L?.name, X = p ? Y ? h.viewTitle(Y) : h.readOnlyTitle : J && Y ? h.extractedTitle(Y) : h.newTitle, Ve = p && D?.created_at ? h.addedOn(ne(D.created_at.slice(0, 10))) : void 0, Z = i(() => {
147
- let e = O.isDirty || A.hasUnsavedVendorChanges || !!j.stagedFile;
147
+ let e = O.isDirty || A.hasUnsavedVendorChanges || !!j.stagedFile || j.isFileDeletionPending;
148
148
  !p && e && !window.confirm(h.discardConfirm) || d(!1);
149
149
  }, [
150
+ j.isFileDeletionPending,
150
151
  j.stagedFile,
151
152
  h.discardConfirm,
152
153
  O.isDirty,
@@ -206,6 +207,13 @@ function u({ open: u, onOpenChange: d, payableId: f, readOnly: p = !1, copy: m,
206
207
  onFileStaged: j.stageFile,
207
208
  onClearStagedFile: j.clearStagedFile,
208
209
  isSaving: M
210
+ },
211
+ deletion: {
212
+ isPending: j.isFileDeletionPending,
213
+ onRequest: j.requestFileDeletion,
214
+ onDetachNow: j.detachFileNow,
215
+ isDeleting: j.isDeletingFile,
216
+ hasFailed: j.hasFileDeletionFailed
209
217
  }
210
218
  }),
211
219
  menuItems: U.menuItems,
@@ -37,52 +37,71 @@ function c(c) {
37
37
  })]
38
38
  });
39
39
  if (l === "document") {
40
- let { fileName: t, preview: n, onDownload: r, onDelete: l } = c;
40
+ let { fileName: t, preview: n, onDownload: r, onDelete: l, isDeleting: d, deleteErrorMessage: p } = c;
41
41
  return /* @__PURE__ */ a("div", {
42
42
  className: "ttw:flex ttw:flex-col ttw:gap-3",
43
43
  "data-testid": u,
44
- children: [/* @__PURE__ */ a("div", {
45
- className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
46
- children: [
47
- /* @__PURE__ */ i("span", {
48
- className: "ttw:text-sm ttw:text-muted-foreground",
49
- children: f.scannedAttachment(t ?? "")
50
- }),
51
- r ? /* @__PURE__ */ i(e, {
52
- type: "button",
53
- variant: "ghost",
54
- size: "icon",
55
- "aria-label": f.download,
56
- onClick: r,
57
- children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
58
- }) : null,
59
- l ? /* @__PURE__ */ i(e, {
60
- type: "button",
61
- variant: "ghost",
62
- size: "icon",
63
- "aria-label": f.delete,
64
- onClick: l,
65
- children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
66
- }) : null
67
- ]
68
- }), /* @__PURE__ */ i("div", {
69
- className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
70
- children: n
71
- })]
44
+ children: [
45
+ /* @__PURE__ */ a("div", {
46
+ className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
47
+ children: [
48
+ /* @__PURE__ */ i("span", {
49
+ className: "ttw:text-sm ttw:text-muted-foreground",
50
+ children: f.scannedAttachment(t ?? "")
51
+ }),
52
+ r ? /* @__PURE__ */ i(e, {
53
+ type: "button",
54
+ variant: "ghost",
55
+ size: "icon",
56
+ "aria-label": f.download,
57
+ onClick: r,
58
+ children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
59
+ }) : null,
60
+ l ? /* @__PURE__ */ i(e, {
61
+ type: "button",
62
+ variant: "ghost",
63
+ size: "icon",
64
+ "aria-label": f.delete,
65
+ disabled: d,
66
+ onClick: l,
67
+ children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
68
+ }) : null
69
+ ]
70
+ }),
71
+ p ? /* @__PURE__ */ i("p", {
72
+ role: "alert",
73
+ className: "ttw:text-sm ttw:text-destructive",
74
+ "data-testid": u ? `${u}-delete-error` : void 0,
75
+ children: p
76
+ }) : null,
77
+ /* @__PURE__ */ i("div", {
78
+ className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
79
+ children: n
80
+ })
81
+ ]
72
82
  });
73
83
  }
74
84
  return /* @__PURE__ */ a("div", {
75
85
  className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
76
86
  "data-testid": u,
77
- children: [/* @__PURE__ */ i("p", {
78
- className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
79
- children: f.uploadHeading
80
- }), /* @__PURE__ */ i(n, {
81
- status: c.uploadStatus,
82
- errorMessage: c.uploadErrorMessage,
83
- onFilesSelected: c.onFilesSelected,
84
- labels: f.dropzone
85
- })]
87
+ children: [
88
+ /* @__PURE__ */ i("p", {
89
+ className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
90
+ children: f.uploadHeading
91
+ }),
92
+ c.noticeMessage ? /* @__PURE__ */ i("p", {
93
+ "aria-live": "polite",
94
+ className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
95
+ "data-testid": u ? `${u}-notice` : void 0,
96
+ children: c.noticeMessage
97
+ }) : null,
98
+ /* @__PURE__ */ i(n, {
99
+ status: c.uploadStatus,
100
+ errorMessage: c.uploadErrorMessage,
101
+ onFilesSelected: c.onFilesSelected,
102
+ labels: f.dropzone
103
+ })
104
+ ]
86
105
  });
87
106
  }
88
107
  //#endregion
@@ -5,7 +5,7 @@ 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, deleteFilesId as C, deleteMeasureUnitsId as w, deletePayablesId 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, postPaymentRecordsIdCancel 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";
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, postPaymentRecordsIdCancel 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
9
  import { fetchWidgetInit as Pe } from "./lib/fetchWidgetInit.js";
10
10
  import { hasAnyScope as Fe } from "./lib/hasAnyScope.js";
11
11
  import { connectExternalBankAccountMutation as Ie, createAchMoneyMovementMutation as Le, createApplicationMutation as Re, createBankAccountMutation as ze, createBookTransferMutation as Be, createDebitCardMutation as Ve, deleteApprovalPoliciesIdMutation as He, deleteLedgerAccountsIdMutation as Ue, deleteReceiptsIdMutation as We, disableUserMutation as Ge, getAnalyticsPayablesOptions as Ke, getAnalyticsReceivablesOptions as qe, getApplicationStatusOptions as Je, getApprovalPoliciesOptions as Ye, getApprovalPoliciesQueryKey as Xe, getApprovalRequestsOptions as Ze, getApprovalRequestsQueryKey as Qe, getBankAccountAccessQueryKey as $e, getBankAccountOptions as et, getBankAccountQueryKey as tt, getBankAccountTransactionsOptions as nt, getBankAccountTransfersOptions as rt, getBankAccountTransfersQueryKey as it, getBankAccountsQueryKey as at, getCounterpartsIdAddressesOptions as ot, getCounterpartsIdAddressesQueryKey as st, getCounterpartsIdBankAccountsOptions as ct, getCounterpartsIdBankAccountsQueryKey as lt, getCounterpartsIdOptions as ut, getCounterpartsIdQueryKey as dt, getCounterpartsOptions as ft, getCounterpartsQueryKey as pt, getCreditCardByIdOptions as mt, getCreditCardsOptions as ht, getDebitCardByIdOptions as gt, getDebitCardsOptions as _t, getDebitCardsQueryKey as vt, getDepartmentOptions as yt, getDepartmentQueryKey as bt, getEntitiesIdSettingsOptions as xt, getEntitiesIdSettingsQueryKey as St, getEntitiesMeOptions as Ct, getEntityUsersMyEntityOptions as wt, getEntityUsersOptions as Tt, getExternalBankAccountAccessQueryKey as Et, getExternalBankAccountsOptions as Dt, getExternalBankAccountsQueryKey as Ot, getLedgerAccountsQueryKey as kt, getLocationOptions as At, getLocationQueryKey as jt, getMeasureUnitsOptions as Mt, getMeasureUnitsQueryKey as Nt, getOrganizationOptions as Pt, getPayablesAnalyticsOptions as Ft, getPayablesAnalyticsQueryKey as It, getPayablesIdHistoryOptions as Lt, getPayablesIdHistoryQueryKey as Rt, getPayablesIdLineItemsOptions as zt, getPayablesIdLineItemsQueryKey as Bt, getPayablesIdOptions as Vt, getPayablesIdQueryKey as Ht, getPayablesIdSuggestionsOptions as Ut, getPayablesOptions as Wt, getPayablesQueryKey as Gt, getPaymentRecordsOptions as Kt, getPaymentRecordsQueryKey as qt, getProductsIdOptions as Jt, getProductsIdQueryKey as Yt, getProductsOptions as Xt, getProductsQueryKey as Zt, getReceiptsIdQueryKey as Qt, getReceiptsOptions as $t, getReceiptsQueryKey as en, getReceivablesIdHistoryOptions as tn, getReceivablesIdHistoryQueryKey as nn, getReceivablesIdMailsOptions as rn, getReceivablesIdMailsQueryKey as an, getReceivablesIdOptions as on, getReceivablesIdPdfLinkOptions as sn, getReceivablesIdPdfLinkQueryKey as cn, getReceivablesIdQueryKey as ln, getReceivablesOptions as un, getReceivablesQueryKey as dn, getTagsOptions as fn, getTagsQueryKey as pn, getTransactionsIdQueryKey as mn, getTransactionsOptions as hn, getTransactionsQueryKey as gn, getTransactionsValidationsOptions as _n, getTransactionsValidationsQueryKey as vn, getUsersOptions as yn, getUsersQueryKey as bn, grantBankAccountAccessMutation as xn, grantExternalBankAccountAccessMutation as Sn, linkExternalBankAccountMutation as Cn, listDepartmentsOptions as wn, listDepartmentsQueryKey as Tn, listLocationsOptions as En, listLocationsQueryKey as Dn, listRolesQueryKey as On, manageDebitCardAccessMutation as kn, patchApprovalPoliciesIdMutation as An, patchEntitiesIdSettingsMutation as jn, patchLedgerAccountsIdMutation as Mn, patchReceiptsIdMutation as Nn, postApprovalPoliciesMutation as Pn, postLedgerAccountsMutation as Fn, putTransactionsValidationsMutation as In, submitApplicationMutation as Ln, unlinkExternalBankAccountMutation as Rn, updateApplicationMutation as zn, updateBankAccountMutation as Bn, updateExternalBankAccountMutation as Vn, validateExternalBankAccountMutation as Hn } from "./lib/rest/@tanstack/react-query.gen.js";
@@ -28,4 +28,4 @@ import { useRolePermissionsQueries as ar } from "./lib/role/useRolePermissionsQu
28
28
  import { useAllOrganizationUsersQuery as or } from "./lib/user/useAllOrganizationUsersQuery.js";
29
29
  import { useAcceptWidgetDisclosures as sr } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
30
30
  import { useDisclosuresQuery as cr } from "./lib/disclosures/useDisclosuresQuery.js";
31
- export { l as EmbedApiProvider, Jn 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, y as deactivateDepartment, b as deactivateLocation, He as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, C as deleteFilesId, Ue as deleteLedgerAccountsIdMutation, w as deleteMeasureUnitsId, T as deletePayablesId, E as deleteProductsId, We as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ge as disableUserMutation, k as downloadBankAccountTransactions, Pe as fetchWidgetInit, Yn as getAllPagesNextPageParam, Xn as getAllPagesNextPaginationTokenParam, Ke as getAnalyticsPayablesOptions, qe as getAnalyticsReceivablesOptions, A as getApplicationStatus, Je as getApplicationStatusOptions, j as getApprovalPolicies, Ye as getApprovalPoliciesOptions, Xe as getApprovalPoliciesQueryKey, Ze as getApprovalRequestsOptions, Qe as getApprovalRequestsQueryKey, M as getBankAccountAccess, $e as getBankAccountAccessQueryKey, et as getBankAccountOptions, tt as getBankAccountQueryKey, nt as getBankAccountTransactionsOptions, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardsOptions, gt as getDebitCardByIdOptions, _t as getDebitCardsOptions, vt as getDebitCardsQueryKey, N as getDepartment, yt as getDepartmentOptions, bt as getDepartmentQueryKey, xt as getEntitiesIdSettingsOptions, St as getEntitiesIdSettingsQueryKey, Ct as getEntitiesMeOptions, wt as getEntityUsersMyEntityOptions, Tt as getEntityUsersOptions, P as getExternalBankAccountAccess, Et as getExternalBankAccountAccessQueryKey, Dt as getExternalBankAccountsOptions, Ot as getExternalBankAccountsQueryKey, kt as getLedgerAccountsQueryKey, F as getLocation, At as getLocationOptions, jt as getLocationQueryKey, Mt as getMeasureUnitsOptions, Nt as getMeasureUnitsQueryKey, Pt as getOrganizationOptions, Ft as getPayablesAnalyticsOptions, It as getPayablesAnalyticsQueryKey, I as getPayablesId, Lt as getPayablesIdHistoryOptions, Rt as getPayablesIdHistoryQueryKey, L as getPayablesIdLineItems, zt as getPayablesIdLineItemsOptions, Bt as getPayablesIdLineItemsQueryKey, Vt as getPayablesIdOptions, Ht as getPayablesIdQueryKey, Ut as getPayablesIdSuggestionsOptions, Wt as getPayablesOptions, Gt as getPayablesQueryKey, R as getPaymentRecords, Kt as getPaymentRecordsOptions, qt as getPaymentRecordsQueryKey, Jt as getProductsIdOptions, Yt as getProductsIdQueryKey, Xt as getProductsOptions, Zt as getProductsQueryKey, Qt as getReceiptsIdQueryKey, $t as getReceiptsOptions, en as getReceiptsQueryKey, tn as getReceivablesIdHistoryOptions, nn as getReceivablesIdHistoryQueryKey, rn as getReceivablesIdMailsOptions, an as getReceivablesIdMailsQueryKey, on as getReceivablesIdOptions, sn as getReceivablesIdPdfLinkOptions, cn as getReceivablesIdPdfLinkQueryKey, ln as getReceivablesIdQueryKey, un as getReceivablesOptions, dn as getReceivablesQueryKey, fn as getTagsOptions, pn as getTagsQueryKey, mn as getTransactionsIdQueryKey, hn as getTransactionsOptions, gn as getTransactionsQueryKey, _n as getTransactionsValidationsOptions, vn as getTransactionsValidationsQueryKey, z as getUsers, yn as getUsersOptions, bn as getUsersQueryKey, xn as grantBankAccountAccessMutation, Sn as grantExternalBankAccountAccessMutation, Fe as hasAnyScope, t as invalidateAllClients, Zn as isAllPagesResolving, Gn as isApiNotFoundError, c as isWidgetGatewayHost, Cn as linkExternalBankAccountMutation, B as listDepartments, wn as listDepartmentsOptions, Tn as listDepartmentsQueryKey, V as listLocations, En as listLocationsOptions, Dn as listLocationsQueryKey, H as listRoles, On as listRolesQueryKey, U as manageBankAccountAccess, kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, An as patchApprovalPoliciesIdMutation, W as patchCounterpartsId, G as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, jn as patchEntitiesIdSettingsMutation, Mn as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, Nn as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchTagsId, Pn as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, Fn 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 postPaymentRecordsIdCancel, _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, In as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Ln as submitApplicationMutation, Rn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, zn as updateApplicationMutation, Bn as updateBankAccountMutation, je as updateDepartment, Vn as updateExternalBankAccountMutation, Me as updateLocation, Ne as updateUser, sr as useAcceptWidgetDisclosures, $n as useAllBankAccountsQuery, er as useAllExternalBankAccountsQuery, tr as useAllLedgerAccountsQuery, ir as useAllOrganizationRolesQuery, or as useAllOrganizationUsersQuery, Qn as useAutoFetchNextPage, Wn as useCurrentUserQuery, cr as useDisclosuresQuery, u as useEmbedApi, Kn as useGetUserDataQuery, nr as useLedgerAccountsQuery, rr as usePaymentTermsQuery, ar as useRolePermissionsQueries, qn as useUpsertUserDataMutation, Hn as validateExternalBankAccountMutation, Un as withAuthEpoch };
31
+ export { l as EmbedApiProvider, Jn 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, y as deactivateDepartment, b as deactivateLocation, He as deleteApprovalPoliciesIdMutation, x as deleteCounterpartsId, S as deleteCounterpartsIdBankAccountsId, Ue as deleteLedgerAccountsIdMutation, C as deleteMeasureUnitsId, w as deletePayablesId, T as deletePayablesIdFile, E as deleteProductsId, We as deleteReceiptsIdMutation, D as deleteReceivablesId, O as deleteTagsId, Ge as disableUserMutation, k as downloadBankAccountTransactions, Pe as fetchWidgetInit, Yn as getAllPagesNextPageParam, Xn as getAllPagesNextPaginationTokenParam, Ke as getAnalyticsPayablesOptions, qe as getAnalyticsReceivablesOptions, A as getApplicationStatus, Je as getApplicationStatusOptions, j as getApprovalPolicies, Ye as getApprovalPoliciesOptions, Xe as getApprovalPoliciesQueryKey, Ze as getApprovalRequestsOptions, Qe as getApprovalRequestsQueryKey, M as getBankAccountAccess, $e as getBankAccountAccessQueryKey, et as getBankAccountOptions, tt as getBankAccountQueryKey, nt as getBankAccountTransactionsOptions, rt as getBankAccountTransfersOptions, it as getBankAccountTransfersQueryKey, at as getBankAccountsQueryKey, ot as getCounterpartsIdAddressesOptions, st as getCounterpartsIdAddressesQueryKey, ct as getCounterpartsIdBankAccountsOptions, lt as getCounterpartsIdBankAccountsQueryKey, ut as getCounterpartsIdOptions, dt as getCounterpartsIdQueryKey, ft as getCounterpartsOptions, pt as getCounterpartsQueryKey, mt as getCreditCardByIdOptions, ht as getCreditCardsOptions, gt as getDebitCardByIdOptions, _t as getDebitCardsOptions, vt as getDebitCardsQueryKey, N as getDepartment, yt as getDepartmentOptions, bt as getDepartmentQueryKey, xt as getEntitiesIdSettingsOptions, St as getEntitiesIdSettingsQueryKey, Ct as getEntitiesMeOptions, wt as getEntityUsersMyEntityOptions, Tt as getEntityUsersOptions, P as getExternalBankAccountAccess, Et as getExternalBankAccountAccessQueryKey, Dt as getExternalBankAccountsOptions, Ot as getExternalBankAccountsQueryKey, kt as getLedgerAccountsQueryKey, F as getLocation, At as getLocationOptions, jt as getLocationQueryKey, Mt as getMeasureUnitsOptions, Nt as getMeasureUnitsQueryKey, Pt as getOrganizationOptions, Ft as getPayablesAnalyticsOptions, It as getPayablesAnalyticsQueryKey, I as getPayablesId, Lt as getPayablesIdHistoryOptions, Rt as getPayablesIdHistoryQueryKey, L as getPayablesIdLineItems, zt as getPayablesIdLineItemsOptions, Bt as getPayablesIdLineItemsQueryKey, Vt as getPayablesIdOptions, Ht as getPayablesIdQueryKey, Ut as getPayablesIdSuggestionsOptions, Wt as getPayablesOptions, Gt as getPayablesQueryKey, R as getPaymentRecords, Kt as getPaymentRecordsOptions, qt as getPaymentRecordsQueryKey, Jt as getProductsIdOptions, Yt as getProductsIdQueryKey, Xt as getProductsOptions, Zt as getProductsQueryKey, Qt as getReceiptsIdQueryKey, $t as getReceiptsOptions, en as getReceiptsQueryKey, tn as getReceivablesIdHistoryOptions, nn as getReceivablesIdHistoryQueryKey, rn as getReceivablesIdMailsOptions, an as getReceivablesIdMailsQueryKey, on as getReceivablesIdOptions, sn as getReceivablesIdPdfLinkOptions, cn as getReceivablesIdPdfLinkQueryKey, ln as getReceivablesIdQueryKey, un as getReceivablesOptions, dn as getReceivablesQueryKey, fn as getTagsOptions, pn as getTagsQueryKey, mn as getTransactionsIdQueryKey, hn as getTransactionsOptions, gn as getTransactionsQueryKey, _n as getTransactionsValidationsOptions, vn as getTransactionsValidationsQueryKey, z as getUsers, yn as getUsersOptions, bn as getUsersQueryKey, xn as grantBankAccountAccessMutation, Sn as grantExternalBankAccountAccessMutation, Fe as hasAnyScope, t as invalidateAllClients, Zn as isAllPagesResolving, Gn as isApiNotFoundError, c as isWidgetGatewayHost, Cn as linkExternalBankAccountMutation, B as listDepartments, wn as listDepartmentsOptions, Tn as listDepartmentsQueryKey, V as listLocations, En as listLocationsOptions, Dn as listLocationsQueryKey, H as listRoles, On as listRolesQueryKey, U as manageBankAccountAccess, kn as manageDebitCardAccessMutation, d as optionalOrganizationHeaders, f as organizationHeaders, An as patchApprovalPoliciesIdMutation, W as patchCounterpartsId, G as patchCounterpartsIdAddressesId, K as patchCounterpartsIdBankAccountsId, jn as patchEntitiesIdSettingsMutation, Mn as patchLedgerAccountsIdMutation, q as patchMeasureUnitsId, J as patchPayablesId, Y as patchProductsId, Nn as patchReceiptsIdMutation, X as patchReceivablesId, Z as patchTagsId, Pn as postApprovalPoliciesMutation, Q as postApprovalRequestsIdApprove, $ as postApprovalRequestsIdReject, ee as postCounterparts, te as postCounterpartsIdAddresses, ne as postCounterpartsIdBankAccounts, re as postCounterpartsIdBankAccountsIdMakeDefault, Fn 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 postPaymentRecordsIdCancel, _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, In as putTransactionsValidationsMutation, n as registerQueryClient, r as removeInactiveFromAllClients, i as setAllClientsQueriesData, Ln as submitApplicationMutation, Rn as unlinkExternalBankAccountMutation, a as unregisterQueryClient, zn as updateApplicationMutation, Bn as updateBankAccountMutation, je as updateDepartment, Vn as updateExternalBankAccountMutation, Me as updateLocation, Ne as updateUser, sr as useAcceptWidgetDisclosures, $n as useAllBankAccountsQuery, er as useAllExternalBankAccountsQuery, tr as useAllLedgerAccountsQuery, ir as useAllOrganizationRolesQuery, or as useAllOrganizationUsersQuery, Qn as useAutoFetchNextPage, Wn as useCurrentUserQuery, cr as useDisclosuresQuery, u as useEmbedApi, Kn as useGetUserDataQuery, nr as useLedgerAccountsQuery, rr as usePaymentTermsQuery, ar as useRolePermissionsQueries, qn as useUpsertUserDataMutation, Hn as validateExternalBankAccountMutation, Un as withAuthEpoch };
@@ -686,15 +686,7 @@ var n = (e) => (e.client ?? t).post({
686
686
  }],
687
687
  url: "/finops/v1/entity-users/my-entity",
688
688
  ...e
689
- }), ce = (e) => (e.client ?? t).delete({
690
- security: [{
691
- key: "HTTPBearer",
692
- scheme: "bearer",
693
- type: "http"
694
- }],
695
- url: "/finops/v1/files/{file_id}",
696
- ...e
697
- }), le = (e) => (e.client ?? t).get({
689
+ }), ce = (e) => (e.client ?? t).get({
698
690
  security: [{
699
691
  key: "HTTPBearer",
700
692
  scheme: "bearer",
@@ -702,7 +694,7 @@ var n = (e) => (e.client ?? t).post({
702
694
  }],
703
695
  url: "/finops/v1/ledger-accounts",
704
696
  ...e
705
- }), ue = (e) => (e.client ?? t).post({
697
+ }), le = (e) => (e.client ?? t).post({
706
698
  security: [{
707
699
  key: "HTTPBearer",
708
700
  scheme: "bearer",
@@ -714,7 +706,7 @@ var n = (e) => (e.client ?? t).post({
714
706
  "Content-Type": "application/json",
715
707
  ...e.headers
716
708
  }
717
- }), de = (e) => (e.client ?? t).delete({
709
+ }), ue = (e) => (e.client ?? t).delete({
718
710
  security: [{
719
711
  key: "HTTPBearer",
720
712
  scheme: "bearer",
@@ -722,7 +714,7 @@ var n = (e) => (e.client ?? t).post({
722
714
  }],
723
715
  url: "/finops/v1/ledger-accounts/{ledger_account_id}",
724
716
  ...e
725
- }), fe = (e) => (e.client ?? t).patch({
717
+ }), de = (e) => (e.client ?? t).patch({
726
718
  security: [{
727
719
  key: "HTTPBearer",
728
720
  scheme: "bearer",
@@ -734,7 +726,7 @@ var n = (e) => (e.client ?? t).post({
734
726
  "Content-Type": "application/json",
735
727
  ...e.headers
736
728
  }
737
- }), pe = (e) => (e.client ?? t).get({
729
+ }), fe = (e) => (e.client ?? t).get({
738
730
  security: [{
739
731
  key: "HTTPBearer",
740
732
  scheme: "bearer",
@@ -742,7 +734,7 @@ var n = (e) => (e.client ?? t).post({
742
734
  }],
743
735
  url: "/finops/v1/measure-units",
744
736
  ...e
745
- }), me = (e) => (e.client ?? t).post({
737
+ }), pe = (e) => (e.client ?? t).post({
746
738
  security: [{
747
739
  key: "HTTPBearer",
748
740
  scheme: "bearer",
@@ -754,7 +746,7 @@ var n = (e) => (e.client ?? t).post({
754
746
  "Content-Type": "application/json",
755
747
  ...e.headers
756
748
  }
757
- }), he = (e) => (e.client ?? t).delete({
749
+ }), me = (e) => (e.client ?? t).delete({
758
750
  security: [{
759
751
  key: "HTTPBearer",
760
752
  scheme: "bearer",
@@ -762,7 +754,7 @@ var n = (e) => (e.client ?? t).post({
762
754
  }],
763
755
  url: "/finops/v1/measure-units/{unit_id}",
764
756
  ...e
765
- }), ge = (e) => (e.client ?? t).patch({
757
+ }), he = (e) => (e.client ?? t).patch({
766
758
  security: [{
767
759
  key: "HTTPBearer",
768
760
  scheme: "bearer",
@@ -774,7 +766,7 @@ var n = (e) => (e.client ?? t).post({
774
766
  "Content-Type": "application/json",
775
767
  ...e.headers
776
768
  }
777
- }), _e = (e) => (e.client ?? t).get({
769
+ }), ge = (e) => (e.client ?? t).get({
778
770
  security: [{
779
771
  key: "HTTPBearer",
780
772
  scheme: "bearer",
@@ -782,7 +774,7 @@ var n = (e) => (e.client ?? t).post({
782
774
  }],
783
775
  url: "/finops/v1/payables",
784
776
  ...e
785
- }), ve = (e) => (e.client ?? t).post({
777
+ }), _e = (e) => (e.client ?? t).post({
786
778
  security: [{
787
779
  key: "HTTPBearer",
788
780
  scheme: "bearer",
@@ -794,7 +786,7 @@ var n = (e) => (e.client ?? t).post({
794
786
  "Content-Type": "application/json",
795
787
  ...e.headers
796
788
  }
797
- }), ye = (e) => (e.client ?? t).get({
789
+ }), ve = (e) => (e.client ?? t).get({
798
790
  security: [{
799
791
  key: "HTTPBearer",
800
792
  scheme: "bearer",
@@ -802,7 +794,7 @@ var n = (e) => (e.client ?? t).post({
802
794
  }],
803
795
  url: "/finops/v1/payables/analytics",
804
796
  ...e
805
- }), be = (n) => (n.client ?? t).post({
797
+ }), ye = (n) => (n.client ?? t).post({
806
798
  ...e,
807
799
  security: [{
808
800
  key: "HTTPBearer",
@@ -815,7 +807,7 @@ var n = (e) => (e.client ?? t).post({
815
807
  "Content-Type": null,
816
808
  ...n.headers
817
809
  }
818
- }), xe = (e) => (e.client ?? t).delete({
810
+ }), be = (e) => (e.client ?? t).delete({
819
811
  security: [{
820
812
  key: "HTTPBearer",
821
813
  scheme: "bearer",
@@ -823,7 +815,7 @@ var n = (e) => (e.client ?? t).post({
823
815
  }],
824
816
  url: "/finops/v1/payables/{payable_id}",
825
817
  ...e
826
- }), Se = (e) => (e.client ?? t).get({
818
+ }), xe = (e) => (e.client ?? t).get({
827
819
  security: [{
828
820
  key: "HTTPBearer",
829
821
  scheme: "bearer",
@@ -831,7 +823,7 @@ var n = (e) => (e.client ?? t).post({
831
823
  }],
832
824
  url: "/finops/v1/payables/{payable_id}",
833
825
  ...e
834
- }), Ce = (e) => (e.client ?? t).patch({
826
+ }), Se = (e) => (e.client ?? t).patch({
835
827
  security: [{
836
828
  key: "HTTPBearer",
837
829
  scheme: "bearer",
@@ -843,7 +835,7 @@ var n = (e) => (e.client ?? t).post({
843
835
  "Content-Type": "application/json",
844
836
  ...e.headers
845
837
  }
846
- }), we = (e) => (e.client ?? t).post({
838
+ }), Ce = (e) => (e.client ?? t).post({
847
839
  security: [{
848
840
  key: "HTTPBearer",
849
841
  scheme: "bearer",
@@ -851,7 +843,7 @@ var n = (e) => (e.client ?? t).post({
851
843
  }],
852
844
  url: "/finops/v1/payables/{payable_id}/approve-payment-operation",
853
845
  ...e
854
- }), Te = (n) => (n.client ?? t).post({
846
+ }), we = (n) => (n.client ?? t).post({
855
847
  ...e,
856
848
  security: [{
857
849
  key: "HTTPBearer",
@@ -864,7 +856,7 @@ var n = (e) => (e.client ?? t).post({
864
856
  "Content-Type": null,
865
857
  ...n.headers
866
858
  }
867
- }), Ee = (e) => (e.client ?? t).post({
859
+ }), Te = (e) => (e.client ?? t).post({
868
860
  security: [{
869
861
  key: "HTTPBearer",
870
862
  scheme: "bearer",
@@ -872,6 +864,14 @@ var n = (e) => (e.client ?? t).post({
872
864
  }],
873
865
  url: "/finops/v1/payables/{payable_id}/cancel",
874
866
  ...e
867
+ }), Ee = (e) => (e.client ?? t).delete({
868
+ security: [{
869
+ key: "HTTPBearer",
870
+ scheme: "bearer",
871
+ type: "http"
872
+ }],
873
+ url: "/finops/v1/payables/{payable_id}/file",
874
+ ...e
875
875
  }), De = (e) => (e.client ?? t).get({
876
876
  security: [{
877
877
  key: "HTTPBearer",
@@ -1622,4 +1622,4 @@ var n = (e) => (e.client ?? t).post({
1622
1622
  ...e
1623
1623
  });
1624
1624
  //#endregion
1625
- export { wt as bulkUpdateDepartmentMembers, jt as bulkUpdateLocationMembers, Pt as bulkUpdateRoleMembers, T as connectExternalBankAccount, M as createAchMoneyMovement, a as createApplication, l as createBankAccount, N as createBookTransfer, x as createDebitCard, bt as createDepartment, Dt as createLocation, zt as createUser, xt as deactivateDepartment, Ot as deactivateLocation, R as deleteApprovalPoliciesId, G as deleteCounterpartsId, $ as deleteCounterpartsIdBankAccountsId, ce as deleteFilesId, de as deleteLedgerAccountsId, he as deleteMeasureUnitsId, xe as deletePayablesId, He as deleteProductsId, Ke as deleteReceiptsId, Xe as deleteReceivablesId, mt as deleteTagsId, Vt as disableUser, g as downloadBankAccountTransactions, P as getAnalyticsPayables, F as getAnalyticsReceivables, r as getApiWidgetGatewayInit, i as getApplicationStatus, I as getApprovalPolicies, B as getApprovalRequests, d as getBankAccount, p as getBankAccountAccess, h as getBankAccountTransactions, _ as getBankAccountTransfers, c as getBankAccounts, U as getCounterparts, K as getCounterpartsId, J as getCounterpartsIdAddresses, Z as getCounterpartsIdBankAccounts, y as getCreditCardById, v as getCreditCards, C as getDebitCardById, b as getDebitCards, St as getDepartment, Tt as getDisclosures, re as getEntitiesIdSettings, ne as getEntitiesMe, ae as getEntityUsers, oe as getEntityUsersMe, se as getEntityUsersMyEntity, O as getExternalBankAccountAccess, w as getExternalBankAccounts, le as getLedgerAccounts, kt as getLocation, pe as getMeasureUnits, Mt as getOrganization, _e as getPayables, ye as getPayablesAnalytics, Se as getPayablesId, De as getPayablesIdHistory, Oe as getPayablesIdLineItems, Fe as getPayablesIdSuggestions, Le as getPaymentRecords, ze as getPaymentTerms, Be as getProducts, Ue as getProductsId, Ge as getReceipts, Je as getReceivables, Ze as getReceivablesId, rt as getReceivablesIdHistory, ot as getReceivablesIdMails, ut as getReceivablesIdPdfLink, ft as getTags, gt as getTransactions, _t as getTransactionsValidations, It as getUserData, Rt as getUsers, m as grantBankAccountAccess, k as grantExternalBankAccountAccess, A as linkExternalBankAccount, yt as listDepartments, Et as listLocations, Ft as listRolePermissions, Nt as listRoles, u as manageBankAccountAccess, S as manageDebitCardAccess, z as patchApprovalPoliciesId, q as patchCounterpartsId, X as patchCounterpartsIdAddressesId, ee as patchCounterpartsIdBankAccountsId, ie as patchEntitiesIdSettings, fe as patchLedgerAccountsId, ge as patchMeasureUnitsId, Ce as patchPayablesId, We as patchProductsId, qe as patchReceiptsId, Qe as patchReceivablesId, ht as patchTagsId, n as postApiWidgetGatewayDisclosureAcceptance, L as postApprovalPolicies, V as postApprovalRequestsIdApprove, H as postApprovalRequestsIdReject, W as postCounterparts, Y as postCounterpartsIdAddresses, Q as postCounterpartsIdBankAccounts, te as postCounterpartsIdBankAccountsIdMakeDefault, ue as postLedgerAccounts, me as postMeasureUnits, ve as postPayables, we as postPayablesIdApprovePaymentOperation, Te as postPayablesIdAttachFile, Ee as postPayablesIdCancel, Ae as postPayablesIdMarkAsPaid, je as postPayablesIdReject, Me as postPayablesIdReopen, Ne as postPayablesIdSchedulePayment, Pe as postPayablesIdSubmitForApproval, Ie as postPayablesIdValidate, be as postPayablesUploadFromFile, Re as postPaymentRecordsIdCancel, Ve as postProducts, Ye as postReceivables, $e as postReceivablesIdAccept, et as postReceivablesIdCancel, tt as postReceivablesIdClone, nt as postReceivablesIdDecline, it as postReceivablesIdIssue, st as postReceivablesIdMarkAsPaid, ct as postReceivablesIdMarkAsPartiallyPaid, lt as postReceivablesIdMarkAsUncollectible, dt as postReceivablesIdSend, pt as postTags, ke as putPayablesIdLineItems, at as putReceivablesIdLineItems, vt as putTransactionsValidations, s as submitApplication, E as unlinkExternalBankAccount, o as updateApplication, f as updateBankAccount, Ct as updateDepartment, D as updateExternalBankAccount, At as updateLocation, Bt as updateUser, Lt as upsertUserData, j as validateExternalBankAccount };
1625
+ export { wt as bulkUpdateDepartmentMembers, jt as bulkUpdateLocationMembers, Pt as bulkUpdateRoleMembers, T as connectExternalBankAccount, M as createAchMoneyMovement, a as createApplication, l as createBankAccount, N as createBookTransfer, x as createDebitCard, bt as createDepartment, Dt as createLocation, zt as createUser, xt as deactivateDepartment, Ot as deactivateLocation, R as deleteApprovalPoliciesId, G as deleteCounterpartsId, $ as deleteCounterpartsIdBankAccountsId, ue as deleteLedgerAccountsId, me as deleteMeasureUnitsId, be as deletePayablesId, Ee as deletePayablesIdFile, He as deleteProductsId, Ke as deleteReceiptsId, Xe as deleteReceivablesId, mt as deleteTagsId, Vt as disableUser, g as downloadBankAccountTransactions, P as getAnalyticsPayables, F as getAnalyticsReceivables, r as getApiWidgetGatewayInit, i as getApplicationStatus, I as getApprovalPolicies, B as getApprovalRequests, d as getBankAccount, p as getBankAccountAccess, h as getBankAccountTransactions, _ as getBankAccountTransfers, c as getBankAccounts, U as getCounterparts, K as getCounterpartsId, J as getCounterpartsIdAddresses, Z as getCounterpartsIdBankAccounts, y as getCreditCardById, v as getCreditCards, C as getDebitCardById, b as getDebitCards, St as getDepartment, Tt as getDisclosures, re as getEntitiesIdSettings, ne as getEntitiesMe, ae as getEntityUsers, oe as getEntityUsersMe, se as getEntityUsersMyEntity, O as getExternalBankAccountAccess, w as getExternalBankAccounts, ce as getLedgerAccounts, kt as getLocation, fe as getMeasureUnits, Mt as getOrganization, ge as getPayables, ve as getPayablesAnalytics, xe as getPayablesId, De as getPayablesIdHistory, Oe as getPayablesIdLineItems, Fe as getPayablesIdSuggestions, Le as getPaymentRecords, ze as getPaymentTerms, Be as getProducts, Ue as getProductsId, Ge as getReceipts, Je as getReceivables, Ze as getReceivablesId, rt as getReceivablesIdHistory, ot as getReceivablesIdMails, ut as getReceivablesIdPdfLink, ft as getTags, gt as getTransactions, _t as getTransactionsValidations, It as getUserData, Rt as getUsers, m as grantBankAccountAccess, k as grantExternalBankAccountAccess, A as linkExternalBankAccount, yt as listDepartments, Et as listLocations, Ft as listRolePermissions, Nt as listRoles, u as manageBankAccountAccess, S as manageDebitCardAccess, z as patchApprovalPoliciesId, q as patchCounterpartsId, X as patchCounterpartsIdAddressesId, ee as patchCounterpartsIdBankAccountsId, ie as patchEntitiesIdSettings, de as patchLedgerAccountsId, he as patchMeasureUnitsId, Se as patchPayablesId, We as patchProductsId, qe as patchReceiptsId, Qe as patchReceivablesId, ht as patchTagsId, n as postApiWidgetGatewayDisclosureAcceptance, L as postApprovalPolicies, V as postApprovalRequestsIdApprove, H as postApprovalRequestsIdReject, W as postCounterparts, Y as postCounterpartsIdAddresses, Q as postCounterpartsIdBankAccounts, te as postCounterpartsIdBankAccountsIdMakeDefault, le as postLedgerAccounts, pe as postMeasureUnits, _e as postPayables, Ce as postPayablesIdApprovePaymentOperation, we as postPayablesIdAttachFile, Te as postPayablesIdCancel, Ae as postPayablesIdMarkAsPaid, je as postPayablesIdReject, Me as postPayablesIdReopen, Ne as postPayablesIdSchedulePayment, Pe as postPayablesIdSubmitForApproval, Ie as postPayablesIdValidate, ye as postPayablesUploadFromFile, Re as postPaymentRecordsIdCancel, Ve as postProducts, Ye as postReceivables, $e as postReceivablesIdAccept, et as postReceivablesIdCancel, tt as postReceivablesIdClone, nt as postReceivablesIdDecline, it as postReceivablesIdIssue, st as postReceivablesIdMarkAsPaid, ct as postReceivablesIdMarkAsPartiallyPaid, lt as postReceivablesIdMarkAsUncollectible, dt as postReceivablesIdSend, pt as postTags, ke as putPayablesIdLineItems, at as putReceivablesIdLineItems, vt as putTransactionsValidations, s as submitApplication, E as unlinkExternalBankAccount, o as updateApplication, f as updateBankAccount, Ct as updateDepartment, D as updateExternalBankAccount, At as updateLocation, Bt as updateUser, Lt as upsertUserData, j as validateExternalBankAccount };
@@ -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.23", n = "2c86c1a6096cdfb0a4143e242e82228176ddfae4", r = Object.freeze({
2
+ var e = "@tesouro/embedded-components-react", t = "0.3.24", n = "8df13afb00375de265bcab691a761c4d4681cb83", 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.23",
3
+ "version": "0.3.24",
4
4
  "license": "Apache-2.0",
5
5
  "type": "module",
6
6
  "packageDepSync": {