@tesouro/embedded-components-react 0.5.187 → 0.5.188

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 (97) hide show
  1. package/README.md +19 -9
  2. package/dist/index.css +110 -0
  3. package/dist/index.d.ts +233 -60
  4. package/dist/index.js +6 -6
  5. package/dist/lib/ExpenseManagementWidget.d.ts +189 -11
  6. package/dist/lib/ExpenseManagementWidget.js +1 -1
  7. package/dist/lib/UploadReceiptWidget.js +1 -1
  8. package/dist/lib/WidgetSuite.d.ts +213 -16
  9. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index.js +17 -3
  10. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index10.js +36 -0
  11. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index11.js +71 -0
  12. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index12.js +39 -0
  13. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index13.js +32 -0
  14. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index14.js +110 -0
  15. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index15.js +33 -0
  16. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index16.js +19 -0
  17. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index17.js +33 -0
  18. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index18.js +28 -0
  19. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index19.js +35 -0
  20. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index20.js +28 -0
  21. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index21.js +164 -0
  22. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index4.js +25 -18
  23. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index5.js +20 -34
  24. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index6.js +16 -20
  25. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index7.js +16 -0
  26. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index8.js +32 -0
  27. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/data-access/dist/index9.js +26 -0
  28. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index.js +10 -7
  29. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index10.js +162 -59
  30. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index11.js +64 -16
  31. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index12.js +73 -2
  32. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index13.js +348 -42
  33. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index14.js +42 -1
  34. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index15.js +143 -0
  35. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index16.js +229 -0
  36. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index17.js +196 -0
  37. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index18.js +13 -0
  38. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index19.js +91 -0
  39. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index2.js +89 -2
  40. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index20.js +39 -0
  41. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index21.js +297 -0
  42. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index22.js +1 -0
  43. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index23.js +4 -0
  44. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index24.js +256 -0
  45. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index25.js +22 -0
  46. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index26.js +10 -0
  47. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index27.js +223 -0
  48. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js +2 -254
  49. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index4.js +4 -20
  50. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index5.js +262 -8
  51. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index6.js +2 -221
  52. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index7.js +54 -80
  53. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index8.js +24 -254
  54. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index9.js +18 -2
  55. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/index.js +34 -13
  56. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/AccordionItemCard/AccordionItemCard.js +549 -0
  57. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/AccordionItemCard/labels.js +38 -0
  58. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ActionItemsList/ActionItemsList.js +64 -0
  59. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ActionItemsList/labels.js +7 -0
  60. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/ExpenseStatusBadge.js +18 -0
  61. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/badgeTones.js +16 -0
  62. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseStatusBadge/labels.js +13 -0
  63. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesHeader/ExpensesHeader.js +37 -0
  64. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesHeader/labels.js +7 -0
  65. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesScreen/ExpensesScreen.js +112 -0
  66. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesScreen/labels.js +11 -0
  67. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsFilterBar/ExpensesTransactionsFilterBar.js +158 -0
  68. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsFilterBar/labels.js +18 -0
  69. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsTable/ExpensesTransactionsTable.js +148 -0
  70. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpensesTransactionsTable/labels.js +18 -0
  71. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/FileViewer.js +107 -0
  72. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/PdfFileViewer.js +37 -0
  73. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/FileViewer/labels.js +11 -0
  74. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ReceiptMatchWidget/lib/ReceiptMatchLauncher.js +2 -24
  75. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ReceiptMatchWidget/lib/ReceiptMatchSidebar.js +1 -1
  76. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ReceiptMatchWidget/lib/TransactionsMatchStep.js +62 -65
  77. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ReceiptMatchWidget/lib/labels.js +1 -4
  78. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/DeleteReceiptDialog.js +31 -0
  79. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/labels.js +9 -0
  80. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/TransactionDetails.js +268 -0
  81. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/labels.js +21 -0
  82. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/BulkProgress.js +26 -0
  83. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/TransactionDetailsActions.js +142 -0
  84. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/labels.js +20 -0
  85. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/isPdf.js +7 -0
  86. package/dist/libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js +2 -2
  87. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/index.js +36 -36
  88. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/@tanstack/react-query.gen.js +268 -206
  89. package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/sdk.gen.js +218 -113
  90. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  91. package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatCalendarDate.js +4 -4
  92. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index11.js +16 -14
  93. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +1 -2
  94. package/package.json +1 -1
  95. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js +0 -71
  96. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/index.js +0 -2
  97. package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/labels.js +0 -10
@@ -0,0 +1,21 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/labels.js
2
+ var e = {
3
+ screenReaderTitle: "Transaction details",
4
+ screenReaderDescription: "Review the transaction, its receipt and its approval requirements.",
5
+ contentTitle: "Transaction",
6
+ closeDialog: "Close transaction details",
7
+ requirementsCardTitle: "Requirements",
8
+ approvalsCardTitle: "Approvals",
9
+ accountingCardTitle: "Accounting",
10
+ auditHistoryCardTitle: "Audit history",
11
+ amountAtMerchant: (e, t) => `${e} at ${t}`,
12
+ noReceiptAttached: "No receipt attached",
13
+ dropFilesHere: "Drop your files here, or",
14
+ clickToBrowse: "click to browse",
15
+ acceptedFileTypes: "SVG, PNG, JPG or GIF (max. 3MB)",
16
+ uploadingReceipt: "Processing receipts...",
17
+ uploadingReceiptBody: "Give us a few seconds to process your attachment.",
18
+ loadFailed: "This transaction could not be loaded. Please try again."
19
+ };
20
+ //#endregion
21
+ export { e as TRANSACTION_DETAILS_LABELS_EN };
@@ -0,0 +1,26 @@
1
+ import { Typography as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
2
+ import { jsx as t, jsxs as n } from "react/jsx-runtime";
3
+ //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/BulkProgress.js
4
+ function r({ progressLabel: r, ariaLabel: i, percentComplete: a }) {
5
+ return /* @__PURE__ */ n("div", {
6
+ className: "ttw:flex ttw:flex-1 ttw:items-center ttw:gap-2",
7
+ children: [/* @__PURE__ */ t(e, {
8
+ variant: "h5",
9
+ color: "primary",
10
+ children: r
11
+ }), /* @__PURE__ */ t("div", {
12
+ role: "progressbar",
13
+ "aria-label": i,
14
+ "aria-valuenow": a,
15
+ "aria-valuemin": 0,
16
+ "aria-valuemax": 100,
17
+ className: "ttw:h-2 ttw:w-full ttw:min-w-30.5 ttw:max-w-55.5 ttw:rounded-md ttw:bg-muted",
18
+ children: /* @__PURE__ */ t("div", {
19
+ className: "ttw:h-full ttw:rounded-md ttw:bg-primary",
20
+ style: { width: `${a}%` }
21
+ })
22
+ })]
23
+ });
24
+ }
25
+ //#endregion
26
+ export { r as BulkProgress, r as default };
@@ -0,0 +1,142 @@
1
+ "use client";
2
+ "use client";
3
+ "use client";
4
+ "use client";
5
+ import { Alert as e, AlertDescription as t, Button as n, Field as r, FieldLabel as i, Input as a, cn as o } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
6
+ import { TRANSACTION_DETAILS_ACTIONS_LABELS_EN as s } from "./labels.js";
7
+ import { BulkProgress as c } from "./BulkProgress.js";
8
+ import { jsx as l, jsxs as u } from "react/jsx-runtime";
9
+ import { ArrowLeft as d, ArrowRight as f, Check as p, Loader2 as m, Send as h, X as g } from "lucide-react";
10
+ //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/TransactionDetailsActions.js
11
+ function _({ status: _, onApprove: v, onReject: y, onSubmit: b, onReopen: x, onClose: S, onToggleRejectMode: C, isLoading: w, isRejectMode: T, reasonValue: E, onReasonChange: D, canApprove: O, canWrite: k, hasOnlyViewPermission: A, isSubmitDisabled: j, isConfirmRejectionDisabled: M, showNoReceiptField: N, showNoReceiptRequiredMarker: P, showReviewNextLabels: F, isBulkMode: I, currentItem: L, totalItems: R, percentComplete: z, hasActionError: B, labels: V }) {
12
+ let H = {
13
+ ...s,
14
+ ...V
15
+ }, U = I ? "ttw:w-fit" : "ttw:flex-1/2", W = I ? /* @__PURE__ */ l(c, {
16
+ progressLabel: H.bulkProgress(L, R),
17
+ ariaLabel: H.bulkProgressAriaLabel,
18
+ percentComplete: z
19
+ }) : null, G = /* @__PURE__ */ u(n, {
20
+ type: "button",
21
+ variant: "outline",
22
+ className: "ttw:w-full",
23
+ onClick: S,
24
+ children: [/* @__PURE__ */ l(d, {
25
+ className: "ttw:size-4",
26
+ "aria-hidden": !0
27
+ }), H.returnToExpenses]
28
+ }), K = (e, t, n) => /* @__PURE__ */ u(r, { children: [/* @__PURE__ */ u(i, {
29
+ htmlFor: e,
30
+ className: "ttw:gap-0",
31
+ children: [t, n && /* @__PURE__ */ l("span", {
32
+ className: "ttw:inline-block ttw:-translate-y-0.5 ttw:text-sm ttw:font-normal ttw:text-destructive",
33
+ children: H.requiredMarker
34
+ })]
35
+ }), /* @__PURE__ */ l(a, {
36
+ id: e,
37
+ name: e,
38
+ value: E,
39
+ onChange: D
40
+ })] }), q = (e) => /* @__PURE__ */ u("div", {
41
+ className: "ttw:flex ttw:w-full ttw:flex-col ttw:gap-2",
42
+ children: [N && K("submitReason", H.noReceiptReasonLabel, P), /* @__PURE__ */ u("div", {
43
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2",
44
+ children: [W, /* @__PURE__ */ u("div", {
45
+ className: o("ttw:flex ttw:items-center ttw:gap-2", I ? "ttw:w-fit" : "ttw:w-full"),
46
+ children: [/* @__PURE__ */ l(n, {
47
+ type: "button",
48
+ variant: "outline",
49
+ className: U,
50
+ onClick: S,
51
+ children: H.cancel
52
+ }), /* @__PURE__ */ u(n, {
53
+ type: "button",
54
+ className: U,
55
+ disabled: j,
56
+ onClick: e,
57
+ children: [F ? H.submitForApprovalReviewNext : H.submitForApproval, w ? /* @__PURE__ */ l(m, {
58
+ className: "ttw:size-4 ttw:animate-spin",
59
+ "aria-hidden": !0
60
+ }) : /* @__PURE__ */ l(h, {
61
+ className: "ttw:size-4",
62
+ "aria-hidden": !0
63
+ })]
64
+ })]
65
+ })]
66
+ })]
67
+ });
68
+ return /* @__PURE__ */ u("div", {
69
+ className: o("ttw:flex ttw:flex-col ttw:items-center ttw:justify-center ttw:gap-2", I ? "ttw:w-full ttw:px-0" : "ttw:w-140 ttw:px-6"),
70
+ children: [B && /* @__PURE__ */ l(e, {
71
+ variant: "destructive",
72
+ className: "ttw:w-full",
73
+ children: /* @__PURE__ */ l(t, { children: H.actionFailed })
74
+ }), A ? G : (() => {
75
+ switch (_) {
76
+ case "new": return k ? q(b) : G;
77
+ case "rejected": return k ? q(x) : G;
78
+ case "approve_in_progress": return O ? T ? /* @__PURE__ */ u("div", {
79
+ className: "ttw:flex ttw:w-full ttw:flex-col ttw:gap-2",
80
+ children: [K("rejectionReason", H.rejectionReasonLabel, !0), /* @__PURE__ */ u("div", {
81
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2",
82
+ children: [W, /* @__PURE__ */ u("div", {
83
+ className: o("ttw:flex ttw:items-center ttw:gap-2", I ? "ttw:w-fit" : "ttw:w-full"),
84
+ children: [/* @__PURE__ */ l(n, {
85
+ type: "button",
86
+ variant: "outline",
87
+ className: U,
88
+ disabled: w,
89
+ onClick: C,
90
+ children: H.cancel
91
+ }), /* @__PURE__ */ u(n, {
92
+ type: "button",
93
+ variant: "destructive",
94
+ className: U,
95
+ disabled: M,
96
+ onClick: y,
97
+ children: [F ? H.confirmRejectionReviewNext : H.confirmRejection, w ? /* @__PURE__ */ l(m, {
98
+ className: "ttw:size-4 ttw:animate-spin",
99
+ "aria-hidden": !0
100
+ }) : /* @__PURE__ */ l(f, {
101
+ className: "ttw:size-4",
102
+ "aria-hidden": !0
103
+ })]
104
+ })]
105
+ })]
106
+ })]
107
+ }) : /* @__PURE__ */ u("div", {
108
+ className: "ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:gap-2",
109
+ children: [W, /* @__PURE__ */ u("div", {
110
+ className: o("ttw:flex ttw:items-center ttw:gap-2", I ? "ttw:w-fit" : "ttw:w-full"),
111
+ children: [/* @__PURE__ */ u(n, {
112
+ type: "button",
113
+ variant: "outline",
114
+ className: o(U, "ttw:border-destructive ttw:text-destructive"),
115
+ disabled: w,
116
+ onClick: C,
117
+ children: [/* @__PURE__ */ l(g, {
118
+ className: "ttw:size-4",
119
+ "aria-hidden": !0
120
+ }), H.reject]
121
+ }), /* @__PURE__ */ u(n, {
122
+ type: "button",
123
+ className: o(U, "ttw:bg-emerald-600 ttw:text-white ttw:hover:bg-emerald-700"),
124
+ disabled: w,
125
+ onClick: v,
126
+ children: [w ? /* @__PURE__ */ l(m, {
127
+ className: "ttw:size-4 ttw:animate-spin",
128
+ "aria-hidden": !0
129
+ }) : /* @__PURE__ */ l(p, {
130
+ className: "ttw:size-4",
131
+ "aria-hidden": !0
132
+ }), F ? H.approveReviewNext : H.approve]
133
+ })]
134
+ })]
135
+ }) : G;
136
+ default: return G;
137
+ }
138
+ })()]
139
+ });
140
+ }
141
+ //#endregion
142
+ export { _ as TransactionDetailsActions, _ as default };
@@ -0,0 +1,20 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetailsActions/labels.js
2
+ var e = {
3
+ returnToExpenses: "Return to expenses view",
4
+ cancel: "Cancel",
5
+ reject: "Reject",
6
+ approve: "Approve",
7
+ approveReviewNext: "Approve, review next",
8
+ confirmRejection: "Confirm rejection",
9
+ confirmRejectionReviewNext: "Confirm rejection, review next",
10
+ submitForApproval: "Submit for approval",
11
+ submitForApprovalReviewNext: "Submit for approval, review next",
12
+ rejectionReasonLabel: "Reason for rejection",
13
+ noReceiptReasonLabel: "Reason for submitting without a receipt",
14
+ requiredMarker: "*",
15
+ bulkProgress: (e, t) => `Review ${e}/${t}`,
16
+ bulkProgressAriaLabel: "Review progress",
17
+ actionFailed: "That action could not be completed. Please try again."
18
+ };
19
+ //#endregion
20
+ export { e as TRANSACTION_DETAILS_ACTIONS_LABELS_EN };
@@ -0,0 +1,7 @@
1
+ //#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/isPdf.js
2
+ function e(e, t) {
3
+ let n = t ?? e.split(/[?#]/)[0];
4
+ return /\.pdf$/i.test(n);
5
+ }
6
+ //#endregion
7
+ export { e as isPdf };
@@ -3,10 +3,10 @@
3
3
  "use client";
4
4
  "use client";
5
5
  import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
6
- import { ExpenseApprovalPoliciesWidget as i } from "../../../expense-management-widget/feature/dist/index6.js";
6
+ import { ExpenseApprovalPoliciesWidget as i } from "../../../expense-management-widget/feature/dist/index27.js";
7
+ import "../../../expense-management-widget/feature/dist/index.js";
7
8
  import { ExpenseRequirementsWidget as a } from "../../../shared/expense-requirements/feature/dist/lib/ExpenseRequirementsWidget.js";
8
9
  import "../../../shared/expense-requirements/feature/dist/index.js";
9
- import "../../../expense-management-widget/feature/dist/index.js";
10
10
  import { useState as o } from "react";
11
11
  import { jsx as s, jsxs as c } from "react/jsx-runtime";
12
12
  //#region ../../libs/tesouro-embedded-components-react/settings-widget/feature/dist/index5.js
@@ -1,43 +1,43 @@
1
1
  import "./lib/finopsApiVersion.js";
2
2
  import "./lib/rest/client.gen.js";
3
- import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement as x, getCounterparts as S, getDepartment as C, getDepositableBankAccounts as w, getExternalBankAccountAccess as T, getLocation as E, getPayables as D, getPayablesId as O, getPayablesIdHistory as k, getPayablesIdLineItems as A, getPaymentRecords as j, getReceivables as M, getUsers as N, listDepartments as P, listLocations as F, listRoles as I, manageBankAccountAccess as L, manageDebitCardAccess as R, patchCounterpartsId as z, patchCounterpartsIdAddressesId as B, patchCounterpartsIdBankAccountsId as V, patchEntitiesIdSettings as H, patchMeasureUnitsId as U, patchPayablesId as W, patchProductsId as G, patchReceivablesId as K, postApprovalRequestsIdApprove as q, postApprovalRequestsIdReject as J, postCounterparts as Y, postCounterpartsIdAddresses as X, postCounterpartsIdBankAccounts as Z, postCounterpartsIdBankAccountsIdMakeDefault as Q, postMeasureUnits as $, postPayables as ee, postPayablesIdApprovePaymentOperation as te, postPayablesIdAttachFile as ne, postPayablesIdCancel as re, postPayablesIdDuplicatesIdConfirm as ie, postPayablesIdDuplicatesIdDismiss as ae, postPayablesIdMarkAsPaid as oe, postPayablesIdReject as se, postPayablesIdReopen as ce, postPayablesIdSchedulePayment as le, postPayablesIdSubmitForApproval as ue, postPayablesIdValidate as de, postPayablesUploadFromFile as fe, postPaymentIntentsIdCancel as pe, postProducts as me, postReceivables as he, postReceivablesIdAccept as ge, postReceivablesIdCancel as _e, postReceivablesIdClone as ve, postReceivablesIdDecline as ye, postReceivablesIdIssue as be, postReceivablesIdMarkAsPaid as xe, postReceivablesIdMarkAsPartiallyPaid as Se, postReceivablesIdMarkAsUncollectible as Ce, postReceivablesIdSend as we, putEntitiesIdLogo as Te, putPayablesIdLineItems as Ee, updateDepartment as De, updateLocation as Oe, updateUser as ke } from "./lib/rest/sdk.gen.js";
4
- import { activateCreditCardMutation as Ae, activateDebitCardMutation as je, connectExternalBankAccountMutation as Me, createAchMoneyMovementMutation as Ne, createApplicationMutation as Pe, createBankAccountMutation as Fe, createBookTransferMutation as Ie, createCheckDepositMutation as Le, createDebitCardMutation as Re, createVelocityControlMutation as ze, deleteApprovalPoliciesIdMutation as Be, deleteBankAccountApplicationMutation as Ve, deleteLedgerAccountsIdMutation as He, deleteReceiptsIdMutation as Ue, disableUserMutation as We, getAnalyticsPayablesOptions as Ge, getAnalyticsPayablesQueryKey as Ke, getAnalyticsReceivablesOptions as qe, getApprovalPoliciesOptions as Je, getApprovalPoliciesQueryKey as Ye, getApprovalRequestsOptions as Xe, getApprovalRequestsQueryKey as Ze, getBankAccountAccessQueryKey as Qe, getBankAccountApplicationOptions as $e, getBankAccountOptions as et, getBankAccountQueryKey as tt, getBankAccountStatementsOptions as nt, getBankAccountTransactionsOptions as rt, getBankAccountTransactionsQueryKey as it, getBankAccountTransfersOptions as at, getBankAccountTransfersQueryKey as ot, getBankAccountsQueryKey as st, getCounterpartsIdAddressesOptions as ct, getCounterpartsIdAddressesQueryKey as lt, getCounterpartsIdBankAccountsOptions as ut, getCounterpartsIdBankAccountsQueryKey as dt, getCounterpartsIdOptions as ft, getCounterpartsIdQueryKey as pt, getCounterpartsOptions as mt, getCounterpartsQueryKey as ht, getCreditCardByIdOptions as gt, getCreditCardByIdQueryKey as _t, getCreditCardsOptions as vt, getCreditCardsQueryKey as yt, getDebitCardByIdOptions as bt, getDebitCardByIdQueryKey as xt, getDebitCardCredentialsOptions as St, getDebitCardsOptions as Ct, getDebitCardsQueryKey as wt, getDepartmentOptions as Tt, getDepartmentQueryKey as Et, getDepositableBankAccountsOptions as Dt, getDocumentsIdNextNumbersOptions as Ot, getDocumentsIdNextNumbersQueryKey as kt, getEntitiesIdSettingsOptions as At, getEntitiesIdSettingsQueryKey as jt, getEntityUsersMyEntityOptions as Mt, getEntityUsersMyEntityQueryKey as Nt, getExternalBankAccountAccessQueryKey as Pt, getExternalBankAccountsOptions as Ft, getExternalBankAccountsQueryKey as It, getLedgerAccountsQueryKey as Lt, getLocationOptions as Rt, getLocationQueryKey as zt, getMeasureUnitsOptions as Bt, getMeasureUnitsQueryKey as Vt, getOrganizationOptions as Ht, getPayablesIdHistoryOptions as Ut, getPayablesIdHistoryQueryKey as Wt, getPayablesIdLineItemsOptions as Gt, getPayablesIdLineItemsQueryKey as Kt, getPayablesIdOptions as qt, getPayablesIdQueryKey as Jt, getPayablesIdSuggestionsOptions as Yt, getPayablesOptions as Xt, getPayablesQueryKey as Zt, getPaymentRecordsOptions as Qt, getPaymentRecordsQueryKey as $t, getProductsIdOptions as en, getProductsIdQueryKey as tn, getProductsOptions as nn, getProductsQueryKey as rn, getReceiptsIdQueryKey as an, getReceiptsOptions as on, getReceiptsQueryKey as sn, getReceivablesIdHistoryOptions as cn, getReceivablesIdHistoryQueryKey as ln, getReceivablesIdMailsOptions as un, getReceivablesIdMailsQueryKey as dn, getReceivablesIdOptions as fn, getReceivablesIdPdfLinkOptions as pn, getReceivablesIdPdfLinkQueryKey as mn, getReceivablesIdQueryKey as hn, getReceivablesOptions as gn, getReceivablesQueryKey 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, patchLedgerAccountsIdMutation as In, patchReceiptsIdMutation as Ln, postApprovalPoliciesMutation as Rn, postLedgerAccountsMutation as zn, putTransactionsValidationsMutation as Bn, setDebitCardLockStatusMutation as Vn, submitApplicationMutation as Hn, unlinkExternalBankAccountMutation as Un, updateApplicationMutation as Wn, updateBankAccountMutation as Gn, updateDebitCardMutation as Kn, updateExternalBankAccountMutation as qn, validateExternalBankAccountMutation as Jn, verifyDebitCardMutation as Yn } from "./lib/rest/@tanstack/react-query.gen.js";
5
- import { authEpochPlaceholder as Xn, withAuthEpoch as Zn } from "./lib/withAuthEpoch.js";
6
- import { applicationStatusInvalidationKey as Qn, applicationStatusQueryOptions as $n } from "./lib/applicationStatusQueryOptions.js";
7
- import { createClientSecretInstaller as er } from "./lib/scopedClientSecret.js";
8
- import { cancelAllClients as tr, invalidateAllClients as nr, registerQueryClient as rr, removeInactiveFromAllClients as ir, setAllClientsQueriesData as ar, unregisterQueryClient as or } from "./lib/clientRegistry.js";
9
- import { cloneEmbeddedClient as sr, createEmbeddedClient as cr } from "./lib/createEmbeddedClient.js";
3
+ import { bulkUpdateDepartmentMembers as e, bulkUpdateLocationMembers as t, bulkUpdateRoleMembers as n, createDepartment as r, createLocation as i, createUser as a, deactivateDepartment as o, deactivateLocation as s, deleteCounterpartsId as c, deleteCounterpartsIdBankAccountsId as l, deleteEntitiesIdLogo as u, deleteMeasureUnitsId as d, deletePayablesId as f, deletePayablesIdFile as p, deleteProductsId as m, deleteReceivablesId as h, downloadBankAccountTransactions as g, getApplicationStatus as _, getApprovalPolicies as v, getApprovalRequests as y, getBankAccountAccess as b, getBankAccountStatement as x, getCounterparts as S, getDepartment as C, getDepositableBankAccounts as w, getExternalBankAccountAccess as T, getLocation as E, getPayables as D, getPayablesId as O, getPayablesIdHistory as k, getPayablesIdLineItems as A, getPaymentRecords as j, getReceipts as M, getReceivables as N, getUsers as P, listDepartments as F, listLocations as I, listRoles as L, manageBankAccountAccess as R, manageDebitCardAccess as z, patchCounterpartsId as B, patchCounterpartsIdAddressesId as V, patchCounterpartsIdBankAccountsId as H, patchEntitiesIdSettings as U, patchMeasureUnitsId as W, patchPayablesId as G, patchProductsId as K, patchReceivablesId as q, patchTransactionsId as J, postApprovalRequestsIdApprove as Y, postApprovalRequestsIdReject as X, postCounterparts as Z, postCounterpartsIdAddresses as Q, postCounterpartsIdBankAccounts as $, postCounterpartsIdBankAccountsIdMakeDefault as ee, postMeasureUnits as te, postPayables as ne, postPayablesIdApprovePaymentOperation as re, postPayablesIdAttachFile as ie, postPayablesIdCancel as ae, postPayablesIdDuplicatesIdConfirm as oe, postPayablesIdDuplicatesIdDismiss as se, postPayablesIdMarkAsPaid as ce, postPayablesIdReject as le, postPayablesIdReopen as ue, postPayablesIdSchedulePayment as de, postPayablesIdSubmitForApproval as fe, postPayablesIdValidate as pe, postPayablesUploadFromFile as me, postPaymentIntentsIdCancel as he, postProducts as ge, postReceivables as _e, postReceivablesIdAccept as ve, postReceivablesIdCancel as ye, postReceivablesIdClone as be, postReceivablesIdDecline as xe, postReceivablesIdIssue as Se, postReceivablesIdMarkAsPaid as Ce, postReceivablesIdMarkAsPartiallyPaid as we, postReceivablesIdMarkAsUncollectible as Te, postReceivablesIdSend as Ee, postTransactionsIdApprove as De, postTransactionsIdReject as Oe, postTransactionsIdReopen as ke, postTransactionsIdSubmit as Ae, putEntitiesIdLogo as je, putPayablesIdLineItems as Me, updateDepartment as Ne, updateLocation as Pe, updateUser as Fe } from "./lib/rest/sdk.gen.js";
4
+ import { activateCreditCardMutation as Ie, activateDebitCardMutation as Le, connectExternalBankAccountMutation as Re, createAchMoneyMovementMutation as ze, createApplicationMutation as Be, createBankAccountMutation as Ve, createBookTransferMutation as He, createCheckDepositMutation as Ue, createDebitCardMutation as We, createVelocityControlMutation as Ge, deleteApprovalPoliciesIdMutation as Ke, deleteBankAccountApplicationMutation as qe, deleteLedgerAccountsIdMutation as Je, deleteReceiptsIdMutation as Ye, disableUserMutation as Xe, getAnalyticsPayablesOptions as Ze, getAnalyticsPayablesQueryKey as Qe, getAnalyticsReceiptsOptions as $e, getAnalyticsReceiptsQueryKey as et, getAnalyticsReceivablesOptions as tt, getAnalyticsTransactionsOptions as nt, getAnalyticsTransactionsQueryKey as rt, getApprovalPoliciesOptions as it, getApprovalPoliciesQueryKey as at, getApprovalRequestsOptions as ot, getApprovalRequestsQueryKey as st, getBankAccountAccessQueryKey as ct, getBankAccountApplicationOptions as lt, getBankAccountOptions as ut, getBankAccountQueryKey as dt, getBankAccountStatementsOptions as ft, getBankAccountTransactionsOptions as pt, getBankAccountTransactionsQueryKey as mt, getBankAccountTransfersOptions as ht, getBankAccountTransfersQueryKey as gt, getBankAccountsQueryKey as _t, getCounterpartsIdAddressesOptions as vt, getCounterpartsIdAddressesQueryKey as yt, getCounterpartsIdBankAccountsOptions as bt, getCounterpartsIdBankAccountsQueryKey as xt, getCounterpartsIdOptions as St, getCounterpartsIdQueryKey as Ct, getCounterpartsOptions as wt, getCounterpartsQueryKey as Tt, getCreditCardByIdOptions as Et, getCreditCardByIdQueryKey as Dt, getCreditCardsOptions as Ot, getCreditCardsQueryKey as kt, getDebitCardByIdOptions as At, getDebitCardByIdQueryKey as jt, getDebitCardCredentialsOptions as Mt, getDebitCardsOptions as Nt, getDebitCardsQueryKey as Pt, getDepartmentOptions as Ft, getDepartmentQueryKey as It, getDepositableBankAccountsOptions as Lt, getDocumentsIdNextNumbersOptions as Rt, getDocumentsIdNextNumbersQueryKey as zt, getEntitiesIdSettingsOptions as Bt, getEntitiesIdSettingsQueryKey as Vt, getEntityUsersMyEntityOptions as Ht, getEntityUsersMyEntityQueryKey as Ut, getEntityUsersOptions as Wt, getExternalBankAccountAccessQueryKey as Gt, getExternalBankAccountsOptions as Kt, getExternalBankAccountsQueryKey as qt, getLedgerAccountsQueryKey as Jt, getLocationOptions as Yt, getLocationQueryKey as Xt, getMeasureUnitsOptions as Zt, getMeasureUnitsQueryKey as Qt, getOrganizationOptions as $t, getPayablesIdHistoryOptions as en, getPayablesIdHistoryQueryKey as tn, getPayablesIdLineItemsOptions as nn, getPayablesIdLineItemsQueryKey as rn, getPayablesIdOptions as an, getPayablesIdQueryKey as on, getPayablesIdSuggestionsOptions as sn, getPayablesOptions as cn, getPayablesQueryKey as ln, getPaymentRecordsOptions as un, getPaymentRecordsQueryKey as dn, getProductsIdOptions as fn, getProductsIdQueryKey as pn, getProductsOptions as mn, getProductsQueryKey as hn, getReceiptsIdQueryKey as gn, getReceiptsOptions as _n, getReceiptsQueryKey as vn, getReceivablesIdHistoryOptions as yn, getReceivablesIdHistoryQueryKey as bn, getReceivablesIdMailsOptions as xn, getReceivablesIdMailsQueryKey as Sn, getReceivablesIdOptions as Cn, getReceivablesIdPdfLinkOptions as wn, getReceivablesIdPdfLinkQueryKey as Tn, getReceivablesIdQueryKey as En, getReceivablesOptions as Dn, getReceivablesQueryKey as On, getTransactionsIdExpenseHistoryOptions as kn, getTransactionsIdExpenseHistoryQueryKey as An, getTransactionsIdOptions as jn, getTransactionsIdQueryKey as Mn, getTransactionsOptions as Nn, getTransactionsQueryKey as Pn, getTransactionsValidationsOptions as Fn, getTransactionsValidationsQueryKey as In, getUsersOptions as Ln, getUsersQueryKey as Rn, getVelocityControlsQueryKey as zn, grantBankAccountAccessMutation as Bn, grantExternalBankAccountAccessMutation as Vn, linkExternalBankAccountMutation as Hn, listDepartmentsOptions as Un, listDepartmentsQueryKey as Wn, listLocationsOptions as Gn, listLocationsQueryKey as Kn, listRolesQueryKey as qn, manageDebitCardAccessMutation as Jn, patchApprovalPoliciesIdMutation as Yn, patchLedgerAccountsIdMutation as Xn, patchReceiptsIdMutation as Zn, postApprovalPoliciesMutation as Qn, postLedgerAccountsMutation as $n, postReceiptsUploadFromFileMutation as er, putTransactionsValidationsMutation as tr, setDebitCardLockStatusMutation as nr, submitApplicationMutation as rr, unlinkExternalBankAccountMutation as ir, updateApplicationMutation as ar, updateBankAccountMutation as or, updateDebitCardMutation as sr, updateExternalBankAccountMutation as cr, validateExternalBankAccountMutation as lr, verifyDebitCardMutation as ur } from "./lib/rest/@tanstack/react-query.gen.js";
5
+ import { authEpochPlaceholder as dr, withAuthEpoch as fr } from "./lib/withAuthEpoch.js";
6
+ import { applicationStatusInvalidationKey as pr, applicationStatusQueryOptions as mr } from "./lib/applicationStatusQueryOptions.js";
7
+ import { createClientSecretInstaller as hr } from "./lib/scopedClientSecret.js";
8
+ import { cancelAllClients as gr, invalidateAllClients as _r, registerQueryClient as vr, removeInactiveFromAllClients as yr, setAllClientsQueriesData as br, unregisterQueryClient as xr } from "./lib/clientRegistry.js";
9
+ import { cloneEmbeddedClient as Sr, createEmbeddedClient as Cr } from "./lib/createEmbeddedClient.js";
10
10
  import "./lib/widgetGatewayHosts.js";
11
- import { attachTransportInterceptors as lr } from "./lib/transportInterceptors.js";
12
- import { EmbedApiProvider as ur, useEmbedApi as dr } from "./lib/EmbedApiContext.js";
13
- import { optionalOrganizationHeaders as fr, organizationHeaders as pr } from "./lib/organizationHeaders.js";
14
- import { fetchWidgetInit as mr } from "./lib/fetchWidgetInit.js";
15
- import { hasAnyScope as hr } from "./lib/hasAnyScope.js";
11
+ import { attachTransportInterceptors as wr } from "./lib/transportInterceptors.js";
12
+ import { EmbedApiProvider as Tr, useEmbedApi as Er } from "./lib/EmbedApiContext.js";
13
+ import { optionalOrganizationHeaders as Dr, organizationHeaders as Or } from "./lib/organizationHeaders.js";
14
+ import { fetchWidgetInit as kr } from "./lib/fetchWidgetInit.js";
15
+ import { hasAnyScope as Ar } from "./lib/hasAnyScope.js";
16
16
  import "./lib/queryKeys.js";
17
- import { useCurrentUserQuery as gr } from "./lib/useCurrentUserQuery.js";
18
- import { useMailboxAddress as _r } from "./lib/useMailboxAddress.js";
17
+ import { useCurrentUserQuery as jr } from "./lib/useCurrentUserQuery.js";
18
+ import { useMailboxAddress as Mr } from "./lib/useMailboxAddress.js";
19
19
  import "./lib/apiErrorStatus.js";
20
- import { isApiConflictError as vr } from "./lib/isApiConflictError.js";
21
- import { isApiForbiddenError as yr } from "./lib/isApiForbiddenError.js";
22
- import { isApiNotFoundError as br } from "./lib/isApiNotFoundError.js";
23
- import { isApiUnprocessableError as xr } from "./lib/isApiUnprocessableError.js";
20
+ import { isApiConflictError as Nr } from "./lib/isApiConflictError.js";
21
+ import { isApiForbiddenError as Pr } from "./lib/isApiForbiddenError.js";
22
+ import { isApiNotFoundError as Fr } from "./lib/isApiNotFoundError.js";
23
+ import { isApiUnprocessableError as Ir } from "./lib/isApiUnprocessableError.js";
24
24
  import "./lib/isUserDataNotFoundError.js";
25
- import { useGetUserDataQuery as Sr } from "./lib/useGetUserDataQuery.js";
26
- import { useUpsertUserDataMutation as Cr } from "./lib/useUpsertUserDataMutation.js";
25
+ import { useGetUserDataQuery as Lr } from "./lib/useGetUserDataQuery.js";
26
+ import { useUpsertUserDataMutation as Rr } from "./lib/useUpsertUserDataMutation.js";
27
27
  import "./lib/rest/zod.gen.js";
28
- import { Scope as wr, isScope as Tr } from "./lib/scopes.js";
29
- import { getAllPagesNextPageParam as Er, getAllPagesNextPaginationTokenParam as Dr, isAllPagesResolving as Or, useAutoFetchNextPage as kr } from "./lib/allPages.js";
30
- import { useAllBankAccountsQuery as Ar } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
- import { useAllDebitCardsQuery as jr } from "./lib/debit-card/useAllDebitCardsQuery.js";
32
- import { useAllExternalBankAccountsQuery as Mr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
33
- import { useAllMerchantCategoryGroupsQuery as Nr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
34
- import { useAllLedgerAccountsQuery as Pr, useLedgerAccountsQuery as Fr } from "./lib/reference-data/useLedgerAccountsQuery.js";
35
- import { usePaymentTermsQuery as Ir } from "./lib/reference-data/usePaymentTermsQuery.js";
36
- import { useAllOrganizationRolesQuery as Lr } from "./lib/role/useAllOrganizationRolesQuery.js";
37
- import { useRolePermissionsQueries as Rr } from "./lib/role/useRolePermissionsQueries.js";
38
- import { useAllOrganizationUsersQuery as zr } from "./lib/user/useAllOrganizationUsersQuery.js";
39
- import { useAcceptWidgetDisclosures as Br } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
40
- import { useDisclosuresQuery as Vr } from "./lib/disclosures/useDisclosuresQuery.js";
41
- import { OnboardingSuppressionReason as Hr } from "./lib/onboardingSuppressionReason.js";
42
- import { useOrganizationOnboardingSuppression as Ur } from "./lib/useOrganizationOnboardingSuppression.js";
43
- export { ur as EmbedApiProvider, Hr as OnboardingSuppressionReason, wr as Scope, Ae as activateCreditCardMutation, je as activateDebitCardMutation, Qn as applicationStatusInvalidationKey, $n as applicationStatusQueryOptions, lr as attachTransportInterceptors, Xn as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, tr as cancelAllClients, sr as cloneEmbeddedClient, Me as connectExternalBankAccountMutation, Ne as createAchMoneyMovementMutation, Pe as createApplicationMutation, Fe as createBankAccountMutation, Ie as createBookTransferMutation, Le as createCheckDepositMutation, er as createClientSecretInstaller, Re as createDebitCardMutation, r as createDepartment, cr as createEmbeddedClient, i as createLocation, a as createUser, ze as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Be as deleteApprovalPoliciesIdMutation, Ve as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, He as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ue as deleteReceiptsIdMutation, h as deleteReceivablesId, We as disableUserMutation, g as downloadBankAccountTransactions, mr as fetchWidgetInit, Er as getAllPagesNextPageParam, Dr as getAllPagesNextPaginationTokenParam, Ge as getAnalyticsPayablesOptions, Ke as getAnalyticsPayablesQueryKey, qe as getAnalyticsReceivablesOptions, _ as getApplicationStatus, v as getApprovalPolicies, Je as getApprovalPoliciesOptions, Ye as getApprovalPoliciesQueryKey, y as getApprovalRequests, Xe as getApprovalRequestsOptions, Ze as getApprovalRequestsQueryKey, b as getBankAccountAccess, Qe as getBankAccountAccessQueryKey, $e as getBankAccountApplicationOptions, et as getBankAccountOptions, tt as getBankAccountQueryKey, x as getBankAccountStatement, nt as getBankAccountStatementsOptions, rt as getBankAccountTransactionsOptions, it as getBankAccountTransactionsQueryKey, at as getBankAccountTransfersOptions, ot as getBankAccountTransfersQueryKey, st as getBankAccountsQueryKey, S as getCounterparts, ct as getCounterpartsIdAddressesOptions, lt as getCounterpartsIdAddressesQueryKey, ut as getCounterpartsIdBankAccountsOptions, dt as getCounterpartsIdBankAccountsQueryKey, ft as getCounterpartsIdOptions, pt as getCounterpartsIdQueryKey, mt as getCounterpartsOptions, ht as getCounterpartsQueryKey, gt as getCreditCardByIdOptions, _t as getCreditCardByIdQueryKey, vt as getCreditCardsOptions, yt as getCreditCardsQueryKey, bt as getDebitCardByIdOptions, xt as getDebitCardByIdQueryKey, St as getDebitCardCredentialsOptions, Ct as getDebitCardsOptions, wt as getDebitCardsQueryKey, C as getDepartment, Tt as getDepartmentOptions, Et as getDepartmentQueryKey, w as getDepositableBankAccounts, Dt as getDepositableBankAccountsOptions, Ot as getDocumentsIdNextNumbersOptions, kt as getDocumentsIdNextNumbersQueryKey, At as getEntitiesIdSettingsOptions, jt as getEntitiesIdSettingsQueryKey, Mt as getEntityUsersMyEntityOptions, Nt as getEntityUsersMyEntityQueryKey, T as getExternalBankAccountAccess, Pt as getExternalBankAccountAccessQueryKey, Ft as getExternalBankAccountsOptions, It as getExternalBankAccountsQueryKey, Lt as getLedgerAccountsQueryKey, E as getLocation, Rt as getLocationOptions, zt as getLocationQueryKey, Bt as getMeasureUnitsOptions, Vt as getMeasureUnitsQueryKey, Ht as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, Ut as getPayablesIdHistoryOptions, Wt as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, Gt as getPayablesIdLineItemsOptions, Kt as getPayablesIdLineItemsQueryKey, qt as getPayablesIdOptions, Jt as getPayablesIdQueryKey, Yt as getPayablesIdSuggestionsOptions, Xt as getPayablesOptions, Zt as getPayablesQueryKey, j as getPaymentRecords, Qt as getPaymentRecordsOptions, $t as getPaymentRecordsQueryKey, en as getProductsIdOptions, tn as getProductsIdQueryKey, nn as getProductsOptions, rn as getProductsQueryKey, an as getReceiptsIdQueryKey, on as getReceiptsOptions, sn as getReceiptsQueryKey, M as getReceivables, cn as getReceivablesIdHistoryOptions, ln as getReceivablesIdHistoryQueryKey, un as getReceivablesIdMailsOptions, dn as getReceivablesIdMailsQueryKey, fn as getReceivablesIdOptions, pn as getReceivablesIdPdfLinkOptions, mn as getReceivablesIdPdfLinkQueryKey, hn as getReceivablesIdQueryKey, gn as getReceivablesOptions, _n as getReceivablesQueryKey, vn as getTransactionsIdQueryKey, yn as getTransactionsOptions, bn as getTransactionsQueryKey, xn as getTransactionsValidationsOptions, Sn as getTransactionsValidationsQueryKey, N as getUsers, Cn as getUsersOptions, wn as getUsersQueryKey, Tn as getVelocityControlsQueryKey, En as grantBankAccountAccessMutation, Dn as grantExternalBankAccountAccessMutation, hr as hasAnyScope, nr as invalidateAllClients, Or as isAllPagesResolving, vr as isApiConflictError, yr as isApiForbiddenError, br as isApiNotFoundError, xr as isApiUnprocessableError, Tr as isScope, On as linkExternalBankAccountMutation, P as listDepartments, kn as listDepartmentsOptions, An as listDepartmentsQueryKey, F as listLocations, jn as listLocationsOptions, Mn as listLocationsQueryKey, I as listRoles, Nn as listRolesQueryKey, L as manageBankAccountAccess, R as manageDebitCardAccess, Pn as manageDebitCardAccessMutation, fr as optionalOrganizationHeaders, pr as organizationHeaders, Fn as patchApprovalPoliciesIdMutation, z as patchCounterpartsId, B as patchCounterpartsIdAddressesId, V as patchCounterpartsIdBankAccountsId, H as patchEntitiesIdSettings, In as patchLedgerAccountsIdMutation, U as patchMeasureUnitsId, W as patchPayablesId, G as patchProductsId, Ln as patchReceiptsIdMutation, K as patchReceivablesId, Rn as postApprovalPoliciesMutation, q as postApprovalRequestsIdApprove, J as postApprovalRequestsIdReject, Y as postCounterparts, X as postCounterpartsIdAddresses, Z as postCounterpartsIdBankAccounts, Q as postCounterpartsIdBankAccountsIdMakeDefault, zn as postLedgerAccountsMutation, $ as postMeasureUnits, ee as postPayables, te as postPayablesIdApprovePaymentOperation, ne as postPayablesIdAttachFile, re as postPayablesIdCancel, ie as postPayablesIdDuplicatesIdConfirm, ae as postPayablesIdDuplicatesIdDismiss, oe as postPayablesIdMarkAsPaid, se as postPayablesIdReject, ce as postPayablesIdReopen, le as postPayablesIdSchedulePayment, ue as postPayablesIdSubmitForApproval, de as postPayablesIdValidate, fe as postPayablesUploadFromFile, pe as postPaymentIntentsIdCancel, me as postProducts, he as postReceivables, ge as postReceivablesIdAccept, _e as postReceivablesIdCancel, ve as postReceivablesIdClone, ye as postReceivablesIdDecline, be as postReceivablesIdIssue, xe as postReceivablesIdMarkAsPaid, Se as postReceivablesIdMarkAsPartiallyPaid, Ce as postReceivablesIdMarkAsUncollectible, we as postReceivablesIdSend, Te as putEntitiesIdLogo, Ee as putPayablesIdLineItems, Bn as putTransactionsValidationsMutation, rr as registerQueryClient, ir as removeInactiveFromAllClients, ar as setAllClientsQueriesData, Vn as setDebitCardLockStatusMutation, Hn as submitApplicationMutation, Un as unlinkExternalBankAccountMutation, or as unregisterQueryClient, Wn as updateApplicationMutation, Gn as updateBankAccountMutation, Kn as updateDebitCardMutation, De as updateDepartment, qn as updateExternalBankAccountMutation, Oe as updateLocation, ke as updateUser, Br as useAcceptWidgetDisclosures, Ar as useAllBankAccountsQuery, jr as useAllDebitCardsQuery, Mr as useAllExternalBankAccountsQuery, Pr as useAllLedgerAccountsQuery, Nr as useAllMerchantCategoryGroupsQuery, Lr as useAllOrganizationRolesQuery, zr as useAllOrganizationUsersQuery, kr as useAutoFetchNextPage, gr as useCurrentUserQuery, Vr as useDisclosuresQuery, dr as useEmbedApi, Sr as useGetUserDataQuery, Fr as useLedgerAccountsQuery, _r as useMailboxAddress, Ur as useOrganizationOnboardingSuppression, Ir as usePaymentTermsQuery, Rr as useRolePermissionsQueries, Cr as useUpsertUserDataMutation, Jn as validateExternalBankAccountMutation, Yn as verifyDebitCardMutation, Zn as withAuthEpoch };
28
+ import { Scope as zr, isScope as Br } from "./lib/scopes.js";
29
+ import { getAllPagesNextPageParam as Vr, getAllPagesNextPaginationTokenParam as Hr, isAllPagesResolving as Ur, useAutoFetchNextPage as Wr } from "./lib/allPages.js";
30
+ import { useAllBankAccountsQuery as Gr } from "./lib/bank-account/useAllBankAccountsQuery.js";
31
+ import { useAllDebitCardsQuery as Kr } from "./lib/debit-card/useAllDebitCardsQuery.js";
32
+ import { useAllExternalBankAccountsQuery as qr } from "./lib/external-bank-account/useAllExternalBankAccountsQuery.js";
33
+ import { useAllMerchantCategoryGroupsQuery as Jr } from "./lib/merchant-category-group/useAllMerchantCategoryGroupsQuery.js";
34
+ import { useAllLedgerAccountsQuery as Yr, useLedgerAccountsQuery as Xr } from "./lib/reference-data/useLedgerAccountsQuery.js";
35
+ import { usePaymentTermsQuery as Zr } from "./lib/reference-data/usePaymentTermsQuery.js";
36
+ import { useAllOrganizationRolesQuery as Qr } from "./lib/role/useAllOrganizationRolesQuery.js";
37
+ import { useRolePermissionsQueries as $r } from "./lib/role/useRolePermissionsQueries.js";
38
+ import { useAllOrganizationUsersQuery as ei } from "./lib/user/useAllOrganizationUsersQuery.js";
39
+ import { useAcceptWidgetDisclosures as ti } from "./lib/disclosures/useAcceptWidgetDisclosures.js";
40
+ import { useDisclosuresQuery as ni } from "./lib/disclosures/useDisclosuresQuery.js";
41
+ import { OnboardingSuppressionReason as ri } from "./lib/onboardingSuppressionReason.js";
42
+ import { useOrganizationOnboardingSuppression as ii } from "./lib/useOrganizationOnboardingSuppression.js";
43
+ export { Tr as EmbedApiProvider, ri as OnboardingSuppressionReason, zr as Scope, Ie as activateCreditCardMutation, Le as activateDebitCardMutation, pr as applicationStatusInvalidationKey, mr as applicationStatusQueryOptions, wr as attachTransportInterceptors, dr as authEpochPlaceholder, e as bulkUpdateDepartmentMembers, t as bulkUpdateLocationMembers, n as bulkUpdateRoleMembers, gr as cancelAllClients, Sr as cloneEmbeddedClient, Re as connectExternalBankAccountMutation, ze as createAchMoneyMovementMutation, Be as createApplicationMutation, Ve as createBankAccountMutation, He as createBookTransferMutation, Ue as createCheckDepositMutation, hr as createClientSecretInstaller, We as createDebitCardMutation, r as createDepartment, Cr as createEmbeddedClient, i as createLocation, a as createUser, Ge as createVelocityControlMutation, o as deactivateDepartment, s as deactivateLocation, Ke as deleteApprovalPoliciesIdMutation, qe as deleteBankAccountApplicationMutation, c as deleteCounterpartsId, l as deleteCounterpartsIdBankAccountsId, u as deleteEntitiesIdLogo, Je as deleteLedgerAccountsIdMutation, d as deleteMeasureUnitsId, f as deletePayablesId, p as deletePayablesIdFile, m as deleteProductsId, Ye as deleteReceiptsIdMutation, h as deleteReceivablesId, Xe as disableUserMutation, g as downloadBankAccountTransactions, kr as fetchWidgetInit, Vr as getAllPagesNextPageParam, Hr as getAllPagesNextPaginationTokenParam, Ze as getAnalyticsPayablesOptions, Qe as getAnalyticsPayablesQueryKey, $e as getAnalyticsReceiptsOptions, et as getAnalyticsReceiptsQueryKey, tt as getAnalyticsReceivablesOptions, nt as getAnalyticsTransactionsOptions, rt as getAnalyticsTransactionsQueryKey, _ as getApplicationStatus, v as getApprovalPolicies, it as getApprovalPoliciesOptions, at as getApprovalPoliciesQueryKey, y as getApprovalRequests, ot as getApprovalRequestsOptions, st as getApprovalRequestsQueryKey, b as getBankAccountAccess, ct as getBankAccountAccessQueryKey, lt as getBankAccountApplicationOptions, ut as getBankAccountOptions, dt as getBankAccountQueryKey, x as getBankAccountStatement, ft as getBankAccountStatementsOptions, pt as getBankAccountTransactionsOptions, mt as getBankAccountTransactionsQueryKey, ht as getBankAccountTransfersOptions, gt as getBankAccountTransfersQueryKey, _t as getBankAccountsQueryKey, S as getCounterparts, vt as getCounterpartsIdAddressesOptions, yt as getCounterpartsIdAddressesQueryKey, bt as getCounterpartsIdBankAccountsOptions, xt as getCounterpartsIdBankAccountsQueryKey, St as getCounterpartsIdOptions, Ct as getCounterpartsIdQueryKey, wt as getCounterpartsOptions, Tt as getCounterpartsQueryKey, Et as getCreditCardByIdOptions, Dt as getCreditCardByIdQueryKey, Ot as getCreditCardsOptions, kt as getCreditCardsQueryKey, At as getDebitCardByIdOptions, jt as getDebitCardByIdQueryKey, Mt as getDebitCardCredentialsOptions, Nt as getDebitCardsOptions, Pt as getDebitCardsQueryKey, C as getDepartment, Ft as getDepartmentOptions, It as getDepartmentQueryKey, w as getDepositableBankAccounts, Lt as getDepositableBankAccountsOptions, Rt as getDocumentsIdNextNumbersOptions, zt as getDocumentsIdNextNumbersQueryKey, Bt as getEntitiesIdSettingsOptions, Vt as getEntitiesIdSettingsQueryKey, Ht as getEntityUsersMyEntityOptions, Ut as getEntityUsersMyEntityQueryKey, Wt as getEntityUsersOptions, T as getExternalBankAccountAccess, Gt as getExternalBankAccountAccessQueryKey, Kt as getExternalBankAccountsOptions, qt as getExternalBankAccountsQueryKey, Jt as getLedgerAccountsQueryKey, E as getLocation, Yt as getLocationOptions, Xt as getLocationQueryKey, Zt as getMeasureUnitsOptions, Qt as getMeasureUnitsQueryKey, $t as getOrganizationOptions, D as getPayables, O as getPayablesId, k as getPayablesIdHistory, en as getPayablesIdHistoryOptions, tn as getPayablesIdHistoryQueryKey, A as getPayablesIdLineItems, nn as getPayablesIdLineItemsOptions, rn as getPayablesIdLineItemsQueryKey, an as getPayablesIdOptions, on as getPayablesIdQueryKey, sn as getPayablesIdSuggestionsOptions, cn as getPayablesOptions, ln as getPayablesQueryKey, j as getPaymentRecords, un as getPaymentRecordsOptions, dn as getPaymentRecordsQueryKey, fn as getProductsIdOptions, pn as getProductsIdQueryKey, mn as getProductsOptions, hn as getProductsQueryKey, M as getReceipts, gn as getReceiptsIdQueryKey, _n as getReceiptsOptions, vn as getReceiptsQueryKey, N as getReceivables, yn as getReceivablesIdHistoryOptions, bn as getReceivablesIdHistoryQueryKey, xn as getReceivablesIdMailsOptions, Sn as getReceivablesIdMailsQueryKey, Cn as getReceivablesIdOptions, wn as getReceivablesIdPdfLinkOptions, Tn as getReceivablesIdPdfLinkQueryKey, En as getReceivablesIdQueryKey, Dn as getReceivablesOptions, On as getReceivablesQueryKey, kn as getTransactionsIdExpenseHistoryOptions, An as getTransactionsIdExpenseHistoryQueryKey, jn as getTransactionsIdOptions, Mn as getTransactionsIdQueryKey, Nn as getTransactionsOptions, Pn as getTransactionsQueryKey, Fn as getTransactionsValidationsOptions, In as getTransactionsValidationsQueryKey, P as getUsers, Ln as getUsersOptions, Rn as getUsersQueryKey, zn as getVelocityControlsQueryKey, Bn as grantBankAccountAccessMutation, Vn as grantExternalBankAccountAccessMutation, Ar as hasAnyScope, _r as invalidateAllClients, Ur as isAllPagesResolving, Nr as isApiConflictError, Pr as isApiForbiddenError, Fr as isApiNotFoundError, Ir as isApiUnprocessableError, Br as isScope, Hn as linkExternalBankAccountMutation, F as listDepartments, Un as listDepartmentsOptions, Wn as listDepartmentsQueryKey, I as listLocations, Gn as listLocationsOptions, Kn as listLocationsQueryKey, L as listRoles, qn as listRolesQueryKey, R as manageBankAccountAccess, z as manageDebitCardAccess, Jn as manageDebitCardAccessMutation, Dr as optionalOrganizationHeaders, Or as organizationHeaders, Yn as patchApprovalPoliciesIdMutation, B as patchCounterpartsId, V as patchCounterpartsIdAddressesId, H as patchCounterpartsIdBankAccountsId, U as patchEntitiesIdSettings, Xn as patchLedgerAccountsIdMutation, W as patchMeasureUnitsId, G as patchPayablesId, K as patchProductsId, Zn as patchReceiptsIdMutation, q as patchReceivablesId, J as patchTransactionsId, Qn as postApprovalPoliciesMutation, Y as postApprovalRequestsIdApprove, X as postApprovalRequestsIdReject, Z as postCounterparts, Q as postCounterpartsIdAddresses, $ as postCounterpartsIdBankAccounts, ee as postCounterpartsIdBankAccountsIdMakeDefault, $n as postLedgerAccountsMutation, te as postMeasureUnits, ne as postPayables, re as postPayablesIdApprovePaymentOperation, ie as postPayablesIdAttachFile, ae as postPayablesIdCancel, oe as postPayablesIdDuplicatesIdConfirm, se as postPayablesIdDuplicatesIdDismiss, ce as postPayablesIdMarkAsPaid, le as postPayablesIdReject, ue as postPayablesIdReopen, de as postPayablesIdSchedulePayment, fe as postPayablesIdSubmitForApproval, pe as postPayablesIdValidate, me as postPayablesUploadFromFile, he as postPaymentIntentsIdCancel, ge as postProducts, er as postReceiptsUploadFromFileMutation, _e as postReceivables, ve as postReceivablesIdAccept, ye as postReceivablesIdCancel, be as postReceivablesIdClone, xe as postReceivablesIdDecline, Se as postReceivablesIdIssue, Ce as postReceivablesIdMarkAsPaid, we as postReceivablesIdMarkAsPartiallyPaid, Te as postReceivablesIdMarkAsUncollectible, Ee as postReceivablesIdSend, De as postTransactionsIdApprove, Oe as postTransactionsIdReject, ke as postTransactionsIdReopen, Ae as postTransactionsIdSubmit, je as putEntitiesIdLogo, Me as putPayablesIdLineItems, tr as putTransactionsValidationsMutation, vr as registerQueryClient, yr as removeInactiveFromAllClients, br as setAllClientsQueriesData, nr as setDebitCardLockStatusMutation, rr as submitApplicationMutation, ir as unlinkExternalBankAccountMutation, xr as unregisterQueryClient, ar as updateApplicationMutation, or as updateBankAccountMutation, sr as updateDebitCardMutation, Ne as updateDepartment, cr as updateExternalBankAccountMutation, Pe as updateLocation, Fe as updateUser, ti as useAcceptWidgetDisclosures, Gr as useAllBankAccountsQuery, Kr as useAllDebitCardsQuery, qr as useAllExternalBankAccountsQuery, Yr as useAllLedgerAccountsQuery, Jr as useAllMerchantCategoryGroupsQuery, Qr as useAllOrganizationRolesQuery, ei as useAllOrganizationUsersQuery, Wr as useAutoFetchNextPage, jr as useCurrentUserQuery, ni as useDisclosuresQuery, Er as useEmbedApi, Lr as useGetUserDataQuery, Xr as useLedgerAccountsQuery, Mr as useMailboxAddress, ii as useOrganizationOnboardingSuppression, Zr as usePaymentTermsQuery, $r as useRolePermissionsQueries, Rr as useUpsertUserDataMutation, lr as validateExternalBankAccountMutation, ur as verifyDebitCardMutation, fr as withAuthEpoch };