@zeniai/web-components 4.2.55-betaRD4 → 4.2.55

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 (41) hide show
  1. package/dist/{SessionTimeoutPopup-gtWS19oL.cjs → SessionTimeoutPopup-Ctdfjt1e.cjs} +14660 -14946
  2. package/dist/{SessionTimeoutPopup-H2sJ0CMU.js → SessionTimeoutPopup-nPw4Ub12.js} +71765 -72652
  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/common/allNavBars/statusSwitcher/switcherTypes.d.ts +0 -1
  7. package/dist/components/expenseAutomation/ExpenseAutomationPage.d.ts +2 -2
  8. package/dist/components/expenseAutomation/components/NavBarWithHeader.d.ts +5 -6
  9. package/dist/components/expenseAutomation/components/navbarHeaderData.d.ts +3 -2
  10. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleAccountSettings.d.ts → JEScheduleAccountSettings.d.ts} +2 -2
  11. package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleListWrapperRow.d.ts → JEScheduleListWrapperRow.d.ts} +4 -6
  12. package/dist/components/expenseAutomation/sections/jeSchedules/JESchedulePage.d.ts +4 -4
  13. package/dist/components/expenseAutomation/sections/jeSchedules/JEScheduleReadOnlyListRow.d.ts +13 -0
  14. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleResolveComponent.d.ts → JEScheduleResolveComponent.d.ts} +3 -3
  15. package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleResolveListRow.d.ts → JEScheduleResolveListRow.d.ts} +3 -3
  16. package/dist/components/expenseAutomation/sections/jeSchedules/{sections/JESchedulesSection.d.ts → JESchedulesList.d.ts} +15 -15
  17. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeSchedule.helpers.d.ts → jeSchedule.helpers.d.ts} +1 -1
  18. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleConfig.d.ts → jeScheduleConfig.d.ts} +7 -10
  19. package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleListRow.helpers.d.ts → jeScheduleListRow.helpers.d.ts} +1 -1
  20. package/dist/index.cjs.js +1 -1
  21. package/dist/index.d.ts +2 -2
  22. package/dist/index.esm.js +1 -1
  23. package/dist/strings/strings.d.ts +0 -59
  24. package/package.json +2 -2
  25. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEExistingKpiStrip.d.ts +0 -7
  26. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEGroupSectionHeader.d.ts +0 -10
  27. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEKpiStrip.d.ts +0 -8
  28. package/dist/components/expenseAutomation/sections/jeSchedules/common/JEScheduleLifecycle.d.ts +0 -10
  29. package/dist/components/expenseAutomation/sections/jeSchedules/common/JETypeFilterBar.d.ts +0 -8
  30. package/dist/components/expenseAutomation/sections/jeSchedules/common/jeScheduleKpiHelpers.d.ts +0 -4
  31. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleGroupList.d.ts +0 -51
  32. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleLifecycleCell.d.ts +0 -9
  33. package/dist/components/expenseAutomation/sections/jeSchedules/list/JEScheduleReadOnlyListRow.d.ts +0 -14
  34. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JEExistingSection.d.ts +0 -19
  35. package/dist/components/expenseAutomation/sections/jeSchedules/sections/JESummarySection.d.ts +0 -7
  36. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/JEScheduleDraftComponent.d.ts → JEScheduleDraftComponent.d.ts} +0 -0
  37. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleDraftListRow.d.ts → JEScheduleDraftListRow.d.ts} +0 -0
  38. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/JEScheduleRecommendationIcon.d.ts → JEScheduleRecommendationIcon.d.ts} +0 -0
  39. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/JESchedulesListEmptyTable.d.ts → JESchedulesListEmptyTable.d.ts} +0 -0
  40. /package/dist/components/expenseAutomation/sections/jeSchedules/{common/common.d.ts → common.d.ts} +0 -0
  41. /package/dist/components/expenseAutomation/sections/jeSchedules/{list/jeScheduleListRow.helpers.test.d.ts → jeScheduleListRow.helpers.test.d.ts} +0 -0
@@ -9647,18 +9647,6 @@ export declare const zeniStrings: {
9647
9647
  accumulatedCategory: string;
9648
9648
  transactionDate: string;
9649
9649
  memo: string;
9650
- entry: string;
9651
- item: string;
9652
- method: string;
9653
- lifecycle: string;
9654
- date: string;
9655
- amount: string;
9656
- account: string;
9657
- reversesOn: string;
9658
- scheduledAndPosted: string;
9659
- aiAccountant: string;
9660
- manualEntry: string;
9661
- schedulePeriod: string;
9662
9650
  };
9663
9651
  scheduleTypes: {
9664
9652
  prepaid_expenses: string;
@@ -9666,64 +9654,17 @@ export declare const zeniStrings: {
9666
9654
  accrued_expenses: string;
9667
9655
  deferred_revenue: string;
9668
9656
  };
9669
- lifecycleLabel: {
9670
- prepaid_expenses: string;
9671
- fixed_assets: string;
9672
- accrued_expenses: string;
9673
- deferred_revenue: string;
9674
- };
9675
9657
  tooltipText: {
9676
9658
  missingVendor: string;
9677
9659
  missingCategory: string;
9678
9660
  missingDepCategory: string;
9679
9661
  };
9680
- revert: string;
9681
9662
  addCategory: string;
9682
9663
  addDepCategory: string;
9683
9664
  aiBotEmail: string;
9684
9665
  botEmail: string;
9685
9666
  aiAccountant: string;
9686
9667
  zeniGPTText: string;
9687
- kpiStrip: {
9688
- aiAccountant: string;
9689
- manual: string;
9690
- needsReview: string;
9691
- schedules: string;
9692
- total: string;
9693
- };
9694
- typeFilter: {
9695
- all: string;
9696
- prepaid_expenses: string;
9697
- fixed_assets: string;
9698
- accrued_expenses: string;
9699
- deferred_revenue: string;
9700
- };
9701
- groups: {
9702
- created: string;
9703
- createdInsight: string;
9704
- pendingReview: string;
9705
- pendingReviewInsight: string;
9706
- };
9707
- tabs: {
9708
- schedules: string;
9709
- existingSchedules: string;
9710
- };
9711
- existingSchedules: {
9712
- downloadCompletedSchedules: string;
9713
- kpi: {
9714
- ongoingSchedules: string;
9715
- monthlyPosting: string;
9716
- remainingBalance: string;
9717
- toDepreciateAmortize: string;
9718
- posted: string;
9719
- typeAbbreviations: {
9720
- fixed_assets: string;
9721
- prepaid_expenses: string;
9722
- deferred_revenue: string;
9723
- accrued_expenses: string;
9724
- };
9725
- };
9726
- };
9727
9668
  };
9728
9669
  missingReceipts: {
9729
9670
  searchPlaceholder: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@zeniai/web-components",
3
- "version": "4.2.55-betaRD4",
3
+ "version": "4.2.55",
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.50-betaRD3",
53
+ "@zeniai/client-epic-state": "5.1.50",
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 { 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;