@tesouro/embedded-components-react 0.4.21 → 0.4.22
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.js +1 -1
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +12 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index10.js +64 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index11.js +38 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index12.js +104 -73
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index13.js +87 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index14.js +7 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index15.js +17 -22
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index16.js +23 -63
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index17.js +66 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index18.js +2 -77
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index19.js +74 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index20.js +4 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index21.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index22.js +3 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index23.js +30 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index24.js +37 -166
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index25.js +164 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index26.js +48 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index27.js +1 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index28.js +47 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index29.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index32.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index33.js +8 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index34.js +18 -125
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index35.js +135 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index36.js +24 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index37.js +4 -41
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index38.js +39 -87
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index39.js +79 -84
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index4.js +5 -25
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index40.js +95 -48
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index41.js +47 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index42.js +119 -33
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index43.js +33 -177
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index44.js +186 -75
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index45.js +75 -21
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index46.js +22 -232
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index47.js +223 -210
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index48.js +202 -103
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index49.js +121 -13
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index5.js +25 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index50.js +12 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index51.js +47 -31
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index52.js +27 -198
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index53.js +198 -30
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index54.js +30 -234
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index55.js +240 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index56.js +19 -385
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index57.js +416 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index58.js +4 -35
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index59.js +35 -189
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index6.js +21 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index60.js +214 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index61.js +3 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index62.js +2 -44
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index63.js +46 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index65.js +6 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index66.js +10 -110
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index67.js +112 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index68.js +3 -127
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index69.js +124 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index7.js +58 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index70.js +8 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index71.js +8 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index72.js +43 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index73.js +20 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index74.js +27 -82
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index75.js +83 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index76.js +47 -250
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index77.js +239 -101
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index78.js +107 -202
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index79.js +209 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index8.js +5 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index80.js +4 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index81.js +6 -113
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index82.js +115 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index83.js +0 -24
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index84.js +25 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index9.js +5 -70
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index.js +44 -40
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index100.js +170 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index101.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index102.js +12 -50
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index103.js +108 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index104.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index105.js +10 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index106.js +52 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index107.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index16.js +21 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index17.js +10 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index18.js +11 -16
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index19.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index20.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index21.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index22.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index23.js +2 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index24.js +32 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index25.js +1 -29
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index26.js +26 -19
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index27.js +20 -152
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index28.js +154 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index29.js +1 -64
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index30.js +61 -253
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index31.js +258 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index32.js +2 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index33.js +7 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index34.js +49 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index35.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index36.js +15 -47
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index37.js +50 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index38.js +2 -23
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index39.js +21 -338
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index40.js +340 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index41.js +2 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index42.js +9 -94
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index43.js +96 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index44.js +1 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index45.js +11 -57
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index46.js +58 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index47.js +1 -54
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index48.js +52 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index49.js +10 -179
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index50.js +181 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index51.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index52.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index53.js +41 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index54.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index55.js +5 -90
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index56.js +92 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index57.js +2 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index58.js +2 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index59.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index60.js +1 -88
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index61.js +86 -298
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index62.js +299 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index63.js +13 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index64.js +1 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index65.js +6 -37
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index66.js +39 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index67.js +2 -39
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index68.js +2 -10
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index69.js +30 -195
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index70.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index71.js +36 -14
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index72.js +10 -345
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index73.js +199 -8
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index74.js +3 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index75.js +15 -91
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index76.js +347 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index77.js +10 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index78.js +7 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index79.js +91 -26
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index81.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index82.js +123 -5
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index83.js +26 -28
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index84.js +94 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index85.js +2 -7
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index86.js +5 -32
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index87.js +30 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index88.js +2 -12
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index89.js +5 -104
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index90.js +34 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index91.js +2 -17
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index92.js +10 -123
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index93.js +105 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index94.js +2 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index95.js +13 -6
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js +74 -119
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index97.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js +8 -106
- 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/formatRejectionDate.js +11 -0
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index8.js +1 -1
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js +0 -94
|
@@ -1,165 +1,120 @@
|
|
|
1
|
-
import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import { CalendarIcon as C } from "lucide-react";
|
|
1
|
+
import { Badge as e, Button as t, Calendar as n, Dialog as r, DialogContent as i, DialogDescription as a, DialogFooter as o, DialogHeader as s, DialogTitle as c, Label as l, Popover as u, PopoverContent as d, PopoverTrigger as f, Textarea as p } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { MARK_AS_PAID_DIALOG_LABELS_EN as m } from "./index95.js";
|
|
3
|
+
import { useId as h } from "react";
|
|
4
|
+
import { jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
5
|
+
import { CalendarIcon as v } from "lucide-react";
|
|
7
6
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index96.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
};
|
|
13
|
-
|
|
14
|
-
let J = {
|
|
15
|
-
...v,
|
|
16
|
-
...q
|
|
17
|
-
}, Y = b(), X = b(), Z = b(), Q = z || B || I.length === 0, $ = I.find((e) => e.id === F);
|
|
18
|
-
return /* @__PURE__ */ x(r, {
|
|
7
|
+
function y({ open: y, amountDue: b, dueDateSuffix: x, paymentAmount: S, selectedDate: C, selectedDateLabel: w, isToday: T, comment: E, isSubmitting: D, onDateChange: O, onCommentChange: k, onConfirm: A, onCancel: j, testId: M, confirmTestId: N, labels: P }) {
|
|
8
|
+
let F = {
|
|
9
|
+
...m,
|
|
10
|
+
...P
|
|
11
|
+
}, I = h(), L = h(), R = h();
|
|
12
|
+
return /* @__PURE__ */ g(r, {
|
|
19
13
|
open: y,
|
|
20
|
-
onOpenChange: (e) => e ?
|
|
21
|
-
children: /* @__PURE__ */
|
|
22
|
-
"data-testid":
|
|
14
|
+
onOpenChange: (e) => e ? void 0 : j(),
|
|
15
|
+
children: /* @__PURE__ */ _(i, {
|
|
16
|
+
"data-testid": M,
|
|
23
17
|
className: "ttw:flex ttw:max-w-lg ttw:flex-col ttw:gap-3",
|
|
24
18
|
children: [
|
|
25
|
-
/* @__PURE__ */
|
|
26
|
-
|
|
27
|
-
children: J.hiddenDescription
|
|
28
|
-
})] }),
|
|
29
|
-
/* @__PURE__ */ S("div", {
|
|
19
|
+
/* @__PURE__ */ _(s, { children: [/* @__PURE__ */ g(c, { children: F.title }), /* @__PURE__ */ g(a, { children: F.description })] }),
|
|
20
|
+
/* @__PURE__ */ _("div", {
|
|
30
21
|
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
31
22
|
children: [
|
|
32
|
-
/* @__PURE__ */
|
|
23
|
+
/* @__PURE__ */ _("div", {
|
|
33
24
|
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
34
|
-
children: [/* @__PURE__ */
|
|
25
|
+
children: [/* @__PURE__ */ g("p", {
|
|
35
26
|
className: "ttw:text-base ttw:text-muted-foreground",
|
|
36
|
-
children:
|
|
37
|
-
}), /* @__PURE__ */
|
|
27
|
+
children: F.amountDue
|
|
28
|
+
}), /* @__PURE__ */ _("div", {
|
|
38
29
|
className: "ttw:flex ttw:flex-wrap ttw:items-end ttw:gap-2",
|
|
39
|
-
children: [/* @__PURE__ */
|
|
30
|
+
children: [/* @__PURE__ */ g("p", {
|
|
40
31
|
className: "ttw:text-4xl ttw:font-semibold ttw:text-foreground",
|
|
41
|
-
children:
|
|
42
|
-
}),
|
|
32
|
+
children: b
|
|
33
|
+
}), x ? /* @__PURE__ */ g("p", {
|
|
43
34
|
className: "ttw:pb-1 ttw:text-xs ttw:text-muted-foreground",
|
|
44
|
-
children:
|
|
35
|
+
children: x
|
|
45
36
|
}) : null]
|
|
46
37
|
})]
|
|
47
38
|
}),
|
|
48
|
-
/* @__PURE__ */
|
|
39
|
+
/* @__PURE__ */ _("div", {
|
|
49
40
|
className: "ttw:grid ttw:grid-cols-2 ttw:gap-4",
|
|
50
|
-
children: [/* @__PURE__ */
|
|
41
|
+
children: [/* @__PURE__ */ _("div", {
|
|
51
42
|
className: "ttw:grid ttw:gap-2.5",
|
|
52
|
-
children: [/* @__PURE__ */
|
|
43
|
+
children: [/* @__PURE__ */ g(l, { children: F.paymentAmount }), /* @__PURE__ */ g("div", {
|
|
53
44
|
"aria-disabled": !0,
|
|
54
45
|
className: "ttw:flex ttw:h-9 ttw:items-center ttw:rounded-md ttw:border ttw:border-border ttw:bg-muted ttw:px-3 ttw:text-sm ttw:font-medium ttw:text-muted-foreground",
|
|
55
|
-
children:
|
|
46
|
+
children: S
|
|
56
47
|
})]
|
|
57
|
-
}), /* @__PURE__ */
|
|
48
|
+
}), /* @__PURE__ */ _("div", {
|
|
58
49
|
className: "ttw:grid ttw:gap-2.5",
|
|
59
|
-
children: [/* @__PURE__ */
|
|
60
|
-
id:
|
|
61
|
-
children:
|
|
62
|
-
}), /* @__PURE__ */
|
|
50
|
+
children: [/* @__PURE__ */ g(l, {
|
|
51
|
+
id: I,
|
|
52
|
+
children: F.paymentDate
|
|
53
|
+
}), /* @__PURE__ */ _(u, { children: [/* @__PURE__ */ g(f, {
|
|
63
54
|
asChild: !0,
|
|
64
|
-
children: /* @__PURE__ */
|
|
55
|
+
children: /* @__PURE__ */ _(t, {
|
|
65
56
|
type: "button",
|
|
66
57
|
variant: "outline",
|
|
67
58
|
className: "ttw:justify-start ttw:gap-2",
|
|
68
|
-
"aria-labelledby": `${
|
|
59
|
+
"aria-labelledby": `${I} ${L}`,
|
|
69
60
|
children: [
|
|
70
|
-
/* @__PURE__ */
|
|
71
|
-
/* @__PURE__ */
|
|
72
|
-
id:
|
|
73
|
-
children:
|
|
61
|
+
/* @__PURE__ */ g(v, { className: "ttw:size-4" }),
|
|
62
|
+
/* @__PURE__ */ g("span", {
|
|
63
|
+
id: L,
|
|
64
|
+
children: w ?? F.paymentDatePlaceholder
|
|
74
65
|
}),
|
|
75
|
-
|
|
66
|
+
T ? /* @__PURE__ */ g(e, {
|
|
76
67
|
variant: "secondary",
|
|
77
|
-
children:
|
|
68
|
+
children: F.today
|
|
78
69
|
}) : null
|
|
79
70
|
]
|
|
80
71
|
})
|
|
81
|
-
}), /* @__PURE__ */
|
|
72
|
+
}), /* @__PURE__ */ g(d, {
|
|
82
73
|
align: "start",
|
|
83
74
|
className: "ttw:w-auto ttw:p-0",
|
|
84
|
-
children: /* @__PURE__ */
|
|
75
|
+
children: /* @__PURE__ */ g(n, {
|
|
85
76
|
mode: "single",
|
|
86
|
-
selected:
|
|
87
|
-
onSelect:
|
|
88
|
-
disabled: N
|
|
77
|
+
selected: C,
|
|
78
|
+
onSelect: O
|
|
89
79
|
})
|
|
90
80
|
})] })]
|
|
91
81
|
})]
|
|
92
82
|
}),
|
|
93
|
-
/* @__PURE__ */
|
|
83
|
+
/* @__PURE__ */ _("div", {
|
|
94
84
|
className: "ttw:grid ttw:gap-2.5",
|
|
95
|
-
children: [
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
className: "ttw:truncate",
|
|
113
|
-
children: $.primaryLabel
|
|
114
|
-
}), $.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
115
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
116
|
-
children: $.secondaryLabel
|
|
117
|
-
}) : null]
|
|
118
|
-
}), L ? /* @__PURE__ */ x(e, {
|
|
119
|
-
variant: "secondary",
|
|
120
|
-
className: "ttw:shrink-0",
|
|
121
|
-
children: J.poweredByBank(L)
|
|
122
|
-
}) : null] }) : null
|
|
123
|
-
})
|
|
124
|
-
}), /* @__PURE__ */ x(p, { children: I.map((e) => /* @__PURE__ */ x(m, {
|
|
125
|
-
value: e.id,
|
|
126
|
-
children: /* @__PURE__ */ S("span", {
|
|
127
|
-
className: "ttw:flex ttw:min-w-0 ttw:flex-1 ttw:flex-col",
|
|
128
|
-
children: [/* @__PURE__ */ x("span", {
|
|
129
|
-
className: "ttw:truncate",
|
|
130
|
-
children: e.primaryLabel
|
|
131
|
-
}), e.secondaryLabel ? /* @__PURE__ */ x("span", {
|
|
132
|
-
className: "ttw:truncate ttw:text-xs ttw:text-muted-foreground",
|
|
133
|
-
children: e.secondaryLabel
|
|
134
|
-
}) : null]
|
|
135
|
-
})
|
|
136
|
-
}, e.id)) })]
|
|
137
|
-
}),
|
|
138
|
-
Q ? /* @__PURE__ */ x("p", {
|
|
139
|
-
className: _("ttw:text-sm", B ? "ttw:text-destructive" : "ttw:text-muted-foreground"),
|
|
140
|
-
role: B ? "alert" : void 0,
|
|
141
|
-
children: z ? J.loadingAccounts : B ? J.accountsError : J.noAccounts
|
|
142
|
-
}) : null
|
|
143
|
-
]
|
|
144
|
-
}),
|
|
145
|
-
R.message ? /* @__PURE__ */ x("p", {
|
|
146
|
-
className: _("ttw:text-sm", w[R.state]),
|
|
147
|
-
children: R.message
|
|
148
|
-
}) : null
|
|
85
|
+
children: [/* @__PURE__ */ _(l, {
|
|
86
|
+
htmlFor: R,
|
|
87
|
+
children: [
|
|
88
|
+
F.comments,
|
|
89
|
+
" ",
|
|
90
|
+
/* @__PURE__ */ g("span", {
|
|
91
|
+
className: "ttw:font-normal ttw:text-muted-foreground",
|
|
92
|
+
children: F.commentsOptionalSuffix
|
|
93
|
+
})
|
|
94
|
+
]
|
|
95
|
+
}), /* @__PURE__ */ g(p, {
|
|
96
|
+
id: R,
|
|
97
|
+
value: E,
|
|
98
|
+
placeholder: F.commentsPlaceholder,
|
|
99
|
+
onChange: (e) => k(e.target.value)
|
|
100
|
+
})]
|
|
101
|
+
})
|
|
149
102
|
]
|
|
150
103
|
}),
|
|
151
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ _(o, {
|
|
152
105
|
className: "ttw:pt-4 ttw:sm:gap-3",
|
|
153
|
-
children: [/* @__PURE__ */
|
|
106
|
+
children: [/* @__PURE__ */ g(t, {
|
|
154
107
|
type: "button",
|
|
155
108
|
variant: "outline",
|
|
156
|
-
onClick:
|
|
157
|
-
children:
|
|
158
|
-
}), /* @__PURE__ */
|
|
109
|
+
onClick: j,
|
|
110
|
+
children: F.cancelButton
|
|
111
|
+
}), /* @__PURE__ */ g(t, {
|
|
159
112
|
type: "button",
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
113
|
+
"data-testid": N,
|
|
114
|
+
disabled: !C,
|
|
115
|
+
loading: D,
|
|
116
|
+
onClick: A,
|
|
117
|
+
children: F.confirmButton
|
|
163
118
|
})]
|
|
164
119
|
})
|
|
165
120
|
]
|
|
@@ -167,4 +122,4 @@ function T({ open: y, onOpenChange: T, amountDueLabel: E, amountDue: D, dueDateS
|
|
|
167
122
|
});
|
|
168
123
|
}
|
|
169
124
|
//#endregion
|
|
170
|
-
export {
|
|
125
|
+
export { y as MarkAsPaidDialog, y as default };
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import "./
|
|
1
|
+
import "./index95.js";
|
|
2
2
|
import "./index96.js";
|
|
@@ -1,14 +1,18 @@
|
|
|
1
|
-
import { BILL_UPLOAD_DROPZONE_LABELS_EN as e } from "./index2.js";
|
|
2
|
-
import "./index5.js";
|
|
3
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index98.js
|
|
4
|
-
var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
2
|
+
var e = {
|
|
3
|
+
title: "Schedule payment",
|
|
4
|
+
hiddenDescription: "Choose the account to pay from and the payment date.",
|
|
5
|
+
payFrom: "Pay from",
|
|
6
|
+
payFromPlaceholder: "Select an account",
|
|
7
|
+
paymentDate: "Payment date",
|
|
8
|
+
paymentDatePlaceholder: "Choose a date",
|
|
9
|
+
today: "Today",
|
|
10
|
+
noAccounts: "No accounts available",
|
|
11
|
+
loadingAccounts: "Loading accounts",
|
|
12
|
+
accountsError: "Couldn't load accounts. Try again.",
|
|
13
|
+
poweredByBank: (e) => `Powered by ${e}`,
|
|
14
|
+
cancelButton: "Cancel",
|
|
15
|
+
reviewButton: "Review payment"
|
|
12
16
|
};
|
|
13
17
|
//#endregion
|
|
14
|
-
export {
|
|
18
|
+
export { e as SCHEDULE_PAYMENT_DIALOG_LABELS_EN };
|
|
@@ -1,108 +1,10 @@
|
|
|
1
|
-
import { Button as e, Skeleton as t } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { BillUploadDropzone as n } from "./index3.js";
|
|
3
|
-
import "./index5.js";
|
|
4
|
-
import { SOURCE_DOCUMENT_PANEL_LABELS_EN as r } from "./index98.js";
|
|
5
|
-
import { jsx as i, jsxs as a } from "react/jsx-runtime";
|
|
6
|
-
import { Download as o, Trash2 as s } from "lucide-react";
|
|
7
1
|
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index99.js
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
}
|
|
16
|
-
};
|
|
17
|
-
if (l === "loading") return /* @__PURE__ */ a("div", {
|
|
18
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
19
|
-
"data-testid": u,
|
|
20
|
-
children: [/* @__PURE__ */ i("div", {
|
|
21
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
22
|
-
children: /* @__PURE__ */ i("span", {
|
|
23
|
-
"aria-live": "polite",
|
|
24
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
25
|
-
children: c.fileName ? f.scanningAttachment(c.fileName) : f.scanning
|
|
26
|
-
})
|
|
27
|
-
}), /* @__PURE__ */ a("div", {
|
|
28
|
-
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:flex-col ttw:gap-3 ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
29
|
-
children: [
|
|
30
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-6 ttw:w-2/5" }),
|
|
31
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-3/5" }),
|
|
32
|
-
/* @__PURE__ */ i(t, { className: "ttw:mt-4 ttw:h-4 ttw:w-full" }),
|
|
33
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-full" }),
|
|
34
|
-
/* @__PURE__ */ i(t, { className: "ttw:h-4 ttw:w-4/5" }),
|
|
35
|
-
/* @__PURE__ */ i(t, { className: "ttw:mt-auto ttw:h-24 ttw:w-full" })
|
|
36
|
-
]
|
|
37
|
-
})]
|
|
38
|
-
});
|
|
39
|
-
if (l === "document") {
|
|
40
|
-
let { fileName: t, preview: n, onDownload: r, onDelete: l, isDeleting: d, deleteErrorMessage: p } = c;
|
|
41
|
-
return /* @__PURE__ */ a("div", {
|
|
42
|
-
className: "ttw:flex ttw:flex-col ttw:gap-3",
|
|
43
|
-
"data-testid": u,
|
|
44
|
-
children: [
|
|
45
|
-
/* @__PURE__ */ a("div", {
|
|
46
|
-
className: "ttw:flex ttw:items-center ttw:justify-end ttw:gap-1",
|
|
47
|
-
children: [
|
|
48
|
-
/* @__PURE__ */ i("span", {
|
|
49
|
-
className: "ttw:text-sm ttw:text-muted-foreground",
|
|
50
|
-
children: f.scannedAttachment(t ?? "")
|
|
51
|
-
}),
|
|
52
|
-
r ? /* @__PURE__ */ i(e, {
|
|
53
|
-
type: "button",
|
|
54
|
-
variant: "ghost",
|
|
55
|
-
size: "icon",
|
|
56
|
-
"aria-label": f.download,
|
|
57
|
-
onClick: r,
|
|
58
|
-
children: /* @__PURE__ */ i(o, { className: "ttw:size-4" })
|
|
59
|
-
}) : null,
|
|
60
|
-
l ? /* @__PURE__ */ i(e, {
|
|
61
|
-
type: "button",
|
|
62
|
-
variant: "ghost",
|
|
63
|
-
size: "icon",
|
|
64
|
-
"aria-label": f.delete,
|
|
65
|
-
disabled: d,
|
|
66
|
-
onClick: l,
|
|
67
|
-
children: /* @__PURE__ */ i(s, { className: "ttw:size-4" })
|
|
68
|
-
}) : null
|
|
69
|
-
]
|
|
70
|
-
}),
|
|
71
|
-
p ? /* @__PURE__ */ i("p", {
|
|
72
|
-
role: "alert",
|
|
73
|
-
className: "ttw:text-sm ttw:text-destructive",
|
|
74
|
-
"data-testid": u ? `${u}-delete-error` : void 0,
|
|
75
|
-
children: p
|
|
76
|
-
}) : null,
|
|
77
|
-
/* @__PURE__ */ i("div", {
|
|
78
|
-
className: "ttw:flex ttw:h-[min(70vh,44rem)] ttw:items-start ttw:justify-center ttw:overflow-auto ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
79
|
-
children: n
|
|
80
|
-
})
|
|
81
|
-
]
|
|
82
|
-
});
|
|
83
|
-
}
|
|
84
|
-
return /* @__PURE__ */ a("div", {
|
|
85
|
-
className: "ttw:rounded-lg ttw:border ttw:border-border ttw:bg-card ttw:p-4",
|
|
86
|
-
"data-testid": u,
|
|
87
|
-
children: [
|
|
88
|
-
/* @__PURE__ */ i("p", {
|
|
89
|
-
className: "ttw:mb-3 ttw:text-sm ttw:font-medium ttw:text-foreground",
|
|
90
|
-
children: f.uploadHeading
|
|
91
|
-
}),
|
|
92
|
-
c.noticeMessage ? /* @__PURE__ */ i("p", {
|
|
93
|
-
"aria-live": "polite",
|
|
94
|
-
className: "ttw:mb-3 ttw:text-sm ttw:text-muted-foreground",
|
|
95
|
-
"data-testid": u ? `${u}-notice` : void 0,
|
|
96
|
-
children: c.noticeMessage
|
|
97
|
-
}) : null,
|
|
98
|
-
/* @__PURE__ */ i(n, {
|
|
99
|
-
status: c.uploadStatus,
|
|
100
|
-
errorMessage: c.uploadErrorMessage,
|
|
101
|
-
onFilesSelected: c.onFilesSelected,
|
|
102
|
-
labels: f.dropzone
|
|
103
|
-
})
|
|
104
|
-
]
|
|
105
|
-
});
|
|
106
|
-
}
|
|
2
|
+
var e = {
|
|
3
|
+
neutral: "ttw:text-foreground",
|
|
4
|
+
muted: "ttw:text-muted-foreground",
|
|
5
|
+
success: "ttw:text-emerald-700",
|
|
6
|
+
warning: "ttw:text-amber-700",
|
|
7
|
+
error: "ttw:text-destructive"
|
|
8
|
+
};
|
|
107
9
|
//#endregion
|
|
108
|
-
export {
|
|
10
|
+
export { e as TONE_TEXT_CLASS };
|
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.4.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.4.22", n = "d3853736c53cbd12ac728ce8c455ac910386fcd2", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
package/dist/libs/tesouro-embedded-components-react/shared/util/dist/lib/formatRejectionDate.js
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/shared/util/dist/lib/formatRejectionDate.js
|
|
2
|
+
function e(e, t = /* @__PURE__ */ new Date()) {
|
|
3
|
+
let n = new Date(e), r = n.getFullYear() !== t.getFullYear();
|
|
4
|
+
return n.toLocaleDateString("en-US", {
|
|
5
|
+
month: "short",
|
|
6
|
+
day: "numeric",
|
|
7
|
+
...r ? { year: "numeric" } : {}
|
|
8
|
+
});
|
|
9
|
+
}
|
|
10
|
+
//#endregion
|
|
11
|
+
export { e as formatRejectionDate };
|
|
@@ -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/index84.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
|
package/package.json
CHANGED
|
@@ -1,94 +0,0 @@
|
|
|
1
|
-
import { Accordion as e, AccordionContent as t, AccordionItem as n, AccordionTrigger as r, Dialog as i, DialogContent as a, DialogDescription as o, DialogHeader as s, DialogTitle as c, Spinner as l } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
-
import { DUPLICATE_BILLS_DIALOG_LABELS_EN as u } from "./index79.js";
|
|
3
|
-
import { DuplicateBillsGroupPanel as d } from "./index78.js";
|
|
4
|
-
import { useMemo as f } from "react";
|
|
5
|
-
import { jsx as p, jsxs as m } from "react/jsx-runtime";
|
|
6
|
-
import { CopyX as h } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index80.js
|
|
8
|
-
function g({ open: g, onOpenChange: _, groups: v, isLoading: y, isError: b, expandedGroupId: x, onExpandedGroupChange: S, isBusy: C, labels: w }) {
|
|
9
|
-
let T = f(() => ({
|
|
10
|
-
...u,
|
|
11
|
-
...w,
|
|
12
|
-
statusBadge: {
|
|
13
|
-
...u.statusBadge,
|
|
14
|
-
...w?.statusBadge
|
|
15
|
-
}
|
|
16
|
-
}), [w]);
|
|
17
|
-
return /* @__PURE__ */ p(i, {
|
|
18
|
-
open: g,
|
|
19
|
-
onOpenChange: (e) => {
|
|
20
|
-
C && !e || _(e);
|
|
21
|
-
},
|
|
22
|
-
children: /* @__PURE__ */ m(a, {
|
|
23
|
-
className: "ttw:flex ttw:flex-col ttw:gap-8 ttw:overflow-hidden ttw:max-h-[90vh] ttw:sm:max-w-240",
|
|
24
|
-
showCloseButton: !C,
|
|
25
|
-
children: [/* @__PURE__ */ m(s, {
|
|
26
|
-
className: "ttw:items-center ttw:gap-3 ttw:text-center ttw:sm:text-center",
|
|
27
|
-
children: [
|
|
28
|
-
/* @__PURE__ */ p("div", {
|
|
29
|
-
className: "ttw:flex ttw:items-center ttw:justify-center ttw:border ttw:rounded-full ttw:size-11 ttw:border-orange-300 ttw:bg-orange-200",
|
|
30
|
-
children: /* @__PURE__ */ p(h, {
|
|
31
|
-
className: "ttw:size-4 ttw:text-orange-950",
|
|
32
|
-
"aria-hidden": !0
|
|
33
|
-
})
|
|
34
|
-
}),
|
|
35
|
-
/* @__PURE__ */ p(c, { children: T.title }),
|
|
36
|
-
/* @__PURE__ */ m(o, { children: [/* @__PURE__ */ p("span", {
|
|
37
|
-
className: "ttw:block",
|
|
38
|
-
children: T.descriptionFirstLine
|
|
39
|
-
}), /* @__PURE__ */ p("span", {
|
|
40
|
-
className: "ttw:block",
|
|
41
|
-
children: T.descriptionSecondLine
|
|
42
|
-
})] })
|
|
43
|
-
]
|
|
44
|
-
}), /* @__PURE__ */ p("div", {
|
|
45
|
-
className: "ttw:min-h-0 ttw:overflow-y-auto",
|
|
46
|
-
children: y ? /* @__PURE__ */ p("div", {
|
|
47
|
-
className: "ttw:flex ttw:justify-center ttw:py-8",
|
|
48
|
-
children: /* @__PURE__ */ p(l, { className: "ttw:size-6 ttw:text-muted-foreground" })
|
|
49
|
-
}) : b ? /* @__PURE__ */ p("p", {
|
|
50
|
-
className: "ttw:py-8 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
|
|
51
|
-
children: T.errorState
|
|
52
|
-
}) : v.length === 0 ? /* @__PURE__ */ p("p", {
|
|
53
|
-
className: "ttw:py-8 ttw:text-center ttw:text-sm ttw:text-muted-foreground",
|
|
54
|
-
children: T.emptyState
|
|
55
|
-
}) : /* @__PURE__ */ p(e, {
|
|
56
|
-
type: "single",
|
|
57
|
-
collapsible: !0,
|
|
58
|
-
value: x ?? "",
|
|
59
|
-
onValueChange: S,
|
|
60
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2",
|
|
61
|
-
children: v.map((e) => {
|
|
62
|
-
let i = e.id === x;
|
|
63
|
-
return /* @__PURE__ */ m(n, {
|
|
64
|
-
value: e.id,
|
|
65
|
-
className: `ttw:rounded-md ttw:border-b-transparent ttw:px-4 ${i ? "ttw:bg-white" : "ttw:bg-muted"}`,
|
|
66
|
-
children: [/* @__PURE__ */ p(r, {
|
|
67
|
-
"aria-label": e.accessibleLabel,
|
|
68
|
-
disabled: C,
|
|
69
|
-
className: "ttw:hover:no-underline!",
|
|
70
|
-
iconClassName: "ttw:size-5",
|
|
71
|
-
children: /* @__PURE__ */ m("span", {
|
|
72
|
-
className: "ttw:flex ttw:items-center ttw:gap-2",
|
|
73
|
-
children: [/* @__PURE__ */ p("span", {
|
|
74
|
-
className: "ttw:text-base ttw:font-medium",
|
|
75
|
-
children: e.titleLabel
|
|
76
|
-
}), /* @__PURE__ */ p("span", {
|
|
77
|
-
className: `ttw:inline-flex ttw:size-5 ttw:items-center ttw:justify-center ttw:rounded-full ttw:text-xs ttw:font-medium ${i ? "ttw:bg-muted" : "ttw:bg-white"}`,
|
|
78
|
-
children: e.countLabel
|
|
79
|
-
})]
|
|
80
|
-
})
|
|
81
|
-
}), /* @__PURE__ */ p(t, { children: /* @__PURE__ */ p(d, {
|
|
82
|
-
group: e,
|
|
83
|
-
isBusy: C,
|
|
84
|
-
labels: T
|
|
85
|
-
}) })]
|
|
86
|
-
}, e.id);
|
|
87
|
-
})
|
|
88
|
-
})
|
|
89
|
-
})]
|
|
90
|
-
})
|
|
91
|
-
});
|
|
92
|
-
}
|
|
93
|
-
//#endregion
|
|
94
|
-
export { g as DuplicateBillsDialog, g as default };
|