@tesouro/embedded-components-react 0.5.145 → 0.5.147
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 +22 -1
- package/dist/index.d.ts +72 -22
- package/dist/index.js +38 -36
- package/dist/lib/CounterpartsWidget.d.ts +21 -18
- package/dist/lib/CounterpartsWidget.js +1 -2
- package/dist/lib/CounterpartsWidgetPublic.d.ts +976 -0
- package/dist/lib/CounterpartsWidgetPublic.js +10 -0
- package/dist/lib/CustomersWidget.d.ts +955 -0
- package/dist/lib/CustomersWidget.js +3 -0
- package/dist/lib/ReceivablesWidget.d.ts +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/index90.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index4.js +98 -89
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index7.js +114 -108
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/index8.js +40 -42
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index3.js +90 -76
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index4.js +300 -226
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index2.js +4 -0
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index3.js +45 -0
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index4.js +42 -0
- package/dist/libs/tesouro-embedded-components-react/customers-widget/feature/dist/index5.js +27 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/index.js +11 -12
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/helpers.js +103 -100
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/feature/dist/lib/labels.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index.js +9 -9
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js +4 -74
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js +6 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/package.json +1 -1
package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js
CHANGED
|
@@ -1,74 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import
|
|
3
|
-
import
|
|
4
|
-
import
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js
|
|
6
|
-
function p({ open: p, onOpenChange: m, values: h, errors: g, stateOptions: _, inProgress: v, formError: y, onChange: b, onSubmit: x, onCancel: S, labels: C }) {
|
|
7
|
-
let w = {
|
|
8
|
-
...l.fieldMarkers,
|
|
9
|
-
...C?.fieldMarkers
|
|
10
|
-
}, T = {
|
|
11
|
-
...l,
|
|
12
|
-
...C,
|
|
13
|
-
fieldMarkers: w,
|
|
14
|
-
address: {
|
|
15
|
-
...l.address,
|
|
16
|
-
...C?.address,
|
|
17
|
-
fieldMarkers: {
|
|
18
|
-
...w,
|
|
19
|
-
...C?.address?.fieldMarkers
|
|
20
|
-
}
|
|
21
|
-
},
|
|
22
|
-
requiredFieldsLegend: c(w, C?.requiredFieldsLegend)
|
|
23
|
-
};
|
|
24
|
-
return /* @__PURE__ */ d(n, {
|
|
25
|
-
open: p,
|
|
26
|
-
onOpenChange: m,
|
|
27
|
-
children: /* @__PURE__ */ f(r, {
|
|
28
|
-
className: "ttw:w-[600px] ttw:sm:max-w-[600px] ttw:overflow-y-auto",
|
|
29
|
-
children: [/* @__PURE__ */ f(o, { children: [/* @__PURE__ */ d(s, { children: T.title }), /* @__PURE__ */ d(i, {
|
|
30
|
-
className: "ttw:sr-only",
|
|
31
|
-
children: T.title
|
|
32
|
-
})] }), /* @__PURE__ */ f("form", {
|
|
33
|
-
onSubmit: (e) => {
|
|
34
|
-
e.preventDefault(), e.stopPropagation(), x();
|
|
35
|
-
},
|
|
36
|
-
children: [/* @__PURE__ */ f("div", {
|
|
37
|
-
className: "ttw:flex ttw:flex-col ttw:gap-4 ttw:px-6 ttw:pt-8 ttw:pb-6",
|
|
38
|
-
children: [
|
|
39
|
-
y && /* @__PURE__ */ d("p", {
|
|
40
|
-
role: "alert",
|
|
41
|
-
className: "ttw:rounded-md ttw:bg-destructive/10 ttw:px-3 ttw:py-2 ttw:text-sm ttw:text-destructive",
|
|
42
|
-
children: y
|
|
43
|
-
}),
|
|
44
|
-
/* @__PURE__ */ d(t, { labels: T.requiredFieldsLegend }),
|
|
45
|
-
/* @__PURE__ */ d(u, {
|
|
46
|
-
idPrefix: "address-edit",
|
|
47
|
-
values: h,
|
|
48
|
-
errors: g,
|
|
49
|
-
stateOptions: _,
|
|
50
|
-
onChange: b,
|
|
51
|
-
labels: T.address
|
|
52
|
-
})
|
|
53
|
-
]
|
|
54
|
-
}), /* @__PURE__ */ f(a, {
|
|
55
|
-
className: "ttw:flex ttw:flex-row ttw:justify-end ttw:gap-2",
|
|
56
|
-
children: [/* @__PURE__ */ d(e, {
|
|
57
|
-
type: "button",
|
|
58
|
-
variant: "ghost",
|
|
59
|
-
size: "lg",
|
|
60
|
-
onClick: S,
|
|
61
|
-
children: T.cancelButton
|
|
62
|
-
}), /* @__PURE__ */ d(e, {
|
|
63
|
-
type: "submit",
|
|
64
|
-
size: "lg",
|
|
65
|
-
disabled: v,
|
|
66
|
-
children: T.saveButton
|
|
67
|
-
})]
|
|
68
|
-
})]
|
|
69
|
-
})]
|
|
70
|
-
})
|
|
71
|
-
});
|
|
72
|
-
}
|
|
73
|
-
//#endregion
|
|
74
|
-
export { p as AddressFormSheet, p as default };
|
|
1
|
+
import "../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import "./index2.js";
|
|
3
|
+
import "./index6.js";
|
|
4
|
+
import "react/jsx-runtime";
|
package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/rest/zod.gen.js
CHANGED
|
@@ -7609,7 +7609,12 @@ e.object({
|
|
|
7609
7609
|
pagination_token: e.string().optional()
|
|
7610
7610
|
}), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({ id: e.string() }), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({ id: e.string() }), e.object({
|
|
7611
7611
|
limit: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional().default(25),
|
|
7612
|
-
pagination_token: e.string().optional()
|
|
7612
|
+
pagination_token: e.string().optional(),
|
|
7613
|
+
status: e.array(Re).optional(),
|
|
7614
|
+
startDate: e.iso.date().optional(),
|
|
7615
|
+
endDate: e.iso.date().optional(),
|
|
7616
|
+
businessName: e.string().optional(),
|
|
7617
|
+
sortOrder: nd.optional().default("DESC")
|
|
7613
7618
|
}), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ id: e.uuid() }), e.object({ "X-Organization-ID": e.uuid().optional() }), e.object({
|
|
7614
7619
|
limit: e.union([e.int().min(-2147483648, { error: "Invalid value: Expected int32 to be >= -2147483648" }).max(2147483647, { error: "Invalid value: Expected int32 to be <= 2147483647" }), e.string().regex(/^-?(?:0|[1-9]\d*)$/)]).optional().default(25),
|
|
7615
7620
|
pagination_token: e.string().optional(),
|
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.147", n = "9e65acd5977b64cb5808b92bb8d7ba77272e6ea9", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|