@tesouro/embedded-components-react 0.2.261 → 0.2.263
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/experimental/WidgetSuite.d.ts +77 -5
- package/dist/experimental/WidgetSuite.js +5 -5
- package/dist/experimental/index.d.ts +77 -5
- package/dist/experimental/index.js +5 -5
- package/dist/index.js +4 -4
- package/dist/lib/BalancesWidget.js +1 -1
- package/dist/lib/InsightsWidget.js +2 -2
- package/dist/lib/TransfersWidget.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index4.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/{index3.js → lib/BalancesWidget/BalancesWidget.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/{index4.js → lib/BalancesWidget/SingleBalance/SingleBalance.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/balances-widget/ui/dist/{index2.js → lib/BalancesWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/index.js +3 -3
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/{index3.js → lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/index.js +2 -0
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/{index2.js → lib/ExpenseManagementWidgetUi/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/index.js +4 -4
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/{index3.js → lib/InsightsWidget/InsightsWidget.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/{index5.js → lib/InsightsWidget/SingleInsight/SingleInsight.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/{index4.js → lib/InsightsWidget/SingleInsight/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/insights-widget/ui/dist/{index2.js → lib/InsightsWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index5.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index.js +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index4.js → lib/TransferMoneyModal/ReviewTransferStep.js} +4 -4
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index8.js → lib/TransferMoneyModal/TransferMoneyModal.js} +5 -5
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index5.js → lib/TransferMoneyModal/TransferMoneyModalHeader.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index7.js → lib/TransferMoneyModal/TransferResultStep.js} +3 -3
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index2.js → lib/TransferMoneyModal/TransferReviewAccountCard.js} +2 -2
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index3.js → lib/TransferMoneyModal/reviewTransferStepLabels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index6.js → lib/TransferMoneyModal/transferResultStepLabels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index10.js → lib/TransfersWidget/TransfersWidget.js} +6 -6
- package/dist/libs/tesouro-embedded-components-react/transfers-widget/ui/dist/{index9.js → lib/TransfersWidget/labels.js} +1 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index.js +5 -5
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index3.js +10 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js +74 -11
- package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js +58 -33
- package/dist/libs/tesouro-embedded-components-react/widget-suite/ui/dist/index.js +2 -1
- package/dist/libs/tesouro-embedded-components-react/widget-suite/ui/dist/index4.js +29 -0
- package/dist/packages/shared-ui-shadcn/dist/index.js +4039 -4017
- package/package.json +6 -6
- package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/index4.js +0 -2
|
@@ -591,16 +591,32 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
* The sections
|
|
595
|
-
*
|
|
596
|
-
*
|
|
594
|
+
* The sections the suite can offer, declared in the default menu order
|
|
595
|
+
* (EMBD-4875). Order here is documentation only — the suite renders whatever
|
|
596
|
+
* order its `sections` prop lists.
|
|
597
597
|
*/
|
|
598
598
|
declare const WidgetSuiteSectionId: {
|
|
599
|
+
readonly Dashboard: "dashboard";
|
|
599
600
|
readonly Accounts: "accounts";
|
|
600
601
|
readonly Cards: "cards";
|
|
602
|
+
readonly Transfers: "transfers";
|
|
603
|
+
readonly BillPay: "bill-pay";
|
|
604
|
+
readonly Invoicing: "invoicing";
|
|
605
|
+
readonly Expenses: "expenses";
|
|
601
606
|
readonly Settings: "settings";
|
|
602
607
|
};
|
|
603
608
|
type WidgetSuiteSectionId = (typeof WidgetSuiteSectionId)[keyof typeof WidgetSuiteSectionId];
|
|
609
|
+
/**
|
|
610
|
+
* The whole surface in the shipped white-label header order
|
|
611
|
+
* (`useDashboardLayout.tsx`): its banking group, then its finops group, then
|
|
612
|
+
* Settings, which white label keeps in the avatar menu rather than the header.
|
|
613
|
+
*
|
|
614
|
+
* Exported as a constant to spread rather than wired up as a default for
|
|
615
|
+
* `sections`, which stays required. A default would make a host's page
|
|
616
|
+
* composition invisible at the call site and would grow silently every time a
|
|
617
|
+
* section is added here. The zero-config wrapper is the intended consumer.
|
|
618
|
+
*/
|
|
619
|
+
declare const WIDGET_SUITE_DEFAULT_SECTIONS: readonly ["dashboard", "accounts", "cards", "transfers", "bill-pay", "invoicing", "expenses", "settings"];
|
|
604
620
|
|
|
605
621
|
/**
|
|
606
622
|
* The section names in the suite menu.
|
|
@@ -615,7 +631,42 @@ type WidgetSuiteSectionId = (typeof WidgetSuiteSectionId)[keyof typeof WidgetSui
|
|
|
615
631
|
* `BillPayWidgetNative` makes between `labels` and `tabsLabels`.
|
|
616
632
|
*/
|
|
617
633
|
type WidgetSuiteSectionLabels = Record<WidgetSuiteSectionId, string>;
|
|
634
|
+
/** Copy for the heading above a section, as opposed to its menu item. */
|
|
635
|
+
interface WidgetSuiteSectionTitleLabels {
|
|
636
|
+
/**
|
|
637
|
+
* The bank attribution beneath the heading. `{bankName}` is replaced with the
|
|
638
|
+
* bank `/init` names, so a translation can put it anywhere in the sentence
|
|
639
|
+
* rather than after a fixed lead-in. An override that drops the placeholder
|
|
640
|
+
* shows no name.
|
|
641
|
+
*/
|
|
642
|
+
bankTagline: string;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Copy the suite puts *inside* a section's panel, rather than in its menu or
|
|
646
|
+
* heading. Each group is shaped as the props of the widget it is handed to, so
|
|
647
|
+
* the merged object below can be passed down by reference.
|
|
648
|
+
*/
|
|
649
|
+
interface WidgetSuiteContentLabels {
|
|
650
|
+
/**
|
|
651
|
+
* `CardsList` renders its own `labels.title` as the list heading, defaulting
|
|
652
|
+
* to "Cards". Two instances stack in the Cards section, so each is retitled by
|
|
653
|
+
* program.
|
|
654
|
+
*/
|
|
655
|
+
creditCards: {
|
|
656
|
+
title: string;
|
|
657
|
+
};
|
|
658
|
+
debitCards: {
|
|
659
|
+
title: string;
|
|
660
|
+
};
|
|
661
|
+
/** Expenses is only a placeholder until the suite wires a read/self surface. */
|
|
662
|
+
expensePlaceholders: {
|
|
663
|
+
expensesUnavailable: string;
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
/** Named as the shipped white-label header names them. */
|
|
618
667
|
declare const WIDGET_SUITE_SECTION_LABELS_EN: WidgetSuiteSectionLabels;
|
|
668
|
+
declare const WIDGET_SUITE_SECTION_TITLE_LABELS_EN: WidgetSuiteSectionTitleLabels;
|
|
669
|
+
declare const WIDGET_SUITE_CONTENT_LABELS_EN: WidgetSuiteContentLabels;
|
|
619
670
|
|
|
620
671
|
interface WidgetSuiteProps extends WidgetProviderProps {
|
|
621
672
|
/**
|
|
@@ -635,6 +686,27 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
635
686
|
labels?: PartialDeep<WidgetSuiteShellLabels>;
|
|
636
687
|
/** Overrides for the section names in the menu. */
|
|
637
688
|
sectionLabels?: Partial<WidgetSuiteSectionLabels>;
|
|
689
|
+
/**
|
|
690
|
+
* Overrides for the section heading's own copy — today the bank tagline, whose
|
|
691
|
+
* `{bankName}` placeholder is filled with the bank `/init` names.
|
|
692
|
+
*/
|
|
693
|
+
sectionTitleLabels?: Partial<WidgetSuiteSectionTitleLabels>;
|
|
694
|
+
/**
|
|
695
|
+
* Overrides for the copy inside a section's panel: the two card-list titles
|
|
696
|
+
* and the Expenses placeholder.
|
|
697
|
+
*/
|
|
698
|
+
contentLabels?: PartialDeep<WidgetSuiteContentLabels>;
|
|
699
|
+
/**
|
|
700
|
+
* Shows a heading above each section, named as its menu item is.
|
|
701
|
+
*
|
|
702
|
+
* Defaults to `true`: the suite owns its page, and a page with a menu but no
|
|
703
|
+
* heading reads as a fragment of someone else's. Set `false` when the host
|
|
704
|
+
* already renders a heading of its own above the suite.
|
|
705
|
+
*
|
|
706
|
+
* Sections whose widget heads itself (Accounts, Settings) never get one, at
|
|
707
|
+
* any setting — see `rendersOwnTitle` in `sections.tsx`.
|
|
708
|
+
*/
|
|
709
|
+
showSectionTitle?: boolean;
|
|
638
710
|
}
|
|
639
711
|
/**
|
|
640
712
|
* A suite of widgets bound together by navigation.
|
|
@@ -656,5 +728,5 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
656
728
|
*/
|
|
657
729
|
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
658
730
|
|
|
659
|
-
export { WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
660
|
-
export type { PartialDeep, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteShellLabels };
|
|
731
|
+
export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
732
|
+
export type { PartialDeep, WidgetSuiteContentLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteShellLabels };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WidgetSuiteSectionId as
|
|
3
|
-
import { WIDGET_SUITE_SHELL_LABELS_EN as
|
|
4
|
-
import { WidgetSuite as
|
|
1
|
+
import { WIDGET_SUITE_CONTENT_LABELS_EN as e, WIDGET_SUITE_SECTION_LABELS_EN as t, WIDGET_SUITE_SECTION_TITLE_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index3.js";
|
|
2
|
+
import { WIDGET_SUITE_DEFAULT_SECTIONS as r, WidgetSuiteSectionId as i } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js";
|
|
3
|
+
import { WIDGET_SUITE_SHELL_LABELS_EN as a } from "../libs/tesouro-embedded-components-react/widget-suite/ui/dist/index2.js";
|
|
4
|
+
import { WidgetSuite as o } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js";
|
|
5
5
|
import "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index.js";
|
|
6
|
-
export { e as WIDGET_SUITE_SECTION_LABELS_EN, n as WIDGET_SUITE_SHELL_LABELS_EN,
|
|
6
|
+
export { e as WIDGET_SUITE_CONTENT_LABELS_EN, r as WIDGET_SUITE_DEFAULT_SECTIONS, t as WIDGET_SUITE_SECTION_LABELS_EN, n as WIDGET_SUITE_SECTION_TITLE_LABELS_EN, a as WIDGET_SUITE_SHELL_LABELS_EN, o as WidgetSuite, i as WidgetSuiteSectionId };
|
|
@@ -591,16 +591,32 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
591
591
|
}
|
|
592
592
|
|
|
593
593
|
/**
|
|
594
|
-
* The sections
|
|
595
|
-
*
|
|
596
|
-
*
|
|
594
|
+
* The sections the suite can offer, declared in the default menu order
|
|
595
|
+
* (EMBD-4875). Order here is documentation only — the suite renders whatever
|
|
596
|
+
* order its `sections` prop lists.
|
|
597
597
|
*/
|
|
598
598
|
declare const WidgetSuiteSectionId: {
|
|
599
|
+
readonly Dashboard: "dashboard";
|
|
599
600
|
readonly Accounts: "accounts";
|
|
600
601
|
readonly Cards: "cards";
|
|
602
|
+
readonly Transfers: "transfers";
|
|
603
|
+
readonly BillPay: "bill-pay";
|
|
604
|
+
readonly Invoicing: "invoicing";
|
|
605
|
+
readonly Expenses: "expenses";
|
|
601
606
|
readonly Settings: "settings";
|
|
602
607
|
};
|
|
603
608
|
type WidgetSuiteSectionId = (typeof WidgetSuiteSectionId)[keyof typeof WidgetSuiteSectionId];
|
|
609
|
+
/**
|
|
610
|
+
* The whole surface in the shipped white-label header order
|
|
611
|
+
* (`useDashboardLayout.tsx`): its banking group, then its finops group, then
|
|
612
|
+
* Settings, which white label keeps in the avatar menu rather than the header.
|
|
613
|
+
*
|
|
614
|
+
* Exported as a constant to spread rather than wired up as a default for
|
|
615
|
+
* `sections`, which stays required. A default would make a host's page
|
|
616
|
+
* composition invisible at the call site and would grow silently every time a
|
|
617
|
+
* section is added here. The zero-config wrapper is the intended consumer.
|
|
618
|
+
*/
|
|
619
|
+
declare const WIDGET_SUITE_DEFAULT_SECTIONS: readonly ["dashboard", "accounts", "cards", "transfers", "bill-pay", "invoicing", "expenses", "settings"];
|
|
604
620
|
|
|
605
621
|
/**
|
|
606
622
|
* The section names in the suite menu.
|
|
@@ -615,7 +631,42 @@ type WidgetSuiteSectionId = (typeof WidgetSuiteSectionId)[keyof typeof WidgetSui
|
|
|
615
631
|
* `BillPayWidgetNative` makes between `labels` and `tabsLabels`.
|
|
616
632
|
*/
|
|
617
633
|
type WidgetSuiteSectionLabels = Record<WidgetSuiteSectionId, string>;
|
|
634
|
+
/** Copy for the heading above a section, as opposed to its menu item. */
|
|
635
|
+
interface WidgetSuiteSectionTitleLabels {
|
|
636
|
+
/**
|
|
637
|
+
* The bank attribution beneath the heading. `{bankName}` is replaced with the
|
|
638
|
+
* bank `/init` names, so a translation can put it anywhere in the sentence
|
|
639
|
+
* rather than after a fixed lead-in. An override that drops the placeholder
|
|
640
|
+
* shows no name.
|
|
641
|
+
*/
|
|
642
|
+
bankTagline: string;
|
|
643
|
+
}
|
|
644
|
+
/**
|
|
645
|
+
* Copy the suite puts *inside* a section's panel, rather than in its menu or
|
|
646
|
+
* heading. Each group is shaped as the props of the widget it is handed to, so
|
|
647
|
+
* the merged object below can be passed down by reference.
|
|
648
|
+
*/
|
|
649
|
+
interface WidgetSuiteContentLabels {
|
|
650
|
+
/**
|
|
651
|
+
* `CardsList` renders its own `labels.title` as the list heading, defaulting
|
|
652
|
+
* to "Cards". Two instances stack in the Cards section, so each is retitled by
|
|
653
|
+
* program.
|
|
654
|
+
*/
|
|
655
|
+
creditCards: {
|
|
656
|
+
title: string;
|
|
657
|
+
};
|
|
658
|
+
debitCards: {
|
|
659
|
+
title: string;
|
|
660
|
+
};
|
|
661
|
+
/** Expenses is only a placeholder until the suite wires a read/self surface. */
|
|
662
|
+
expensePlaceholders: {
|
|
663
|
+
expensesUnavailable: string;
|
|
664
|
+
};
|
|
665
|
+
}
|
|
666
|
+
/** Named as the shipped white-label header names them. */
|
|
618
667
|
declare const WIDGET_SUITE_SECTION_LABELS_EN: WidgetSuiteSectionLabels;
|
|
668
|
+
declare const WIDGET_SUITE_SECTION_TITLE_LABELS_EN: WidgetSuiteSectionTitleLabels;
|
|
669
|
+
declare const WIDGET_SUITE_CONTENT_LABELS_EN: WidgetSuiteContentLabels;
|
|
619
670
|
|
|
620
671
|
interface WidgetSuiteProps extends WidgetProviderProps {
|
|
621
672
|
/**
|
|
@@ -635,6 +686,27 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
635
686
|
labels?: PartialDeep<WidgetSuiteShellLabels>;
|
|
636
687
|
/** Overrides for the section names in the menu. */
|
|
637
688
|
sectionLabels?: Partial<WidgetSuiteSectionLabels>;
|
|
689
|
+
/**
|
|
690
|
+
* Overrides for the section heading's own copy — today the bank tagline, whose
|
|
691
|
+
* `{bankName}` placeholder is filled with the bank `/init` names.
|
|
692
|
+
*/
|
|
693
|
+
sectionTitleLabels?: Partial<WidgetSuiteSectionTitleLabels>;
|
|
694
|
+
/**
|
|
695
|
+
* Overrides for the copy inside a section's panel: the two card-list titles
|
|
696
|
+
* and the Expenses placeholder.
|
|
697
|
+
*/
|
|
698
|
+
contentLabels?: PartialDeep<WidgetSuiteContentLabels>;
|
|
699
|
+
/**
|
|
700
|
+
* Shows a heading above each section, named as its menu item is.
|
|
701
|
+
*
|
|
702
|
+
* Defaults to `true`: the suite owns its page, and a page with a menu but no
|
|
703
|
+
* heading reads as a fragment of someone else's. Set `false` when the host
|
|
704
|
+
* already renders a heading of its own above the suite.
|
|
705
|
+
*
|
|
706
|
+
* Sections whose widget heads itself (Accounts, Settings) never get one, at
|
|
707
|
+
* any setting — see `rendersOwnTitle` in `sections.tsx`.
|
|
708
|
+
*/
|
|
709
|
+
showSectionTitle?: boolean;
|
|
638
710
|
}
|
|
639
711
|
/**
|
|
640
712
|
* A suite of widgets bound together by navigation.
|
|
@@ -656,5 +728,5 @@ interface WidgetSuiteProps extends WidgetProviderProps {
|
|
|
656
728
|
*/
|
|
657
729
|
declare function WidgetSuite({ baseUrl, widgetToken, organizationId, configClient, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, ...innerProps }: WidgetSuiteProps): React.JSX.Element;
|
|
658
730
|
|
|
659
|
-
export { WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
660
|
-
export type { PartialDeep, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteShellLabels };
|
|
731
|
+
export { WIDGET_SUITE_CONTENT_LABELS_EN, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_SECTION_LABELS_EN, WIDGET_SUITE_SECTION_TITLE_LABELS_EN, WIDGET_SUITE_SHELL_LABELS_EN, WidgetSuite, WidgetSuiteSectionId };
|
|
732
|
+
export type { PartialDeep, WidgetSuiteContentLabels, WidgetSuiteProps, WidgetSuiteSectionLabels, WidgetSuiteSectionTitleLabels, WidgetSuiteShellLabels };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { WidgetSuiteSectionId as
|
|
3
|
-
import { WIDGET_SUITE_SHELL_LABELS_EN as
|
|
4
|
-
import { WidgetSuite as
|
|
1
|
+
import { WIDGET_SUITE_CONTENT_LABELS_EN as e, WIDGET_SUITE_SECTION_LABELS_EN as t, WIDGET_SUITE_SECTION_TITLE_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index3.js";
|
|
2
|
+
import { WIDGET_SUITE_DEFAULT_SECTIONS as r, WidgetSuiteSectionId as i } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index4.js";
|
|
3
|
+
import { WIDGET_SUITE_SHELL_LABELS_EN as a } from "../libs/tesouro-embedded-components-react/widget-suite/ui/dist/index2.js";
|
|
4
|
+
import { WidgetSuite as o } from "../libs/tesouro-embedded-components-react/widget-suite/feature/dist/index5.js";
|
|
5
5
|
import "./WidgetSuite.js";
|
|
6
|
-
export { e as WIDGET_SUITE_SECTION_LABELS_EN, n as WIDGET_SUITE_SHELL_LABELS_EN,
|
|
6
|
+
export { e as WIDGET_SUITE_CONTENT_LABELS_EN, r as WIDGET_SUITE_DEFAULT_SECTIONS, t as WIDGET_SUITE_SECTION_LABELS_EN, n as WIDGET_SUITE_SECTION_TITLE_LABELS_EN, a as WIDGET_SUITE_SHELL_LABELS_EN, o as WidgetSuite, i as WidgetSuiteSectionId };
|
package/dist/index.js
CHANGED
|
@@ -33,12 +33,12 @@ import { ExpenseManagementWidget as N } from "./libs/tesouro-embedded-components
|
|
|
33
33
|
import "./lib/ExpenseManagementWidget.js";
|
|
34
34
|
import "./lib/ExpenseApprovalPoliciesWidget.js";
|
|
35
35
|
import "./lib/ExpenseRequirementsWidget.js";
|
|
36
|
-
import { BALANCES_WIDGET_LABELS_EN as P } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/
|
|
36
|
+
import { BALANCES_WIDGET_LABELS_EN as P } from "./libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
37
37
|
import { BalancesWidget as F } from "./libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js";
|
|
38
38
|
import "./lib/BalancesWidget.js";
|
|
39
39
|
import { INSIGHTS_FEATURE_LABELS_EN as I } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index3.js";
|
|
40
|
-
import { INSIGHTS_WIDGET_LABELS_EN as L } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
41
|
-
import { SINGLE_INSIGHT_LABELS_EN as R } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
40
|
+
import { INSIGHTS_WIDGET_LABELS_EN as L } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
41
|
+
import { SINGLE_INSIGHT_LABELS_EN as R } from "./libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
42
42
|
import { InsightsWidget as z } from "./libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js";
|
|
43
43
|
import "./lib/InsightsWidget.js";
|
|
44
44
|
import { CHART_OF_ACCOUNTS_MESSAGE_LABELS_EN as B } from "./libs/tesouro-embedded-components-react/gl-code-table-widget/feature/dist/index5.js";
|
|
@@ -78,7 +78,7 @@ import "./lib/SettingsWidget.js";
|
|
|
78
78
|
import "./lib/TagsWidget.js";
|
|
79
79
|
import "./lib/TeamWidget.js";
|
|
80
80
|
import { DEFAULT_FEATURE_LABELS as fe } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
81
|
-
import { TRANSFERS_WIDGET_LABELS_EN as pe } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
81
|
+
import { TRANSFERS_WIDGET_LABELS_EN as pe } from "./libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
82
82
|
import { TransfersWidget as me } from "./libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js";
|
|
83
83
|
import "./lib/TransfersWidget.js";
|
|
84
84
|
import "./lib/UploadReceiptWidget.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BALANCES_WIDGET_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/balances-widget/ui/dist/
|
|
1
|
+
import { BALANCES_WIDGET_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js";
|
|
2
2
|
import "../libs/tesouro-embedded-components-react/balances-widget/ui/dist/index.js";
|
|
3
3
|
import { BalancesWidget as t } from "../libs/tesouro-embedded-components-react/balances-widget/feature/dist/index5.js";
|
|
4
4
|
import "../libs/tesouro-embedded-components-react/balances-widget/feature/dist/index.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { INSIGHTS_FEATURE_LABELS_EN as e } from "../libs/tesouro-embedded-components-react/insights-widget/feature/dist/index3.js";
|
|
2
|
-
import { INSIGHTS_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
3
|
-
import { SINGLE_INSIGHT_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
2
|
+
import { INSIGHTS_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/labels.js";
|
|
3
|
+
import { SINGLE_INSIGHT_LABELS_EN as n } from "../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js";
|
|
4
4
|
import "../libs/tesouro-embedded-components-react/insights-widget/ui/dist/index.js";
|
|
5
5
|
import { InsightsWidget as r } from "../libs/tesouro-embedded-components-react/insights-widget/feature/dist/index11.js";
|
|
6
6
|
import "../libs/tesouro-embedded-components-react/insights-widget/feature/dist/index.js";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { DEFAULT_FEATURE_LABELS as e } from "../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index3.js";
|
|
2
|
-
import { TRANSFERS_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
2
|
+
import { TRANSFERS_WIDGET_LABELS_EN as t } from "../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransfersWidget/labels.js";
|
|
3
3
|
import "../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/index.js";
|
|
4
4
|
import { TransfersWidget as n } from "../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index6.js";
|
|
5
5
|
import "../libs/tesouro-embedded-components-react/transfers-widget/feature/dist/index.js";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SingleBalance as e } from "../../ui/dist/
|
|
1
|
+
import { SingleBalance as e } from "../../ui/dist/lib/BalancesWidget/SingleBalance/SingleBalance.js";
|
|
2
2
|
import "../../ui/dist/index.js";
|
|
3
3
|
import { jsx as t } from "react/jsx-runtime";
|
|
4
4
|
//#region ../../libs/tesouro-embedded-components-react/balances-widget/feature/dist/index4.js
|
|
@@ -7,7 +7,7 @@ import { WidgetProvider as t } from "../../../shared/feature/dist/lib/WidgetProv
|
|
|
7
7
|
import "../../../shared/feature/dist/index.js";
|
|
8
8
|
import { BalancesWidgetAnalyticsEvent as n, WIDGET_NAME as r } from "./index2.js";
|
|
9
9
|
import { BalancesWidgetContextProvider as i, useBalancesWidgetContext as a } from "./index3.js";
|
|
10
|
-
import { BalancesWidget as o } from "../../ui/dist/
|
|
10
|
+
import { BalancesWidget as o } from "../../ui/dist/lib/BalancesWidget/BalancesWidget.js";
|
|
11
11
|
import "../../ui/dist/index.js";
|
|
12
12
|
import { SingleBalance as s } from "./index4.js";
|
|
13
13
|
import { useEffect as c, useMemo as l } from "react";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { BALANCES_WIDGET_LABELS_EN as e } from "./
|
|
2
|
-
import { BalancesWidget as t } from "./
|
|
3
|
-
import { SingleBalance as n } from "./
|
|
1
|
+
import { BALANCES_WIDGET_LABELS_EN as e } from "./lib/BalancesWidget/labels.js";
|
|
2
|
+
import { BalancesWidget as t } from "./lib/BalancesWidget/BalancesWidget.js";
|
|
3
|
+
import { SingleBalance as n } from "./lib/BalancesWidget/SingleBalance/SingleBalance.js";
|
|
4
4
|
export { e as BALANCES_WIDGET_LABELS_EN, t as BalancesWidget, n as SingleBalance };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button as e, Skeleton as t, Tooltip as n, TooltipContent as r, TooltipProvider as i, TooltipTrigger as a, Typography as o } from "
|
|
2
|
-
import { WidgetContainer as s } from "
|
|
3
|
-
import "
|
|
4
|
-
import { BALANCES_WIDGET_LABELS_EN as c } from "./
|
|
1
|
+
import { Button as e, Skeleton as t, Tooltip as n, TooltipContent as r, TooltipProvider as i, TooltipTrigger as a, Typography as o } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { WidgetContainer as s } from "../../../../../shared/ui/dist/lib/WidgetContainer/WidgetContainer.js";
|
|
3
|
+
import "../../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { BALANCES_WIDGET_LABELS_EN as c } from "./labels.js";
|
|
5
5
|
import { jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowRight as d, CircleHelp as f } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/BalancesWidget.js
|
|
8
8
|
var p = ({ accountRows: p, children: m, isLoading: h, isError: g, onRetry: _, totalBalance: v, shouldTotalBalanceDisplay: y, shouldShowViewAllAccounts: b, onViewAllAccountsClicked: x, labels: S }) => {
|
|
9
9
|
let C = {
|
|
10
10
|
...c,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Typography as e } from "
|
|
1
|
+
import { Typography as e } from "../../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
import { Fragment as t, jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
import { ChevronRight as i, Landmark as a } from "lucide-react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/SingleBalance/SingleBalance.js
|
|
5
5
|
var o = (e) => [
|
|
6
6
|
"ttw:flex ttw:flex-row ttw:items-center ttw:w-full ttw:min-w-0 ttw:overflow-hidden",
|
|
7
7
|
"ttw:gap-3 ttw:m-0 ttw:bg-transparent",
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/balances-widget/ui/dist/lib/BalancesWidget/labels.js
|
|
2
2
|
var e = {
|
|
3
3
|
widgetTitle: "Accounts",
|
|
4
4
|
totalAvailableBalance: "Total available balance",
|
package/dist/libs/tesouro-embedded-components-react/expense-management-widget/feature/dist/index3.js
CHANGED
|
@@ -6,7 +6,7 @@ import { useAnalyticsTrack as e } from "../../../shared/feature/dist/lib/analyti
|
|
|
6
6
|
import { WidgetProvider as t } from "../../../shared/feature/dist/lib/WidgetProvider/WidgetProvider.js";
|
|
7
7
|
import "../../../shared/feature/dist/index.js";
|
|
8
8
|
import { ExpenseManagementWidgetAnalyticsEvent as n, WIDGET_NAME as r } from "./index2.js";
|
|
9
|
-
import { ExpenseManagementWidgetUi as i } from "../../ui/dist/
|
|
9
|
+
import { ExpenseManagementWidgetUi as i } from "../../ui/dist/lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js";
|
|
10
10
|
import "../../ui/dist/index.js";
|
|
11
11
|
import { ExpenseApprovalPoliciesWidget as a } from "../../../expense-approval-policies-widget/feature/dist/lib/ExpenseApprovalPoliciesWidgetFeature.js";
|
|
12
12
|
import "../../../expense-approval-policies-widget/feature/dist/index.js";
|
package/dist/libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import "./
|
|
2
|
-
import { ExpenseManagementWidgetUi as e } from "./
|
|
3
|
-
import "./
|
|
1
|
+
import "./lib/ExpenseManagementWidgetUi/labels.js";
|
|
2
|
+
import { ExpenseManagementWidgetUi as e } from "./lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js";
|
|
3
|
+
import "./lib/ExpenseManagementWidgetUi/index.js";
|
|
4
4
|
export { e as ExpenseManagementWidgetUi };
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
"use client";
|
|
3
3
|
"use client";
|
|
4
4
|
"use client";
|
|
5
|
-
import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "
|
|
6
|
-
import { DEFAULT_LABELS as i } from "./
|
|
5
|
+
import { Tabs as e, TabsContent as t, TabsList as n, TabsTrigger as r } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
6
|
+
import { DEFAULT_LABELS as i } from "./labels.js";
|
|
7
7
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
8
|
-
//#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/
|
|
8
|
+
//#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/ExpenseManagementWidgetUi.js
|
|
9
9
|
function s({ labels: s, receiptsContent: c, matchingContent: l, policiesContent: u, requirementsContent: d }) {
|
|
10
10
|
let f = {
|
|
11
11
|
...i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/expense-management-widget/ui/dist/lib/ExpenseManagementWidgetUi/labels.js
|
|
2
2
|
var e = {
|
|
3
3
|
title: "Expense management",
|
|
4
4
|
description: "Manage receipts, matching, policies, and requirements.",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { mapInsightToRowView as e } from "./index9.js";
|
|
2
|
-
import { SingleInsight as t } from "../../ui/dist/
|
|
2
|
+
import { SingleInsight as t } from "../../ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js";
|
|
3
3
|
import "../../ui/dist/index.js";
|
|
4
4
|
import { jsx as n } from "react/jsx-runtime";
|
|
5
5
|
//#region ../../libs/tesouro-embedded-components-react/insights-widget/feature/dist/index10.js
|
|
@@ -8,7 +8,7 @@ import "../../../shared/feature/dist/index.js";
|
|
|
8
8
|
import "./index3.js";
|
|
9
9
|
import { InsightsWidgetContextProvider as n, useInsightsWidgetContext as r } from "./index8.js";
|
|
10
10
|
import { InsightsWidgetAnalyticsEvent as i, WIDGET_NAME as a } from "./index2.js";
|
|
11
|
-
import { InsightsWidget as o } from "../../ui/dist/
|
|
11
|
+
import { InsightsWidget as o } from "../../ui/dist/lib/InsightsWidget/InsightsWidget.js";
|
|
12
12
|
import "../../ui/dist/index.js";
|
|
13
13
|
import { SingleInsight as s } from "./index10.js";
|
|
14
14
|
import { useEffect as c } from "react";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { INSIGHTS_WIDGET_LABELS_EN as e } from "./
|
|
2
|
-
import { InsightsWidget as t } from "./
|
|
3
|
-
import { SINGLE_INSIGHT_LABELS_EN as n } from "./
|
|
4
|
-
import { SingleInsight as r } from "./
|
|
1
|
+
import { INSIGHTS_WIDGET_LABELS_EN as e } from "./lib/InsightsWidget/labels.js";
|
|
2
|
+
import { InsightsWidget as t } from "./lib/InsightsWidget/InsightsWidget.js";
|
|
3
|
+
import { SINGLE_INSIGHT_LABELS_EN as n } from "./lib/InsightsWidget/SingleInsight/labels.js";
|
|
4
|
+
import { SingleInsight as r } from "./lib/InsightsWidget/SingleInsight/SingleInsight.js";
|
|
5
5
|
export { e as INSIGHTS_WIDGET_LABELS_EN, t as InsightsWidget, n as SINGLE_INSIGHT_LABELS_EN, r as SingleInsight };
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button as e, Skeleton as t, Typography as n, cn as r } from "
|
|
2
|
-
import { WidgetContainer as i } from "
|
|
3
|
-
import "
|
|
4
|
-
import { INSIGHTS_WIDGET_LABELS_EN as a } from "./
|
|
1
|
+
import { Button as e, Skeleton as t, Typography as n, cn as r } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { WidgetContainer as i } from "../../../../../shared/ui/dist/lib/WidgetContainer/WidgetContainer.js";
|
|
3
|
+
import "../../../../../shared/ui/dist/index.js";
|
|
4
|
+
import { INSIGHTS_WIDGET_LABELS_EN as a } from "./labels.js";
|
|
5
5
|
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
6
6
|
import { Sparkles as l } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/InsightsWidget.js
|
|
8
8
|
var u = ({ hasInsights: u, children: d, activeFilter: f, setActiveFilter: p, isLoading: m, isError: h, onRetry: g, labels: _, activeTabTestId: v }) => {
|
|
9
9
|
let y = {
|
|
10
10
|
...a,
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Badge as e, Button as t, Switch as n, Typography as r } from "
|
|
2
|
-
import { SINGLE_INSIGHT_LABELS_EN as i } from "./
|
|
1
|
+
import { Badge as e, Button as t, Switch as n, Typography as r } from "../../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { SINGLE_INSIGHT_LABELS_EN as i } from "./labels.js";
|
|
3
3
|
import { jsx as a, jsxs as o } from "react/jsx-runtime";
|
|
4
4
|
import { ArrowRight as s, X as c } from "lucide-react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/SingleInsight.js
|
|
6
6
|
var l = ({ row: l, onDismissClick: u, labels: d }) => {
|
|
7
7
|
let f = {
|
|
8
8
|
...i,
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/
|
|
1
|
+
//#region ../../libs/tesouro-embedded-components-react/insights-widget/ui/dist/lib/InsightsWidget/SingleInsight/labels.js
|
|
2
2
|
var e = { dismissInsightAriaLabel: "Dismiss insight" };
|
|
3
3
|
//#endregion
|
|
4
4
|
export { e as SINGLE_INSIGHT_LABELS_EN };
|
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.2.
|
|
2
|
+
var e = "@tesouro/embedded-components-react", t = "0.2.263", n = "17bd3a44660d001985b42370345c6a4e33fc92cd", r = Object.freeze({
|
|
3
3
|
library_name: e,
|
|
4
4
|
library_version: t,
|
|
5
5
|
library_sha: n
|
|
@@ -16,8 +16,8 @@ import { useTransferExternalAccountsQuery as l } from "../../data-access/dist/in
|
|
|
16
16
|
import { useMergedRecentBankAccountTransfersQuery as u } from "../../data-access/dist/index6.js";
|
|
17
17
|
import "../../data-access/dist/index.js";
|
|
18
18
|
import { mapTransferToRowView as d, useTransferMoneyModalController as f } from "./index4.js";
|
|
19
|
-
import { TRANSFERS_WIDGET_LABELS_EN as p } from "../../ui/dist/
|
|
20
|
-
import { TransfersWidget as ee } from "../../ui/dist/
|
|
19
|
+
import { TRANSFERS_WIDGET_LABELS_EN as p } from "../../ui/dist/lib/TransfersWidget/labels.js";
|
|
20
|
+
import { TransfersWidget as ee } from "../../ui/dist/lib/TransfersWidget/TransfersWidget.js";
|
|
21
21
|
import "../../ui/dist/index.js";
|
|
22
22
|
import { useCallback as m, useEffect as h, useMemo as g } from "react";
|
|
23
23
|
import { jsx as _ } from "react/jsx-runtime";
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { TRANSFERS_WIDGET_LABELS_EN as e } from "./
|
|
2
|
-
import { TransfersWidget as t } from "./
|
|
1
|
+
import { TRANSFERS_WIDGET_LABELS_EN as e } from "./lib/TransfersWidget/labels.js";
|
|
2
|
+
import { TransfersWidget as t } from "./lib/TransfersWidget/TransfersWidget.js";
|
|
3
3
|
export { e as TRANSFERS_WIDGET_LABELS_EN, t as TransfersWidget };
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { Button as e, Separator as t, Typography as n } from "
|
|
2
|
-
import { TransferReviewAccountCard as r } from "./
|
|
3
|
-
import { DEFAULT_REVIEW_TRANSFER_STEP_LABELS as i } from "./
|
|
1
|
+
import { Button as e, Separator as t, Typography as n } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { TransferReviewAccountCard as r } from "./TransferReviewAccountCard.js";
|
|
3
|
+
import { DEFAULT_REVIEW_TRANSFER_STEP_LABELS as i } from "./reviewTransferStepLabels.js";
|
|
4
4
|
import { Fragment as a, jsx as o, jsxs as s } from "react/jsx-runtime";
|
|
5
5
|
import { ArrowLeft as c, ArrowRight as l } from "lucide-react";
|
|
6
|
-
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
6
|
+
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/ReviewTransferStep.js
|
|
7
7
|
function u({ fromAccount: u, toAccount: d, amountLabel: f, isSubmitting: p, onConfirm: m, onGoBack: h, labels: g }) {
|
|
8
8
|
let _ = {
|
|
9
9
|
...i,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { Button as e, Dialog as t, DialogContent as n, DialogFooter as r, Input as i, Label as a, Select as o, SelectContent as s, SelectItem as c, SelectTrigger as l, Separator as u, Typography as d } from "
|
|
2
|
-
import { ReviewTransferStep as f } from "./
|
|
3
|
-
import { TransferMoneyModalHeader as p } from "./
|
|
4
|
-
import { TransferResultStep as m } from "./
|
|
1
|
+
import { Button as e, Dialog as t, DialogContent as n, DialogFooter as r, Input as i, Label as a, Select as o, SelectContent as s, SelectItem as c, SelectTrigger as l, Separator as u, Typography as d } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { ReviewTransferStep as f } from "./ReviewTransferStep.js";
|
|
3
|
+
import { TransferMoneyModalHeader as p } from "./TransferMoneyModalHeader.js";
|
|
4
|
+
import { TransferResultStep as m } from "./TransferResultStep.js";
|
|
5
5
|
import { Fragment as h, jsx as g, jsxs as _ } from "react/jsx-runtime";
|
|
6
6
|
import { ArrowRight as v } from "lucide-react";
|
|
7
|
-
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
7
|
+
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModal.js
|
|
8
8
|
var y = "ttw:flex ttw:h-auto ttw:min-h-14 ttw:w-full ttw:cursor-pointer ttw:items-center ttw:justify-start ttw:rounded-lg ttw:border-border ttw:px-5 ttw:py-3.5 ttw:text-left ttw:text-base ttw:font-normal ttw:text-foreground ttw:disabled:cursor-not-allowed ttw:[&_svg]:ml-auto ttw:[&_svg]:shrink-0", b = {
|
|
9
9
|
position: "popper",
|
|
10
10
|
align: "start",
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { DialogDescription as e, DialogTitle as t } from "
|
|
1
|
+
import { DialogDescription as e, DialogTitle as t } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
import { jsx as n, jsxs as r } from "react/jsx-runtime";
|
|
3
3
|
import { ArrowRightLeft as i } from "lucide-react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferMoneyModalHeader.js
|
|
5
5
|
function a({ title: a, subtitle: o }) {
|
|
6
6
|
return /* @__PURE__ */ n("div", {
|
|
7
7
|
className: "ttw:pb-4",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { Button as e, Typography as t } from "
|
|
2
|
-
import { DEFAULT_TRANSFER_RESULT_STEP_LABELS as n } from "./
|
|
1
|
+
import { Button as e, Typography as t } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
|
+
import { DEFAULT_TRANSFER_RESULT_STEP_LABELS as n } from "./transferResultStepLabels.js";
|
|
3
3
|
import { jsx as r, jsxs as i } from "react/jsx-runtime";
|
|
4
4
|
import { ArrowLeft as a, CheckCircle2 as o, X as s } from "lucide-react";
|
|
5
|
-
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
5
|
+
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferResultStep.js
|
|
6
6
|
function c({ amountLabel: c, isSuccess: l, onBackToTransfers: u, labels: d }) {
|
|
7
7
|
let f = {
|
|
8
8
|
...n,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Typography as e } from "
|
|
1
|
+
import { Typography as e } from "../../../../../../../packages/shared-ui-shadcn/dist/index.js";
|
|
2
2
|
import { jsx as t, jsxs as n } from "react/jsx-runtime";
|
|
3
3
|
import { Landmark as r } from "lucide-react";
|
|
4
|
-
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/
|
|
4
|
+
//#region ../../libs/tesouro-embedded-components-react/transfers-widget/ui/dist/lib/TransferMoneyModal/TransferReviewAccountCard.js
|
|
5
5
|
function i({ account: i }) {
|
|
6
6
|
let a = !!i.balanceLabel;
|
|
7
7
|
return /* @__PURE__ */ n("div", {
|