@tesouro/embedded-components-react 0.2.333 → 0.2.337
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/index.css +22 -0
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +10 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +43 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index31.js +12 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +46 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +26 -149
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +159 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +32 -98
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +102 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +11 -212
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +226 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +4 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +27 -80
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +75 -125
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +133 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +2 -43
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +45 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +6 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +9 -92
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +94 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +3 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +7 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +20 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +57 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +3 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +105 -157
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +11 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +40 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +100 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +171 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +5 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +8 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +115 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +34 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +1 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +38 -269
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +272 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +7 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +2 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +20 -284
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +286 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +13 -117
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +120 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +8 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +11 -56
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +57 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +1 -53
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +51 -136
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +141 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +5 -42
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +2 -61
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +63 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +1 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +72 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +251 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +9 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +1 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +6 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +43 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +14 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +278 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +8 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +8 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +91 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +15 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +101 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +3 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +28 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +2 -170
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +7 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +32 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +2 -89
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +12 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +106 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +18 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +170 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +14 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +89 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index7.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +1378 -1371
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +0 -34
|
@@ -1,2 +1,16 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import "./index49.js";
|
|
1
|
+
import { cn as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { MISSING_VALUE_LABELS_EN as t } from "./index49.js";
|
|
3
|
+
import { jsx as n } from "react/jsx-runtime";
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js
|
|
5
|
+
function r({ labels: r, className: i }) {
|
|
6
|
+
let a = {
|
|
7
|
+
...t,
|
|
8
|
+
...r
|
|
9
|
+
};
|
|
10
|
+
return /* @__PURE__ */ n("span", {
|
|
11
|
+
className: e("ttw:text-amber-700", i),
|
|
12
|
+
children: a.missing
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
//#endregion
|
|
16
|
+
export { r as MissingValue, r as default };
|
|
@@ -1,74 +1,2 @@
|
|
|
1
|
-
import
|
|
2
|
-
import { ADD_BILL_PANEL_LABELS_EN as t } from "./index6.js";
|
|
3
|
-
import "./index8.js";
|
|
4
|
-
import { APPROVAL_POLICY_CARD_LABELS_EN as n } from "./index12.js";
|
|
5
|
-
import "./index14.js";
|
|
6
|
-
import { BILL_STATUS_BADGE_LABELS_EN as r } from "./index18.js";
|
|
7
|
-
import "./index20.js";
|
|
8
|
-
import { MISSING_VALUE_LABELS_EN as i } from "./index48.js";
|
|
1
|
+
import "./index49.js";
|
|
9
2
|
import "./index50.js";
|
|
10
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js
|
|
11
|
-
var a = {
|
|
12
|
-
loadingTitle: "Loading bill…",
|
|
13
|
-
hiddenDescription: "Bill details",
|
|
14
|
-
errorTitle: "Couldn't load this bill",
|
|
15
|
-
errorDescription: "Something went wrong. Try again.",
|
|
16
|
-
amountDueHeading: "Amount due",
|
|
17
|
-
invoiceDateLabel: "Invoice date",
|
|
18
|
-
dueDateLabel: "Due date",
|
|
19
|
-
payToHeading: "Pay to",
|
|
20
|
-
invoiceDetailsHeading: "Invoice details",
|
|
21
|
-
lineItemsHeading: "Line items",
|
|
22
|
-
lineItemsQuantityHeading: "Qty/Price",
|
|
23
|
-
lineItemsAmountHeading: "Amount",
|
|
24
|
-
payButton: "Pay",
|
|
25
|
-
markAsPaidButton: "Mark as paid",
|
|
26
|
-
rejectButton: "Reject",
|
|
27
|
-
approveButton: "Approve",
|
|
28
|
-
cancelButton: "Cancel bill",
|
|
29
|
-
reopenButton: "Reopen bill",
|
|
30
|
-
forceApproveButton: "Approve without policy",
|
|
31
|
-
forceRejectButton: "Reject without policy",
|
|
32
|
-
overflowMenuTrigger: "Bill actions",
|
|
33
|
-
expandButton: "Open full screen",
|
|
34
|
-
closeButton: "Close",
|
|
35
|
-
statusBadge: r,
|
|
36
|
-
approvalPolicy: n
|
|
37
|
-
}, o = ".pdf,.png,.jpg,.jpeg,.doc,.docx", s = {
|
|
38
|
-
...t,
|
|
39
|
-
dropzone: {
|
|
40
|
-
...t.dropzone,
|
|
41
|
-
fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
|
|
42
|
-
}
|
|
43
|
-
}, c = {
|
|
44
|
-
createButton: "Add bill",
|
|
45
|
-
columnVendor: "Vendor",
|
|
46
|
-
columnDueDate: "Due date",
|
|
47
|
-
columnScheduledDate: "Scheduled date",
|
|
48
|
-
columnPaidDate: "Paid date",
|
|
49
|
-
columnAmountDue: "Amount due",
|
|
50
|
-
columnAmountScheduled: "Amount scheduled",
|
|
51
|
-
columnAmountPaid: "Amount paid",
|
|
52
|
-
columnStatus: "Status",
|
|
53
|
-
columnAddedOn: "Added on",
|
|
54
|
-
columnActions: "Actions",
|
|
55
|
-
openRow: (e) => `View bill — ${e}`,
|
|
56
|
-
searchPlaceholder: "Search by vendor name",
|
|
57
|
-
searchLabel: "Search bills by vendor name",
|
|
58
|
-
filterTabsLabel: "Filter bills by status",
|
|
59
|
-
filteredEmptyTitle: "No bills match",
|
|
60
|
-
filteredEmptyDescription: "Try a different search or status filter.",
|
|
61
|
-
errorTitle: "Couldn't load bills",
|
|
62
|
-
errorDescription: "Something went wrong. Try again.",
|
|
63
|
-
errorRetry: "Retry",
|
|
64
|
-
statusBadge: r,
|
|
65
|
-
addBill: s,
|
|
66
|
-
sortableHeader: {
|
|
67
|
-
sortedAscending: e.sortedAscending,
|
|
68
|
-
sortedDescending: e.sortedDescending,
|
|
69
|
-
notSorted: e.notSorted
|
|
70
|
-
},
|
|
71
|
-
missingValue: i
|
|
72
|
-
};
|
|
73
|
-
//#endregion
|
|
74
|
-
export { c as BILLS_SCREEN_LABELS_EN, o as BILLS_SCREEN_UPLOAD_ACCEPT, a as BILL_DETAILS_SHEET_LABELS_EN };
|
|
@@ -1,253 +1,75 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { DATA_TABLE_LABELS_EN as e } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ADD_BILL_PANEL_LABELS_EN as t } from "./index6.js";
|
|
3
|
+
import "./index8.js";
|
|
4
|
+
import { APPROVAL_POLICY_CARD_LABELS_EN as n } from "./index12.js";
|
|
3
5
|
import "./index14.js";
|
|
4
|
-
import {
|
|
5
|
-
import "./
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import { BillActionButtons as m, NO_BILL_ACTIONS as h, hasBillActions as g } from "./index15.js";
|
|
9
|
-
import { BILL_DETAILS_SHEET_LABELS_EN as _ } from "./index51.js";
|
|
10
|
-
import { Fragment as v, jsx as y, jsxs as b } from "react/jsx-runtime";
|
|
11
|
-
import { ChevronDownIcon as x, MoveDiagonal2Icon as S, XIcon as C } from "lucide-react";
|
|
6
|
+
import { BILL_STATUS_BADGE_LABELS_EN as r } from "./index18.js";
|
|
7
|
+
import "./index21.js";
|
|
8
|
+
import { MISSING_VALUE_LABELS_EN as i } from "./index49.js";
|
|
9
|
+
import "./index51.js";
|
|
12
10
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
}),
|
|
77
|
-
E ? /* @__PURE__ */ b("div", {
|
|
78
|
-
"aria-hidden": !0,
|
|
79
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
|
|
80
|
-
children: [/* @__PURE__ */ y(l, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ y(l, { className: "ttw:h-4 ttw:w-28" })]
|
|
81
|
-
}) : null,
|
|
82
|
-
r && !E && !D ? /* @__PURE__ */ y("p", {
|
|
83
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
84
|
-
children: r.subtitle
|
|
85
|
-
}) : null,
|
|
86
|
-
/* @__PURE__ */ y(o, {
|
|
87
|
-
className: "ttw:sr-only",
|
|
88
|
-
children: N.hiddenDescription
|
|
89
|
-
})
|
|
90
|
-
]
|
|
91
|
-
}), /* @__PURE__ */ b("div", {
|
|
92
|
-
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
93
|
-
children: [A ? /* @__PURE__ */ y(e, {
|
|
94
|
-
type: "button",
|
|
95
|
-
variant: "ghost",
|
|
96
|
-
size: "icon",
|
|
97
|
-
"aria-label": N.expandButton,
|
|
98
|
-
onClick: A,
|
|
99
|
-
children: /* @__PURE__ */ y(S, { className: "ttw:size-4" })
|
|
100
|
-
}) : null, /* @__PURE__ */ y(e, {
|
|
101
|
-
type: "button",
|
|
102
|
-
variant: "ghost",
|
|
103
|
-
size: "icon",
|
|
104
|
-
"aria-label": N.closeButton,
|
|
105
|
-
onClick: k,
|
|
106
|
-
children: /* @__PURE__ */ y(C, { className: "ttw:size-4" })
|
|
107
|
-
})]
|
|
108
|
-
})]
|
|
109
|
-
}), /* @__PURE__ */ y("div", {
|
|
110
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
|
|
111
|
-
children: D ? /* @__PURE__ */ y("p", {
|
|
112
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
113
|
-
children: N.errorDescription
|
|
114
|
-
}) : E ? /* @__PURE__ */ b("div", {
|
|
115
|
-
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
116
|
-
children: [/* @__PURE__ */ y(l, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ b("div", {
|
|
117
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
118
|
-
children: [
|
|
119
|
-
/* @__PURE__ */ y(l, { className: "ttw:h-4 ttw:w-40" }),
|
|
120
|
-
/* @__PURE__ */ y(l, { className: "ttw:h-9 ttw:w-full" }),
|
|
121
|
-
/* @__PURE__ */ y(l, { className: "ttw:h-9 ttw:w-full" })
|
|
122
|
-
]
|
|
123
|
-
})]
|
|
124
|
-
}) : r ? /* @__PURE__ */ b(v, { children: [
|
|
125
|
-
O,
|
|
126
|
-
/* @__PURE__ */ b("section", {
|
|
127
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted/50 ttw:p-4",
|
|
128
|
-
children: [
|
|
129
|
-
/* @__PURE__ */ b("div", {
|
|
130
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
131
|
-
children: [
|
|
132
|
-
/* @__PURE__ */ y("span", {
|
|
133
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
134
|
-
children: N.amountDueHeading
|
|
135
|
-
}),
|
|
136
|
-
/* @__PURE__ */ y("span", {
|
|
137
|
-
className: "ttw:text-3xl ttw:font-semibold",
|
|
138
|
-
children: r.amountDueLabel
|
|
139
|
-
}),
|
|
140
|
-
/* @__PURE__ */ y("div", { children: /* @__PURE__ */ y(p, {
|
|
141
|
-
status: r.status,
|
|
142
|
-
tone: r.statusTone,
|
|
143
|
-
labels: N.statusBadge
|
|
144
|
-
}) })
|
|
145
|
-
]
|
|
146
|
-
}),
|
|
147
|
-
/* @__PURE__ */ b("div", {
|
|
148
|
-
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
|
|
149
|
-
children: [/* @__PURE__ */ b("div", {
|
|
150
|
-
className: "ttw:flex ttw:flex-col",
|
|
151
|
-
children: [/* @__PURE__ */ y("span", {
|
|
152
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
153
|
-
children: N.invoiceDateLabel
|
|
154
|
-
}), /* @__PURE__ */ y("span", {
|
|
155
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
156
|
-
children: r.invoiceDateLabel
|
|
157
|
-
})]
|
|
158
|
-
}), /* @__PURE__ */ b("div", {
|
|
159
|
-
className: "ttw:flex ttw:flex-col",
|
|
160
|
-
children: [/* @__PURE__ */ y("span", {
|
|
161
|
-
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
162
|
-
children: N.dueDateLabel
|
|
163
|
-
}), /* @__PURE__ */ y("span", {
|
|
164
|
-
className: "ttw:text-sm ttw:font-medium",
|
|
165
|
-
children: r.dueDateLabel
|
|
166
|
-
})]
|
|
167
|
-
})]
|
|
168
|
-
}),
|
|
169
|
-
g(u) ? /* @__PURE__ */ b("div", {
|
|
170
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
171
|
-
children: [/* @__PURE__ */ y(m, { actions: u.row }), /* @__PURE__ */ y(f, {
|
|
172
|
-
actions: u.menu,
|
|
173
|
-
triggerLabel: N.overflowMenuTrigger
|
|
174
|
-
})]
|
|
175
|
-
}) : null
|
|
176
|
-
]
|
|
177
|
-
}),
|
|
178
|
-
/* @__PURE__ */ y(T, {
|
|
179
|
-
heading: N.payToHeading,
|
|
180
|
-
children: /* @__PURE__ */ y(w, { items: r.payToItems })
|
|
181
|
-
}),
|
|
182
|
-
/* @__PURE__ */ y(T, {
|
|
183
|
-
heading: N.invoiceDetailsHeading,
|
|
184
|
-
children: /* @__PURE__ */ b("div", {
|
|
185
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
186
|
-
children: [
|
|
187
|
-
/* @__PURE__ */ y(w, { items: r.invoiceItems }),
|
|
188
|
-
r.lineItems.length ? /* @__PURE__ */ b("table", {
|
|
189
|
-
className: "ttw:w-full ttw:text-sm",
|
|
190
|
-
children: [/* @__PURE__ */ y("thead", { children: /* @__PURE__ */ b("tr", {
|
|
191
|
-
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
192
|
-
children: [
|
|
193
|
-
/* @__PURE__ */ y("th", {
|
|
194
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
|
|
195
|
-
children: N.lineItemsHeading
|
|
196
|
-
}),
|
|
197
|
-
/* @__PURE__ */ y("th", {
|
|
198
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
199
|
-
children: N.lineItemsQuantityHeading
|
|
200
|
-
}),
|
|
201
|
-
/* @__PURE__ */ y("th", {
|
|
202
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
203
|
-
children: N.lineItemsAmountHeading
|
|
204
|
-
})
|
|
205
|
-
]
|
|
206
|
-
}) }), /* @__PURE__ */ y("tbody", { children: r.lineItems.map((e) => /* @__PURE__ */ b("tr", {
|
|
207
|
-
className: "ttw:border-b ttw:border-border",
|
|
208
|
-
children: [
|
|
209
|
-
/* @__PURE__ */ b("td", {
|
|
210
|
-
className: "ttw:px-3 ttw:py-2",
|
|
211
|
-
children: [/* @__PURE__ */ y("span", {
|
|
212
|
-
className: "ttw:block",
|
|
213
|
-
children: e.description
|
|
214
|
-
}), /* @__PURE__ */ y("span", {
|
|
215
|
-
className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
|
|
216
|
-
children: e.glCodeLabel
|
|
217
|
-
})]
|
|
218
|
-
}),
|
|
219
|
-
/* @__PURE__ */ y("td", {
|
|
220
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
|
|
221
|
-
children: e.quantityLabel
|
|
222
|
-
}),
|
|
223
|
-
/* @__PURE__ */ y("td", {
|
|
224
|
-
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
|
|
225
|
-
children: e.amountLabel
|
|
226
|
-
})
|
|
227
|
-
]
|
|
228
|
-
}, e.id)) })]
|
|
229
|
-
}) : null,
|
|
230
|
-
/* @__PURE__ */ y("dl", {
|
|
231
|
-
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
232
|
-
children: r.totals.map((e) => /* @__PURE__ */ b("div", {
|
|
233
|
-
className: e.emphasis ? "ttw:flex ttw:justify-between ttw:gap-6 ttw:border-t ttw:border-border ttw:pt-2 ttw:text-base ttw:font-semibold" : "ttw:flex ttw:justify-between ttw:gap-6 ttw:text-sm",
|
|
234
|
-
children: [/* @__PURE__ */ y("dt", {
|
|
235
|
-
className: e.emphasis ? "" : "ttw:text-muted-foreground",
|
|
236
|
-
children: e.label
|
|
237
|
-
}), /* @__PURE__ */ y("dd", { children: e.value })]
|
|
238
|
-
}, e.label))
|
|
239
|
-
})
|
|
240
|
-
]
|
|
241
|
-
})
|
|
242
|
-
}),
|
|
243
|
-
x ? /* @__PURE__ */ y(d, {
|
|
244
|
-
view: x,
|
|
245
|
-
labels: N.approvalPolicy
|
|
246
|
-
}) : null
|
|
247
|
-
] }) : null
|
|
248
|
-
})]
|
|
249
|
-
})
|
|
250
|
-
});
|
|
251
|
-
}
|
|
11
|
+
var a = {
|
|
12
|
+
loadingTitle: "Loading bill…",
|
|
13
|
+
hiddenDescription: "Bill details",
|
|
14
|
+
errorTitle: "Couldn't load this bill",
|
|
15
|
+
errorDescription: "Something went wrong. Try again.",
|
|
16
|
+
amountDueHeading: "Amount due",
|
|
17
|
+
invoiceDateLabel: "Invoice date",
|
|
18
|
+
dueDateLabel: "Due date",
|
|
19
|
+
payToHeading: "Pay to",
|
|
20
|
+
invoiceDetailsHeading: "Invoice details",
|
|
21
|
+
lineItemsHeading: "Line items",
|
|
22
|
+
lineItemsQuantityHeading: "Qty/Price",
|
|
23
|
+
lineItemsAmountHeading: "Amount",
|
|
24
|
+
payButton: "Pay",
|
|
25
|
+
markAsPaidButton: "Mark as paid",
|
|
26
|
+
rejectButton: "Reject",
|
|
27
|
+
approveButton: "Approve",
|
|
28
|
+
cancelButton: "Cancel bill",
|
|
29
|
+
reopenButton: "Reopen bill",
|
|
30
|
+
forceApproveButton: "Approve without policy",
|
|
31
|
+
forceRejectButton: "Reject without policy",
|
|
32
|
+
overflowMenuTrigger: "Bill actions",
|
|
33
|
+
expandButton: "Open full screen",
|
|
34
|
+
closeButton: "Close",
|
|
35
|
+
statusBadge: r,
|
|
36
|
+
approvalPolicy: n
|
|
37
|
+
}, o = ".pdf,.png,.jpg,.jpeg,.doc,.docx", s = {
|
|
38
|
+
...t,
|
|
39
|
+
dropzone: {
|
|
40
|
+
...t.dropzone,
|
|
41
|
+
fileTypesHint: "PDF, DOC, JPG, or PNG (max. 3MB)"
|
|
42
|
+
}
|
|
43
|
+
}, c = {
|
|
44
|
+
createButton: "Add bill",
|
|
45
|
+
columnVendor: "Vendor",
|
|
46
|
+
columnDueDate: "Due date",
|
|
47
|
+
columnScheduledDate: "Scheduled date",
|
|
48
|
+
columnPaidDate: "Paid date",
|
|
49
|
+
columnAmountDue: "Amount due",
|
|
50
|
+
columnAmountScheduled: "Amount scheduled",
|
|
51
|
+
columnAmountPaid: "Amount paid",
|
|
52
|
+
columnStatus: "Status",
|
|
53
|
+
columnAddedOn: "Added on",
|
|
54
|
+
columnActions: "Actions",
|
|
55
|
+
openRow: (e) => `View bill — ${e}`,
|
|
56
|
+
duplicateBillsReviewButton: "Review duplicates",
|
|
57
|
+
searchPlaceholder: "Search by vendor name",
|
|
58
|
+
searchLabel: "Search bills by vendor name",
|
|
59
|
+
filterTabsLabel: "Filter bills by status",
|
|
60
|
+
filteredEmptyTitle: "No bills match",
|
|
61
|
+
filteredEmptyDescription: "Try a different search or status filter.",
|
|
62
|
+
errorTitle: "Couldn't load bills",
|
|
63
|
+
errorDescription: "Something went wrong. Try again.",
|
|
64
|
+
errorRetry: "Retry",
|
|
65
|
+
statusBadge: r,
|
|
66
|
+
addBill: s,
|
|
67
|
+
sortableHeader: {
|
|
68
|
+
sortedAscending: e.sortedAscending,
|
|
69
|
+
sortedDescending: e.sortedDescending,
|
|
70
|
+
notSorted: e.notSorted
|
|
71
|
+
},
|
|
72
|
+
missingValue: i
|
|
73
|
+
};
|
|
252
74
|
//#endregion
|
|
253
|
-
export {
|
|
75
|
+
export { c as BILLS_SCREEN_LABELS_EN, o as BILLS_SCREEN_UPLOAD_ACCEPT, a as BILL_DETAILS_SHEET_LABELS_EN };
|