@tesouro/embedded-components-react 0.4.14 → 0.4.16
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index14.js +47 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index15.js +20 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index16.js +75 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/data-access/dist/index17.js +36 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +64 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +141 -118
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +93 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +83 -67
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +235 -218
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +9 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +17 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +39 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +8 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +52 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +26 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +19 -306
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +154 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +60 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +251 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +7 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +15 -337
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +21 -118
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +340 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +99 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +52 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +181 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +5 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +92 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +1 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +83 -291
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +292 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +10 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +201 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +15 -345
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +345 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +6 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +2 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +124 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +26 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +89 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +10 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +15 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +7 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +11 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index3.js +15 -3
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/index9.js +63 -65
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsList.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListDetailsSheet.js +6 -5
- package/dist/libs/tesouro-embedded-components-react/cards-widget/ui/dist/lib/CardsList/CardsListRow.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +8 -8
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/data-access/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +19 -19
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +39 -33
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/subEntityForms.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useAddressForm.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartDetails.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartForm.js +37 -37
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/useCounterpartSelector.js +15 -15
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/usePayableAchInstructions.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +0 -2
|
@@ -3,11 +3,11 @@
|
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
5
|
import { formatMoneyExact as e } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
6
|
+
import { useCounterpartsQuery as t } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
6
7
|
import "../../data-access/dist/index.js";
|
|
7
|
-
import { BillsFilterField as
|
|
8
|
+
import { BillsFilterField as n } from "../../ui/dist/index68.js";
|
|
8
9
|
import "../../ui/dist/index.js";
|
|
9
|
-
import { getCounterpartName as
|
|
10
|
-
import { useCounterpartsQuery as r } from "../../../shared/counterpart-management/data-access/dist/index3.js";
|
|
10
|
+
import { getCounterpartName as r } from "../../../shared/counterpart-management/feature/dist/lib/helpers.js";
|
|
11
11
|
import "../../../shared/counterpart-management/feature/dist/index.js";
|
|
12
12
|
import { BILL_STATUS_FILTER_ORDER as i, billStatusFilterApiValues as a } from "./index73.js";
|
|
13
13
|
import { BillsDatePreset as o, resolveDatePreset as s } from "./index74.js";
|
|
@@ -22,9 +22,9 @@ var h = {
|
|
|
22
22
|
Vendor: "vendor",
|
|
23
23
|
Attachment: "attachment"
|
|
24
24
|
}, g = 50, _ = 300, v = "MMM d, yyyy", y = 864e5, b = {
|
|
25
|
-
[
|
|
26
|
-
[
|
|
27
|
-
[
|
|
25
|
+
[n.IssueDate]: "issued_at",
|
|
26
|
+
[n.DueDate]: "due_date",
|
|
27
|
+
[n.AddedOn]: "created_at"
|
|
28
28
|
}, x = {
|
|
29
29
|
[o.Today]: "current",
|
|
30
30
|
[o.ThisWeek]: "current",
|
|
@@ -41,7 +41,7 @@ var h = {
|
|
|
41
41
|
};
|
|
42
42
|
function S() {
|
|
43
43
|
return {
|
|
44
|
-
dateField:
|
|
44
|
+
dateField: n.DueDate,
|
|
45
45
|
statuses: [],
|
|
46
46
|
amountMode: "any",
|
|
47
47
|
amountMin: "",
|
|
@@ -89,7 +89,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
|
|
|
89
89
|
let e = setTimeout(() => I(N.trim()), _);
|
|
90
90
|
return () => clearTimeout(e);
|
|
91
91
|
}, [N]);
|
|
92
|
-
let R =
|
|
92
|
+
let R = t({
|
|
93
93
|
enabled: w && !T,
|
|
94
94
|
is_vendor: !0,
|
|
95
95
|
sort: "counterpart_name",
|
|
@@ -98,7 +98,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
|
|
|
98
98
|
counterpart_name__icontains: F || void 0
|
|
99
99
|
}), z = d(() => (R.data?.data ?? []).map((e) => ({
|
|
100
100
|
value: e.id,
|
|
101
|
-
label:
|
|
101
|
+
label: r(e)
|
|
102
102
|
})), [R.data?.data]), B = d(() => i.map((e) => ({
|
|
103
103
|
value: e,
|
|
104
104
|
label: O.statuses[e]
|
|
@@ -189,13 +189,13 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
|
|
|
189
189
|
return {
|
|
190
190
|
filterBarProps: {
|
|
191
191
|
fields: [...d(() => [
|
|
192
|
-
...w ? [
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
...o ? [
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
192
|
+
...w ? [n.Vendor] : [],
|
|
193
|
+
n.IssueDate,
|
|
194
|
+
n.DueDate,
|
|
195
|
+
...o ? [n.Status] : [],
|
|
196
|
+
n.TotalAmount,
|
|
197
|
+
n.AddedOn,
|
|
198
|
+
n.Attachment
|
|
199
199
|
], [o, w])],
|
|
200
200
|
activeFilterCount: U.length,
|
|
201
201
|
chips: U,
|
|
@@ -219,7 +219,7 @@ function w({ offersStatusFilter: o = !1, offersVendorFilter: w = !0, isVendorFil
|
|
|
219
219
|
dateTo: t
|
|
220
220
|
}),
|
|
221
221
|
onDatePresetChange: (e) => {
|
|
222
|
-
let
|
|
222
|
+
let t = /* @__PURE__ */ new Date(), r = k.dateField === n.AddedOn ? new Date(t.getUTCFullYear(), t.getUTCMonth(), t.getUTCDate()) : t, { from: i, to: a } = s(e, r);
|
|
223
223
|
L({
|
|
224
224
|
datePreset: e,
|
|
225
225
|
dateFrom: i,
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
6
6
|
import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
7
7
|
import { hasSuspectedPayableDuplicate as n } from "../../data-access/dist/index7.js";
|
|
8
|
-
import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/
|
|
8
|
+
import { usePayablesQuery as r, usePayablesTotalCountQuery as i } from "../../data-access/dist/index16.js";
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { derivePayableStatus as a } from "./index6.js";
|
|
11
11
|
import { resolveVendorName as o } from "./index7.js";
|
|
@@ -11,7 +11,7 @@ import { useWidgetConfig as ee, useWidgetInitStaleForToken as r } from "../../..
|
|
|
11
11
|
import "../../../shared/feature/dist/index.js";
|
|
12
12
|
import { useDuplicateBillsCount as i } from "./index9.js";
|
|
13
13
|
import { AddBillDialog as a } from "../../ui/dist/index10.js";
|
|
14
|
-
import { BillsScreen as o } from "../../ui/dist/
|
|
14
|
+
import { BillsScreen as o } from "../../ui/dist/index72.js";
|
|
15
15
|
import "../../ui/dist/index.js";
|
|
16
16
|
import { DuplicateBillsContainer as te } from "./index11.js";
|
|
17
17
|
import "./index13.js";
|
|
@@ -11,8 +11,8 @@ import { useAnalyticsTrack as r } from "../../../shared/feature/dist/lib/analyti
|
|
|
11
11
|
import { WidgetProvider as i } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
12
12
|
import { useWidgetConfig as a } from "../../../shared/feature/dist/lib/WidgetProvider/hooks.js";
|
|
13
13
|
import "../../../shared/feature/dist/index.js";
|
|
14
|
-
import { BillPayWidgetUi as o } from "../../ui/dist/
|
|
15
|
-
import { BillUploadStatusTray as s } from "../../ui/dist/
|
|
14
|
+
import { BillPayWidgetUi as o } from "../../ui/dist/index52.js";
|
|
15
|
+
import { BillUploadStatusTray as s } from "../../ui/dist/index75.js";
|
|
16
16
|
import "../../ui/dist/index.js";
|
|
17
17
|
import { ApprovalPoliciesSettings as c } from "../../../shared/approval-policy/feature/dist/lib/ApprovalPoliciesSettings.js";
|
|
18
18
|
import "../../../shared/approval-policy/feature/dist/index.js";
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
import { formatCalendarDate as e } from "../../../shared/util/dist/lib/formatCalendarDate.js";
|
|
6
6
|
import { formatMoneyExact as t } from "../../../shared/util/dist/lib/formatMoneyExact.js";
|
|
7
7
|
import { suspectedPayableDuplicates as n } from "../../data-access/dist/index7.js";
|
|
8
|
-
import { useAllSuspectedDuplicatePayablesQuery as r, usePayablesQuery as i } from "../../data-access/dist/
|
|
8
|
+
import { useAllSuspectedDuplicatePayablesQuery as r, usePayablesQuery as i } from "../../data-access/dist/index16.js";
|
|
9
9
|
import "../../data-access/dist/index.js";
|
|
10
10
|
import { groupSuspectedDuplicates as a } from "./index5.js";
|
|
11
11
|
import { derivePayableStatus as o } from "./index6.js";
|
|
@@ -18,7 +18,6 @@ import "./index21.js";
|
|
|
18
18
|
import "./index22.js";
|
|
19
19
|
import "./index23.js";
|
|
20
20
|
import "./index24.js";
|
|
21
|
-
import "./index25.js";
|
|
22
21
|
import "./index26.js";
|
|
23
22
|
import "./index27.js";
|
|
24
23
|
import "./index28.js";
|
|
@@ -33,59 +32,60 @@ import "./index36.js";
|
|
|
33
32
|
import "./index37.js";
|
|
34
33
|
import "./index38.js";
|
|
35
34
|
import "./index39.js";
|
|
36
|
-
import "./
|
|
35
|
+
import "./index40.js";
|
|
37
36
|
import "./index44.js";
|
|
38
37
|
import "./index45.js";
|
|
39
38
|
import "./index46.js";
|
|
40
|
-
import
|
|
41
|
-
import "./index49.js";
|
|
39
|
+
import "./index47.js";
|
|
40
|
+
import { BillCreateScreen as n } from "./index49.js";
|
|
42
41
|
import "./index50.js";
|
|
43
|
-
import
|
|
44
|
-
import "./index52.js";
|
|
42
|
+
import "./index51.js";
|
|
43
|
+
import { BillPayWidgetUi as r } from "./index52.js";
|
|
45
44
|
import "./index53.js";
|
|
46
|
-
import
|
|
47
|
-
import "./index55.js";
|
|
45
|
+
import "./index54.js";
|
|
46
|
+
import { BillDecisionDialog as i } from "./index55.js";
|
|
48
47
|
import "./index56.js";
|
|
49
48
|
import "./index57.js";
|
|
50
49
|
import "./index58.js";
|
|
51
|
-
import
|
|
52
|
-
import {
|
|
53
|
-
import "./index61.js";
|
|
50
|
+
import "./index59.js";
|
|
51
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index60.js";
|
|
52
|
+
import { BillDetailsSheet as o } from "./index61.js";
|
|
54
53
|
import "./index62.js";
|
|
55
54
|
import "./index63.js";
|
|
56
|
-
import
|
|
57
|
-
import "./index65.js";
|
|
55
|
+
import "./index64.js";
|
|
56
|
+
import { BillDuplicateNotice as s } from "./index65.js";
|
|
58
57
|
import "./index66.js";
|
|
59
|
-
import
|
|
60
|
-
import "./index68.js";
|
|
58
|
+
import "./index67.js";
|
|
59
|
+
import { BillsFilterField as c } from "./index68.js";
|
|
61
60
|
import "./index69.js";
|
|
62
|
-
import
|
|
63
|
-
import {
|
|
64
|
-
import "./index72.js";
|
|
65
|
-
import
|
|
66
|
-
import "./
|
|
67
|
-
import "./
|
|
68
|
-
import
|
|
69
|
-
import "./index80.js";
|
|
61
|
+
import "./index70.js";
|
|
62
|
+
import { BillColumn as l } from "./index71.js";
|
|
63
|
+
import { BillsScreen as u } from "./index72.js";
|
|
64
|
+
import "./index73.js";
|
|
65
|
+
import { BillUploadStatusTray as d } from "./index75.js";
|
|
66
|
+
import "./index77.js";
|
|
67
|
+
import "./index79.js";
|
|
68
|
+
import { DuplicateBillsDialog as f } from "./index80.js";
|
|
70
69
|
import "./index81.js";
|
|
71
|
-
import
|
|
72
|
-
import "./index83.js";
|
|
70
|
+
import "./index82.js";
|
|
71
|
+
import { ExtractionNotice as p } from "./index83.js";
|
|
73
72
|
import "./index84.js";
|
|
74
73
|
import "./index85.js";
|
|
75
74
|
import "./index86.js";
|
|
76
|
-
import
|
|
77
|
-
import {
|
|
78
|
-
import "./index89.js";
|
|
79
|
-
import
|
|
80
|
-
import {
|
|
81
|
-
import "./index92.js";
|
|
82
|
-
import
|
|
83
|
-
import {
|
|
84
|
-
import "./index96.js";
|
|
75
|
+
import "./index87.js";
|
|
76
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as m } from "./index88.js";
|
|
77
|
+
import { ReviewTransactionDialog as h } from "./index89.js";
|
|
78
|
+
import "./index90.js";
|
|
79
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as g } from "./index91.js";
|
|
80
|
+
import { MarkAsPaidDialog as _ } from "./index92.js";
|
|
81
|
+
import "./index93.js";
|
|
82
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index94.js";
|
|
83
|
+
import { SchedulePaymentDialog as y } from "./index96.js";
|
|
85
84
|
import "./index97.js";
|
|
86
|
-
import
|
|
87
|
-
import "./index99.js";
|
|
88
|
-
import
|
|
89
|
-
import {
|
|
90
|
-
import "./index102.js";
|
|
85
|
+
import "./index98.js";
|
|
86
|
+
import { SourceDocumentPanel as b } from "./index99.js";
|
|
87
|
+
import "./index100.js";
|
|
88
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as x } from "./index101.js";
|
|
89
|
+
import { UnsavedBillDialog as S } from "./index102.js";
|
|
90
|
+
import "./index103.js";
|
|
91
91
|
export { e as AddBillDialog, a as BILL_DETAILS_SHEET_LABELS_EN, t as BILL_STATUS_BADGE_LABELS_EN, l as BillColumn, n as BillCreateScreen, i as BillDecisionDialog, o as BillDetailsSheet, s as BillDuplicateNotice, r as BillPayWidgetUi, d as BillUploadStatusTray, c as BillsFilterField, u as BillsScreen, f as DuplicateBillsDialog, p as ExtractionNotice, g as MARK_AS_PAID_DIALOG_LABELS_EN, _ as MarkAsPaidDialog, m as REVIEW_TRANSACTION_DIALOG_LABELS_EN, h as ReviewTransactionDialog, v as SCHEDULE_PAYMENT_DIALOG_LABELS_EN, y as SchedulePaymentDialog, b as SourceDocumentPanel, x as UNSAVED_BILL_DIALOG_LABELS_EN, S as UnsavedBillDialog };
|
|
@@ -1,10 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
title: "Save this bill as a draft?",
|
|
4
|
-
description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
|
|
5
|
-
saveDraftButton: "Save as draft",
|
|
6
|
-
discardButton: "Discard changes",
|
|
7
|
-
closeButton: "Close"
|
|
8
|
-
};
|
|
9
|
-
//#endregion
|
|
10
|
-
export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
|
|
1
|
+
import "./index98.js";
|
|
2
|
+
import "./index99.js";
|
|
@@ -1,52 +1,10 @@
|
|
|
1
|
-
import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index100.js";
|
|
3
|
-
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
|
-
import { XIcon as u } from "lucide-react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
onOpenChange: (e) => {
|
|
14
|
-
!e && !h && m();
|
|
15
|
-
},
|
|
16
|
-
children: /* @__PURE__ */ l(t, {
|
|
17
|
-
"data-testid": v,
|
|
18
|
-
children: [
|
|
19
|
-
/* @__PURE__ */ l("button", {
|
|
20
|
-
type: "button",
|
|
21
|
-
onClick: m,
|
|
22
|
-
disabled: h,
|
|
23
|
-
"data-testid": x,
|
|
24
|
-
className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
|
|
25
|
-
children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
|
|
26
|
-
className: "ttw:sr-only",
|
|
27
|
-
children: S.closeButton
|
|
28
|
-
})]
|
|
29
|
-
}),
|
|
30
|
-
/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
|
|
31
|
-
/* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
32
|
-
type: "button",
|
|
33
|
-
variant: "outline",
|
|
34
|
-
onClick: p,
|
|
35
|
-
disabled: h,
|
|
36
|
-
"data-testid": b,
|
|
37
|
-
children: S.discardButton
|
|
38
|
-
}), /* @__PURE__ */ c(o, {
|
|
39
|
-
type: "button",
|
|
40
|
-
variant: "default",
|
|
41
|
-
loading: h,
|
|
42
|
-
disabled: h || g,
|
|
43
|
-
onClick: f,
|
|
44
|
-
"data-testid": y,
|
|
45
|
-
children: S.saveDraftButton
|
|
46
|
-
})] })
|
|
47
|
-
]
|
|
48
|
-
})
|
|
49
|
-
});
|
|
50
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Save this bill as a draft?",
|
|
4
|
+
description: "This bill has changes that have not been saved. Save it as a draft to finish later, or discard the changes.",
|
|
5
|
+
saveDraftButton: "Save as draft",
|
|
6
|
+
discardButton: "Discard changes",
|
|
7
|
+
closeButton: "Close"
|
|
8
|
+
};
|
|
51
9
|
//#endregion
|
|
52
|
-
export {
|
|
10
|
+
export { e as UNSAVED_BILL_DIALOG_LABELS_EN };
|
|
@@ -1,2 +1,52 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./index101.js";
|
|
1
|
+
import { AlertDialog as e, AlertDialogContent as t, AlertDialogDescription as n, AlertDialogFooter as r, AlertDialogHeader as i, AlertDialogTitle as a, Button as o } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as s } from "./index101.js";
|
|
3
|
+
import { jsx as c, jsxs as l } from "react/jsx-runtime";
|
|
4
|
+
import { XIcon as u } from "lucide-react";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js
|
|
6
|
+
function d({ open: d, onSaveDraft: f, onDiscard: p, onCancel: m, isSaving: h, isSaveDraftDisabled: g, labels: _, testId: v, saveDraftTestId: y, discardTestId: b, closeTestId: x }) {
|
|
7
|
+
let S = {
|
|
8
|
+
...s,
|
|
9
|
+
..._
|
|
10
|
+
};
|
|
11
|
+
return /* @__PURE__ */ c(e, {
|
|
12
|
+
open: d,
|
|
13
|
+
onOpenChange: (e) => {
|
|
14
|
+
!e && !h && m();
|
|
15
|
+
},
|
|
16
|
+
children: /* @__PURE__ */ l(t, {
|
|
17
|
+
"data-testid": v,
|
|
18
|
+
children: [
|
|
19
|
+
/* @__PURE__ */ l("button", {
|
|
20
|
+
type: "button",
|
|
21
|
+
onClick: m,
|
|
22
|
+
disabled: h,
|
|
23
|
+
"data-testid": x,
|
|
24
|
+
className: "ttw:absolute ttw:right-4 ttw:top-4 ttw:cursor-pointer ttw:rounded-sm ttw:opacity-70 ttw:ring-offset-background ttw:transition-opacity ttw:hover:opacity-100 ttw:focus:outline-hidden ttw:focus:ring-2 ttw:focus:ring-ring ttw:focus:ring-offset-2 ttw:disabled:pointer-events-none",
|
|
25
|
+
children: [/* @__PURE__ */ c(u, { className: "ttw:size-4" }), /* @__PURE__ */ c("span", {
|
|
26
|
+
className: "ttw:sr-only",
|
|
27
|
+
children: S.closeButton
|
|
28
|
+
})]
|
|
29
|
+
}),
|
|
30
|
+
/* @__PURE__ */ l(i, { children: [/* @__PURE__ */ c(a, { children: S.title }), /* @__PURE__ */ c(n, { children: S.description })] }),
|
|
31
|
+
/* @__PURE__ */ l(r, { children: [/* @__PURE__ */ c(o, {
|
|
32
|
+
type: "button",
|
|
33
|
+
variant: "outline",
|
|
34
|
+
onClick: p,
|
|
35
|
+
disabled: h,
|
|
36
|
+
"data-testid": b,
|
|
37
|
+
children: S.discardButton
|
|
38
|
+
}), /* @__PURE__ */ c(o, {
|
|
39
|
+
type: "button",
|
|
40
|
+
variant: "default",
|
|
41
|
+
loading: h,
|
|
42
|
+
disabled: h || g,
|
|
43
|
+
onClick: f,
|
|
44
|
+
"data-testid": y,
|
|
45
|
+
children: S.saveDraftButton
|
|
46
|
+
})] })
|
|
47
|
+
]
|
|
48
|
+
})
|
|
49
|
+
});
|
|
50
|
+
}
|
|
51
|
+
//#endregion
|
|
52
|
+
export { d as UnsavedBillDialog, d as default };
|
|
@@ -1,52 +1,29 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import "
|
|
3
|
-
import
|
|
4
|
-
import "
|
|
5
|
-
import { DUE_DATE_VALUE_LABELS_EN as n } from "./index20.js";
|
|
6
|
-
import "./index22.js";
|
|
1
|
+
import { Button as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { AchFieldGroup as t } from "../../../shared/counterpart-management/ui/dist/index5.js";
|
|
3
|
+
import "../../../shared/counterpart-management/ui/dist/index.js";
|
|
4
|
+
import { Fragment as n, jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
7
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
statusBadge: t,
|
|
30
|
-
approvalPolicy: e,
|
|
31
|
-
dueDate: n
|
|
32
|
-
};
|
|
33
|
-
function i(e) {
|
|
34
|
-
return {
|
|
35
|
-
...r,
|
|
36
|
-
...e,
|
|
37
|
-
statusBadge: {
|
|
38
|
-
...r.statusBadge,
|
|
39
|
-
...e?.statusBadge
|
|
40
|
-
},
|
|
41
|
-
approvalPolicy: {
|
|
42
|
-
...r.approvalPolicy,
|
|
43
|
-
...e?.approvalPolicy
|
|
44
|
-
},
|
|
45
|
-
dueDate: {
|
|
46
|
-
...r.dueDate,
|
|
47
|
-
...e?.dueDate
|
|
48
|
-
}
|
|
49
|
-
};
|
|
6
|
+
function a({ paymentInstructions: a, labels: o, onCancel: s }) {
|
|
7
|
+
return /* @__PURE__ */ i(n, { children: [/* @__PURE__ */ r(t, {
|
|
8
|
+
idPrefix: "vendor-summary-ach",
|
|
9
|
+
values: a.values,
|
|
10
|
+
errors: a.errors,
|
|
11
|
+
onChange: a.onChange,
|
|
12
|
+
labels: o.ach
|
|
13
|
+
}), a.onSave ? /* @__PURE__ */ i("div", {
|
|
14
|
+
className: "ttw:flex ttw:justify-end ttw:gap-2",
|
|
15
|
+
children: [/* @__PURE__ */ r(e, {
|
|
16
|
+
type: "button",
|
|
17
|
+
variant: "ghost",
|
|
18
|
+
onClick: s,
|
|
19
|
+
children: o.cancelAction
|
|
20
|
+
}), /* @__PURE__ */ r(e, {
|
|
21
|
+
type: "button",
|
|
22
|
+
loading: a.isSaving,
|
|
23
|
+
onClick: a.onSave,
|
|
24
|
+
children: o.saveAction
|
|
25
|
+
})]
|
|
26
|
+
}) : null] });
|
|
50
27
|
}
|
|
51
28
|
//#endregion
|
|
52
|
-
export {
|
|
29
|
+
export { a as AchEditGroup };
|