@tesouro/embedded-components-react 0.7.56 → 0.7.57
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 +0 -3
- package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
- package/dist/experimental/index.d.ts +1 -32
- package/dist/index.d.ts +12 -44
- package/dist/index.js +47 -48
- package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
- package/dist/lib/BalancesWidget.d.ts +0 -31
- package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
- package/dist/lib/BankAccountsWidget.d.ts +1 -32
- package/dist/lib/BankingComplianceBannerWidget.d.ts +0 -31
- package/dist/lib/BillPayWidget.d.ts +0 -31
- package/dist/lib/CardDetailsWidget.d.ts +1 -32
- package/dist/lib/CounterpartsWidget.d.ts +0 -31
- package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
- package/dist/lib/CreditCardsWidget.d.ts +0 -31
- package/dist/lib/CustomersWidget.d.ts +1 -33
- package/dist/lib/DebitCardsWidget.d.ts +0 -31
- package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
- package/dist/lib/InsightsWidget.d.ts +0 -31
- package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
- package/dist/lib/OfferWidget.d.ts +1 -32
- package/dist/lib/ProductsWidget.d.ts +1 -32
- package/dist/lib/ReceivablesWidget.d.ts +1 -32
- package/dist/lib/SettingsWidget.d.ts +0 -31
- package/dist/lib/TransfersWidget.d.ts +0 -31
- package/dist/lib/WidgetProvider.d.ts +2 -33
- package/dist/lib/WidgetProvider.js +9 -10
- package/dist/lib/WidgetProviderPublic.d.ts +0 -31
- package/dist/lib/WidgetSuite.d.ts +1 -32
- package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
- package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
- package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
- package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
- package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
- package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -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/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
- package/package.json +1 -1
- package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
|
@@ -390,21 +390,6 @@ declare const UIFramework: {
|
|
|
390
390
|
};
|
|
391
391
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
392
392
|
|
|
393
|
-
/**
|
|
394
|
-
* The implementation a widget renders with.
|
|
395
|
-
*
|
|
396
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
397
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
398
|
-
* - `monite` — the Monite SDK implementation.
|
|
399
|
-
*
|
|
400
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
401
|
-
* convention.
|
|
402
|
-
*/
|
|
403
|
-
declare const Implementation: {
|
|
404
|
-
readonly Native: "native";
|
|
405
|
-
readonly Monite: "monite";
|
|
406
|
-
};
|
|
407
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
408
393
|
/**
|
|
409
394
|
* The settable fields of the widget config cascade.
|
|
410
395
|
*
|
|
@@ -563,22 +548,6 @@ interface WidgetConfigInput {
|
|
|
563
548
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
564
549
|
*/
|
|
565
550
|
uiFramework?: UIFramework | null;
|
|
566
|
-
/**
|
|
567
|
-
* Which implementation a widget renders with.
|
|
568
|
-
*
|
|
569
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
570
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
571
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
572
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
573
|
-
* is read via `useImplementation`.
|
|
574
|
-
*
|
|
575
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
576
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
577
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
578
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
579
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
580
|
-
*/
|
|
581
|
-
implementation?: Implementation | null;
|
|
582
551
|
}
|
|
583
552
|
/**
|
|
584
553
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -773,7 +742,7 @@ interface BankAccountsWidgetProps extends WidgetProviderProps {
|
|
|
773
742
|
/** Called when the user opens account details or goes back to the list. */
|
|
774
743
|
onSelectedAccountIdChange?: (accountId: string | null) => void;
|
|
775
744
|
}
|
|
776
|
-
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
745
|
+
declare function BankAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: BankAccountsWidgetProps): React.JSX.Element;
|
|
777
746
|
|
|
778
747
|
export { BankAccountsWidget };
|
|
779
748
|
export type { Labels as AccountDetailsWidgetLabels, FeatureLabels as BankAccountsWidgetFeatureLabels, Labels$1 as BankAccountsWidgetLabels, BankAccountsWidgetProps };
|
|
@@ -369,21 +369,6 @@ declare const UIFramework: {
|
|
|
369
369
|
};
|
|
370
370
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
371
371
|
|
|
372
|
-
/**
|
|
373
|
-
* The implementation a widget renders with.
|
|
374
|
-
*
|
|
375
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
376
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
377
|
-
* - `monite` — the Monite SDK implementation.
|
|
378
|
-
*
|
|
379
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
380
|
-
* convention.
|
|
381
|
-
*/
|
|
382
|
-
declare const Implementation: {
|
|
383
|
-
readonly Native: "native";
|
|
384
|
-
readonly Monite: "monite";
|
|
385
|
-
};
|
|
386
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
387
372
|
/**
|
|
388
373
|
* The settable fields of the widget config cascade.
|
|
389
374
|
*
|
|
@@ -542,22 +527,6 @@ interface WidgetConfigInput {
|
|
|
542
527
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
543
528
|
*/
|
|
544
529
|
uiFramework?: UIFramework | null;
|
|
545
|
-
/**
|
|
546
|
-
* Which implementation a widget renders with.
|
|
547
|
-
*
|
|
548
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
549
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
550
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
551
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
552
|
-
* is read via `useImplementation`.
|
|
553
|
-
*
|
|
554
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
555
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
556
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
557
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
558
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
559
|
-
*/
|
|
560
|
-
implementation?: Implementation | null;
|
|
561
530
|
}
|
|
562
531
|
/**
|
|
563
532
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -351,21 +351,6 @@ declare const UIFramework: {
|
|
|
351
351
|
};
|
|
352
352
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
353
353
|
|
|
354
|
-
/**
|
|
355
|
-
* The implementation a widget renders with.
|
|
356
|
-
*
|
|
357
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
358
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
359
|
-
* - `monite` — the Monite SDK implementation.
|
|
360
|
-
*
|
|
361
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
362
|
-
* convention.
|
|
363
|
-
*/
|
|
364
|
-
declare const Implementation: {
|
|
365
|
-
readonly Native: "native";
|
|
366
|
-
readonly Monite: "monite";
|
|
367
|
-
};
|
|
368
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
369
354
|
/**
|
|
370
355
|
* The settable fields of the widget config cascade.
|
|
371
356
|
*
|
|
@@ -524,22 +509,6 @@ interface WidgetConfigInput {
|
|
|
524
509
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
525
510
|
*/
|
|
526
511
|
uiFramework?: UIFramework | null;
|
|
527
|
-
/**
|
|
528
|
-
* Which implementation a widget renders with.
|
|
529
|
-
*
|
|
530
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
531
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
532
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
533
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
534
|
-
* is read via `useImplementation`.
|
|
535
|
-
*
|
|
536
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
537
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
538
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
539
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
540
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
541
|
-
*/
|
|
542
|
-
implementation?: Implementation | null;
|
|
543
512
|
}
|
|
544
513
|
/**
|
|
545
514
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -523,21 +523,6 @@ declare const UIFramework: {
|
|
|
523
523
|
};
|
|
524
524
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
525
525
|
|
|
526
|
-
/**
|
|
527
|
-
* The implementation a widget renders with.
|
|
528
|
-
*
|
|
529
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
530
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
531
|
-
* - `monite` — the Monite SDK implementation.
|
|
532
|
-
*
|
|
533
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
534
|
-
* convention.
|
|
535
|
-
*/
|
|
536
|
-
declare const Implementation: {
|
|
537
|
-
readonly Native: "native";
|
|
538
|
-
readonly Monite: "monite";
|
|
539
|
-
};
|
|
540
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
541
526
|
/**
|
|
542
527
|
* The settable fields of the widget config cascade.
|
|
543
528
|
*
|
|
@@ -696,22 +681,6 @@ interface WidgetConfigInput {
|
|
|
696
681
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
697
682
|
*/
|
|
698
683
|
uiFramework?: UIFramework | null;
|
|
699
|
-
/**
|
|
700
|
-
* Which implementation a widget renders with.
|
|
701
|
-
*
|
|
702
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
703
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
704
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
705
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
706
|
-
* is read via `useImplementation`.
|
|
707
|
-
*
|
|
708
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
709
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
710
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
711
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
712
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
713
|
-
*/
|
|
714
|
-
implementation?: Implementation | null;
|
|
715
684
|
}
|
|
716
685
|
/**
|
|
717
686
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -971,7 +940,7 @@ interface CardDetailsWidgetProps extends WidgetProviderProps {
|
|
|
971
940
|
* Both placements are covered by specs, because they take different code paths
|
|
972
941
|
* through the provider and this export exists for the standalone one.
|
|
973
942
|
*/
|
|
974
|
-
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
943
|
+
declare function CardDetailsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
|
|
975
944
|
|
|
976
945
|
export { CardDetailsWidget };
|
|
977
946
|
export type { ActivateCardPanelLabels, CardDetailsFeatureLabels, CardDetailsPanelLabels as CardDetailsWidgetLabels, CardDetailsWidgetProps };
|
|
@@ -382,21 +382,6 @@ declare const UIFramework: {
|
|
|
382
382
|
};
|
|
383
383
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* The implementation a widget renders with.
|
|
387
|
-
*
|
|
388
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
389
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
390
|
-
* - `monite` — the Monite SDK implementation.
|
|
391
|
-
*
|
|
392
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
393
|
-
* convention.
|
|
394
|
-
*/
|
|
395
|
-
declare const Implementation: {
|
|
396
|
-
readonly Native: "native";
|
|
397
|
-
readonly Monite: "monite";
|
|
398
|
-
};
|
|
399
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
400
385
|
/**
|
|
401
386
|
* The settable fields of the widget config cascade.
|
|
402
387
|
*
|
|
@@ -555,22 +540,6 @@ interface WidgetConfigInput {
|
|
|
555
540
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
556
541
|
*/
|
|
557
542
|
uiFramework?: UIFramework | null;
|
|
558
|
-
/**
|
|
559
|
-
* Which implementation a widget renders with.
|
|
560
|
-
*
|
|
561
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
562
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
563
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
564
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
565
|
-
* is read via `useImplementation`.
|
|
566
|
-
*
|
|
567
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
568
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
569
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
570
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
571
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
572
|
-
*/
|
|
573
|
-
implementation?: Implementation | null;
|
|
574
543
|
}
|
|
575
544
|
/**
|
|
576
545
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -382,21 +382,6 @@ declare const UIFramework: {
|
|
|
382
382
|
};
|
|
383
383
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
384
384
|
|
|
385
|
-
/**
|
|
386
|
-
* The implementation a widget renders with.
|
|
387
|
-
*
|
|
388
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
389
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
390
|
-
* - `monite` — the Monite SDK implementation.
|
|
391
|
-
*
|
|
392
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
393
|
-
* convention.
|
|
394
|
-
*/
|
|
395
|
-
declare const Implementation: {
|
|
396
|
-
readonly Native: "native";
|
|
397
|
-
readonly Monite: "monite";
|
|
398
|
-
};
|
|
399
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
400
385
|
/**
|
|
401
386
|
* The settable fields of the widget config cascade.
|
|
402
387
|
*
|
|
@@ -555,22 +540,6 @@ interface WidgetConfigInput {
|
|
|
555
540
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
556
541
|
*/
|
|
557
542
|
uiFramework?: UIFramework | null;
|
|
558
|
-
/**
|
|
559
|
-
* Which implementation a widget renders with.
|
|
560
|
-
*
|
|
561
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
562
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
563
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
564
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
565
|
-
* is read via `useImplementation`.
|
|
566
|
-
*
|
|
567
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
568
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
569
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
570
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
571
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
572
|
-
*/
|
|
573
|
-
implementation?: Implementation | null;
|
|
574
543
|
}
|
|
575
544
|
/**
|
|
576
545
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -441,21 +441,6 @@ type EmbeddedClient = Client;
|
|
|
441
441
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
442
442
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
443
443
|
|
|
444
|
-
/**
|
|
445
|
-
* The implementation a widget renders with.
|
|
446
|
-
*
|
|
447
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
448
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
449
|
-
* - `monite` — the Monite SDK implementation.
|
|
450
|
-
*
|
|
451
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
452
|
-
* convention.
|
|
453
|
-
*/
|
|
454
|
-
declare const Implementation: {
|
|
455
|
-
readonly Native: "native";
|
|
456
|
-
readonly Monite: "monite";
|
|
457
|
-
};
|
|
458
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
459
444
|
/**
|
|
460
445
|
* The settable fields of the widget config cascade.
|
|
461
446
|
*
|
|
@@ -614,22 +599,6 @@ interface WidgetConfigInput {
|
|
|
614
599
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
615
600
|
*/
|
|
616
601
|
uiFramework?: UIFramework | null;
|
|
617
|
-
/**
|
|
618
|
-
* Which implementation a widget renders with.
|
|
619
|
-
*
|
|
620
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
621
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
622
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
623
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
624
|
-
* is read via `useImplementation`.
|
|
625
|
-
*
|
|
626
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
627
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
628
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
629
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
630
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
631
|
-
*/
|
|
632
|
-
implementation?: Implementation | null;
|
|
633
602
|
}
|
|
634
603
|
/**
|
|
635
604
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -383,21 +383,6 @@ declare const UIFramework: {
|
|
|
383
383
|
};
|
|
384
384
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
385
385
|
|
|
386
|
-
/**
|
|
387
|
-
* The implementation a widget renders with.
|
|
388
|
-
*
|
|
389
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
390
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
391
|
-
* - `monite` — the Monite SDK implementation.
|
|
392
|
-
*
|
|
393
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
394
|
-
* convention.
|
|
395
|
-
*/
|
|
396
|
-
declare const Implementation: {
|
|
397
|
-
readonly Native: "native";
|
|
398
|
-
readonly Monite: "monite";
|
|
399
|
-
};
|
|
400
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
401
386
|
/**
|
|
402
387
|
* The settable fields of the widget config cascade.
|
|
403
388
|
*
|
|
@@ -556,22 +541,6 @@ interface WidgetConfigInput {
|
|
|
556
541
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
557
542
|
*/
|
|
558
543
|
uiFramework?: UIFramework | null;
|
|
559
|
-
/**
|
|
560
|
-
* Which implementation a widget renders with.
|
|
561
|
-
*
|
|
562
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
563
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
564
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
565
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
566
|
-
* is read via `useImplementation`.
|
|
567
|
-
*
|
|
568
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
569
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
570
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
571
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
572
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
573
|
-
*/
|
|
574
|
-
implementation?: Implementation | null;
|
|
575
544
|
}
|
|
576
545
|
/**
|
|
577
546
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -1012,8 +981,7 @@ type CustomersWidgetProps = WidgetProviderProps & CustomersWidgetOwnProps;
|
|
|
1012
981
|
* A customer is a counterpart, so the published `CounterpartsWidget` already
|
|
1013
982
|
* is this surface end to end (list, details, create/edit, delete) via
|
|
1014
983
|
* `counterpartType`. Reused rather than rebuilt, the same way `BillPayWidget`
|
|
1015
|
-
* reuses it for its Vendors tab.
|
|
1016
|
-
* `implementation` only cascades to descendants and changes nothing here.
|
|
984
|
+
* reuses it for its Vendors tab.
|
|
1017
985
|
*/
|
|
1018
986
|
declare function CustomersWidget({ pageSizeOptions, onViewAllDocuments, onCreateDocument, screenLabels, formLabels, detailsLabels, addressLabels, deleteLabels, messageLabels, ...widgetProviderProps }: CustomersWidgetProps): React.JSX.Element;
|
|
1019
987
|
|
|
@@ -441,21 +441,6 @@ type EmbeddedClient = Client;
|
|
|
441
441
|
type ExtractLiterals<T> = T extends string ? string extends T ? never : T : never;
|
|
442
442
|
type BaseUrl = ExtractLiterals<ClientOptions['baseUrl']>;
|
|
443
443
|
|
|
444
|
-
/**
|
|
445
|
-
* The implementation a widget renders with.
|
|
446
|
-
*
|
|
447
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
448
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
449
|
-
* - `monite` — the Monite SDK implementation.
|
|
450
|
-
*
|
|
451
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
452
|
-
* convention.
|
|
453
|
-
*/
|
|
454
|
-
declare const Implementation: {
|
|
455
|
-
readonly Native: "native";
|
|
456
|
-
readonly Monite: "monite";
|
|
457
|
-
};
|
|
458
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
459
444
|
/**
|
|
460
445
|
* The settable fields of the widget config cascade.
|
|
461
446
|
*
|
|
@@ -614,22 +599,6 @@ interface WidgetConfigInput {
|
|
|
614
599
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
615
600
|
*/
|
|
616
601
|
uiFramework?: UIFramework | null;
|
|
617
|
-
/**
|
|
618
|
-
* Which implementation a widget renders with.
|
|
619
|
-
*
|
|
620
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
621
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
622
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
623
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
624
|
-
* is read via `useImplementation`.
|
|
625
|
-
*
|
|
626
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
627
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
628
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
629
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
630
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
631
|
-
*/
|
|
632
|
-
implementation?: Implementation | null;
|
|
633
602
|
}
|
|
634
603
|
/**
|
|
635
604
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -506,21 +506,6 @@ declare const UIFramework: {
|
|
|
506
506
|
};
|
|
507
507
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
508
508
|
|
|
509
|
-
/**
|
|
510
|
-
* The implementation a widget renders with.
|
|
511
|
-
*
|
|
512
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
513
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
514
|
-
* - `monite` — the Monite SDK implementation.
|
|
515
|
-
*
|
|
516
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
517
|
-
* convention.
|
|
518
|
-
*/
|
|
519
|
-
declare const Implementation: {
|
|
520
|
-
readonly Native: "native";
|
|
521
|
-
readonly Monite: "monite";
|
|
522
|
-
};
|
|
523
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
524
509
|
/**
|
|
525
510
|
* The settable fields of the widget config cascade.
|
|
526
511
|
*
|
|
@@ -679,22 +664,6 @@ interface WidgetConfigInput {
|
|
|
679
664
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
680
665
|
*/
|
|
681
666
|
uiFramework?: UIFramework | null;
|
|
682
|
-
/**
|
|
683
|
-
* Which implementation a widget renders with.
|
|
684
|
-
*
|
|
685
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
686
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
687
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
688
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
689
|
-
* is read via `useImplementation`.
|
|
690
|
-
*
|
|
691
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
692
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
693
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
694
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
695
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
696
|
-
*/
|
|
697
|
-
implementation?: Implementation | null;
|
|
698
667
|
}
|
|
699
668
|
/**
|
|
700
669
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -390,21 +390,6 @@ declare const UIFramework: {
|
|
|
390
390
|
};
|
|
391
391
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
392
392
|
|
|
393
|
-
/**
|
|
394
|
-
* The implementation a widget renders with.
|
|
395
|
-
*
|
|
396
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
397
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
398
|
-
* - `monite` — the Monite SDK implementation.
|
|
399
|
-
*
|
|
400
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
401
|
-
* convention.
|
|
402
|
-
*/
|
|
403
|
-
declare const Implementation: {
|
|
404
|
-
readonly Native: "native";
|
|
405
|
-
readonly Monite: "monite";
|
|
406
|
-
};
|
|
407
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
408
393
|
/**
|
|
409
394
|
* The settable fields of the widget config cascade.
|
|
410
395
|
*
|
|
@@ -563,22 +548,6 @@ interface WidgetConfigInput {
|
|
|
563
548
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
564
549
|
*/
|
|
565
550
|
uiFramework?: UIFramework | null;
|
|
566
|
-
/**
|
|
567
|
-
* Which implementation a widget renders with.
|
|
568
|
-
*
|
|
569
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
570
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
571
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
572
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
573
|
-
* is read via `useImplementation`.
|
|
574
|
-
*
|
|
575
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
576
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
577
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
578
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
579
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
580
|
-
*/
|
|
581
|
-
implementation?: Implementation | null;
|
|
582
551
|
}
|
|
583
552
|
/**
|
|
584
553
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -418,21 +418,6 @@ declare const UIFramework: {
|
|
|
418
418
|
};
|
|
419
419
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
420
420
|
|
|
421
|
-
/**
|
|
422
|
-
* The implementation a widget renders with.
|
|
423
|
-
*
|
|
424
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
425
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
426
|
-
* - `monite` — the Monite SDK implementation.
|
|
427
|
-
*
|
|
428
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
429
|
-
* convention.
|
|
430
|
-
*/
|
|
431
|
-
declare const Implementation: {
|
|
432
|
-
readonly Native: "native";
|
|
433
|
-
readonly Monite: "monite";
|
|
434
|
-
};
|
|
435
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
436
421
|
/**
|
|
437
422
|
* The settable fields of the widget config cascade.
|
|
438
423
|
*
|
|
@@ -591,22 +576,6 @@ interface WidgetConfigInput {
|
|
|
591
576
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
592
577
|
*/
|
|
593
578
|
uiFramework?: UIFramework | null;
|
|
594
|
-
/**
|
|
595
|
-
* Which implementation a widget renders with.
|
|
596
|
-
*
|
|
597
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
598
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
599
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
600
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
601
|
-
* is read via `useImplementation`.
|
|
602
|
-
*
|
|
603
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
604
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
605
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
606
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
607
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
608
|
-
*/
|
|
609
|
-
implementation?: Implementation | null;
|
|
610
579
|
}
|
|
611
580
|
/**
|
|
612
581
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -716,7 +685,7 @@ interface LinkedAccountsWidgetProps extends WidgetProviderProps {
|
|
|
716
685
|
labels?: Partial<Labels>;
|
|
717
686
|
featureLabels?: Partial<FeatureLabels>;
|
|
718
687
|
}
|
|
719
|
-
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
688
|
+
declare function LinkedAccountsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
|
|
720
689
|
|
|
721
690
|
export { LinkedAccountsWidget };
|
|
722
691
|
export type { FeatureLabels as LinkedAccountsWidgetFeatureLabels, Labels as LinkedAccountsWidgetLabels, LinkedAccountsWidgetProps };
|
|
@@ -404,21 +404,6 @@ declare const UIFramework: {
|
|
|
404
404
|
};
|
|
405
405
|
type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
|
|
406
406
|
|
|
407
|
-
/**
|
|
408
|
-
* The implementation a widget renders with.
|
|
409
|
-
*
|
|
410
|
-
* - `native` — the Tesouro-native implementation. This is the default and the
|
|
411
|
-
* implicit fallback, so consumers that select nothing keep rendering native.
|
|
412
|
-
* - `monite` — the Monite SDK implementation.
|
|
413
|
-
*
|
|
414
|
-
* Declared as an `as const` object (not a TypeScript `enum`) per repo
|
|
415
|
-
* convention.
|
|
416
|
-
*/
|
|
417
|
-
declare const Implementation: {
|
|
418
|
-
readonly Native: "native";
|
|
419
|
-
readonly Monite: "monite";
|
|
420
|
-
};
|
|
421
|
-
type Implementation = (typeof Implementation)[keyof typeof Implementation];
|
|
422
407
|
/**
|
|
423
408
|
* The settable fields of the widget config cascade.
|
|
424
409
|
*
|
|
@@ -577,22 +562,6 @@ interface WidgetConfigInput {
|
|
|
577
562
|
* `shadcn` is the implicit default, so existing consumers need no changes.
|
|
578
563
|
*/
|
|
579
564
|
uiFramework?: UIFramework | null;
|
|
580
|
-
/**
|
|
581
|
-
* Which implementation a widget renders with.
|
|
582
|
-
*
|
|
583
|
-
* Lets a consuming context bind widgets to either the Tesouro-native or the
|
|
584
|
-
* Monite SDK implementation behind the same outward-facing API. It cascades
|
|
585
|
-
* through the provider tree exactly like {@link linkComponent} and
|
|
586
|
-
* {@link uiFramework} — provider prop > nearest ancestor > global store — and
|
|
587
|
-
* is read via `useImplementation`.
|
|
588
|
-
*
|
|
589
|
-
* - `'native'` — the Tesouro-native implementation.
|
|
590
|
-
* - `'monite'` — the Monite SDK implementation.
|
|
591
|
-
* - `null` / `undefined` — not set at this level; inherit from the nearest
|
|
592
|
-
* ancestor or global store, falling back to `native` when unset everywhere.
|
|
593
|
-
* `native` is the implicit default, so existing consumers need no changes.
|
|
594
|
-
*/
|
|
595
|
-
implementation?: Implementation | null;
|
|
596
565
|
}
|
|
597
566
|
/**
|
|
598
567
|
* Props shared by every analytics-owner-capable widget provider.
|
|
@@ -755,7 +724,7 @@ type OfferWidgetProps = WidgetProviderProps & InnerProps;
|
|
|
755
724
|
* normal offer. A `DENIED` message hides itself 30 days after the denial, and
|
|
756
725
|
* a status this widget does not know hides the card.
|
|
757
726
|
*/
|
|
758
|
-
declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent,
|
|
727
|
+
declare function OfferWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: OfferWidgetProps): React.JSX.Element;
|
|
759
728
|
|
|
760
729
|
export { OFFER_WIDGET_LABELS_EN, OFFER_WIDGET_STATUS_LABELS_EN, OfferBenefitIcon, OfferWidget };
|
|
761
730
|
export type { OfferStatusLabelValues, OfferStatusNoticeLabels, OfferWidgetBenefit, OfferWidgetContent, OfferWidgetHowItWorksStep, OfferWidgetImage, OfferWidgetLabels, OfferWidgetProps, OfferWidgetStatusLabels };
|