@zeniai/web-components 4.4.52 → 4.4.53
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/dist/{SessionTimeoutPopup-Bk3Q7QWq.js → SessionTimeoutPopup-82dilDxn.js} +78733 -79429
- package/dist/{SessionTimeoutPopup-CNu392Ee.cjs → SessionTimeoutPopup-CQ7YkHLJ.cjs} +15778 -15817
- package/dist/appLocale.d.ts +1 -10
- package/dist/cockpit.cjs.js +2 -2
- package/dist/cockpit.esm.js +329 -333
- package/dist/components/appDrawerContent/AppDrawerContent.d.ts +1 -3
- package/dist/components/appDrawerContent/MenuButton.d.ts +3 -4
- package/dist/components/appDrawerContent/MenuList.d.ts +1 -3
- package/dist/components/expenseAutomation/components/navbarHeaderData.d.ts +1 -1
- package/dist/components/invoicing/common/InvoicingListScaffold.d.ts +1 -5
- package/dist/components/vendorDetail/PageHeader.d.ts +1 -10
- package/dist/components/vendorDetail/VendorDetailPage.d.ts +5 -0
- package/dist/context/featureProvider/FeatureGateNameConstants.d.ts +0 -2
- package/dist/context/featureProvider/FeatureProvider.d.ts +1 -4
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +0 -5
- package/dist/index.esm.js +368 -372
- package/dist/strings/strings.d.ts +1 -10
- package/package.json +5 -5
- package/dist/components/common/skeletons/EntityDetailFormSkeleton.d.ts +0 -7
- package/dist/components/customers/customerDetail/CustomerDetailPage.d.ts +0 -38
- package/dist/components/customers/customerDetail/skeletons/CustomerDetailFormSkeleton.d.ts +0 -2
- package/dist/components/customers/customerList/CustomerListPage.d.ts +0 -23
- package/dist/components/vendorDetail/vendorSpendTrendFilterTabs.d.ts +0 -7
|
@@ -297,7 +297,6 @@ export declare const zeniStrings: {
|
|
|
297
297
|
allCategories: string;
|
|
298
298
|
allClass: string;
|
|
299
299
|
allSchedulesReviewed: string;
|
|
300
|
-
allTransactions: string;
|
|
301
300
|
allTypes: string;
|
|
302
301
|
allVendors: string;
|
|
303
302
|
amountDue: string;
|
|
@@ -1714,11 +1713,6 @@ export declare const zeniStrings: {
|
|
|
1714
1713
|
failed: string;
|
|
1715
1714
|
notification: string;
|
|
1716
1715
|
};
|
|
1717
|
-
update_customer: {
|
|
1718
|
-
success: string;
|
|
1719
|
-
failed: string;
|
|
1720
|
-
notification: string;
|
|
1721
|
-
};
|
|
1722
1716
|
data_refresh_update: {
|
|
1723
1717
|
success: string;
|
|
1724
1718
|
failed: string;
|
|
@@ -7428,6 +7422,7 @@ export declare const zeniStrings: {
|
|
|
7428
7422
|
};
|
|
7429
7423
|
transactionTabTitles: {
|
|
7430
7424
|
spendTransactions: string;
|
|
7425
|
+
allTransactions: string;
|
|
7431
7426
|
};
|
|
7432
7427
|
searchPlaceholder: string;
|
|
7433
7428
|
};
|
|
@@ -11085,8 +11080,4 @@ export declare const zeniStrings: {
|
|
|
11085
11080
|
noLinkedCreditNotes: string;
|
|
11086
11081
|
noRefunds: string;
|
|
11087
11082
|
};
|
|
11088
|
-
customersTab: {
|
|
11089
|
-
incomeTransactions: string;
|
|
11090
|
-
ytdRevenue: string;
|
|
11091
|
-
};
|
|
11092
11083
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@zeniai/web-components",
|
|
3
|
-
"version": "4.4.
|
|
3
|
+
"version": "4.4.53",
|
|
4
4
|
"private": false,
|
|
5
5
|
"type": "module",
|
|
6
6
|
"sideEffects": [
|
|
@@ -47,8 +47,8 @@
|
|
|
47
47
|
"@statsig/react-bindings": "^3.14.0",
|
|
48
48
|
"@stripe/react-stripe-js": "^2.7.3",
|
|
49
49
|
"@stripe/stripe-js": "^4.4.0",
|
|
50
|
-
"@zeniai/client-analytics": "2.1.
|
|
51
|
-
"@zeniai/client-epic-state": "5.3.
|
|
50
|
+
"@zeniai/client-analytics": "2.1.11",
|
|
51
|
+
"@zeniai/client-epic-state": "5.3.5",
|
|
52
52
|
"autosuggest-highlight": "^3.2.1",
|
|
53
53
|
"browser-image-compression": "^2.0.2",
|
|
54
54
|
"countries-list": "^2.6.1",
|
|
@@ -104,8 +104,8 @@
|
|
|
104
104
|
"@types/color": "^3.0.2",
|
|
105
105
|
"@types/react-select": "^4.0.18",
|
|
106
106
|
"@types/react-window": "^1.8.8",
|
|
107
|
-
"@zeniai/client-analytics": "2.1.
|
|
108
|
-
"@zeniai/client-epic-state": "5.3.
|
|
107
|
+
"@zeniai/client-analytics": "2.1.11",
|
|
108
|
+
"@zeniai/client-epic-state": "5.3.5",
|
|
109
109
|
"color": "^3.1.3",
|
|
110
110
|
"react": "18.3.1",
|
|
111
111
|
"react-dom": "18.3.1",
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
type EntityDetailFormSkeletonProps = {
|
|
2
|
-
/** One title + 3-row card per form section on the entity's detail page. */
|
|
3
|
-
sectionCount: number;
|
|
4
|
-
};
|
|
5
|
-
/** Loading placeholder for an entity (vendor, customer) detail form: one card per form section. */
|
|
6
|
-
declare const EntityDetailFormSkeleton: ({ sectionCount, }: EntityDetailFormSkeletonProps) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export default EntityDetailFormSkeleton;
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import { ReactNode } from 'react';
|
|
2
|
-
import { CustomerDetailTabType, CustomerSummaryDetailView, ID, Month, TimeframeTick, TransactionID, TransactionListByEntityView, TrendWithTransactionsView, VendorSpendTrendFilterTabType } from '@zeniai/client-epic-state';
|
|
3
|
-
/** Only the fields the user changed; an omitted key is left as is on the customer. */
|
|
4
|
-
export interface CustomerDetailChanges {
|
|
5
|
-
accountId?: ID | null;
|
|
6
|
-
accountingClassId?: ID | null;
|
|
7
|
-
}
|
|
8
|
-
/** Customers tab (Accounts Receivable) customer detail: revenue KPIs, category / class edit, income trend and transactions. */
|
|
9
|
-
export interface CustomerDetailPageProps {
|
|
10
|
-
detailView: CustomerSummaryDetailView;
|
|
11
|
-
firstMonthOfFY: Month;
|
|
12
|
-
readOnlyMode: boolean;
|
|
13
|
-
selectedTab: CustomerDetailTabType;
|
|
14
|
-
trendFilter: VendorSpendTrendFilterTabType;
|
|
15
|
-
allTransactionsTabData?: {
|
|
16
|
-
numberOfQuartersFetched: number;
|
|
17
|
-
timePeriod: TimeframeTick;
|
|
18
|
-
};
|
|
19
|
-
allTransactionsView?: TransactionListByEntityView;
|
|
20
|
-
panelContent?: ReactNode;
|
|
21
|
-
sidePanelIsFullView?: boolean;
|
|
22
|
-
sidePanelIsOpen?: boolean;
|
|
23
|
-
trendWithTransactions?: TrendWithTransactionsView;
|
|
24
|
-
onLoadPreviousTransactionsClick: (timePeriodToLoad: TimeframeTick, numberOfQuartersFetched: number) => void;
|
|
25
|
-
onSave: (changes: CustomerDetailChanges) => void;
|
|
26
|
-
onTabChange: (tab: CustomerDetailTabType) => void;
|
|
27
|
-
onTrendFilterChange: (filter: VendorSpendTrendFilterTabType) => void;
|
|
28
|
-
onBackClick?: () => void;
|
|
29
|
-
onTransactionItemClick?: (id: TransactionID) => void;
|
|
30
|
-
onTrendRetry?: () => void;
|
|
31
|
-
onTrendSelectedPeriodChange?: (selectedPeriod?: {
|
|
32
|
-
addTimePeriod: TimeframeTick;
|
|
33
|
-
timeframe: "month" | "quarter" | "year";
|
|
34
|
-
currentTimePeriod?: TimeframeTick;
|
|
35
|
-
}) => void;
|
|
36
|
-
}
|
|
37
|
-
export declare function CustomerDetailPage({ allTransactionsTabData, allTransactionsView, detailView, firstMonthOfFY, panelContent, readOnlyMode, selectedTab, sidePanelIsFullView, sidePanelIsOpen, trendFilter, trendWithTransactions, onBackClick, onLoadPreviousTransactionsClick, onSave, onTabChange, onTransactionItemClick, onTrendFilterChange, onTrendRetry, onTrendSelectedPeriodChange, }: Readonly<CustomerDetailPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
38
|
-
export default CustomerDetailPage;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { CustomerRevenueKey, CustomerSummary, CustomerSummarySortKey, FetchState, SortOrder } from '@zeniai/client-epic-state';
|
|
2
|
-
export declare const getCustomerRevenueLabel: (key: CustomerRevenueKey) => string;
|
|
3
|
-
/** Customers tab (Accounts Receivable) list: revenue, open AR, category and class per customer. */
|
|
4
|
-
export interface CustomerListPageProps {
|
|
5
|
-
customers: CustomerSummary[];
|
|
6
|
-
fetchState: FetchState;
|
|
7
|
-
hasMore: boolean;
|
|
8
|
-
isAccountingClassesEnabled: boolean;
|
|
9
|
-
revenueSelection: CustomerRevenueKey;
|
|
10
|
-
searchValue: string;
|
|
11
|
-
sortKey: CustomerSummarySortKey;
|
|
12
|
-
sortOrder: SortOrder;
|
|
13
|
-
isAiCfoAccessEnabled?: boolean;
|
|
14
|
-
onCustomerClick: (customerId: string) => void;
|
|
15
|
-
onLoadMore: () => void;
|
|
16
|
-
onRevenueSelectionChange: (revenueKey: CustomerRevenueKey) => void;
|
|
17
|
-
onSearchChange: (value: string) => void;
|
|
18
|
-
onSortChange: (sortKey: CustomerSummarySortKey, sortOrder: SortOrder) => void;
|
|
19
|
-
onAskAiCfoClick?: () => void;
|
|
20
|
-
onClickMenuIcon?: () => void;
|
|
21
|
-
}
|
|
22
|
-
export declare function CustomerListPage({ customers, fetchState, hasMore, isAccountingClassesEnabled, isAiCfoAccessEnabled, revenueSelection, searchValue, sortKey, sortOrder, onAskAiCfoClick, onClickMenuIcon, onCustomerClick, onLoadMore, onRevenueSelectionChange, onSearchChange, onSortChange, }: Readonly<CustomerListPageProps>): import("react/jsx-runtime").JSX.Element;
|
|
23
|
-
export default CustomerListPage;
|