@tesouro/embedded-components-react 0.7.53 → 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.
Files changed (76) hide show
  1. package/README.md +13 -3
  2. package/dist/experimental/RemoteCheckCapture.d.ts +1 -32
  3. package/dist/experimental/index.d.ts +1 -32
  4. package/dist/index.css +12 -0
  5. package/dist/index.d.ts +58 -47
  6. package/dist/index.js +47 -46
  7. package/dist/lib/AcceptDisclosuresWidget.d.ts +1 -32
  8. package/dist/lib/BalancesWidget.d.ts +0 -31
  9. package/dist/lib/BankAccountOnboardingWidget.d.ts +1 -32
  10. package/dist/lib/BankAccountsWidget.d.ts +1 -32
  11. package/dist/lib/BankingComplianceBannerWidget.d.ts +643 -0
  12. package/dist/lib/BankingComplianceBannerWidget.js +5 -0
  13. package/dist/lib/BillPayWidget.d.ts +0 -31
  14. package/dist/lib/CardDetailsWidget.d.ts +1 -32
  15. package/dist/lib/CounterpartsWidget.d.ts +0 -31
  16. package/dist/lib/CounterpartsWidgetPublic.d.ts +0 -31
  17. package/dist/lib/CreditCardsWidget.d.ts +0 -31
  18. package/dist/lib/CustomersWidget.d.ts +1 -33
  19. package/dist/lib/DebitCardsWidget.d.ts +0 -31
  20. package/dist/lib/ExpenseManagementWidget.d.ts +0 -31
  21. package/dist/lib/InsightsWidget.d.ts +0 -31
  22. package/dist/lib/LinkedAccountsWidget.d.ts +1 -32
  23. package/dist/lib/OfferWidget.d.ts +1 -32
  24. package/dist/lib/ProductsWidget.d.ts +1 -32
  25. package/dist/lib/ReceivablesWidget.d.ts +1 -32
  26. package/dist/lib/SettingsWidget.d.ts +0 -31
  27. package/dist/lib/TransfersWidget.d.ts +0 -31
  28. package/dist/lib/WidgetProvider.d.ts +2 -33
  29. package/dist/lib/WidgetProvider.js +9 -10
  30. package/dist/lib/WidgetProviderPublic.d.ts +0 -31
  31. package/dist/lib/WidgetSuite.d.ts +1 -32
  32. package/dist/libs/tesouro-embedded-components-react/accept-disclosures-widget/feature/dist/lib/AcceptDisclosuresWidget/AcceptDisclosuresWidget.js +8 -9
  33. package/dist/libs/tesouro-embedded-components-react/bank-account-onboarding-widget/feature/dist/lib/BankAccountOnboardingWidget/BankAccountOnboardingWidget.js +395 -396
  34. package/dist/libs/tesouro-embedded-components-react/bank-accounts-widget/feature/dist/lib/BankAccountsWidget/BankAccountsWidget.js +8 -9
  35. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index.js +3 -0
  36. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index2.js +7 -0
  37. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/data-access/dist/index3.js +42 -0
  38. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/index.js +4 -0
  39. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/BankingComplianceBannerWidget.js +52 -0
  40. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/BankingComplianceBannerWidget/isFdicBacked.js +8 -0
  41. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/analytics/events.js +4 -0
  42. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/feature/dist/lib/testIds.js +10 -0
  43. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index.js +3 -0
  44. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index2.js +40 -0
  45. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index3.js +10 -0
  46. package/dist/libs/tesouro-embedded-components-react/banking-compliance-banner-widget/ui/dist/index4.js +60 -0
  47. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-detail/feature/dist/index48.js +16 -18
  48. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bill-upload/feature/dist/index8.js +8 -9
  49. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/bills-list/feature/dist/index20.js +8 -9
  50. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/feature/dist/lib/BillPayWidget/BillPayWidget.js +8 -9
  51. package/dist/libs/tesouro-embedded-components-react/bill-pay-widget/pay-bill/feature/dist/index14.js +8 -9
  52. package/dist/libs/tesouro-embedded-components-react/card-details-widget/feature/dist/lib/CardDetailsWidget.js +83 -84
  53. package/dist/libs/tesouro-embedded-components-react/cards-widget/create-card/feature/dist/index8.js +15 -16
  54. package/dist/libs/tesouro-embedded-components-react/cards-widget/feature/dist/lib/CardsWidget.js +8 -9
  55. package/dist/libs/tesouro-embedded-components-react/counterparts-widget/feature/dist/lib/CounterpartsWidget/CounterpartsWidget.js +9 -10
  56. package/dist/libs/tesouro-embedded-components-react/invoicing-widget/feature/dist/lib/ReceivablesWidget/ReceivablesWidget.js +25 -26
  57. package/dist/libs/tesouro-embedded-components-react/linked-accounts-widget/feature/dist/lib/LinkedAccountsWidget.js +8 -9
  58. package/dist/libs/tesouro-embedded-components-react/offer-widget/feature/dist/lib/OfferWidget/OfferWidget.js +8 -9
  59. package/dist/libs/tesouro-embedded-components-react/products-widget/feature/dist/lib/ProductsWidget/ProductsWidget.js +8 -9
  60. package/dist/libs/tesouro-embedded-components-react/remote-check-capture/feature/dist/lib/RemoteCheckCaptureWidget/RemoteCheckCaptureWidget.js +9 -10
  61. package/dist/libs/tesouro-embedded-components-react/settings-widget/chart-of-accounts/feature/dist/index8.js +8 -9
  62. package/dist/libs/tesouro-embedded-components-react/settings-widget/help/feature/dist/index3.js +8 -9
  63. package/dist/libs/tesouro-embedded-components-react/settings-widget/invoice-settings/feature/dist/index10.js +9 -10
  64. package/dist/libs/tesouro-embedded-components-react/settings-widget/profile/feature/dist/index4.js +8 -9
  65. package/dist/libs/tesouro-embedded-components-react/settings-widget/team/feature/dist/index17.js +8 -9
  66. package/dist/libs/tesouro-embedded-components-react/shared/bank-disclosures/feature/dist/lib/BankDisclosuresWidget/BankDisclosuresWidget.js +8 -9
  67. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/index.js +16 -17
  68. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/RootWidgetProvider.js +45 -49
  69. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/WidgetProvider.js +91 -95
  70. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/hooks.js +0 -1
  71. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/index.js +0 -1
  72. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/isDisclosuresAcceptanceRequired.js +2 -1
  73. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/analytics/build-info.js +1 -1
  74. package/dist/libs/tesouro-embedded-components-react/widget-suite/feature/dist/lib/WidgetSuite/WidgetSuite.js +120 -121
  75. package/package.json +1 -1
  76. package/dist/libs/tesouro-embedded-components-react/shared/feature/dist/lib/WidgetProvider/types.js +0 -8
@@ -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, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: CardDetailsWidgetProps): React.JSX.Element;
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. There is no Monite build any more, so
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, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: LinkedAccountsWidgetProps): React.JSX.Element;
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, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: OfferWidgetProps): React.JSX.Element;
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 };
@@ -353,21 +353,6 @@ declare const UIFramework: {
353
353
  };
354
354
  type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
355
355
 
356
- /**
357
- * The implementation a widget renders with.
358
- *
359
- * - `native` — the Tesouro-native implementation. This is the default and the
360
- * implicit fallback, so consumers that select nothing keep rendering native.
361
- * - `monite` — the Monite SDK implementation.
362
- *
363
- * Declared as an `as const` object (not a TypeScript `enum`) per repo
364
- * convention.
365
- */
366
- declare const Implementation: {
367
- readonly Native: "native";
368
- readonly Monite: "monite";
369
- };
370
- type Implementation = (typeof Implementation)[keyof typeof Implementation];
371
356
  /**
372
357
  * The settable fields of the widget config cascade.
373
358
  *
@@ -526,22 +511,6 @@ interface WidgetConfigInput {
526
511
  * `shadcn` is the implicit default, so existing consumers need no changes.
527
512
  */
528
513
  uiFramework?: UIFramework | null;
529
- /**
530
- * Which implementation a widget renders with.
531
- *
532
- * Lets a consuming context bind widgets to either the Tesouro-native or the
533
- * Monite SDK implementation behind the same outward-facing API. It cascades
534
- * through the provider tree exactly like {@link linkComponent} and
535
- * {@link uiFramework} — provider prop > nearest ancestor > global store — and
536
- * is read via `useImplementation`.
537
- *
538
- * - `'native'` — the Tesouro-native implementation.
539
- * - `'monite'` — the Monite SDK implementation.
540
- * - `null` / `undefined` — not set at this level; inherit from the nearest
541
- * ancestor or global store, falling back to `native` when unset everywhere.
542
- * `native` is the implicit default, so existing consumers need no changes.
543
- */
544
- implementation?: Implementation | null;
545
514
  }
546
515
  /**
547
516
  * Props shared by every analytics-owner-capable widget provider.
@@ -815,7 +784,7 @@ type ProductsWidgetProps = WidgetProviderProps & ProductsWidgetOwnProps;
815
784
  * <ProductsWidget baseUrl="https://api.tesouro.com" widgetToken="wt_..." organizationId="org_..." />
816
785
  * ```
817
786
  */
818
- declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
787
+ declare function ProductsWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ProductsWidgetProps): React.JSX.Element;
819
788
 
820
789
  export { ProductsWidget };
821
790
  export type { MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductDeleteDialogLabels, ProductDetailsSheetLabels, ProductFormSheetLabels, ProductMessageLabels, ProductsScreenLabels, ProductsWidgetProps };
@@ -427,21 +427,6 @@ declare const UIFramework: {
427
427
  };
428
428
  type UIFramework = (typeof UIFramework)[keyof typeof UIFramework];
429
429
 
430
- /**
431
- * The implementation a widget renders with.
432
- *
433
- * - `native` — the Tesouro-native implementation. This is the default and the
434
- * implicit fallback, so consumers that select nothing keep rendering native.
435
- * - `monite` — the Monite SDK implementation.
436
- *
437
- * Declared as an `as const` object (not a TypeScript `enum`) per repo
438
- * convention.
439
- */
440
- declare const Implementation: {
441
- readonly Native: "native";
442
- readonly Monite: "monite";
443
- };
444
- type Implementation = (typeof Implementation)[keyof typeof Implementation];
445
430
  /**
446
431
  * The settable fields of the widget config cascade.
447
432
  *
@@ -600,22 +585,6 @@ interface WidgetConfigInput {
600
585
  * `shadcn` is the implicit default, so existing consumers need no changes.
601
586
  */
602
587
  uiFramework?: UIFramework | null;
603
- /**
604
- * Which implementation a widget renders with.
605
- *
606
- * Lets a consuming context bind widgets to either the Tesouro-native or the
607
- * Monite SDK implementation behind the same outward-facing API. It cascades
608
- * through the provider tree exactly like {@link linkComponent} and
609
- * {@link uiFramework} — provider prop > nearest ancestor > global store — and
610
- * is read via `useImplementation`.
611
- *
612
- * - `'native'` — the Tesouro-native implementation.
613
- * - `'monite'` — the Monite SDK implementation.
614
- * - `null` / `undefined` — not set at this level; inherit from the nearest
615
- * ancestor or global store, falling back to `native` when unset everywhere.
616
- * `native` is the implicit default, so existing consumers need no changes.
617
- */
618
- implementation?: Implementation | null;
619
588
  }
620
589
  /**
621
590
  * Props shared by every analytics-owner-capable widget provider.
@@ -1739,7 +1708,7 @@ interface ReceivablesWidgetOwnProps {
1739
1708
 
1740
1709
  type ReceivablesWidgetProps = WidgetProviderProps & ReceivablesWidgetOwnProps;
1741
1710
 
1742
- declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, implementation, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
1711
+ declare function ReceivablesWidget({ baseUrl, widgetToken, organizationId, configClient, gatewayRouting, linkComponent, uiFramework, errorFallback, onError, analytics, disclosuresAcceptance, providerLabels, ...innerProps }: ReceivablesWidgetProps): React.JSX.Element;
1743
1712
 
1744
1713
  export { ReceivablesWidget };
1745
1714
  export type { CounterpartFormSheetLabels, CounterpartMessageLabels, InvoicesFilterBarLabelOverrides, InvoicesFilterBarLabels, InvoicesFilterLabelOverrides, InvoicesFilterLabels, MeasureUnitDeleteDialogLabels, MeasureUnitsManagerLabels, ProductFormSheetLabels, ProductMessageLabels, ReceivableActionDialogLabels, ReceivableActionsModalLabels, ReceivableAuditHistoryLabels, ReceivableBankAttribution, ReceivableDetailsPanelLabelOverrides, ReceivableDetailsPanelLabels, ReceivableDocumentType, ReceivableFormDialogLabels, ReceivableFormSheetLabels, ReceivableMessageLabels, ReceivablePaymentDialogLabels, ReceivablePreviewLabels, ReceivableStatusBadgeLabels, ReceivablesScreenLabelOverrides, ReceivablesScreenLabels, ReceivablesWidgetProps };