@zeniai/web-components 4.2.57 → 4.2.58

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 (29) hide show
  1. package/dist/{SessionTimeoutPopup-BeIYyQMz.cjs → SessionTimeoutPopup-D7OmR_Kn.cjs} +15973 -15121
  2. package/dist/{SessionTimeoutPopup-BaWk0H3P.js → SessionTimeoutPopup-RxbyvBdm.js} +74241 -72067
  3. package/dist/appLocale.d.ts +183 -0
  4. package/dist/cockpit.cjs.js +2 -2
  5. package/dist/cockpit.esm.js +317 -313
  6. package/dist/components/aiCfo/components/AiCfoInput.d.ts +0 -2
  7. package/dist/components/spendManagement/autoTransferRules/ExistingRulesSection.d.ts +7 -2
  8. package/dist/components/spendManagement/cashManagement/AutoSweepFlow.d.ts +69 -0
  9. package/dist/components/spendManagement/cashManagement/AutoSweepReviewPage.d.ts +39 -0
  10. package/dist/components/spendManagement/cashManagement/AutoSweepSetupPage.d.ts +37 -0
  11. package/dist/components/spendManagement/cashManagement/CashManagementBanner.d.ts +21 -0
  12. package/dist/components/spendManagement/cashManagement/CashManagementNavCTA.d.ts +14 -0
  13. package/dist/components/spendManagement/cashManagement/CashOverview.d.ts +47 -0
  14. package/dist/components/spendManagement/cashManagement/OutflowSection.d.ts +8 -0
  15. package/dist/components/spendManagement/cashManagement/SweepAmountCard.d.ts +8 -0
  16. package/dist/components/spendManagement/cashManagement/SweepFlowRow.d.ts +21 -0
  17. package/dist/components/spendManagement/cashManagement/skeletons/CashManagementBannerSkeleton.d.ts +6 -0
  18. package/dist/components/spendManagement/treasury/TreasuryNavBarPieces.d.ts +2 -1
  19. package/dist/components/spendManagement/treasury/TreasuryOverviewPage.d.ts +8 -0
  20. package/dist/components/spendManagement/zeniAccounts/ZeniAccountListViewPage.d.ts +9 -1
  21. package/dist/components/spendManagement/zeniAccounts/ZeniAccountNavBarPieces.d.ts +2 -1
  22. package/dist/context/featureProvider/FeatureGateNameConstants.d.ts +2 -0
  23. package/dist/index.cjs.js +1 -1
  24. package/dist/index.d.ts +9 -0
  25. package/dist/index.esm.js +345 -341
  26. package/dist/strings/strings.d.ts +183 -0
  27. package/package.json +3 -3
  28. package/dist/components/aiCfo/getLatestSuggestedReply.d.ts +0 -7
  29. package/dist/components/aiCfo/hooks/useFocusInputOnScrollToBottomHidden.d.ts +0 -8
@@ -6078,6 +6078,16 @@ export declare const zeniStrings: {
6078
6078
  moveFundsFrom: string;
6079
6079
  to: string;
6080
6080
  };
6081
+ autoSweepCard: {
6082
+ title: string;
6083
+ treasuryLabel: string;
6084
+ frequencyOptions: {
6085
+ daily: string;
6086
+ weekly: string;
6087
+ biweekly: string;
6088
+ monthly: string;
6089
+ };
6090
+ };
6081
6091
  frequencyLabel: string;
6082
6092
  nextTransferLabel: string;
6083
6093
  of: string;
@@ -7676,6 +7686,179 @@ export declare const zeniStrings: {
7676
7686
  termsLink: string;
7677
7687
  };
7678
7688
  };
7689
+ cashManagement: {
7690
+ navCTA: {
7691
+ label: string;
7692
+ ariaLabel: string;
7693
+ };
7694
+ banner: {
7695
+ notSetUp: {
7696
+ moveToTreasuryPrefix: string;
7697
+ moveToTreasurySuffix: string;
7698
+ toEarnPrefix: string;
7699
+ toEarnSuffix: string;
7700
+ approxPrefix: string;
7701
+ recommended: string;
7702
+ setUpAutoSweep: string;
7703
+ bufferIntroPrefix: string;
7704
+ bufferIntroAboveBuffer: string;
7705
+ bufferIntroSuffix: string;
7706
+ payrollProjectionPrefix: string;
7707
+ payrollProjectionAmountOpen: string;
7708
+ payrollProjectionAmountClose: string;
7709
+ payrollProjectionSuffix: string;
7710
+ ourAgentWill: string;
7711
+ features: {
7712
+ minimum: string;
7713
+ detect: string;
7714
+ consolidate: string;
7715
+ sweep: string;
7716
+ };
7717
+ };
7718
+ inProgress: {
7719
+ titlePrefix: string;
7720
+ titleSuffix: string;
7721
+ initiatedPrefix: string;
7722
+ pendingBadge: string;
7723
+ };
7724
+ transferStatusBadges: {
7725
+ initiated: string;
7726
+ scheduled: string;
7727
+ delayed: string;
7728
+ mfaRequired: string;
7729
+ consentRequired: string;
7730
+ problem: string;
7731
+ failed: string;
7732
+ canceled: string;
7733
+ completed: string;
7734
+ };
7735
+ pull: {
7736
+ movingBackPrefix: string;
7737
+ movingBackTo: string;
7738
+ autoTriggeredPrefix: string;
7739
+ scheduledBadge: string;
7740
+ resetsOnPrefix: string;
7741
+ resetsOnOutflowSuffix: string;
7742
+ resetsOnAccountSuffix: string;
7743
+ resetsOnFromTreasury: string;
7744
+ resetsOnBufferSuffix: string;
7745
+ };
7746
+ complete: {
7747
+ titlePrefix: string;
7748
+ titleSuffix: string;
7749
+ completeBadge: string;
7750
+ nextAutoSweepPrefix: string;
7751
+ };
7752
+ footer: {
7753
+ frequencyPrefix: string;
7754
+ defaultFrequencyLabel: string;
7755
+ defaultEstimatedDaysLabel: string;
7756
+ dotSeparator: string;
7757
+ };
7758
+ };
7759
+ sweepAmountCard: {
7760
+ title: string;
7761
+ coversLabel: string;
7762
+ sweepFrequencyLabel: string;
7763
+ daysSuffix: string;
7764
+ payrollAndBillsPrefix: string;
7765
+ payrollAndBillsSuffix: string;
7766
+ };
7767
+ sweepFlowRow: {
7768
+ moveFundsFrom: string;
7769
+ to: string;
7770
+ treasury: string;
7771
+ bubbleMorePrefix: string;
7772
+ };
7773
+ setupPage: {
7774
+ title: string;
7775
+ askAiCfo: string;
7776
+ sourceAccountsHeader: string;
7777
+ sweepAmountHeader: string;
7778
+ primaryAccount: string;
7779
+ descriptionPrefix: string;
7780
+ descriptionSuffix: string;
7781
+ riskLabel: string;
7782
+ riskAdditional: string;
7783
+ memoLabel: string;
7784
+ memoPlaceholder: string;
7785
+ frequencyLabel: string;
7786
+ frequencyAdditionalPrefix: string;
7787
+ bufferAmountSuffix: string;
7788
+ reviewSweep: string;
7789
+ viewMore: string;
7790
+ viewLess: string;
7791
+ riskOptions: {
7792
+ low: string;
7793
+ moderate: string;
7794
+ high: string;
7795
+ };
7796
+ frequencyOptions: {
7797
+ daily: string;
7798
+ weekly: string;
7799
+ biweekly: string;
7800
+ monthly: string;
7801
+ };
7802
+ };
7803
+ reviewPage: {
7804
+ title: string;
7805
+ askAiCfo: string;
7806
+ descriptionPrefix: string;
7807
+ descriptionMiddle: string;
7808
+ descriptionSuffix: string;
7809
+ defaultEstimatedDaysLabel: string;
7810
+ safetyCheck: string;
7811
+ risk: string;
7812
+ bufferCushion: string;
7813
+ bufferCushionPrefix: string;
7814
+ bufferCushionSuffix: string;
7815
+ operatingBalance: string;
7816
+ minimumRequired: string;
7817
+ confirmSweep: string;
7818
+ disclaimer: string;
7819
+ bufferAmountWrapPrefix: string;
7820
+ bufferAmountWrapSuffix: string;
7821
+ riskLabels: {
7822
+ low: string;
7823
+ moderate: string;
7824
+ high: string;
7825
+ };
7826
+ };
7827
+ overview: {
7828
+ title: string;
7829
+ tabs: {
7830
+ overview: string;
7831
+ autoTransferRules: string;
7832
+ };
7833
+ emptyAutoTransferRules: string;
7834
+ totalCash: string;
7835
+ cashBalance: string;
7836
+ treasury: string;
7837
+ cashFlow: string;
7838
+ outflows: string;
7839
+ inflows: string;
7840
+ cashBalanceProjection: string;
7841
+ cashBalanceProjectionSubtitle: string;
7842
+ alwaysInCheckingPrefix: string;
7843
+ todayLabel: string;
7844
+ legend: {
7845
+ expectedInflow: string;
7846
+ expectedOutflow: string;
7847
+ safetyBuffer: string;
7848
+ };
7849
+ bufferLabelPrefix: string;
7850
+ granularity: {
7851
+ daily: string;
7852
+ weekly: string;
7853
+ monthly: string;
7854
+ };
7855
+ outflowSection: {
7856
+ outflow: string;
7857
+ paymentDate: string;
7858
+ amount: string;
7859
+ };
7860
+ };
7861
+ };
7679
7862
  };
7680
7863
  taskManagement: {
7681
7864
  common: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.2.57",
3
+ "version": "4.2.58",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -49,8 +49,8 @@
49
49
  "@statsig/react-bindings": "^3.14.0",
50
50
  "@stripe/react-stripe-js": "^2.7.3",
51
51
  "@stripe/stripe-js": "^4.4.0",
52
- "@zeniai/client-analytics": "2.0.45",
53
- "@zeniai/client-epic-state": "5.1.51",
52
+ "@zeniai/client-analytics": "2.0.46",
53
+ "@zeniai/client-epic-state": "5.1.52",
54
54
  "autosuggest-highlight": "^3.2.1",
55
55
  "browser-image-compression": "^2.0.2",
56
56
  "countries-list": "^2.6.1",
@@ -1,7 +0,0 @@
1
- import { AiCfoQuestionWithAnswer } from '@zeniai/client-epic-state';
2
- /**
3
- * The answer-grounded `suggestedReply` from the most recent answer in the
4
- * session, or undefined when there is no answer yet / no suggestion. Used to
5
- * feed the composer's ghost-text autocomplete.
6
- */
7
- export declare const getLatestSuggestedReply: (questionAnswers: AiCfoQuestionWithAnswer[] | undefined) => string | undefined;
@@ -1,8 +0,0 @@
1
- /**
2
- * Drops the caret in the composer when the scroll-to-bottom button transitions
3
- * from shown to hidden (the user reached the bottom), so Tab / typing works
4
- * without a click. Skipped while an answer is streaming (textarea disabled) and
5
- * on a chat-session switch — where the restored scroll position can produce the
6
- * same shown→hidden transition without the user actually scrolling.
7
- */
8
- export declare const useFocusInputOnScrollToBottomHidden: (showScrollToBottom: boolean, isSubmitting: boolean, chatSessionId: string | undefined, setShouldFocusInput: (value: boolean) => void) => void;