@tesouro/embedded-components-react 0.9.16 → 0.9.18
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 +66 -16
- package/dist/index.d.ts +21 -0
- package/dist/lib/BankAccountOnboardingWidget.d.ts +2 -0
- package/dist/lib/CounterpartsWidget.d.ts +6 -0
- package/dist/lib/CounterpartsWidgetPublic.d.ts +6 -0
- package/dist/lib/CustomersWidget.d.ts +6 -0
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -0
- package/dist/lib/ProductsWidget.d.ts +8 -0
- package/dist/lib/ReceivablesWidget.d.ts +12 -0
- package/dist/lib/WidgetSuite.d.ts +3 -0
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index31.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/ui/dist/index32.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index3.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/account-details/ui/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/ui/dist/lib/CreateAccountDialog.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index42.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index43.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/ui/dist/index52.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index5.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/ui/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index10.js +57 -55
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index2.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index3.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index5.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index6.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/ui/dist/index8.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index3.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/ui/dist/index4.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/ui/dist/index7.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/DeleteReceiptDialog.js +18 -14
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/TransactionDetails/DeleteReceiptDialog/labels.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index13.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index14.js +4 -2
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index15.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index43.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index44.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index50.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index57.js +29 -26
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index6.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/ui/dist/index9.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index11.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index13.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index14.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index15.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/ui/dist/index9.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/products-widget/ui/dist/index7.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index2.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/ui/dist/index5.js +26 -22
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index13.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index3.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index6.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index11.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index12.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index15.js +37 -33
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/ui/dist/index6.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index17.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/shared/approval-policy/ui/dist/index18.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index10.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index13.js +16 -12
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index2.js +5 -3
- package/dist/libs/tesouro-embedded-components-react/shared/counterpart-management/ui/dist/index9.js +36 -31
- package/dist/libs/tesouro-embedded-components-react/shared/data-access/dist/lib/useGetUserDataQuery.js +4 -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/product-catalog/ui/dist/index2.js +5 -2
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index4.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index5.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/product-catalog/ui/dist/index6.js +39 -35
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/index.js +1 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetContainer/WidgetContainer.js +9 -21
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetFrame/WidgetFrame.js +35 -0
- package/dist/libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js +9 -31
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js +1 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +4699 -4648
- package/package.json +1 -1
|
@@ -1,35 +1,13 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { jsx as t
|
|
1
|
+
import { WidgetFrame as e } from "../WidgetFrame/WidgetFrame.js";
|
|
2
|
+
import { jsx as t } from "react/jsx-runtime";
|
|
3
3
|
//#region ../../libs/tesouro-embedded-components-react/shared/ui/dist/lib/WidgetTitleWithIconAndChildren/WidgetTitleWithIconAndChildren.js
|
|
4
|
-
function
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
}), /* @__PURE__ */ t(e, {
|
|
11
|
-
component: "h2",
|
|
12
|
-
variant: "h6",
|
|
13
|
-
className: "ttw:min-w-0 ttw:font-semibold ttw:text-foreground",
|
|
14
|
-
children: i
|
|
15
|
-
})]
|
|
16
|
-
});
|
|
17
|
-
return /* @__PURE__ */ n("div", {
|
|
18
|
-
className: "ttw:@container/widget ttw:flex ttw:w-full ttw:flex-col ttw:overflow-hidden ttw:rounded-xl ttw:border ttw:border-border ttw:bg-card ttw:text-card-foreground ttw:shadow-sm",
|
|
19
|
-
children: [o == null ? /* @__PURE__ */ t("div", {
|
|
20
|
-
className: "ttw:flex ttw:flex-row ttw:items-center ttw:gap-2 ttw:border-b ttw:border-border ttw:px-4 ttw:py-3",
|
|
21
|
-
children: s
|
|
22
|
-
}) : /* @__PURE__ */ n("div", {
|
|
23
|
-
className: "ttw:flex ttw:flex-row ttw:items-center ttw:justify-between ttw:gap-3 ttw:border-b ttw:border-border ttw:px-4 ttw:py-3",
|
|
24
|
-
children: [s, /* @__PURE__ */ t("div", {
|
|
25
|
-
className: "ttw:flex ttw:shrink-0 ttw:items-center ttw:justify-end",
|
|
26
|
-
children: o
|
|
27
|
-
})]
|
|
28
|
-
}), /* @__PURE__ */ t("div", {
|
|
29
|
-
className: "ttw:flex ttw:flex-col ttw:p-4",
|
|
30
|
-
children: a
|
|
31
|
-
})]
|
|
4
|
+
function n({ icon: n, title: r, children: i, headerActions: a }) {
|
|
5
|
+
return /* @__PURE__ */ t(e, {
|
|
6
|
+
icon: n,
|
|
7
|
+
title: r,
|
|
8
|
+
action: a,
|
|
9
|
+
children: i
|
|
32
10
|
});
|
|
33
11
|
}
|
|
34
12
|
//#endregion
|
|
35
|
-
export {
|
|
13
|
+
export { n as WidgetTitleWithIconAndChildren };
|
|
@@ -72,6 +72,7 @@ function E({ open: c, onOpenChange: x, step: S, labels: E, fromOptions: D, toOpt
|
|
|
72
72
|
children: /* @__PURE__ */ _(n, {
|
|
73
73
|
showCloseButton: !0,
|
|
74
74
|
closeButtonTestId: Y?.closeButton,
|
|
75
|
+
labels: { close: E.modalClose },
|
|
75
76
|
className: "ttw:max-w-md ttw:gap-0 ttw:p-6",
|
|
76
77
|
"data-testid": Y?.root,
|
|
77
78
|
children: [S === "result" ? null : /* @__PURE__ */ _(h, { children: [/* @__PURE__ */ g(p, {
|