@tesouro/embedded-components-react 0.5.233 → 0.5.236
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 +19 -14
- package/dist/index.d.ts +175 -16
- package/dist/index.js +1 -1
- package/dist/lib/BankAccountOnboardingWidget.d.ts +39 -1
- package/dist/lib/ReceivablesWidget.d.ts +110 -1
- package/dist/lib/ReceivablesWidget.js +1 -1
- package/dist/lib/WidgetSuite.d.ts +65 -15
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index.js +3 -2
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index12.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index22.js +6 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index23.js +15 -11
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/index26.js +441 -409
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index10.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index15.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index16.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index19.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index21.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index23.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index31.js +210 -208
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index32.js +98 -40
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index33.js +159 -39
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index34.js +53 -77
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index35.js +99 -132
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index36.js +40 -341
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index37.js +43 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index38.js +92 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index39.js +146 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index40.js +354 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/index9.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index.js +28 -24
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index10.js +2 -37
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index11.js +9 -214
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index12.js +27 -159
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +233 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +34 -22
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +214 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index16.js +153 -87
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index17.js +16 -3
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index18.js +22 -21
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index19.js +2 -51
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index2.js +30 -15
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index20.js +90 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index21.js +3 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index22.js +20 -69
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index23.js +51 -33
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index24.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index25.js +8 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index26.js +70 -30
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index27.js +33 -14
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index28.js +17 -25
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index29.js +12 -83
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index3.js +9 -121
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index30.js +28 -401
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index31.js +16 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index32.js +22 -42
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js +80 -65
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index34.js +383 -473
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index35.js +2 -106
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index36.js +48 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index37.js +72 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index38.js +498 -4
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index39.js +106 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index4.js +141 -93
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index41.js +2 -28
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index42.js +4 -236
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +0 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +90 -239
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index45.js +24 -89
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index46.js +231 -54
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index47.js +3 -353
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index48.js +249 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index49.js +93 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index5.js +3 -40
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +59 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index51.js +353 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +18 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index7.js +121 -9
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index8.js +100 -27
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +38 -233
- 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/index16.js +123 -92
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +12 -5
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index40.js +0 -100
|
@@ -1,72 +1,87 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { Button as e, Typography as t, cn as n } from "../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ReceivableStatusBadge as r } from "./index22.js";
|
|
3
|
+
import { IterationStatusChip as i } from "./index32.js";
|
|
4
|
+
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
5
|
+
import { ChevronRight as s } from "lucide-react";
|
|
3
6
|
//#region ../../libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index33.js
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
/* @__PURE__ */ s(r, { errors: d ? [{ message: d }] : [] })
|
|
28
|
-
] }) });
|
|
29
|
-
}
|
|
30
|
-
function u({ idPrefix: e, openingNote: t, closingNote: n, openingNoteError: r, closingNoteError: i, disabled: a, onOpeningNoteChange: u, onClosingNoteChange: d, labels: f }) {
|
|
31
|
-
return /* @__PURE__ */ c("div", {
|
|
32
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:rounded-xl ttw:border ttw:border-border ttw:p-6",
|
|
33
|
-
children: [
|
|
34
|
-
/* @__PURE__ */ c("div", {
|
|
35
|
-
className: "ttw:flex ttw:flex-col ttw:gap-2.5 ttw:pb-4",
|
|
36
|
-
children: [/* @__PURE__ */ s(o, {
|
|
37
|
-
variant: "h4",
|
|
38
|
-
children: f.notesHeading
|
|
39
|
-
}), /* @__PURE__ */ s(o, {
|
|
40
|
-
variant: "body2",
|
|
41
|
-
color: "muted",
|
|
42
|
-
className: "ttw:font-medium",
|
|
43
|
-
children: f.notesDescription
|
|
44
|
-
})]
|
|
7
|
+
var c = "ttw:h-10 ttw:px-2 ttw:text-left ttw:text-sm ttw:font-medium ttw:leading-5", l = "ttw:h-9 ttw:px-2 ttw:py-2 ttw:text-left ttw:text-sm ttw:font-normal ttw:leading-5";
|
|
8
|
+
function u({ rows: u, labels: d }) {
|
|
9
|
+
return u.length === 0 ? /* @__PURE__ */ a(t, {
|
|
10
|
+
variant: "body2",
|
|
11
|
+
color: "muted",
|
|
12
|
+
children: d.scheduleEmpty
|
|
13
|
+
}) : /* @__PURE__ */ o("table", {
|
|
14
|
+
className: "ttw:w-full",
|
|
15
|
+
children: [/* @__PURE__ */ a("thead", { children: /* @__PURE__ */ o("tr", { children: [
|
|
16
|
+
/* @__PURE__ */ a("th", {
|
|
17
|
+
scope: "col",
|
|
18
|
+
className: n(c, "ttw:pl-0"),
|
|
19
|
+
children: d.scheduleIssueDateColumn
|
|
20
|
+
}),
|
|
21
|
+
/* @__PURE__ */ a("th", {
|
|
22
|
+
scope: "col",
|
|
23
|
+
className: c,
|
|
24
|
+
children: d.scheduleAmountColumn
|
|
25
|
+
}),
|
|
26
|
+
/* @__PURE__ */ a("th", {
|
|
27
|
+
scope: "col",
|
|
28
|
+
className: c,
|
|
29
|
+
children: d.scheduleStatusColumn
|
|
45
30
|
}),
|
|
46
|
-
/* @__PURE__ */
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
disabled: a,
|
|
51
|
-
label: f.openingNoteLabel,
|
|
52
|
-
optionalSuffix: f.optionalSuffix,
|
|
53
|
-
placeholder: f.openingNotePlaceholder,
|
|
54
|
-
description: f.openingNoteDescription,
|
|
55
|
-
onChange: u
|
|
31
|
+
/* @__PURE__ */ a("th", {
|
|
32
|
+
scope: "col",
|
|
33
|
+
className: c,
|
|
34
|
+
children: d.scheduleNumberColumn
|
|
56
35
|
}),
|
|
57
|
-
/* @__PURE__ */
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
error: i,
|
|
61
|
-
disabled: a,
|
|
62
|
-
label: f.closingNoteLabel,
|
|
63
|
-
optionalSuffix: f.optionalSuffix,
|
|
64
|
-
placeholder: f.closingNotePlaceholder,
|
|
65
|
-
description: f.closingNoteDescription,
|
|
66
|
-
onChange: d
|
|
36
|
+
/* @__PURE__ */ a("th", {
|
|
37
|
+
className: "ttw:h-10 ttw:w-6 ttw:pl-2",
|
|
38
|
+
"aria-hidden": "true"
|
|
67
39
|
})
|
|
68
|
-
]
|
|
40
|
+
] }) }), /* @__PURE__ */ a("tbody", { children: u.map((t) => {
|
|
41
|
+
let { onOpen: c } = t;
|
|
42
|
+
return /* @__PURE__ */ o("tr", {
|
|
43
|
+
className: "ttw:border-t ttw:border-border",
|
|
44
|
+
children: [
|
|
45
|
+
/* @__PURE__ */ a("td", {
|
|
46
|
+
className: n(l, "ttw:pl-0"),
|
|
47
|
+
children: t.issueDateLabel
|
|
48
|
+
}),
|
|
49
|
+
/* @__PURE__ */ a("td", {
|
|
50
|
+
className: l,
|
|
51
|
+
children: t.amountLabel
|
|
52
|
+
}),
|
|
53
|
+
/* @__PURE__ */ a("td", {
|
|
54
|
+
className: "ttw:h-9 ttw:px-2 ttw:py-2 ttw:text-left",
|
|
55
|
+
children: t.chip.kind === "invoice" ? /* @__PURE__ */ a(r, {
|
|
56
|
+
label: t.chip.label,
|
|
57
|
+
tone: t.chip.tone
|
|
58
|
+
}) : /* @__PURE__ */ a(i, {
|
|
59
|
+
label: t.chip.label,
|
|
60
|
+
tone: t.chip.tone
|
|
61
|
+
})
|
|
62
|
+
}),
|
|
63
|
+
/* @__PURE__ */ a("td", {
|
|
64
|
+
className: l,
|
|
65
|
+
children: t.numberLabel
|
|
66
|
+
}),
|
|
67
|
+
/* @__PURE__ */ a("td", {
|
|
68
|
+
className: "ttw:h-9 ttw:w-6 ttw:py-2 ttw:pl-2 ttw:text-right ttw:text-muted-foreground",
|
|
69
|
+
children: c ? /* @__PURE__ */ a(e, {
|
|
70
|
+
variant: "ghost",
|
|
71
|
+
size: "icon",
|
|
72
|
+
className: "ttw:size-6",
|
|
73
|
+
"aria-label": t.openLabel,
|
|
74
|
+
onClick: c,
|
|
75
|
+
children: /* @__PURE__ */ a(s, {
|
|
76
|
+
className: "ttw:size-4",
|
|
77
|
+
"aria-hidden": "true"
|
|
78
|
+
})
|
|
79
|
+
}) : null
|
|
80
|
+
})
|
|
81
|
+
]
|
|
82
|
+
}, t.id);
|
|
83
|
+
}) })]
|
|
69
84
|
});
|
|
70
85
|
}
|
|
71
86
|
//#endregion
|
|
72
|
-
export { u as
|
|
87
|
+
export { u as ScheduledInvoicesTable };
|