@tesouro/embedded-components-loader 0.11.200 → 0.11.202
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.js +1 -1
- package/dist/react/index.d.ts +16 -1
- package/dist/react/lib/BillPayWidget.d.ts +16 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -57,7 +57,7 @@ function satisfiesRange(version, range) {
|
|
|
57
57
|
}
|
|
58
58
|
// src/loader.ts
|
|
59
59
|
/** Baked at build time: installing loader 1.2.3 pins hosted 1.2.3. */
|
|
60
|
-
var LOADER_VERSION = "0.11.
|
|
60
|
+
var LOADER_VERSION = "0.11.202";
|
|
61
61
|
var DEFAULT_BASE_URL = "https://widgets.tesouro.com";
|
|
62
62
|
/** Frozen forever: every future loader must read what every past one wrote. */
|
|
63
63
|
var LOADED_VERSION_MARKER = Symbol.for("tesouro.embedded.loadedVersion");
|
package/dist/react/index.d.ts
CHANGED
|
@@ -6959,6 +6959,13 @@ type AcceptDisclosuresWidgetProps = WidgetProviderProps & InnerProps$1;
|
|
|
6959
6959
|
*/
|
|
6960
6960
|
declare function AcceptDisclosuresWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: AcceptDisclosuresWidgetProps): React.JSX.Element;
|
|
6961
6961
|
|
|
6962
|
+
/** The two views of the payables list; status narrowing lives in Filters. */
|
|
6963
|
+
declare const BillQueue: {
|
|
6964
|
+
readonly All: "all";
|
|
6965
|
+
readonly AssignedToMe: "assigned_to_me";
|
|
6966
|
+
};
|
|
6967
|
+
type BillQueue = (typeof BillQueue)[keyof typeof BillQueue];
|
|
6968
|
+
|
|
6962
6969
|
declare const BillSummaryCard: {
|
|
6963
6970
|
readonly TotalUnpaid: "total_unpaid";
|
|
6964
6971
|
readonly Overdue: "overdue";
|
|
@@ -7161,6 +7168,14 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
7161
7168
|
selectedSummaryCard?: BillSummaryCard | null;
|
|
7162
7169
|
/** Called when the reader selects or deselects a summary card, so you can keep it in the URL. */
|
|
7163
7170
|
onSummaryCardChange?: (card: BillSummaryCard | null) => void;
|
|
7171
|
+
/**
|
|
7172
|
+
* The open view on the Bills tab, All bills or Assigned to me. Applied on
|
|
7173
|
+
* mount and whenever it changes; a selected summary card opens All bills
|
|
7174
|
+
* instead. Omit to let the widget track it.
|
|
7175
|
+
*/
|
|
7176
|
+
selectedBillsView?: BillQueue;
|
|
7177
|
+
/** Called when the open view changes, from a view pill or from a card or vendor jump to All bills. */
|
|
7178
|
+
onBillsViewChange?: (view: BillQueue) => void;
|
|
7164
7179
|
}
|
|
7165
7180
|
declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
7166
7181
|
|
|
@@ -7425,5 +7440,5 @@ interface CheckAmountAndDetailScreenProps {
|
|
|
7425
7440
|
|
|
7426
7441
|
type PendingFeatureStyleSources = CheckAmountAndDetailScreenProps | GapCoverageAlertProps | NoPolicyBannerProps;
|
|
7427
7442
|
|
|
7428
|
-
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, BillSummaryCard, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, InvoicingTab, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, RECENT_ACTIVITY_WIDGET_LABELS_EN, RESULT_LABELS_EN, ReceivableStatusCard, ReceivablesWidget, RecentActivityWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
7443
|
+
export { ACCEPT_DISCLOSURES_WIDGET_LABELS_EN, ADDITIONAL_OWNERS_LABELS_EN, APPLICATION_STATUS_LABELS_EN, AcceptDisclosuresWidget, BALANCES_WIDGET_LABELS_EN, BANKING_COMPLIANCE_BANNER_LABELS_EN, BUSINESS_DETAILS_LABELS_EN, BalancesWidget, BankAccountOnboardingWidget, BankAccountsWidget, BankingComplianceBannerWidget, BillPayWidget, BillSummaryCard, BillQueue as BillsView, CardDetailsWidget, CounterpartsWidget, CreditCardsWidget, DebitCardsWidget, ERROR_STATE_ID, ExpenseManagementWidget, HELP_FAQ_EN, INSIGHTS_FEATURE_LABELS_EN, INSIGHTS_WIDGET_LABELS_EN, InsightsWidget, InvoicingTab, LinkedAccountsWidget, OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget, OnboardingSuppressionReason, PERSONAL_DETAILS_LABELS_EN, RECENT_ACTIVITY_WIDGET_LABELS_EN, RESULT_LABELS_EN, ReceivableStatusCard, ReceivablesWidget, RecentActivityWidget, RefreshingRootWidgetProvider, RootWidgetProvider, SINGLE_INSIGHT_LABELS_EN, Scope, SettingsSection, SettingsWidget, THEME_TOKEN_NAMES, DEFAULT_FEATURE_LABELS as TRANSFERS_FEATURE_LABELS_EN, TRANSFERS_WIDGET_LABELS_EN, TransfersWidget, UIFramework, WIDGET_SUITE_DEFAULT_SECTIONS, WIDGET_SUITE_LABELS_EN, WidgetProvider, WidgetSuite, WidgetSuiteSectionId, WidgetTokenRefreshProvider, cloneEmbeddedClient, configureCsp, createTheme, getGlobalWidgetConfig, getGlobalWidgetInitState, isScope, registerDesignSystemEnsurer, registerUIRenderers, setGlobalWidgetConfig, subscribeToGlobalWidgetInitState, themeIssues, themeToCss, updateGlobalWidgetConfig, useDisclosuresAcceptanceSurface, useOwnWidgetConfig, useRefetchWidget, useWidgetConfig, useWidgetError, useWidgetInitStaleForToken, useWidgetLoading, useWidgetToken };
|
|
7429
7444
|
export type { AcceptDisclosuresWidgetLabels, AcceptDisclosuresWidgetProps, AccordionItemCardLabels, Labels$3 as AccountDetailsWidgetLabels, ActivateCardPanelLabels, AdditionalOwner, AdditionalOwnersLabels, AddressFormSheetLabels, ApplicationStatusLabelValues, ApplicationStatusLabels, ApplicationStatusNoticeLabels, BalancesWidgetLabels, BalancesWidgetProps, BankAccountFormSheetLabels, BankAccountOnboardingWidgetLabels, BankAccountOnboardingWidgetProps, FeatureLabels$3 as BankAccountsWidgetFeatureLabels, Labels$4 as BankAccountsWidgetLabels, BankAccountsWidgetProps, BankingComplianceBannerLabels, BankingComplianceBannerWidgetProps, BillPayWidgetProps, BillPayWidgetTabId, BusinessDetailsLabels, BusinessDetailsValues, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps, CardsFeatureLabels, CardsListLabels as CardsLabels, CardsPagination, CompanyStructureValue, ConfirmDeleteDialogLabels, CounterpartActionTarget, CounterpartDetailsSheetLabels, CounterpartFormSheetLabels, CounterpartMessageLabels, CounterpartMode, CounterpartsScreenLabels, CounterpartsWidgetProps, CreditCardsWidgetProps, CspConfig, DebitCardsWidgetProps, DisclosureLinks, EmbeddedClient, Labels$2 as ExpenseManagementWidgetLabels, ExpenseManagementWidgetProps, ExpenseStatusBadgeLabels, FileViewerLabels, HelpFaqAnswer, HelpFaqBullet, HelpFaqBulletType, HelpFaqItem, HelpFaqSection, InsightsFeatureLabels, InsightsWidgetLabels, InsightsWidgetProps, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, InvoicingTabId, InvoicingTabLabels, LinkComponent, LinkComponentProps, FeatureLabels$2 as LinkedAccountsWidgetFeatureLabels, Labels$1 as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels, PendingFeatureStyleSources, PersonalDetailsLabels, PersonalDetailsValues, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps, RecentActivityWidgetLabels, RecentActivityWidgetProps, RecurringSeriesScreenLabelOverrides, RecurringSeriesScreenLabels, RefreshingRootWidgetProviderProps, ResultLabels, RootWidgetProviderProps, SettingsWidgetAdditionalSection, FeatureLabels$1 as SettingsWidgetFeatureLabels, Labels as SettingsWidgetLabels, SettingsWidgetProps, SettingsWidgetSection, SettingsWidgetSectionId, SingleInsightLabels, ThemeInput, ThemeIssue, ThemeTokenKey, ThemeTokenName, ThemeTokens, TransactionDetailsActionsLabels, TransactionDetailsLabels, FeatureLabels as TransfersWidgetFeatureLabels, TransfersWidgetLabels, TransfersWidgetProps, WidgetConfig, WidgetConfigInput, WidgetInitResponse, WidgetInitState, WidgetProviderLabels, WidgetProviderProps, WidgetSuiteCardsLabels, WidgetSuiteComplianceBannerLabels, WidgetSuiteDashboardLabels, WidgetSuiteDisclosureLabels, WidgetSuiteExpensesLabels, WidgetSuiteInvoicingLabels, WidgetSuiteLabelOverrides, WidgetSuiteLabels, WidgetSuiteMenuLabels, WidgetSuiteOnboardingGateLabels, WidgetSuiteOnboardingLabels, WidgetSuiteProps, WidgetSuiteQuickActionsLabels, WidgetSuiteSectionContentLabels, WidgetSuiteSectionTitleLabels, WidgetTokenFetcher, WidgetTokenManager, WidgetTokenRefreshProviderProps, WidgetTokenState };
|
|
@@ -599,6 +599,13 @@ interface WidgetProviderProps extends WidgetProviderBaseProps {
|
|
|
599
599
|
providerLabels?: Partial<WidgetProviderLabels>;
|
|
600
600
|
}
|
|
601
601
|
|
|
602
|
+
/** The two views of the payables list; status narrowing lives in Filters. */
|
|
603
|
+
declare const BillQueue: {
|
|
604
|
+
readonly All: "all";
|
|
605
|
+
readonly AssignedToMe: "assigned_to_me";
|
|
606
|
+
};
|
|
607
|
+
type BillQueue = (typeof BillQueue)[keyof typeof BillQueue];
|
|
608
|
+
|
|
602
609
|
declare const BillSummaryCard: {
|
|
603
610
|
readonly TotalUnpaid: "total_unpaid";
|
|
604
611
|
readonly Overdue: "overdue";
|
|
@@ -644,8 +651,16 @@ interface BillPayWidgetProps extends WidgetProviderProps {
|
|
|
644
651
|
selectedSummaryCard?: BillSummaryCard | null;
|
|
645
652
|
/** Called when the reader selects or deselects a summary card, so you can keep it in the URL. */
|
|
646
653
|
onSummaryCardChange?: (card: BillSummaryCard | null) => void;
|
|
654
|
+
/**
|
|
655
|
+
* The open view on the Bills tab, All bills or Assigned to me. Applied on
|
|
656
|
+
* mount and whenever it changes; a selected summary card opens All bills
|
|
657
|
+
* instead. Omit to let the widget track it.
|
|
658
|
+
*/
|
|
659
|
+
selectedBillsView?: BillQueue;
|
|
660
|
+
/** Called when the open view changes, from a view pill or from a card or vendor jump to All bills. */
|
|
661
|
+
onBillsViewChange?: (view: BillQueue) => void;
|
|
647
662
|
}
|
|
648
663
|
declare const BillPayWidget: (props: BillPayWidgetProps) => ReactElement;
|
|
649
664
|
|
|
650
|
-
export { BillPayWidget, BillSummaryCard };
|
|
665
|
+
export { BillPayWidget, BillSummaryCard, BillQueue as BillsView };
|
|
651
666
|
export type { BillPayWidgetProps, BillPayWidgetTabId };
|