@tesouro/embedded-components-react 0.5.75 → 0.5.77
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 +0 -8
- 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 +8 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +140 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +46 -140
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +114 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +182 -111
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +75 -164
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +31 -76
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +89 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +405 -65
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +12 -381
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +84 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +54 -79
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +223 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +37 -223
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +245 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +21 -252
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +575 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +4 -572
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +44 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +247 -38
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +3 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +44 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +1 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +8 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +11 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +127 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +3 -129
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +127 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +8 -124
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +7 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +47 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +18 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +28 -20
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +82 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +47 -83
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +250 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +123 -241
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +211 -126
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +3 -219
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +7 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index85.js +98 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index86.js +1 -100
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index87.js +26 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +10 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +2 -72
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +12 -269
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +2 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +16 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +97 -15
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +76 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +277 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +2 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +16 -369
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +56 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +15 -93
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +1 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +32 -49
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +374 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +1 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +20 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +87 -188
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +48 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +47 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +10 -85
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +197 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +14 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +88 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +167 -161
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/auditHistory/buildPayableAuditHistory.js +5 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/dist/packages/shared-ui-shadcn/dist/index.js +1391 -1369
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index88.js +0 -27
|
@@ -1,35 +1,35 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { ApprovalPolicyCard as
|
|
1
|
+
import { AuditHistoryList as e, Badge as t, Button as n, CollapsibleSection as r, Sheet as i, SheetContent as a, SheetDescription as o, SheetHeader as s, SheetTitle as c, Skeleton as l, Typography as u } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ApprovalPolicyCard as d } from "./index13.js";
|
|
3
3
|
import "./index14.js";
|
|
4
|
-
import { BillRejectionNotice as
|
|
5
|
-
import { BADGE_TONE_CLASS_NAME as
|
|
6
|
-
import { BillStatusBadge as
|
|
4
|
+
import { BillRejectionNotice as f } from "./index17.js";
|
|
5
|
+
import { BADGE_TONE_CLASS_NAME as p } from "./index15.js";
|
|
6
|
+
import { BillStatusBadge as m } from "./index19.js";
|
|
7
7
|
import "./index20.js";
|
|
8
|
-
import { DueDateValue as
|
|
8
|
+
import { DueDateValue as h } from "./index22.js";
|
|
9
9
|
import "./index23.js";
|
|
10
|
-
import { PaymentHistoryList as
|
|
10
|
+
import { PaymentHistoryList as g } from "./index24.js";
|
|
11
11
|
import "./index25.js";
|
|
12
|
+
import { BILL_DETAILS_SHEET_LABELS_EN as _ } from "./index36.js";
|
|
12
13
|
import { BillActionButtons as v, NO_BILL_ACTIONS as y } from "./index16.js";
|
|
13
|
-
import { BillOverflowMenu as b } from "./
|
|
14
|
-
import "./
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import { ChevronDownIcon as T, MoveDiagonal2Icon as E, XIcon as D } from "lucide-react";
|
|
14
|
+
import { BillOverflowMenu as b } from "./index44.js";
|
|
15
|
+
import "./index45.js";
|
|
16
|
+
import { Fragment as x, jsx as S, jsxs as C } from "react/jsx-runtime";
|
|
17
|
+
import { MoveDiagonal2Icon as w, XIcon as T } from "lucide-react";
|
|
18
18
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js
|
|
19
|
-
function
|
|
20
|
-
return /* @__PURE__ */
|
|
19
|
+
function E({ items: e }) {
|
|
20
|
+
return /* @__PURE__ */ S("dl", {
|
|
21
21
|
className: "ttw:flex ttw:flex-col ttw:divide-y ttw:divide-border",
|
|
22
|
-
children: e.map((e) => /* @__PURE__ */
|
|
22
|
+
children: e.map((e) => /* @__PURE__ */ C("div", {
|
|
23
23
|
className: "ttw:flex ttw:items-start ttw:gap-4 ttw:py-2.5",
|
|
24
|
-
children: [/* @__PURE__ */
|
|
24
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
25
25
|
className: "ttw:w-[140px] ttw:shrink-0 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
|
|
26
26
|
children: e.label
|
|
27
|
-
}), /* @__PURE__ */
|
|
27
|
+
}), /* @__PURE__ */ C("dd", {
|
|
28
28
|
className: "ttw:flex ttw:flex-1 ttw:flex-col ttw:items-start",
|
|
29
|
-
children: [/* @__PURE__ */
|
|
29
|
+
children: [/* @__PURE__ */ S("span", {
|
|
30
30
|
className: "ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
31
31
|
children: e.value
|
|
32
|
-
}), e.secondaryValue ? /* @__PURE__ */
|
|
32
|
+
}), e.secondaryValue ? /* @__PURE__ */ S("span", {
|
|
33
33
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
34
34
|
children: e.secondaryValue
|
|
35
35
|
}) : null]
|
|
@@ -37,271 +37,277 @@ function O({ items: e }) {
|
|
|
37
37
|
}, e.label))
|
|
38
38
|
});
|
|
39
39
|
}
|
|
40
|
-
function
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
children: [/* @__PURE__ */ w(i, {
|
|
45
|
-
className: "ttw:group ttw:flex ttw:w-full ttw:items-center ttw:justify-between ttw:rounded-xs ttw:focus-visible:ring-2 ttw:focus-visible:ring-ring ttw:focus-visible:outline-hidden",
|
|
46
|
-
children: [/* @__PURE__ */ C(d, {
|
|
47
|
-
variant: "body1",
|
|
48
|
-
className: "ttw:font-semibold",
|
|
49
|
-
children: e
|
|
50
|
-
}), /* @__PURE__ */ C(T, { className: "ttw:size-4 ttw:text-muted-foreground ttw:transition-transform ttw:group-data-[state=closed]:-rotate-90" })]
|
|
51
|
-
}), /* @__PURE__ */ C(r, { children: t })]
|
|
52
|
-
});
|
|
53
|
-
}
|
|
54
|
-
function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolicy: A, showApprovalOverrideNotice: j, awaitingApprovalNotice: M, scheduledSummary: N, paymentHistory: P, paymentHistoryError: F, paymentHistoryLoading: I, isLoading: L, isError: R, notice: z, onClose: B, onExpand: V, testId: H, labels: U }) {
|
|
55
|
-
let W = {
|
|
56
|
-
...x,
|
|
57
|
-
...U,
|
|
40
|
+
function D({ open: D, onOpenChange: O, details: k, actions: A = y, approvalPolicy: j, showApprovalOverrideNotice: M, awaitingApprovalNotice: N, scheduledSummary: P, paymentHistory: F, paymentHistoryError: I, paymentHistoryLoading: L, auditHistory: R, auditHistoryError: z, auditHistoryLoading: B, auditHistoryNamesError: V, isLoading: H, isError: U, notice: W, onClose: G, onExpand: K, testId: q, labels: J }) {
|
|
41
|
+
let Y = {
|
|
42
|
+
..._,
|
|
43
|
+
...J,
|
|
58
44
|
statusBadge: {
|
|
59
|
-
...
|
|
60
|
-
...
|
|
45
|
+
..._.statusBadge,
|
|
46
|
+
...J?.statusBadge
|
|
61
47
|
},
|
|
62
48
|
approvalPolicy: {
|
|
63
|
-
...
|
|
64
|
-
...
|
|
49
|
+
..._.approvalPolicy,
|
|
50
|
+
...J?.approvalPolicy
|
|
65
51
|
},
|
|
66
52
|
dueDate: {
|
|
67
|
-
...
|
|
68
|
-
...
|
|
53
|
+
..._.dueDate,
|
|
54
|
+
...J?.dueDate
|
|
55
|
+
},
|
|
56
|
+
auditHistory: {
|
|
57
|
+
..._.auditHistory,
|
|
58
|
+
...J?.auditHistory
|
|
69
59
|
}
|
|
70
60
|
};
|
|
71
|
-
return /* @__PURE__ */
|
|
72
|
-
open:
|
|
73
|
-
onOpenChange: (e) => e ?
|
|
74
|
-
children: /* @__PURE__ */
|
|
61
|
+
return /* @__PURE__ */ S(i, {
|
|
62
|
+
open: D,
|
|
63
|
+
onOpenChange: (e) => e ? O(e) : G(),
|
|
64
|
+
children: /* @__PURE__ */ C(a, {
|
|
75
65
|
showCloseButton: !1,
|
|
76
66
|
className: "ttw:w-150 ttw:gap-0 ttw:overflow-y-auto ttw:sm:max-w-150",
|
|
77
|
-
"data-testid":
|
|
78
|
-
children: [/* @__PURE__ */
|
|
67
|
+
"data-testid": q,
|
|
68
|
+
children: [/* @__PURE__ */ C(s, {
|
|
79
69
|
className: "ttw:flex ttw:flex-row ttw:items-start ttw:justify-between ttw:gap-3",
|
|
80
|
-
children: [/* @__PURE__ */
|
|
70
|
+
children: [/* @__PURE__ */ C("div", {
|
|
81
71
|
className: "ttw:flex ttw:flex-col ttw:gap-0.5",
|
|
82
72
|
children: [
|
|
83
|
-
/* @__PURE__ */
|
|
84
|
-
className:
|
|
85
|
-
children:
|
|
73
|
+
/* @__PURE__ */ S(c, {
|
|
74
|
+
className: H ? "ttw:sr-only" : "ttw:text-xl ttw:font-semibold",
|
|
75
|
+
children: U ? Y.errorTitle : H ? Y.loadingTitle : k?.title
|
|
86
76
|
}),
|
|
87
|
-
|
|
77
|
+
H ? /* @__PURE__ */ C("div", {
|
|
88
78
|
"aria-hidden": !0,
|
|
89
79
|
className: "ttw:flex ttw:flex-col ttw:gap-2 ttw:py-1",
|
|
90
|
-
children: [/* @__PURE__ */
|
|
80
|
+
children: [/* @__PURE__ */ S(l, { className: "ttw:h-6 ttw:w-48" }), /* @__PURE__ */ S(l, { className: "ttw:h-4 ttw:w-28" })]
|
|
91
81
|
}) : null,
|
|
92
|
-
|
|
82
|
+
k && !H && !U ? /* @__PURE__ */ S("p", {
|
|
93
83
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
94
|
-
children:
|
|
84
|
+
children: k.subtitle
|
|
95
85
|
}) : null,
|
|
96
|
-
/* @__PURE__ */
|
|
86
|
+
/* @__PURE__ */ S(o, {
|
|
97
87
|
className: "ttw:sr-only",
|
|
98
|
-
children:
|
|
88
|
+
children: Y.hiddenDescription
|
|
99
89
|
})
|
|
100
90
|
]
|
|
101
|
-
}), /* @__PURE__ */
|
|
91
|
+
}), /* @__PURE__ */ C("div", {
|
|
102
92
|
className: "ttw:flex ttw:items-center ttw:gap-1",
|
|
103
93
|
children: [
|
|
104
|
-
|
|
94
|
+
K ? /* @__PURE__ */ S(n, {
|
|
105
95
|
type: "button",
|
|
106
96
|
variant: "ghost",
|
|
107
97
|
size: "icon",
|
|
108
|
-
"aria-label":
|
|
109
|
-
onClick:
|
|
110
|
-
children: /* @__PURE__ */
|
|
98
|
+
"aria-label": Y.expandButton,
|
|
99
|
+
onClick: K,
|
|
100
|
+
children: /* @__PURE__ */ S(w, { className: "ttw:size-4" })
|
|
111
101
|
}) : null,
|
|
112
|
-
|
|
113
|
-
actions:
|
|
114
|
-
triggerLabel:
|
|
102
|
+
k && !H && !U ? /* @__PURE__ */ S(b, {
|
|
103
|
+
actions: A.menu,
|
|
104
|
+
triggerLabel: Y.overflowMenuTrigger,
|
|
115
105
|
placement: "header"
|
|
116
106
|
}) : null,
|
|
117
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ S(n, {
|
|
118
108
|
type: "button",
|
|
119
109
|
variant: "ghost",
|
|
120
110
|
size: "icon",
|
|
121
|
-
"aria-label":
|
|
122
|
-
onClick:
|
|
123
|
-
children: /* @__PURE__ */
|
|
111
|
+
"aria-label": Y.closeButton,
|
|
112
|
+
onClick: G,
|
|
113
|
+
children: /* @__PURE__ */ S(T, { className: "ttw:size-4" })
|
|
124
114
|
})
|
|
125
115
|
]
|
|
126
116
|
})]
|
|
127
|
-
}), /* @__PURE__ */
|
|
117
|
+
}), /* @__PURE__ */ S("div", {
|
|
128
118
|
className: "ttw:flex ttw:flex-col ttw:gap-6 ttw:px-6 ttw:pb-6",
|
|
129
|
-
children:
|
|
119
|
+
children: U ? /* @__PURE__ */ S("p", {
|
|
130
120
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
131
|
-
children:
|
|
132
|
-
}) :
|
|
121
|
+
children: Y.errorDescription
|
|
122
|
+
}) : H ? /* @__PURE__ */ C("div", {
|
|
133
123
|
className: "ttw:flex ttw:flex-col ttw:gap-6",
|
|
134
|
-
children: [/* @__PURE__ */
|
|
124
|
+
children: [/* @__PURE__ */ S(l, { className: "ttw:h-32 ttw:w-full" }), /* @__PURE__ */ C("div", {
|
|
135
125
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
136
126
|
children: [
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
139
|
-
/* @__PURE__ */
|
|
127
|
+
/* @__PURE__ */ S(l, { className: "ttw:h-4 ttw:w-40" }),
|
|
128
|
+
/* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }),
|
|
129
|
+
/* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" })
|
|
140
130
|
]
|
|
141
131
|
})]
|
|
142
|
-
}) :
|
|
143
|
-
|
|
144
|
-
/* @__PURE__ */
|
|
132
|
+
}) : k ? /* @__PURE__ */ C(x, { children: [
|
|
133
|
+
W,
|
|
134
|
+
/* @__PURE__ */ C("section", {
|
|
145
135
|
className: "ttw:flex ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:bg-muted ttw:p-4",
|
|
146
136
|
children: [
|
|
147
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ C("div", {
|
|
148
138
|
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
149
|
-
children: [
|
|
139
|
+
children: [k.paidOnLabel ? /* @__PURE__ */ C("div", {
|
|
150
140
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6",
|
|
151
|
-
children: [/* @__PURE__ */
|
|
141
|
+
children: [/* @__PURE__ */ C("div", {
|
|
152
142
|
className: "ttw:flex ttw:flex-col",
|
|
153
|
-
children: [/* @__PURE__ */
|
|
143
|
+
children: [/* @__PURE__ */ S("span", {
|
|
154
144
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
155
|
-
children:
|
|
156
|
-
}), /* @__PURE__ */
|
|
145
|
+
children: Y.amountDueHeading
|
|
146
|
+
}), /* @__PURE__ */ S("span", {
|
|
157
147
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
158
|
-
children:
|
|
148
|
+
children: k.amountDueLabel
|
|
159
149
|
})]
|
|
160
|
-
}), /* @__PURE__ */
|
|
150
|
+
}), /* @__PURE__ */ C("div", {
|
|
161
151
|
className: "ttw:flex ttw:flex-col",
|
|
162
|
-
children: [/* @__PURE__ */
|
|
152
|
+
children: [/* @__PURE__ */ S("span", {
|
|
163
153
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
164
|
-
children:
|
|
165
|
-
}), /* @__PURE__ */
|
|
154
|
+
children: Y.amountPaidHeading
|
|
155
|
+
}), /* @__PURE__ */ S("span", {
|
|
166
156
|
className: "ttw:text-3xl ttw:font-semibold ttw:text-emerald-600",
|
|
167
|
-
children:
|
|
157
|
+
children: k.amountPaidLabel
|
|
168
158
|
})]
|
|
169
159
|
})]
|
|
170
|
-
}) : /* @__PURE__ */
|
|
160
|
+
}) : /* @__PURE__ */ C(x, { children: [/* @__PURE__ */ S("span", {
|
|
171
161
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
172
|
-
children:
|
|
173
|
-
}), /* @__PURE__ */
|
|
162
|
+
children: Y.amountDueHeading
|
|
163
|
+
}), /* @__PURE__ */ S("span", {
|
|
174
164
|
className: "ttw:text-3xl ttw:font-semibold",
|
|
175
|
-
children:
|
|
176
|
-
})] }), /* @__PURE__ */
|
|
165
|
+
children: k.amountDueLabel
|
|
166
|
+
})] }), /* @__PURE__ */ S("div", { children: k.paidOnLabel ? /* @__PURE__ */ S(t, {
|
|
177
167
|
variant: "outline",
|
|
178
168
|
className: "ttw:border-emerald-200 ttw:bg-emerald-50 ttw:text-emerald-700",
|
|
179
|
-
children:
|
|
180
|
-
}) :
|
|
169
|
+
children: k.paidOnLabel
|
|
170
|
+
}) : P ? /* @__PURE__ */ S(t, {
|
|
181
171
|
variant: "outline",
|
|
182
|
-
className:
|
|
183
|
-
children:
|
|
184
|
-
}) : /* @__PURE__ */
|
|
185
|
-
status:
|
|
186
|
-
tone:
|
|
187
|
-
labels:
|
|
172
|
+
className: p.committed,
|
|
173
|
+
children: P
|
|
174
|
+
}) : /* @__PURE__ */ S(m, {
|
|
175
|
+
status: k.status,
|
|
176
|
+
tone: k.statusTone,
|
|
177
|
+
labels: Y.statusBadge
|
|
188
178
|
}) })]
|
|
189
179
|
}),
|
|
190
|
-
/* @__PURE__ */
|
|
180
|
+
/* @__PURE__ */ C("div", {
|
|
191
181
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-x-6 ttw:gap-y-1",
|
|
192
|
-
children: [/* @__PURE__ */
|
|
182
|
+
children: [/* @__PURE__ */ C("div", {
|
|
193
183
|
className: "ttw:flex ttw:flex-col",
|
|
194
|
-
children: [/* @__PURE__ */
|
|
184
|
+
children: [/* @__PURE__ */ S("span", {
|
|
195
185
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
196
|
-
children:
|
|
197
|
-
}), /* @__PURE__ */
|
|
186
|
+
children: Y.invoiceDateLabel
|
|
187
|
+
}), /* @__PURE__ */ S("span", {
|
|
198
188
|
className: "ttw:text-sm ttw:font-medium",
|
|
199
|
-
children:
|
|
189
|
+
children: k.invoiceDateLabel
|
|
200
190
|
})]
|
|
201
|
-
}), /* @__PURE__ */
|
|
191
|
+
}), /* @__PURE__ */ C("div", {
|
|
202
192
|
className: "ttw:flex ttw:flex-col",
|
|
203
|
-
children: [/* @__PURE__ */
|
|
193
|
+
children: [/* @__PURE__ */ S("span", {
|
|
204
194
|
className: "ttw:text-xs ttw:text-muted-foreground",
|
|
205
|
-
children:
|
|
206
|
-
}), /* @__PURE__ */
|
|
195
|
+
children: Y.dueDateLabel
|
|
196
|
+
}), /* @__PURE__ */ S(h, {
|
|
207
197
|
className: "ttw:text-sm ttw:font-medium",
|
|
208
|
-
value:
|
|
209
|
-
tone:
|
|
210
|
-
labels:
|
|
198
|
+
value: k.dueDateLabel,
|
|
199
|
+
tone: k.dueDateTone,
|
|
200
|
+
labels: Y.dueDate
|
|
211
201
|
})]
|
|
212
202
|
})]
|
|
213
203
|
}),
|
|
214
|
-
|
|
215
|
-
|
|
204
|
+
k.rejection ? /* @__PURE__ */ S(f, { ...k.rejection }) : null,
|
|
205
|
+
M ? /* @__PURE__ */ S(u, {
|
|
216
206
|
variant: "caption",
|
|
217
207
|
color: "muted",
|
|
218
|
-
children:
|
|
219
|
-
}) :
|
|
208
|
+
children: Y.approvalOverrideNotice
|
|
209
|
+
}) : N ? /* @__PURE__ */ S(u, {
|
|
220
210
|
variant: "caption",
|
|
221
211
|
color: "muted",
|
|
222
|
-
children:
|
|
212
|
+
children: N
|
|
223
213
|
}) : null,
|
|
224
|
-
|
|
214
|
+
A.row.length ? /* @__PURE__ */ S("div", {
|
|
225
215
|
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
226
|
-
children: /* @__PURE__ */
|
|
216
|
+
children: /* @__PURE__ */ S(v, { actions: A.row })
|
|
227
217
|
}) : null
|
|
228
218
|
]
|
|
229
219
|
}),
|
|
230
|
-
/* @__PURE__ */
|
|
231
|
-
|
|
232
|
-
|
|
220
|
+
/* @__PURE__ */ S(r, {
|
|
221
|
+
defaultOpen: !0,
|
|
222
|
+
heading: k.paidOnLabel ? Y.payToHeadingPaid : Y.payToHeading,
|
|
223
|
+
children: /* @__PURE__ */ S(E, { items: k.payToItems })
|
|
233
224
|
}),
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
225
|
+
F?.length || I || L ? /* @__PURE__ */ S(r, {
|
|
226
|
+
defaultOpen: !0,
|
|
227
|
+
heading: Y.paymentHistoryHeading,
|
|
228
|
+
children: I ? /* @__PURE__ */ S("p", {
|
|
237
229
|
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
238
|
-
children:
|
|
239
|
-
}) :
|
|
230
|
+
children: Y.paymentHistoryErrorDescription
|
|
231
|
+
}) : L ? /* @__PURE__ */ S(l, { className: "ttw:h-9 ttw:w-full" }) : /* @__PURE__ */ S(g, { records: F ?? [] })
|
|
240
232
|
}) : null,
|
|
241
|
-
/* @__PURE__ */
|
|
242
|
-
|
|
243
|
-
|
|
233
|
+
/* @__PURE__ */ S(r, {
|
|
234
|
+
defaultOpen: !0,
|
|
235
|
+
heading: Y.invoiceDetailsHeading,
|
|
236
|
+
children: /* @__PURE__ */ C("div", {
|
|
244
237
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
245
238
|
children: [
|
|
246
|
-
/* @__PURE__ */
|
|
247
|
-
|
|
239
|
+
/* @__PURE__ */ S(E, { items: k.invoiceItems }),
|
|
240
|
+
k.lineItems.length ? /* @__PURE__ */ C("table", {
|
|
248
241
|
className: "ttw:w-full ttw:text-sm",
|
|
249
|
-
children: [/* @__PURE__ */
|
|
242
|
+
children: [/* @__PURE__ */ S("thead", { children: /* @__PURE__ */ C("tr", {
|
|
250
243
|
className: "ttw:bg-muted/50 ttw:text-xs ttw:text-muted-foreground",
|
|
251
244
|
children: [
|
|
252
|
-
/* @__PURE__ */
|
|
245
|
+
/* @__PURE__ */ S("th", {
|
|
253
246
|
className: "ttw:px-3 ttw:py-2 ttw:text-left ttw:font-normal",
|
|
254
|
-
children:
|
|
247
|
+
children: Y.lineItemsHeading
|
|
255
248
|
}),
|
|
256
|
-
/* @__PURE__ */
|
|
249
|
+
/* @__PURE__ */ S("th", {
|
|
257
250
|
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
258
|
-
children:
|
|
251
|
+
children: Y.lineItemsQuantityHeading
|
|
259
252
|
}),
|
|
260
|
-
/* @__PURE__ */
|
|
253
|
+
/* @__PURE__ */ S("th", {
|
|
261
254
|
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:font-normal",
|
|
262
|
-
children:
|
|
255
|
+
children: Y.lineItemsAmountHeading
|
|
263
256
|
})
|
|
264
257
|
]
|
|
265
|
-
}) }), /* @__PURE__ */
|
|
258
|
+
}) }), /* @__PURE__ */ S("tbody", { children: k.lineItems.map((e) => /* @__PURE__ */ C("tr", {
|
|
266
259
|
className: "ttw:border-b ttw:border-border",
|
|
267
260
|
children: [
|
|
268
|
-
/* @__PURE__ */
|
|
261
|
+
/* @__PURE__ */ C("td", {
|
|
269
262
|
className: "ttw:px-3 ttw:py-2",
|
|
270
|
-
children: [/* @__PURE__ */
|
|
263
|
+
children: [/* @__PURE__ */ S("span", {
|
|
271
264
|
className: "ttw:block",
|
|
272
265
|
children: e.description
|
|
273
|
-
}), /* @__PURE__ */
|
|
266
|
+
}), /* @__PURE__ */ S("span", {
|
|
274
267
|
className: "ttw:block ttw:text-xs ttw:text-muted-foreground",
|
|
275
268
|
children: e.glCodeLabel
|
|
276
269
|
})]
|
|
277
270
|
}),
|
|
278
|
-
/* @__PURE__ */
|
|
271
|
+
/* @__PURE__ */ S("td", {
|
|
279
272
|
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap ttw:text-muted-foreground",
|
|
280
273
|
children: e.quantityLabel
|
|
281
274
|
}),
|
|
282
|
-
/* @__PURE__ */
|
|
275
|
+
/* @__PURE__ */ S("td", {
|
|
283
276
|
className: "ttw:px-3 ttw:py-2 ttw:text-right ttw:whitespace-nowrap",
|
|
284
277
|
children: e.amountLabel
|
|
285
278
|
})
|
|
286
279
|
]
|
|
287
280
|
}, e.id)) })]
|
|
288
281
|
}) : null,
|
|
289
|
-
/* @__PURE__ */
|
|
282
|
+
/* @__PURE__ */ S("dl", {
|
|
290
283
|
className: "ttw:flex ttw:flex-col ttw:gap-1",
|
|
291
|
-
children:
|
|
284
|
+
children: k.totals.map((e) => /* @__PURE__ */ C("div", {
|
|
292
285
|
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",
|
|
293
|
-
children: [/* @__PURE__ */
|
|
286
|
+
children: [/* @__PURE__ */ S("dt", {
|
|
294
287
|
className: e.emphasis ? "" : "ttw:text-muted-foreground",
|
|
295
288
|
children: e.label
|
|
296
|
-
}), /* @__PURE__ */
|
|
289
|
+
}), /* @__PURE__ */ S("dd", { children: e.value })]
|
|
297
290
|
}, e.label))
|
|
298
291
|
})
|
|
299
292
|
]
|
|
300
293
|
})
|
|
301
294
|
}),
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
295
|
+
/* @__PURE__ */ C(r, {
|
|
296
|
+
heading: Y.auditHistory.heading,
|
|
297
|
+
children: [V ? /* @__PURE__ */ S(u, {
|
|
298
|
+
variant: "caption",
|
|
299
|
+
color: "muted",
|
|
300
|
+
children: Y.auditHistory.namesError
|
|
301
|
+
}) : null, /* @__PURE__ */ S(e, {
|
|
302
|
+
rows: R ?? [],
|
|
303
|
+
isLoading: B,
|
|
304
|
+
isError: z,
|
|
305
|
+
labels: Y.auditHistory
|
|
306
|
+
})]
|
|
307
|
+
}),
|
|
308
|
+
j ? /* @__PURE__ */ S(d, {
|
|
309
|
+
view: j,
|
|
310
|
+
labels: Y.approvalPolicy
|
|
305
311
|
}) : null
|
|
306
312
|
] }) : null
|
|
307
313
|
})]
|
|
@@ -309,4 +315,4 @@ function A({ open: n, onOpenChange: r, details: i, actions: T = y, approvalPolic
|
|
|
309
315
|
});
|
|
310
316
|
}
|
|
311
317
|
//#endregion
|
|
312
|
-
export {
|
|
318
|
+
export { D as BillDetailsSheet, D as default };
|
|
@@ -10,11 +10,11 @@ import { BillStatusBadge as ae } from "./index19.js";
|
|
|
10
10
|
import "./index20.js";
|
|
11
11
|
import { DueDateValue as p } from "./index22.js";
|
|
12
12
|
import "./index23.js";
|
|
13
|
-
import { MissingValue as m } from "./
|
|
14
|
-
import "./
|
|
15
|
-
import { NoValue as oe } from "./
|
|
16
|
-
import "./
|
|
17
|
-
import { BILLS_SCREEN_LABELS_EN as h, BILLS_SCREEN_UPLOAD_ACCEPT as g } from "./
|
|
13
|
+
import { MissingValue as m } from "./index31.js";
|
|
14
|
+
import "./index32.js";
|
|
15
|
+
import { NoValue as oe } from "./index34.js";
|
|
16
|
+
import "./index35.js";
|
|
17
|
+
import { BILLS_SCREEN_LABELS_EN as h, BILLS_SCREEN_UPLOAD_ACCEPT as g } from "./index36.js";
|
|
18
18
|
import { BillsFilterBar as se } from "./index79.js";
|
|
19
19
|
import "./index80.js";
|
|
20
20
|
import { BillColumn as _ } from "./index81.js";
|
package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
//#region ../../libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js
|
|
2
|
-
var e = "@tesouro/embedded-components-react", t = "0.5.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.5.77", n = "ef79ed3538b1b89bb7f32cfee375b94ecde6faea", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -133,5 +133,9 @@ function f(e, n, r) {
|
|
|
133
133
|
}] : [];
|
|
134
134
|
});
|
|
135
135
|
}
|
|
136
|
+
function p(t, n, r) {
|
|
137
|
+
let i = new Set(n.map((e) => e.id));
|
|
138
|
+
return t.some((t) => i.has(t.id) && t.recorded_by === "user" && !!t.entity_user_id && !e(t, r));
|
|
139
|
+
}
|
|
136
140
|
//#endregion
|
|
137
|
-
export { f as buildPayableAuditHistory };
|
|
141
|
+
export { f as buildPayableAuditHistory, p as hasUnattributedAuditRows };
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
"use client";
|
|
5
5
|
import { Scope as e } from "../../../shared/data-access/dist/lib/scopes.js";
|
|
6
6
|
import "../../../shared/data-access/dist/index.js";
|
|
7
|
-
import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/
|
|
7
|
+
import { BillPayWidget as t } from "../../../bill-pay-widget/feature/dist/index87.js";
|
|
8
8
|
import "../../../bill-pay-widget/feature/dist/index.js";
|
|
9
9
|
import { jsx as n } from "react/jsx-runtime";
|
|
10
10
|
//#region ../../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js
|