@tesouro/embedded-components-react 0.7.6 → 0.7.12
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/README.md +6 -8
- package/dist/index.css +0 -76
- package/dist/index.d.ts +15 -193
- package/dist/index.js +1 -1
- package/dist/lib/BillPayWidget.d.ts +10 -188
- package/dist/lib/BillPayWidget.js +1 -1
- package/dist/lib/CounterpartsWidget.d.ts +1 -1
- package/dist/lib/CounterpartsWidgetPublic.d.ts +1 -1
- package/dist/lib/CustomersWidget.d.ts +1 -2
- package/dist/lib/WidgetSuite.d.ts +4 -4
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/{BillPayWidgetNative/BillPayWidgetNative.js → BillPayWidget/BillPayWidget.js} +4 -3
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/{BillPayWidgetNative → BillPayWidget}/BillsTab.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/{BillPayWidgetNative → BillPayWidget}/labels.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/{BillPayWidgetNative → BillPayWidget}/testIds.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/lib/CustomersWidgetMonite/CustomersWidgetMonite.js +7 -7
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index105.js +53 -53
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index107.js +23 -23
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index108.js +74 -74
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index157.js +30 -30
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index160.js +28 -28
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index243.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index321.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index332.js +13 -13
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js +57 -57
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index412.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index49.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index51.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index65.js +6 -6
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index91.js +29 -29
- package/dist/libs/tesouro-embedded-components-react/monite-sdk/dist/index97.js +24 -24
- 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/lib/WidgetSuite/sections/BillPaySection.js +7 -11
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget.js +0 -27
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetMonite/BillPayWidgetMonite.js +0 -46
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetMonite/index.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidgetNative/index.js +0 -1
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { dateStringToLocalDate as e } from "./index16.js";
|
|
2
2
|
import { useMoniteContext as t } from "./index45.js";
|
|
3
3
|
import { getInvoiceOverdueDays as n } from "./index339.js";
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
4
|
+
import { twMerge as r } from "tailwind-merge";
|
|
5
|
+
import { jsx as i, jsxs as a } from "@emotion/react/jsx-runtime";
|
|
6
|
+
import { useLingui as o } from "@lingui/react";
|
|
7
7
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index340.js
|
|
8
8
|
var s = ({ data: s, emptyLabel: c }) => {
|
|
9
|
-
let { i18n: l } =
|
|
10
|
-
if (!s.due_date) return c ? /* @__PURE__ */
|
|
9
|
+
let { i18n: l } = o(), { locale: u } = t();
|
|
10
|
+
if (!s.due_date) return c ? /* @__PURE__ */ i("span", { children: c }) : /* @__PURE__ */ i("span", {
|
|
11
11
|
className: "ttw:opacity-40",
|
|
12
12
|
children: "-"
|
|
13
13
|
});
|
|
14
14
|
let d = l.date(e(s.due_date), u.dateFormat), f = n(s), p = f > 0;
|
|
15
|
-
return /* @__PURE__ */
|
|
15
|
+
return /* @__PURE__ */ a("div", {
|
|
16
16
|
className: "ttw:flex ttw:flex-col ttw:h-full ttw:justify-center ttw:gap-1",
|
|
17
|
-
children: [/* @__PURE__ */
|
|
18
|
-
className:
|
|
17
|
+
children: [/* @__PURE__ */ i("span", {
|
|
18
|
+
className: r("ttw:text-sm ttw:font-normal ttw:leading-5", p && "ttw:text-rose-700"),
|
|
19
19
|
children: d
|
|
20
|
-
}), p && /* @__PURE__ */
|
|
20
|
+
}), p && /* @__PURE__ */ a("span", {
|
|
21
21
|
className: "ttw:text-xs ttw:font-normal ttw:leading-4.5 ttw:text-rose-700",
|
|
22
22
|
children: [
|
|
23
23
|
f,
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
import { Badge as e } from "./index116.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
import { jsx as n } from "@emotion/react/jsx-runtime";
|
|
4
|
+
import { useLingui as r } from "@lingui/react";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index360.js
|
|
6
6
|
var i = ({ type: i }) => {
|
|
7
|
-
let { i18n: a } =
|
|
8
|
-
return /* @__PURE__ */
|
|
7
|
+
let { i18n: a } = r(), o = i === "product", s = o ? a._("Product") : a._("Service");
|
|
8
|
+
return /* @__PURE__ */ n(e, {
|
|
9
9
|
variant: "secondary",
|
|
10
|
-
className:
|
|
10
|
+
className: t(o ? "ttw:bg-blue-100 ttw:text-blue-700" : "ttw:bg-pink-100 ttw:text-pink-700"),
|
|
11
11
|
children: s
|
|
12
12
|
});
|
|
13
13
|
};
|
|
@@ -11,71 +11,71 @@ import { useGetMeasureUnits as x } from "./index351.js";
|
|
|
11
11
|
import "./index358.js";
|
|
12
12
|
import "./index364.js";
|
|
13
13
|
import { useCallback as S, useMemo as C, useRef as w } from "react";
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
14
|
+
import { twMerge as T } from "tailwind-merge";
|
|
15
|
+
import { jsx as E, jsxs as D } from "@emotion/react/jsx-runtime";
|
|
16
|
+
import { useLingui as O } from "@lingui/react";
|
|
17
17
|
import { Controller as k, useFormContext as A } from "react-hook-form";
|
|
18
18
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index372.js
|
|
19
19
|
var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
20
|
-
let { i18n: P } =
|
|
21
|
-
return /* @__PURE__ */
|
|
20
|
+
let { i18n: P } = O(), { getSymbolFromCurrency: F } = e(), I = w(null), { data: L } = x(), R = L?.data ?? [], { control: z, formState: { errors: B } } = A(), V = C(() => R.map((e) => e.id), [R]), H = C(() => new Map(R.map((e) => [e.id, e.name])), [R]), U = S((e) => H.get(e) ?? e, [H]);
|
|
21
|
+
return /* @__PURE__ */ D("div", {
|
|
22
22
|
className: "ttw:flex ttw:flex-col ttw:gap-4",
|
|
23
23
|
children: [
|
|
24
|
-
M && /* @__PURE__ */
|
|
24
|
+
M && /* @__PURE__ */ E("div", {
|
|
25
25
|
className: "ttw:flex ttw:items-center ttw:gap-3 ttw:pt-6 ttw:pb-7 ttw:border-b ttw:border-border",
|
|
26
|
-
children: /* @__PURE__ */
|
|
26
|
+
children: /* @__PURE__ */ E(p, {
|
|
27
27
|
variant: "body1",
|
|
28
28
|
className: "ttw:font-medium",
|
|
29
29
|
children: P._("Editing {type} details", { type: N ? "product" : "service" })
|
|
30
30
|
})
|
|
31
31
|
}),
|
|
32
|
-
/* @__PURE__ */
|
|
32
|
+
/* @__PURE__ */ E(k, {
|
|
33
33
|
name: "type",
|
|
34
34
|
control: z,
|
|
35
|
-
render: ({ field: e }) => /* @__PURE__ */
|
|
35
|
+
render: ({ field: e }) => /* @__PURE__ */ D("div", {
|
|
36
36
|
className: "ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
37
|
-
children: [/* @__PURE__ */
|
|
37
|
+
children: [/* @__PURE__ */ E(v, { children: P._("Type") }), /* @__PURE__ */ D(y, {
|
|
38
38
|
className: "ttw:flex",
|
|
39
39
|
value: e.value,
|
|
40
40
|
disabled: j,
|
|
41
41
|
onValueChange: e.onChange,
|
|
42
|
-
children: [/* @__PURE__ */
|
|
43
|
-
className:
|
|
44
|
-
children: [/* @__PURE__ */
|
|
42
|
+
children: [/* @__PURE__ */ D("div", {
|
|
43
|
+
className: T("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", e.value === "product" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
44
|
+
children: [/* @__PURE__ */ E(b, {
|
|
45
45
|
value: "product",
|
|
46
46
|
id: "type-product",
|
|
47
|
-
className:
|
|
48
|
-
dotClassName:
|
|
47
|
+
className: T(e.value === "product" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
48
|
+
dotClassName: T(e.value === "product" && "ttw:fill-white"),
|
|
49
49
|
disabled: j
|
|
50
|
-
}), /* @__PURE__ */
|
|
50
|
+
}), /* @__PURE__ */ D(m, {
|
|
51
51
|
htmlFor: "type-product",
|
|
52
52
|
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
53
|
-
children: [/* @__PURE__ */
|
|
53
|
+
children: [/* @__PURE__ */ E(p, {
|
|
54
54
|
variant: "body2",
|
|
55
55
|
className: "ttw:leading-3.5",
|
|
56
56
|
children: P._("Product")
|
|
57
|
-
}), /* @__PURE__ */
|
|
57
|
+
}), /* @__PURE__ */ E(p, {
|
|
58
58
|
variant: "caption",
|
|
59
59
|
color: "muted",
|
|
60
60
|
children: P._("A physical or digital item")
|
|
61
61
|
})]
|
|
62
62
|
})]
|
|
63
|
-
}), /* @__PURE__ */
|
|
64
|
-
className:
|
|
65
|
-
children: [/* @__PURE__ */
|
|
63
|
+
}), /* @__PURE__ */ D("div", {
|
|
64
|
+
className: T("ttw:flex ttw:p-4 ttw:flex-1 ttw:gap-2 ttw:border ttw:rounded-xl ttw:border-border ttw:hover:bg-primary/10 ttw:hover:border-primary/30", e.value === "service" && "ttw:bg-primary/10 ttw:border-primary/30"),
|
|
65
|
+
children: [/* @__PURE__ */ E(b, {
|
|
66
66
|
value: "service",
|
|
67
67
|
id: "type-service",
|
|
68
|
-
className:
|
|
69
|
-
dotClassName:
|
|
68
|
+
className: T(e.value === "service" ? "ttw:bg-primary" : "ttw:bg-white"),
|
|
69
|
+
dotClassName: T(e.value === "service" && "ttw:fill-white"),
|
|
70
70
|
disabled: j
|
|
71
|
-
}), /* @__PURE__ */
|
|
71
|
+
}), /* @__PURE__ */ D(m, {
|
|
72
72
|
htmlFor: "type-service",
|
|
73
73
|
className: "ttw:flex ttw:flex-col ttw:items-start ttw:gap-1.5",
|
|
74
|
-
children: [/* @__PURE__ */
|
|
74
|
+
children: [/* @__PURE__ */ E(p, {
|
|
75
75
|
variant: "body2",
|
|
76
76
|
className: "ttw:leading-3.5",
|
|
77
77
|
children: P._("Service")
|
|
78
|
-
}), /* @__PURE__ */
|
|
78
|
+
}), /* @__PURE__ */ E(p, {
|
|
79
79
|
variant: "caption",
|
|
80
80
|
color: "muted",
|
|
81
81
|
children: P._("Work or labor you provide")
|
|
@@ -85,15 +85,15 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
85
85
|
})]
|
|
86
86
|
})
|
|
87
87
|
}),
|
|
88
|
-
/* @__PURE__ */
|
|
88
|
+
/* @__PURE__ */ E(k, {
|
|
89
89
|
name: "name",
|
|
90
90
|
control: z,
|
|
91
|
-
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */
|
|
92
|
-
/* @__PURE__ */
|
|
91
|
+
render: ({ field: e, fieldState: { error: n } }) => /* @__PURE__ */ E(h, { children: /* @__PURE__ */ D(g, { children: [
|
|
92
|
+
/* @__PURE__ */ E(v, {
|
|
93
93
|
htmlFor: e.name,
|
|
94
94
|
children: P._("Name")
|
|
95
95
|
}),
|
|
96
|
-
/* @__PURE__ */
|
|
96
|
+
/* @__PURE__ */ E(t, {
|
|
97
97
|
...e,
|
|
98
98
|
id: e.name,
|
|
99
99
|
placeholder: P._("e.g. House blend espresso beans"),
|
|
@@ -101,26 +101,26 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
101
101
|
disabled: j,
|
|
102
102
|
"aria-invalid": !!n || void 0
|
|
103
103
|
}),
|
|
104
|
-
/* @__PURE__ */
|
|
104
|
+
/* @__PURE__ */ E(_, { errors: [n] })
|
|
105
105
|
] }) })
|
|
106
106
|
}),
|
|
107
|
-
/* @__PURE__ */
|
|
107
|
+
/* @__PURE__ */ D("div", {
|
|
108
108
|
className: "ttw:w-1/2 ttw:flex ttw:flex-col ttw:gap-1.5",
|
|
109
109
|
children: [
|
|
110
|
-
/* @__PURE__ */
|
|
111
|
-
/* @__PURE__ */
|
|
112
|
-
className:
|
|
110
|
+
/* @__PURE__ */ E(v, { children: P._("Price per unit") }),
|
|
111
|
+
/* @__PURE__ */ D("div", {
|
|
112
|
+
className: T("ttw:flex ttw:overflow-hidden ttw:rounded-md ttw:border ttw:border-input ttw:shadow-xs ttw:transition-[color,box-shadow]", "ttw:focus-within:border-ring ttw:focus-within:ring-[3px] ttw:focus-within:ring-ring/50", "ttw:has-[[data-slot][aria-invalid=true]]:border-destructive ttw:has-[[data-slot][aria-invalid=true]]:ring-[3px] ttw:has-[[data-slot][aria-invalid=true]]:ring-destructive/20", M && "ttw:bg-white"),
|
|
113
113
|
ref: I,
|
|
114
114
|
children: [
|
|
115
|
-
/* @__PURE__ */
|
|
115
|
+
/* @__PURE__ */ E(k, {
|
|
116
116
|
name: "pricePerUnit",
|
|
117
117
|
control: z,
|
|
118
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */
|
|
118
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ D(n, {
|
|
119
119
|
className: "ttw:flex-1 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0",
|
|
120
|
-
children: [/* @__PURE__ */
|
|
120
|
+
children: [/* @__PURE__ */ E(r, {
|
|
121
121
|
align: "inline-start",
|
|
122
122
|
children: F("USD")
|
|
123
|
-
}), /* @__PURE__ */
|
|
123
|
+
}), /* @__PURE__ */ E(i, {
|
|
124
124
|
type: "number",
|
|
125
125
|
name: e.name,
|
|
126
126
|
ref: e.ref,
|
|
@@ -134,25 +134,25 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
134
134
|
})]
|
|
135
135
|
})
|
|
136
136
|
}),
|
|
137
|
-
/* @__PURE__ */
|
|
138
|
-
/* @__PURE__ */
|
|
137
|
+
/* @__PURE__ */ E("div", { className: "ttw:w-px ttw:shrink-0 ttw:bg-border" }),
|
|
138
|
+
/* @__PURE__ */ E(k, {
|
|
139
139
|
name: "measureUnitId",
|
|
140
140
|
control: z,
|
|
141
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */
|
|
141
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ D(o, {
|
|
142
142
|
value: e.value ?? null,
|
|
143
143
|
onValueChange: (t) => e.onChange(t ?? void 0),
|
|
144
144
|
items: V,
|
|
145
145
|
itemToStringLabel: U,
|
|
146
146
|
disabled: j,
|
|
147
|
-
children: [/* @__PURE__ */
|
|
147
|
+
children: [/* @__PURE__ */ E(u, {
|
|
148
148
|
showClear: !!e.value,
|
|
149
149
|
placeholder: "-",
|
|
150
150
|
disabled: j,
|
|
151
151
|
"aria-invalid": !!t || void 0,
|
|
152
152
|
className: "ttw:w-28 ttw:border-0 ttw:shadow-none ttw:rounded-none ttw:has-[[data-slot=input-group-control]:focus-visible]:border-transparent ttw:has-[[data-slot=input-group-control]:focus-visible]:ring-0"
|
|
153
|
-
}), /* @__PURE__ */
|
|
153
|
+
}), /* @__PURE__ */ E(c, {
|
|
154
154
|
container: I.current,
|
|
155
|
-
children: /* @__PURE__ */
|
|
155
|
+
children: /* @__PURE__ */ D(f, { children: [/* @__PURE__ */ E(l, { children: P._("No units found") }), /* @__PURE__ */ E(s, { children: (e) => /* @__PURE__ */ E(d, {
|
|
156
156
|
value: e,
|
|
157
157
|
children: U(e)
|
|
158
158
|
}, e) })] })
|
|
@@ -161,28 +161,28 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
161
161
|
})
|
|
162
162
|
]
|
|
163
163
|
}),
|
|
164
|
-
/* @__PURE__ */
|
|
164
|
+
/* @__PURE__ */ E(_, { errors: [B.pricePerUnit, B.measureUnitId] })
|
|
165
165
|
]
|
|
166
166
|
}),
|
|
167
|
-
/* @__PURE__ */
|
|
167
|
+
/* @__PURE__ */ E(k, {
|
|
168
168
|
name: "description",
|
|
169
169
|
control: z,
|
|
170
|
-
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */
|
|
170
|
+
render: ({ field: e, fieldState: { error: t } }) => /* @__PURE__ */ E(h, {
|
|
171
171
|
className: "ttw:block",
|
|
172
|
-
children: /* @__PURE__ */
|
|
173
|
-
/* @__PURE__ */
|
|
172
|
+
children: /* @__PURE__ */ D(g, { children: [
|
|
173
|
+
/* @__PURE__ */ D(v, {
|
|
174
174
|
htmlFor: e.name,
|
|
175
175
|
className: "ttw:gap-1",
|
|
176
|
-
children: [P._("Description"), /* @__PURE__ */
|
|
176
|
+
children: [P._("Description"), /* @__PURE__ */ E(p, {
|
|
177
177
|
variant: "body2",
|
|
178
178
|
color: "muted",
|
|
179
179
|
className: "ttw:leading-snug",
|
|
180
180
|
children: P._("(optional)")
|
|
181
181
|
})]
|
|
182
182
|
}),
|
|
183
|
-
/* @__PURE__ */
|
|
184
|
-
className:
|
|
185
|
-
children: [/* @__PURE__ */
|
|
183
|
+
/* @__PURE__ */ D(n, {
|
|
184
|
+
className: T(M && "ttw:bg-white"),
|
|
185
|
+
children: [/* @__PURE__ */ E(a, {
|
|
186
186
|
...e,
|
|
187
187
|
id: e.name,
|
|
188
188
|
placeholder: P._("e.g. 16oz whole bean, medium-dark roast, ground to order"),
|
|
@@ -190,10 +190,10 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
190
190
|
maxLength: 255,
|
|
191
191
|
disabled: j,
|
|
192
192
|
"aria-invalid": !!t || void 0
|
|
193
|
-
}), /* @__PURE__ */
|
|
193
|
+
}), /* @__PURE__ */ E(r, {
|
|
194
194
|
align: "block-end",
|
|
195
195
|
className: "ttw:cursor-default",
|
|
196
|
-
children: /* @__PURE__ */
|
|
196
|
+
children: /* @__PURE__ */ E(p, {
|
|
197
197
|
variant: "caption",
|
|
198
198
|
color: "muted",
|
|
199
199
|
className: "ttw:leading-none",
|
|
@@ -201,7 +201,7 @@ var j = ({ isLoading: j, isEditMode: M, isProduct: N }) => {
|
|
|
201
201
|
})
|
|
202
202
|
})]
|
|
203
203
|
}),
|
|
204
|
-
/* @__PURE__ */
|
|
204
|
+
/* @__PURE__ */ E(_, { errors: [t] })
|
|
205
205
|
] })
|
|
206
206
|
})
|
|
207
207
|
})
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { Typography as e } from "./index62.js";
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
2
|
+
import { twMerge as t } from "tailwind-merge";
|
|
3
|
+
import { jsx as n, jsxs as r } from "@emotion/react/jsx-runtime";
|
|
4
4
|
//#region ../../libs/tesouro-embedded-components-react/monite-sdk/dist/index374.js
|
|
5
|
-
var i = ({ label: i, value: a, isLast: o }) => /* @__PURE__ */
|
|
6
|
-
className:
|
|
7
|
-
children: [/* @__PURE__ */
|
|
5
|
+
var i = ({ label: i, value: a, isLast: o }) => /* @__PURE__ */ r("li", {
|
|
6
|
+
className: t("ttw:flex ttw:gap-4 ttw:py-2.5", !o && "ttw:border-b ttw:border-border"),
|
|
7
|
+
children: [/* @__PURE__ */ n(e, {
|
|
8
8
|
variant: "body2",
|
|
9
9
|
color: "muted",
|
|
10
10
|
className: "ttw:w-35 ttw:min-w-35 ttw:font-medium",
|
|
11
11
|
children: i
|
|
12
|
-
}), typeof a == "string" ? /* @__PURE__ */
|
|
12
|
+
}), typeof a == "string" ? /* @__PURE__ */ n(e, {
|
|
13
13
|
variant: "body2",
|
|
14
14
|
className: "ttw:font-medium",
|
|
15
15
|
children: a
|