@tesouro/embedded-components-react 0.4.12 → 0.4.13
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/feature/dist/index12.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +2 -2
- 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/index39.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +127 -122
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +1 -1
- 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/index80.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 +42 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index15.js +2 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +12 -62
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +12 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +46 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +296 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +7 -300
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +49 -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 +14 -45
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +21 -338
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +340 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +13 -117
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +120 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +10 -97
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +99 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +52 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +10 -157
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +181 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +5 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +92 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +1 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +83 -284
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +283 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +36 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +10 -199
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +201 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +3 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +15 -345
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +345 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +6 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +125 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +26 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +89 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +5 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +30 -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 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +10 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +15 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +125 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +14 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +7 -167
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +11 -105
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +8 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +52 -2
- 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/index73.js +0 -2
|
@@ -10,9 +10,9 @@ import "./index11.js";
|
|
|
10
10
|
import "./index12.js";
|
|
11
11
|
import "./index13.js";
|
|
12
12
|
import "./index14.js";
|
|
13
|
-
import "./index16.js";
|
|
14
|
-
import "./
|
|
15
|
-
import
|
|
13
|
+
import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index16.js";
|
|
14
|
+
import "./index18.js";
|
|
15
|
+
import "./index19.js";
|
|
16
16
|
import "./index20.js";
|
|
17
17
|
import "./index21.js";
|
|
18
18
|
import "./index22.js";
|
|
@@ -30,59 +30,60 @@ import "./index33.js";
|
|
|
30
30
|
import "./index34.js";
|
|
31
31
|
import "./index35.js";
|
|
32
32
|
import "./index36.js";
|
|
33
|
-
import "./
|
|
33
|
+
import "./index37.js";
|
|
34
34
|
import "./index41.js";
|
|
35
35
|
import "./index42.js";
|
|
36
36
|
import "./index43.js";
|
|
37
|
-
import
|
|
38
|
-
import "./index46.js";
|
|
37
|
+
import "./index44.js";
|
|
38
|
+
import { BillCreateScreen as n } from "./index46.js";
|
|
39
39
|
import "./index47.js";
|
|
40
|
-
import
|
|
41
|
-
import "./index49.js";
|
|
40
|
+
import "./index48.js";
|
|
41
|
+
import { BillPayWidgetUi as r } from "./index49.js";
|
|
42
42
|
import "./index50.js";
|
|
43
|
-
import
|
|
44
|
-
import "./index52.js";
|
|
43
|
+
import "./index51.js";
|
|
44
|
+
import { BillDecisionDialog as i } from "./index52.js";
|
|
45
45
|
import "./index53.js";
|
|
46
46
|
import "./index54.js";
|
|
47
47
|
import "./index55.js";
|
|
48
|
-
import
|
|
49
|
-
import {
|
|
50
|
-
import "./index58.js";
|
|
48
|
+
import "./index56.js";
|
|
49
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as a } from "./index57.js";
|
|
50
|
+
import { BillDetailsSheet as o } from "./index58.js";
|
|
51
51
|
import "./index59.js";
|
|
52
52
|
import "./index60.js";
|
|
53
|
-
import
|
|
54
|
-
import "./index62.js";
|
|
53
|
+
import "./index61.js";
|
|
54
|
+
import { BillDuplicateNotice as s } from "./index62.js";
|
|
55
55
|
import "./index63.js";
|
|
56
|
-
import
|
|
57
|
-
import "./index65.js";
|
|
56
|
+
import "./index64.js";
|
|
57
|
+
import { BillsFilterField as c } from "./index65.js";
|
|
58
58
|
import "./index66.js";
|
|
59
|
-
import
|
|
60
|
-
import {
|
|
61
|
-
import "./index69.js";
|
|
62
|
-
import
|
|
63
|
-
import "./
|
|
64
|
-
import "./
|
|
65
|
-
import
|
|
66
|
-
import "./index77.js";
|
|
59
|
+
import "./index67.js";
|
|
60
|
+
import { BillColumn as l } from "./index68.js";
|
|
61
|
+
import { BillsScreen as u } from "./index69.js";
|
|
62
|
+
import "./index70.js";
|
|
63
|
+
import { BillUploadStatusTray as d } from "./index72.js";
|
|
64
|
+
import "./index74.js";
|
|
65
|
+
import "./index76.js";
|
|
66
|
+
import { DuplicateBillsDialog as f } from "./index77.js";
|
|
67
67
|
import "./index78.js";
|
|
68
|
-
import
|
|
69
|
-
import "./index80.js";
|
|
68
|
+
import "./index79.js";
|
|
69
|
+
import { ExtractionNotice as p } from "./index80.js";
|
|
70
70
|
import "./index81.js";
|
|
71
71
|
import "./index82.js";
|
|
72
72
|
import "./index83.js";
|
|
73
|
-
import
|
|
74
|
-
import {
|
|
75
|
-
import "./index86.js";
|
|
76
|
-
import
|
|
77
|
-
import {
|
|
78
|
-
import "./index89.js";
|
|
79
|
-
import
|
|
80
|
-
import {
|
|
81
|
-
import "./index93.js";
|
|
73
|
+
import "./index84.js";
|
|
74
|
+
import { REVIEW_TRANSACTION_DIALOG_LABELS_EN as m } from "./index85.js";
|
|
75
|
+
import { ReviewTransactionDialog as h } from "./index86.js";
|
|
76
|
+
import "./index87.js";
|
|
77
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as g } from "./index88.js";
|
|
78
|
+
import { MarkAsPaidDialog as _ } from "./index89.js";
|
|
79
|
+
import "./index90.js";
|
|
80
|
+
import { SCHEDULE_PAYMENT_DIALOG_LABELS_EN as v } from "./index91.js";
|
|
81
|
+
import { SchedulePaymentDialog as y } from "./index93.js";
|
|
82
82
|
import "./index94.js";
|
|
83
|
-
import
|
|
84
|
-
import "./index96.js";
|
|
85
|
-
import
|
|
86
|
-
import {
|
|
87
|
-
import "./index99.js";
|
|
83
|
+
import "./index95.js";
|
|
84
|
+
import { SourceDocumentPanel as b } from "./index96.js";
|
|
85
|
+
import "./index97.js";
|
|
86
|
+
import { UNSAVED_BILL_DIALOG_LABELS_EN as x } from "./index98.js";
|
|
87
|
+
import { UnsavedBillDialog as S } from "./index99.js";
|
|
88
|
+
import "./index100.js";
|
|
88
89
|
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 };
|
|
@@ -5,10 +5,7 @@ var r = {
|
|
|
5
5
|
row: [],
|
|
6
6
|
menu: []
|
|
7
7
|
};
|
|
8
|
-
function i(
|
|
9
|
-
return e.row.length > 0 || e.menu.length > 0;
|
|
10
|
-
}
|
|
11
|
-
function a({ actions: r }) {
|
|
8
|
+
function i({ actions: r }) {
|
|
12
9
|
return /* @__PURE__ */ n(t, { children: r.map((t) => /* @__PURE__ */ n(e, {
|
|
13
10
|
type: "button",
|
|
14
11
|
variant: t.variant,
|
|
@@ -19,4 +16,4 @@ function a({ actions: r }) {
|
|
|
19
16
|
}, t.id)) });
|
|
20
17
|
}
|
|
21
18
|
//#endregion
|
|
22
|
-
export {
|
|
19
|
+
export { i as BillActionButtons, i as default, r as NO_BILL_ACTIONS };
|
|
@@ -1,64 +1,14 @@
|
|
|
1
|
-
import { Button as e, DropdownMenu as t, DropdownMenuContent as n, DropdownMenuGroup as r, DropdownMenuItem as i, DropdownMenuLabel as a, DropdownMenuSeparator as o, DropdownMenuTrigger as s } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { Fragment as c, useId as l } from "react";
|
|
3
|
-
import { jsx as u, jsxs as d } from "react/jsx-runtime";
|
|
4
|
-
import { MoreHorizontalIcon as f, MoreVerticalIcon as p } from "lucide-react";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"data-testid": v,
|
|
18
|
-
children: /* @__PURE__ */ u(x, { className: "ttw:size-4" })
|
|
19
|
-
})
|
|
20
|
-
}), /* @__PURE__ */ u(n, {
|
|
21
|
-
align: "end",
|
|
22
|
-
children: S.map((e, t) => {
|
|
23
|
-
let n = e.actions.map((e) => {
|
|
24
|
-
let t = e.icon;
|
|
25
|
-
return /* @__PURE__ */ d(i, {
|
|
26
|
-
disabled: e.disabled,
|
|
27
|
-
onClick: e.onSelect,
|
|
28
|
-
children: [t ? /* @__PURE__ */ u(t, { className: "ttw:size-4" }) : null, e.label]
|
|
29
|
-
}, e.id);
|
|
30
|
-
});
|
|
31
|
-
if (!e.heading) return /* @__PURE__ */ u(c, { children: n }, e.actions[0]?.id);
|
|
32
|
-
let s = `${y}-${t}`;
|
|
33
|
-
return /* @__PURE__ */ d(c, { children: [
|
|
34
|
-
t > 0 ? /* @__PURE__ */ u(o, {}) : null,
|
|
35
|
-
/* @__PURE__ */ u(a, {
|
|
36
|
-
id: s,
|
|
37
|
-
className: "ttw:py-1 ttw:text-xs ttw:font-medium ttw:text-muted-foreground",
|
|
38
|
-
children: e.heading
|
|
39
|
-
}),
|
|
40
|
-
/* @__PURE__ */ u(r, {
|
|
41
|
-
"aria-labelledby": s,
|
|
42
|
-
children: n
|
|
43
|
-
})
|
|
44
|
-
] }, e.actions[0]?.id);
|
|
45
|
-
})
|
|
46
|
-
})] });
|
|
47
|
-
}
|
|
48
|
-
function h(e) {
|
|
49
|
-
let t = [];
|
|
50
|
-
for (let n of e) {
|
|
51
|
-
let e = t.at(-1);
|
|
52
|
-
if (e && e.heading === n.sectionHeading) {
|
|
53
|
-
e.actions = [...e.actions, n];
|
|
54
|
-
continue;
|
|
55
|
-
}
|
|
56
|
-
t.push({
|
|
57
|
-
heading: n.sectionHeading,
|
|
58
|
-
actions: [n]
|
|
59
|
-
});
|
|
60
|
-
}
|
|
61
|
-
return t;
|
|
62
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
draft: "Draft",
|
|
4
|
+
pending_approval: "Pending approval",
|
|
5
|
+
ready_to_pay: "Ready to pay",
|
|
6
|
+
scheduled: "Scheduled",
|
|
7
|
+
partially_paid: "Partially paid",
|
|
8
|
+
paid: "Paid",
|
|
9
|
+
canceled: "Canceled",
|
|
10
|
+
rejected: "Rejected",
|
|
11
|
+
unknown: "Unknown"
|
|
12
|
+
};
|
|
63
13
|
//#endregion
|
|
64
|
-
export {
|
|
14
|
+
export { e as BILL_STATUS_BADGE_LABELS_EN };
|
|
@@ -1 +1,12 @@
|
|
|
1
|
-
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js
|
|
2
|
+
var e = {
|
|
3
|
+
accent: "ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700 ttw:hover:bg-violet-50",
|
|
4
|
+
danger: "ttw:border-destructive/20 ttw:bg-destructive/10 ttw:text-destructive ttw:hover:bg-destructive/10",
|
|
5
|
+
info: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
6
|
+
muted: "ttw:border-border ttw:bg-transparent ttw:text-muted-foreground ttw:hover:bg-transparent",
|
|
7
|
+
neutral: "ttw:border-border ttw:bg-muted ttw:text-foreground ttw:hover:bg-muted",
|
|
8
|
+
success: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700 ttw:hover:bg-emerald-50",
|
|
9
|
+
warning: "ttw:border-amber-200 ttw:bg-amber-50 ttw:text-amber-800 ttw:hover:bg-amber-50"
|
|
10
|
+
};
|
|
11
|
+
//#endregion
|
|
12
|
+
export { e as BADGE_TONE_CLASS_NAME };
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
+
import { Badge as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { BILL_STATUS_BADGE_LABELS_EN as n } from "./index16.js";
|
|
3
|
+
import { BADGE_TONE_CLASS_NAME as r } from "./index17.js";
|
|
4
|
+
import { jsxs as i } from "react/jsx-runtime";
|
|
1
5
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
}
|
|
6
|
+
function a({ status: a, tone: o, labels: s, icon: c }) {
|
|
7
|
+
let l = {
|
|
8
|
+
...n,
|
|
9
|
+
...s
|
|
10
|
+
}, u = l[a] ?? l.unknown;
|
|
11
|
+
return /* @__PURE__ */ i(e, {
|
|
12
|
+
variant: "outline",
|
|
13
|
+
className: t(c && "ttw:gap-1", r[o]),
|
|
14
|
+
children: [c, u]
|
|
15
|
+
});
|
|
16
|
+
}
|
|
13
17
|
//#endregion
|
|
14
|
-
export {
|
|
18
|
+
export { a as BillStatusBadge, a as default };
|
|
@@ -1,12 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
accent: "ttw:border-violet-200 ttw:bg-violet-50 ttw:text-violet-700 ttw:hover:bg-violet-50",
|
|
4
|
-
danger: "ttw:border-destructive/20 ttw:bg-destructive/10 ttw:text-destructive ttw:hover:bg-destructive/10",
|
|
5
|
-
info: "ttw:border-blue-200 ttw:bg-blue-50 ttw:text-blue-700 ttw:hover:bg-blue-50",
|
|
6
|
-
muted: "ttw:border-border ttw:bg-transparent ttw:text-muted-foreground ttw:hover:bg-transparent",
|
|
7
|
-
neutral: "ttw:border-border ttw:bg-muted ttw:text-foreground ttw:hover:bg-muted",
|
|
8
|
-
success: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700 ttw:hover:bg-emerald-50",
|
|
9
|
-
warning: "ttw:border-amber-200 ttw:bg-amber-50 ttw:text-amber-800 ttw:hover:bg-amber-50"
|
|
10
|
-
};
|
|
11
|
-
//#endregion
|
|
12
|
-
export { e as BADGE_TONE_CLASS_NAME };
|
|
1
|
+
import "./index16.js";
|
|
2
|
+
import "./index18.js";
|
|
@@ -1,18 +1,4 @@
|
|
|
1
|
-
import { Badge as e, cn as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { BILL_STATUS_BADGE_LABELS_EN as n } from "./index18.js";
|
|
3
|
-
import { BADGE_TONE_CLASS_NAME as r } from "./index19.js";
|
|
4
|
-
import { jsxs as i } from "react/jsx-runtime";
|
|
5
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js
|
|
6
|
-
|
|
7
|
-
let l = {
|
|
8
|
-
...n,
|
|
9
|
-
...s
|
|
10
|
-
}, u = l[a] ?? l.unknown;
|
|
11
|
-
return /* @__PURE__ */ i(e, {
|
|
12
|
-
variant: "outline",
|
|
13
|
-
className: t(c && "ttw:gap-1", r[o]),
|
|
14
|
-
children: [c, u]
|
|
15
|
-
});
|
|
16
|
-
}
|
|
2
|
+
var e = { overdue: "Overdue" };
|
|
17
3
|
//#endregion
|
|
18
|
-
export {
|
|
4
|
+
export { e as DUE_DATE_VALUE_LABELS_EN };
|
|
@@ -1,2 +1,30 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./index20.js";
|
|
1
|
+
import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { DUE_DATE_VALUE_LABELS_EN as t } from "./index20.js";
|
|
3
|
+
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
4
|
+
import { AlertTriangleIcon as i } from "lucide-react";
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js
|
|
6
|
+
function a({ value: a, tone: o = "default", labels: s, className: c }) {
|
|
7
|
+
let l = {
|
|
8
|
+
...t,
|
|
9
|
+
...s
|
|
10
|
+
};
|
|
11
|
+
return o === "danger" ? /* @__PURE__ */ r("span", {
|
|
12
|
+
className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:font-medium ttw:text-destructive", c),
|
|
13
|
+
children: [
|
|
14
|
+
/* @__PURE__ */ n(i, {
|
|
15
|
+
"aria-hidden": !0,
|
|
16
|
+
className: "ttw:size-3.5 ttw:shrink-0"
|
|
17
|
+
}),
|
|
18
|
+
a,
|
|
19
|
+
/* @__PURE__ */ n("span", {
|
|
20
|
+
className: "ttw:sr-only",
|
|
21
|
+
children: l.overdue
|
|
22
|
+
})
|
|
23
|
+
]
|
|
24
|
+
}) : /* @__PURE__ */ n("span", {
|
|
25
|
+
className: c,
|
|
26
|
+
children: a
|
|
27
|
+
});
|
|
28
|
+
}
|
|
29
|
+
//#endregion
|
|
30
|
+
export { a as DueDateValue, a as default };
|
|
@@ -1,30 +1,50 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import
|
|
3
|
-
import {
|
|
4
|
-
import
|
|
1
|
+
import { APPROVAL_POLICY_CARD_LABELS_EN as e } from "./index12.js";
|
|
2
|
+
import "./index14.js";
|
|
3
|
+
import { BILL_STATUS_BADGE_LABELS_EN as t } from "./index16.js";
|
|
4
|
+
import "./index19.js";
|
|
5
|
+
import { DUE_DATE_VALUE_LABELS_EN as n } from "./index20.js";
|
|
6
|
+
import "./index22.js";
|
|
5
7
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
8
|
+
var r = {
|
|
9
|
+
errorTitle: "Couldn't load this bill",
|
|
10
|
+
errorDescription: "Something went wrong. Try again.",
|
|
11
|
+
amountDueHeading: "Amount due",
|
|
12
|
+
amountPaidHeading: "Amount paid",
|
|
13
|
+
invoiceDateLabel: "Invoice date",
|
|
14
|
+
dueDateLabel: "Due date",
|
|
15
|
+
payToHeading: "Pay to",
|
|
16
|
+
payToHeadingPaid: "Paid to",
|
|
17
|
+
vendorRow: "Vendor",
|
|
18
|
+
paymentInstructionsRow: "Payment instructions",
|
|
19
|
+
addPaymentInstructions: "Add payment instructions",
|
|
20
|
+
missingPaymentInstructionsBanner: "Missing payment instructions, which are required to send a payment",
|
|
21
|
+
paymentInstructionsCancel: "Cancel",
|
|
22
|
+
paymentInstructionsSave: "Save",
|
|
23
|
+
descriptionAndGlCodeColumn: "Description and GL code",
|
|
24
|
+
qtyPriceColumn: "Qty/Price",
|
|
25
|
+
amountColumn: "Amount",
|
|
26
|
+
historyHeading: "Audit history",
|
|
27
|
+
statusBadge: t,
|
|
28
|
+
approvalPolicy: e,
|
|
29
|
+
dueDate: n
|
|
30
|
+
};
|
|
31
|
+
function i(e) {
|
|
32
|
+
return {
|
|
33
|
+
...r,
|
|
34
|
+
...e,
|
|
35
|
+
statusBadge: {
|
|
36
|
+
...r.statusBadge,
|
|
37
|
+
...e?.statusBadge
|
|
38
|
+
},
|
|
39
|
+
approvalPolicy: {
|
|
40
|
+
...r.approvalPolicy,
|
|
41
|
+
...e?.approvalPolicy
|
|
42
|
+
},
|
|
43
|
+
dueDate: {
|
|
44
|
+
...r.dueDate,
|
|
45
|
+
...e?.dueDate
|
|
46
|
+
}
|
|
10
47
|
};
|
|
11
|
-
return o === "danger" ? /* @__PURE__ */ r("span", {
|
|
12
|
-
className: e("ttw:inline-flex ttw:items-center ttw:gap-1 ttw:font-medium ttw:text-destructive", c),
|
|
13
|
-
children: [
|
|
14
|
-
/* @__PURE__ */ n(i, {
|
|
15
|
-
"aria-hidden": !0,
|
|
16
|
-
className: "ttw:size-3.5 ttw:shrink-0"
|
|
17
|
-
}),
|
|
18
|
-
a,
|
|
19
|
-
/* @__PURE__ */ n("span", {
|
|
20
|
-
className: "ttw:sr-only",
|
|
21
|
-
children: l.overdue
|
|
22
|
-
})
|
|
23
|
-
]
|
|
24
|
-
}) : /* @__PURE__ */ n("span", {
|
|
25
|
-
className: c,
|
|
26
|
-
children: a
|
|
27
|
-
});
|
|
28
48
|
}
|
|
29
49
|
//#endregion
|
|
30
|
-
export {
|
|
50
|
+
export { r as BILL_DETAIL_BODY_LABELS_EN, i as mergeBillDetailBodyLabels };
|