@zeniai/web-components 4.2.57-betaRD1 → 4.2.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 (44) hide show
  1. package/dist/{SessionTimeoutPopup-XUjYQHVf.js → SessionTimeoutPopup-BaWk0H3P.js} +69197 -70227
  2. package/dist/{SessionTimeoutPopup-CYNDlskA.cjs → SessionTimeoutPopup-BeIYyQMz.cjs} +14196 -14529
  3. package/dist/appLocale.d.ts +0 -59
  4. package/dist/cockpit.cjs.js +1 -1
  5. package/dist/cockpit.esm.js +2 -2
  6. package/dist/components/aiCfo/components/helpers/aiCfoAnswerHelpers.d.ts +1 -24
  7. package/dist/components/common/allNavBars/statusSwitcher/switcherTypes.d.ts +0 -1
  8. package/dist/components/expenseAutomation/ExpenseAutomationPage.d.ts +2 -2
  9. package/dist/components/expenseAutomation/components/NavBarWithHeader.d.ts +5 -6
  10. package/dist/components/expenseAutomation/components/navbarHeaderData.d.ts +3 -2
  11. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleAccountSettings.d.ts → JEScheduleAccountSettings.d.ts} +2 -2
  12. package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleListWrapperRow.d.ts → JEScheduleListWrapperRow.d.ts} +4 -6
  13. package/dist/components/expenseAutomation/sections/jeSchedules/JESchedulePage.d.ts +4 -4
  14. package/dist/components/expenseAutomation/sections/jeSchedules/JEScheduleReadOnlyListRow.d.ts +13 -0
  15. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleResolveComponent.d.ts → JEScheduleResolveComponent.d.ts} +3 -3
  16. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleResolveListRow.d.ts → JEScheduleResolveListRow.d.ts} +3 -3
  17. package/dist/components/expenseAutomation/sections/jeSchedules/{sections/JESchedulesSection.d.ts → JESchedulesList.d.ts} +15 -15
  18. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeSchedule.helpers.d.ts → jeSchedule.helpers.d.ts} +1 -1
  19. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleConfig.d.ts → jeScheduleConfig.d.ts} +7 -10
  20. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleListRow.helpers.d.ts → jeScheduleListRow.helpers.d.ts} +1 -1
  21. package/dist/index.cjs.js +1 -1
  22. package/dist/index.d.ts +2 -2
  23. package/dist/index.esm.js +1 -1
  24. package/dist/strings/strings.d.ts +0 -59
  25. package/package.json +2 -2
  26. package/dist/components/aiCfo/components/helpers/aiCfoAnswerHelpers.test.d.ts +0 -1
  27. package/dist/components/expenseAutomation/sections/jeSchedules/JESchedulePageSkeleton.d.ts +0 -5
  28. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEExistingKpiStrip.d.ts +0 -7
  29. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEGroupSectionHeader.d.ts +0 -10
  30. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEKpiStrip.d.ts +0 -8
  31. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEScheduleLifecycle.d.ts +0 -10
  32. package/dist/components/expenseAutomation/sections/jeSchedules/common/JETypeFilterBar.d.ts +0 -8
  33. package/dist/components/expenseAutomation/sections/jeSchedules/common/jeScheduleKpiHelpers.d.ts +0 -4
  34. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleGroupList.d.ts +0 -51
  35. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleLifecycleCell.d.ts +0 -9
  36. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleReadOnlyListRow.d.ts +0 -14
  37. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JEExistingSection.d.ts +0 -19
  38. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JESummarySection.d.ts +0 -7
  39. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleDraftComponent.d.ts → JEScheduleDraftComponent.d.ts} +0 -0
  40. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleDraftListRow.d.ts → JEScheduleDraftListRow.d.ts} +0 -0
  41. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleRecommendationIcon.d.ts → JEScheduleRecommendationIcon.d.ts} +0 -0
  42. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/JESchedulesListEmptyTable.d.ts → JESchedulesListEmptyTable.d.ts} +0 -0
  43. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/common.d.ts → common.d.ts} +0 -0
  44. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleListRow.helpers.test.d.ts → jeScheduleListRow.helpers.test.d.ts} +0 -0
@@ -9464,18 +9464,6 @@ export declare const zeniStrings: {
9464
9464
  accumulatedCategory: string;
9465
9465
  transactionDate: string;
9466
9466
  memo: string;
9467
- entry: string;
9468
- item: string;
9469
- method: string;
9470
- lifecycle: string;
9471
- date: string;
9472
- amount: string;
9473
- account: string;
9474
- reversesOn: string;
9475
- scheduledAndPosted: string;
9476
- aiAccountant: string;
9477
- manualEntry: string;
9478
- schedulePeriod: string;
9479
9467
  };
9480
9468
  scheduleTypes: {
9481
9469
  prepaid_expenses: string;
@@ -9483,64 +9471,17 @@ export declare const zeniStrings: {
9483
9471
  accrued_expenses: string;
9484
9472
  deferred_revenue: string;
9485
9473
  };
9486
- lifecycleLabel: {
9487
- prepaid_expenses: string;
9488
- fixed_assets: string;
9489
- accrued_expenses: string;
9490
- deferred_revenue: string;
9491
- };
9492
9474
  tooltipText: {
9493
9475
  missingVendor: string;
9494
9476
  missingCategory: string;
9495
9477
  missingDepCategory: string;
9496
9478
  };
9497
- revert: string;
9498
9479
  addCategory: string;
9499
9480
  addDepCategory: string;
9500
9481
  aiBotEmail: string;
9501
9482
  botEmail: string;
9502
9483
  aiAccountant: string;
9503
9484
  zeniGPTText: string;
9504
- kpiStrip: {
9505
- aiAccountant: string;
9506
- manual: string;
9507
- needsReview: string;
9508
- schedules: string;
9509
- total: string;
9510
- };
9511
- typeFilter: {
9512
- all: string;
9513
- prepaid_expenses: string;
9514
- fixed_assets: string;
9515
- accrued_expenses: string;
9516
- deferred_revenue: string;
9517
- };
9518
- groups: {
9519
- created: string;
9520
- createdInsight: string;
9521
- pendingReview: string;
9522
- pendingReviewInsight: string;
9523
- };
9524
- tabs: {
9525
- schedules: string;
9526
- existingSchedules: string;
9527
- };
9528
- existingSchedules: {
9529
- downloadCompletedSchedules: string;
9530
- kpi: {
9531
- ongoingSchedules: string;
9532
- monthlyPosting: string;
9533
- remainingBalance: string;
9534
- toDepreciateAmortize: string;
9535
- posted: string;
9536
- typeAbbreviations: {
9537
- fixed_assets: string;
9538
- prepaid_expenses: string;
9539
- deferred_revenue: string;
9540
- accrued_expenses: string;
9541
- };
9542
- };
9543
- };
9544
9485
  };
9545
9486
  missingReceipts: {
9546
9487
  searchPlaceholder: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.2.57-betaRD1",
3
+ "version": "4.2.57",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -50,7 +50,7 @@
50
50
  "@stripe/react-stripe-js": "^2.7.3",
51
51
  "@stripe/stripe-js": "^4.4.0",
52
52
  "@zeniai/client-analytics": "2.0.45",
53
- "@zeniai/client-epic-state": "5.1.51-betaRD1",
53
+ "@zeniai/client-epic-state": "5.1.51",
54
54
  "autosuggest-highlight": "^3.2.1",
55
55
  "browser-image-compression": "^2.0.2",
56
56
  "countries-list": "^2.6.1",
@@ -1,5 +0,0 @@
1
- export interface JESchedulePageSkeletonProps {
2
- isAccountingClassesEnabled: boolean;
3
- }
4
- export declare function JESchedulesTabSkeleton({ isAccountingClassesEnabled, }: Readonly<JESchedulePageSkeletonProps>): import("react/jsx-runtime").JSX.Element;
5
- export declare function JEExistingSchedulesTabSkeleton({ isAccountingClassesEnabled, }: Readonly<JESchedulePageSkeletonProps>): import("react/jsx-runtime").JSX.Element;
@@ -1,7 +0,0 @@
1
- import { JEKpiSummary, JEScheduledTransaction } from '@zeniai/client-epic-state';
2
- export interface JEExistingKpiStripProps {
3
- kpiSummary: JEKpiSummary;
4
- ongoingSchedules: JEScheduledTransaction[];
5
- }
6
- declare function JEExistingKpiStrip({ kpiSummary, ongoingSchedules, }: Readonly<JEExistingKpiStripProps>): import("react/jsx-runtime").JSX.Element;
7
- export default JEExistingKpiStrip;
@@ -1,10 +0,0 @@
1
- export interface JEGroupSectionHeaderProps {
2
- count: number;
3
- isCollapsed: boolean;
4
- title: string;
5
- amount?: number;
6
- insightText?: string;
7
- onToggle: () => void;
8
- }
9
- declare function JEGroupSectionHeader({ title, count, isCollapsed, amount, insightText, onToggle, }: Readonly<JEGroupSectionHeaderProps>): import("react/jsx-runtime").JSX.Element;
10
- export default JEGroupSectionHeader;
@@ -1,8 +0,0 @@
1
- import { JEKpiSummary, JEScheduledTransaction, JEScheduledTransactionWithFailedEntries } from '@zeniai/client-epic-state';
2
- type JEScheduleOrFailedEntry = JEScheduledTransaction | JEScheduledTransactionWithFailedEntries;
3
- export interface JEKpiStripProps {
4
- kpiSummary: JEKpiSummary;
5
- schedules: JEScheduleOrFailedEntry[];
6
- }
7
- declare function JEKpiStrip({ kpiSummary, schedules }: Readonly<JEKpiStripProps>): import("react/jsx-runtime").JSX.Element;
8
- export default JEKpiStrip;
@@ -1,10 +0,0 @@
1
- import { ScheduleTypes } from '@zeniai/client-epic-state';
2
- export declare const LIFECYCLE_COLUMN_WIDTH_PX: number;
3
- export interface JEScheduleLifecycleProps {
4
- posted: number;
5
- scheduleType: ScheduleTypes;
6
- total: number;
7
- forcePostedLabel?: boolean;
8
- }
9
- declare const JEScheduleLifecycle: ({ forcePostedLabel, posted, scheduleType, total, }: JEScheduleLifecycleProps) => import("react/jsx-runtime").JSX.Element;
10
- export default JEScheduleLifecycle;
@@ -1,8 +0,0 @@
1
- import { ScheduleTypes } from '@zeniai/client-epic-state';
2
- export interface JETypeFilterBarProps {
3
- counts: Partial<Record<ScheduleTypes, number>>;
4
- selectedFilter: ScheduleTypes | null;
5
- onFilterChange: (filter: ScheduleTypes | null) => void;
6
- }
7
- declare function JETypeFilterBar({ counts, selectedFilter, onFilterChange, }: Readonly<JETypeFilterBarProps>): import("react/jsx-runtime").JSX.Element;
8
- export default JETypeFilterBar;
@@ -1,4 +0,0 @@
1
- import { JEScheduledTransaction } from '@zeniai/client-epic-state';
2
- export declare const KPI_TILE_BREAKDOWN_PLACEHOLDER = "\u00A0";
3
- export declare function formatAmount(amount: number): string;
4
- export declare function buildTypeBreakdown(schedules: JEScheduledTransaction[], abbreviations: Record<string, string>): string;
@@ -1,51 +0,0 @@
1
- import { MouseEvent } from 'react';
2
- import { ExpenseAutomationJESchedulesViewSelector, ID, JEScheduleTransactionKey, JEScheduledTransaction, ScheduleTypes } from '@zeniai/client-epic-state';
3
- import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
4
- import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
5
- import { JEScheduleHeaderItemData } from './jeScheduleConfig';
6
- export type SortDirection = "asc" | "desc";
7
- export interface SortState {
8
- columnKey: string;
9
- direction: SortDirection;
10
- }
11
- export interface JEScheduleGroupListItemData {
12
- accountListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["accountListNestedAccountHierarchy"];
13
- allAccountList: ExpenseAutomationJESchedulesViewSelector["allAccountList"];
14
- allDepreciationAccountList: ExpenseAutomationJESchedulesViewSelector["allDepreciationAccountList"];
15
- allDepreciationAccountListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["allDepreciationAccountListNestedAccountHierarchy"];
16
- classListNestedAccountHierarchy: ExpenseAutomationJESchedulesViewSelector["classListNestedAccountHierarchy"];
17
- ignoreStatusById: ExpenseAutomationJESchedulesViewSelector["ignoreStatusById"];
18
- isJEScheduleCOTEnabled: boolean;
19
- localDataByID: ExpenseAutomationJESchedulesViewSelector["jeScheduleLocalDataById"];
20
- postStatusById: ExpenseAutomationJESchedulesViewSelector["postStatusById"];
21
- uncategorizedAccounts: ExpenseAutomationJESchedulesViewSelector["uncategorizedAccounts"];
22
- vendorSearchAutoCompleteActions: AutoCompleteActions;
23
- vendorSearchAutoCompleteData: AutoCompleteData;
24
- forcePostedLabel?: boolean;
25
- handleJeScheduleClick: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
26
- ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
27
- jeScheduleClickHandler: (event: MouseEvent<HTMLDivElement>, jeScheduleId: ID, jescheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
28
- onJESchedulesFormDataChange: (scheduleJournalEntryId: ID, localData: JEScheduleResolveComponentFormData) => void;
29
- onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
30
- onReviewClickHandler: (jeScheduleId: ID, jescheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
31
- onConfirmCategoryRecommendation?: (jeScheduleTransactionKey: JEScheduleTransactionKey, recommendedCategoryId: ID) => void;
32
- onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
33
- }
34
- export interface JEScheduleGroupListProps {
35
- activeHeaderItems: JEScheduleHeaderItemData[];
36
- count: number;
37
- data: JEScheduledTransaction[];
38
- isCollapsed: boolean;
39
- isPendingReview: boolean;
40
- listItemData: JEScheduleGroupListItemData;
41
- sortState: SortState;
42
- testIdSuffix: string;
43
- title: string;
44
- amount?: number;
45
- hideGroupHeader?: boolean;
46
- insightText?: string;
47
- onHeaderClick: (col: JEScheduleHeaderItemData) => void;
48
- onToggle: () => void;
49
- }
50
- declare function JEScheduleGroupList({ activeHeaderItems, amount, count, data, hideGroupHeader, insightText, isCollapsed, isPendingReview, listItemData, sortState, testIdSuffix, title, onHeaderClick, onToggle, }: Readonly<JEScheduleGroupListProps>): import("react/jsx-runtime").JSX.Element;
51
- export default JEScheduleGroupList;
@@ -1,9 +0,0 @@
1
- import { ScheduleTypes, ScheduledJournalEntry, ZeniDate } from '@zeniai/client-epic-state';
2
- interface JEScheduleLifecycleCellProps {
3
- scheduledJournalEntry: ScheduledJournalEntry[];
4
- endDate?: ZeniDate;
5
- jeScheduleType?: ScheduleTypes;
6
- period?: number;
7
- }
8
- declare const JEScheduleLifecycleCell: ({ endDate, jeScheduleType, period, scheduledJournalEntry, }: JEScheduleLifecycleCellProps) => import("react/jsx-runtime").JSX.Element;
9
- export default JEScheduleLifecycleCell;
@@ -1,14 +0,0 @@
1
- import { ID, JEScheduleTransactionKey, JEScheduledTransaction, ScheduleTypes } from '@zeniai/client-epic-state';
2
- import { JEScheduleColumnKey } from './jeScheduleConfig';
3
- export interface JEScheduleReadOnlyListRowProps {
4
- dataListColumnKey: JEScheduleColumnKey;
5
- isJEScheduleCOTEnabled: boolean;
6
- row: JEScheduledTransaction;
7
- forcePostedLabel?: boolean;
8
- recommendedCategoryName?: string;
9
- recommendedClassName?: string;
10
- recommendedDepCategoryName?: string;
11
- onRevertJeSchedule?: (jeScheduleId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
12
- }
13
- declare const _default: import('react').MemoExoticComponent<({ dataListColumnKey, forcePostedLabel, isJEScheduleCOTEnabled, onRevertJeSchedule, recommendedCategoryName, recommendedClassName, recommendedDepCategoryName, row, }: JEScheduleReadOnlyListRowProps) => import("react/jsx-runtime").JSX.Element | null>;
14
- export default _default;
@@ -1,19 +0,0 @@
1
- import { ExpenseAutomationJESchedulesViewSelector, ID, JEScheduleTransactionKey, ScheduleTypes } from '@zeniai/client-epic-state';
2
- import { AutoCompleteActions, AutoCompleteData } from '../../../../common/autoComplete/autoCompleteProps';
3
- import { FooterFormIdType } from '../../../common';
4
- import { JEScheduleResolveComponentFormData } from '../common/JEScheduleResolveComponent';
5
- export interface JEExistingSectionProps {
6
- isAccountingClassesEnabled: boolean;
7
- isJEScheduleCOTEnabled: boolean;
8
- jeSchedules: ExpenseAutomationJESchedulesViewSelector;
9
- vendorSearchAutoCompleteActions: AutoCompleteActions;
10
- vendorSearchAutoCompleteData: AutoCompleteData;
11
- handleJeScheduleClick: (jeScheduleId: ID, jeScheduleKey: JEScheduleTransactionKey, jeScheduleType: ScheduleTypes) => void;
12
- ignoreRecommendedJeSchedule: (jeScheduleTransactionKey: JEScheduleTransactionKey, scheduleType: ScheduleTypes) => void;
13
- onJESchedulesFormDataChange: (scheduleJournalEntryId: ID, localData: JEScheduleResolveComponentFormData) => void;
14
- onPostJESchedule: (scheduledJournalEntryId: ID, jeScheduleTransactionKey: JEScheduleTransactionKey) => void;
15
- onUpdateJEScheduleTypeFilter: (filter: ScheduleTypes | null) => void;
16
- setCurrentFooterFormId: (formId: FooterFormIdType) => void;
17
- }
18
- declare function JEExistingSection({ isAccountingClassesEnabled, isJEScheduleCOTEnabled, jeSchedules, vendorSearchAutoCompleteActions, vendorSearchAutoCompleteData, handleJeScheduleClick, ignoreRecommendedJeSchedule, onJESchedulesFormDataChange, onPostJESchedule, onUpdateJEScheduleTypeFilter, }: Readonly<JEExistingSectionProps>): import("react/jsx-runtime").JSX.Element;
19
- export default JEExistingSection;
@@ -1,7 +0,0 @@
1
- import { JEKpiSummary, JEScheduledTransaction, JEScheduledTransactionWithFailedEntries } from '@zeniai/client-epic-state';
2
- export interface JESummarySectionProps {
3
- kpiSummary: JEKpiSummary;
4
- schedules: (JEScheduledTransaction | JEScheduledTransactionWithFailedEntries)[];
5
- }
6
- declare function JESummarySection({ kpiSummary, schedules, }: Readonly<JESummarySectionProps>): import("react/jsx-runtime").JSX.Element;
7
- export default JESummarySection;