@zeniai/web-components 4.3.25 → 4.3.26
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-Djw6NWND.cjs → SessionTimeoutPopup-BxZ5g2tA.cjs} +867 -867
- package/dist/{SessionTimeoutPopup-BlshETsN.js → SessionTimeoutPopup-DQ1PNZx1.js} +5850 -5859
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +2 -2
- package/dist/components/dashboard/Dashboard.d.ts +3 -2
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +1 -1
- package/package.json +9 -57
- package/dist/components/common/BackButton.d.ts +0 -3
- package/dist/components/common/loaderBoxes/ChartLoader.d.ts +0 -5
- package/dist/components/common/useResizeObserver.d.ts +0 -9
- package/dist/components/dataListTable/stories/DataListTable.stories.dark.d.ts +0 -22
- package/dist/components/dropdowns/dateRangeSelector/DateRangeSelectorField.d.ts +0 -16
- package/dist/components/expenseAutomation/sections/fluxAnalysis/getRootNodesWithUpdatedConfig.d.ts +0 -4
- package/dist/components/expenseAutomation/sections/fluxAnalysis/helper.d.ts +0 -10
- package/dist/components/formElements/labeledCreatableSingleSelectWithGroupingField/LabeledCreatableSingleSelectGroupingField.d.ts +0 -16
- package/dist/components/formElements/labeledTextArea/LabeledTextAreaField.d.ts +0 -16
- package/dist/components/formatters/amountValueToStringLongFormat.d.ts +0 -1
- package/dist/components/formatters/amountValueToStringShortFormatEnIN.d.ts +0 -1
- package/dist/components/formatters/amountValueToStringShortFormatEnUS.d.ts +0 -1
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/ScheduleListScheduledTransactionDataListCell.d.ts +0 -13
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/ScheduleListTableTotalRowVendor.d.ts +0 -11
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/jeScheduleSortDataListAdapters.d.ts +0 -9
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/scheduleAccruedListDataListColumnWidths.d.ts +0 -14
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/scheduleAccruedListDataListTableAdapters.d.ts +0 -1
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/scheduleListDataListColumnWidths.d.ts +0 -28
- package/dist/components/jeSchedules/scheduleList/scheduleListTable/scheduleListDataListTableAdapters.d.ts +0 -1
- package/dist/components/reportTree/treeNode/accountReconReport/row/Separator.d.ts +0 -5
- package/dist/components/reportTree/treeNode/cashFlowAndBalanceSheetReports/row/sectionColor.d.ts +0 -1
- package/dist/components/reportTree/treeNode/dashboardReports/row/ClassRow.d.ts +0 -25
- package/dist/components/reportTree/treeNode/dashboardReports/row/getSectionColor.d.ts +0 -10
- package/dist/components/reportTree/treeNode/dashboardReports/treeNodeMappers/mapSectionWithAcOnlyToTreeNode.d.ts +0 -11
- package/dist/components/reportTree/treeNode/fluxAnalysisReport/row/Separator.d.ts +0 -5
- package/dist/components/reportTree/treeNode/fluxAnalysisReport/row/TreeViewHelperComponents.d.ts +0 -8
- package/dist/components/reportTree/treeNode/fluxAnalysisReport/row/getSectionColor.d.ts +0 -7
- package/dist/components/reportTree/treeNode/nameOnlyTree/row/common.d.ts +0 -7
- package/dist/components/reports/common/FadeAnimation.d.ts +0 -8
- package/dist/components/spendManagement/billPay/createVendor/sections/vendorDetails/vendorDetailsFormElements/SingleSelectCategory.d.ts +0 -16
- package/dist/components/spendManagement/billPay/createVendor/sections/vendorDetails/vendorDetailsFormElements/SingleSelectClass.d.ts +0 -16
- package/dist/components/spendManagement/billPay/createVendor/sections/vendorDetails/vendorDetailsFormElements/SingleSelectCustomer.d.ts +0 -16
- package/dist/components/spendManagement/billPay/createVendor/sections/vendorDetails/vendorDetailsFormElements/SingleSelectType.d.ts +0 -14
- package/dist/components/spendManagement/billPay/createVendor/sections/vendorDetails/vendorDetailsFormElements/singleSelect/SingleSelect.d.ts +0 -28
- package/dist/components/spendManagement/zeniAccounts/MoneyTransferSuccess.d.ts +0 -9
- package/dist/components/vendors/filling1099/items/vendorFilling1099ListRow/VendorFilling1099ListRowMedium.d.ts +0 -20
- package/dist/setupTests.d.ts +0 -9
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { ScheduleTypes } from '@zeniai/client-epic-state';
|
|
2
|
-
/** Body row height for schedule `DataListTable` — pass as `estimatedRowHeight` and `rowMinHeight` (48px, matches vendor summary list). */
|
|
3
|
-
export declare const SCHEDULE_LIST_DATALIST_ROW_HEIGHT_PX: number;
|
|
4
|
-
/** Body cell padding for `DataListTable` — matches vendor summary list (`16px 24px`). */
|
|
5
|
-
export declare const SCHEDULE_LIST_DATALIST_CELL_PADDING = "16px 24px";
|
|
6
|
-
/** Header cell padding for `DataListTable` — matches vendor summary list (`8px 24px`). */
|
|
7
|
-
export declare const SCHEDULE_LIST_DATALIST_HEADER_PADDING = "8px 24px";
|
|
8
|
-
/** Legacy flex `gap` between columns was 16px (`Space.sp3`). Folded into `minWidth` per column. */
|
|
9
|
-
export declare const SCHEDULE_LIST_COLUMN_GAP_PX = 16;
|
|
10
|
-
export declare function foldGapIntoMinWidths(baseWidths: number[], gapPx?: number): number[];
|
|
11
|
-
export declare const PREPAID_STATIC_KEYS_WITH_STATUS: readonly ["transactionDate", "vendor", "scheduleCategory", "expenseCategory", "class", "status", "amount", "balanceAsOfToday", "memo", "startMonth", "endMonth", "months", "transactionType", "user"];
|
|
12
|
-
export declare const FIXED_STATIC_KEYS_WITH_STATUS: readonly ["transactionDate", "vendor", "scheduleCategory", "accumulatedDepreciationCategory", "class", "status", "amount", "balanceAsOfToday", "memo", "startMonth", "endMonth", "months", "transactionType", "assetId", "user"];
|
|
13
|
-
export declare const NEW_SCHEDULE_COLUMN_KEYS: readonly ["transactionDate", "vendor", "scheduleCategory", "amount", "memo", "transactionType"];
|
|
14
|
-
/** Column keys when `showNewSchedulesOnly` is true (New schedules sub-tab). */
|
|
15
|
-
export type NewScheduleDataListColumnKey = (typeof NEW_SCHEDULE_COLUMN_KEYS)[number];
|
|
16
|
-
/** Folded min widths for New sub-tab — same order as `NEW_SCHEDULE_COLUMN_KEYS`. */
|
|
17
|
-
export declare const NEW_SCHEDULE_COLUMN_FLEX_WIDTHS: number[];
|
|
18
|
-
export declare function getTimeframeColumnMinWidthPx(timeframeColumnCount: number): number;
|
|
19
|
-
export declare function getStaticScheduleColumnKeys(scheduleType: ScheduleTypes, showStatusColumn: boolean): string[];
|
|
20
|
-
export declare function getScheduleListColumnWidthPx(key: string, opts: {
|
|
21
|
-
scheduleType: ScheduleTypes;
|
|
22
|
-
showNewSchedulesOnly: boolean;
|
|
23
|
-
showStatusColumn: boolean;
|
|
24
|
-
staticKeys: string[];
|
|
25
|
-
timeframeColumnCount: number;
|
|
26
|
-
}): number;
|
|
27
|
-
/** Column key for schedule list data cells (static keys and dynamic timeframe keys). */
|
|
28
|
-
export type ScheduleListDataListColumnKey = string;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export { sortOrderToDataListDirection as scheduleListSortOrderToDirection, sortDirectionToSortOrder as sortDirectionToScheduleListSortOrder, jeScheduleSortToSortState as scheduleListSortToSortState, sortStateToJeScheduleSort as sortStateToScheduleListSort, } from './jeScheduleSortDataListAdapters';
|
package/dist/components/reportTree/treeNode/cashFlowAndBalanceSheetReports/row/sectionColor.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getSectionColorForName(name: string): string;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import { default as Color } from 'color';
|
|
2
|
-
import { COABalance } from '@zeniai/client-epic-state';
|
|
3
|
-
import { CompareMode } from '../../../../common/compareMode';
|
|
4
|
-
import { ReportTreeKind } from '../../../reportTreeTypes';
|
|
5
|
-
export interface Props {
|
|
6
|
-
className: string;
|
|
7
|
-
compareMode: Exclude<CompareMode, "off">;
|
|
8
|
-
height: number;
|
|
9
|
-
isActualVsForecastOn: boolean;
|
|
10
|
-
isLastNode: boolean;
|
|
11
|
-
isLeaf: boolean;
|
|
12
|
-
isOpen: boolean;
|
|
13
|
-
isScrolling: boolean;
|
|
14
|
-
isSticky: boolean;
|
|
15
|
-
isSubClass: boolean;
|
|
16
|
-
sectionBalances: (COABalance | null)[];
|
|
17
|
-
treeNodeId: string;
|
|
18
|
-
type: ReportTreeKind;
|
|
19
|
-
backgroundColor?: Color;
|
|
20
|
-
classCode?: string;
|
|
21
|
-
hideSectionIconCircle?: boolean;
|
|
22
|
-
showClassAccountNumber?: boolean;
|
|
23
|
-
onClick?: (treeNodeId: string) => void;
|
|
24
|
-
}
|
|
25
|
-
export default function ClassRow({ type, backgroundColor, isSticky, treeNodeId, height, className, classCode, sectionBalances, isActualVsForecastOn, compareMode, isScrolling, isOpen, isLeaf, isLastNode, isSubClass, showClassAccountNumber, onClick, hideSectionIconCircle, }: Props): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { default as Color } from 'color';
|
|
2
|
-
import { ReportIDPlusForecastID } from '@zeniai/client-epic-state';
|
|
3
|
-
type NetBurnSectionName = "cogs" | "income" | "expenses" | "Gross Burn" | "Net Burn" | "Net Income";
|
|
4
|
-
type RevenueSectionName = "cogs" | "income" | "Gross Margin";
|
|
5
|
-
type CicoSectionName = "cash_in" | "cash_out" | "Net Cash Flow";
|
|
6
|
-
export declare const getSectionColor: (reportID: ReportIDPlusForecastID, sectionName?: NetBurnSectionName | RevenueSectionName | CicoSectionName | string) => {
|
|
7
|
-
color: Color;
|
|
8
|
-
hoverColor: Color;
|
|
9
|
-
};
|
|
10
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { SectionWithAccountOnly } from '@zeniai/client-epic-state';
|
|
2
|
-
import { default as SectionType } from '../../../../dataSelector/dataSelector';
|
|
3
|
-
import { ReportElementConfig, ReportTreeNode } from '../../../reportTreeTypes';
|
|
4
|
-
export declare function mapSectionWithAcOnlyToTreeNode({ sectionWithAcOnly, sectionType, numOfBalances, title, isLastNode, config, }: {
|
|
5
|
-
config: ReportElementConfig;
|
|
6
|
-
isLastNode: boolean;
|
|
7
|
-
numOfBalances: number;
|
|
8
|
-
sectionType: SectionType;
|
|
9
|
-
sectionWithAcOnly: SectionWithAccountOnly;
|
|
10
|
-
title: string;
|
|
11
|
-
}): ReportTreeNode;
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
export type SeparatorKind = "vendor_separator" | "section_row_separator" | "heading_row_separator" | "account_class_row_separator";
|
|
2
|
-
export declare function Separator({ kind, isScrolling, }: {
|
|
3
|
-
isScrolling: boolean;
|
|
4
|
-
kind: SeparatorKind;
|
|
5
|
-
}): import("react/jsx-runtime").JSX.Element | null;
|
package/dist/components/reportTree/treeNode/fluxAnalysisReport/row/TreeViewHelperComponents.d.ts
DELETED
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
export declare const LineComponent: ({ height }: {
|
|
2
|
-
height: number;
|
|
3
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
4
|
-
export declare const LineLComponent: ({ height }: {
|
|
5
|
-
height: number;
|
|
6
|
-
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
-
export declare const NoLineComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
8
|
-
export declare const LineTComponent: () => import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { default as Color } from 'color';
|
|
2
|
-
import { ReportID, ReportIDPlusForecastID } from '@zeniai/client-epic-state';
|
|
3
|
-
import { default as SectionType } from '../../../../dataSelector/dataSelector';
|
|
4
|
-
export declare const getSectionColor: (reportID: ReportID | ReportIDPlusForecastID, sectionName?: SectionType) => {
|
|
5
|
-
color: Color;
|
|
6
|
-
hoverColor: Color;
|
|
7
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { ResponsiveSized } from '../../../../../context/windowSizeProvider/responsiveSize';
|
|
2
|
-
import { ReportElementKind } from '../../../reportTreeTypes';
|
|
3
|
-
export declare const commonDimensions: {
|
|
4
|
-
titleWidth: ResponsiveSized;
|
|
5
|
-
};
|
|
6
|
-
export declare function getDefaultNodeHeight(reportElementKind: ReportElementKind): number;
|
|
7
|
-
export declare function isNodeOpenByDefault(reportElementKind: ReportElementKind): boolean;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RegisterOptions } from 'react-hook-form';
|
|
2
|
-
import { AccountBase } from '@zeniai/client-epic-state';
|
|
3
|
-
export interface AccountSelectFieldValue {
|
|
4
|
-
allAccounts: AccountBase[];
|
|
5
|
-
selectedAccount?: AccountBase;
|
|
6
|
-
}
|
|
7
|
-
export interface Props {
|
|
8
|
-
name: string;
|
|
9
|
-
placeholderLabel: string;
|
|
10
|
-
value: AccountSelectFieldValue;
|
|
11
|
-
additionalInfoText?: string;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
registerOptions?: RegisterOptions;
|
|
14
|
-
}
|
|
15
|
-
declare const SingleSelectCategory: ({ name, placeholderLabel, registerOptions, value: defaultValue, isDisabled, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default SingleSelectCategory;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RegisterOptions } from 'react-hook-form';
|
|
2
|
-
import { ClassBase } from '@zeniai/client-epic-state';
|
|
3
|
-
export interface ClassSelectFieldValue {
|
|
4
|
-
allClasses: ClassBase[];
|
|
5
|
-
selectedClass?: ClassBase;
|
|
6
|
-
}
|
|
7
|
-
export interface Props {
|
|
8
|
-
name: string;
|
|
9
|
-
placeholderLabel: string;
|
|
10
|
-
value: ClassSelectFieldValue;
|
|
11
|
-
additionalInfoText?: string;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
registerOptions?: RegisterOptions;
|
|
14
|
-
}
|
|
15
|
-
declare const SingleSelectClass: ({ name, placeholderLabel, registerOptions, value: defaultValue, additionalInfoText, isDisabled, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default SingleSelectClass;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { RegisterOptions } from 'react-hook-form';
|
|
2
|
-
import { CustomerBase } from '@zeniai/client-epic-state';
|
|
3
|
-
export interface CustomerSelectFieldValue {
|
|
4
|
-
allCustomers: CustomerBase[];
|
|
5
|
-
selectedCustomer?: CustomerBase;
|
|
6
|
-
}
|
|
7
|
-
export interface Props {
|
|
8
|
-
name: string;
|
|
9
|
-
placeholderLabel: string;
|
|
10
|
-
value: CustomerSelectFieldValue;
|
|
11
|
-
additionalInfoText?: string;
|
|
12
|
-
isDisabled?: boolean;
|
|
13
|
-
registerOptions?: RegisterOptions;
|
|
14
|
-
}
|
|
15
|
-
declare const SingleSelectCustomer: ({ name, placeholderLabel, additionalInfoText, registerOptions, value: defaultValue, isDisabled, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
16
|
-
export default SingleSelectCustomer;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { RegisterOptions } from 'react-hook-form';
|
|
2
|
-
import { VendorType } from '@zeniai/client-epic-state';
|
|
3
|
-
export interface TypeSelectFieldValue {
|
|
4
|
-
allTypes: VendorType[];
|
|
5
|
-
selectedType?: string;
|
|
6
|
-
}
|
|
7
|
-
export interface Props {
|
|
8
|
-
name: string;
|
|
9
|
-
placeholderLabel: string;
|
|
10
|
-
value: TypeSelectFieldValue;
|
|
11
|
-
registerOptions?: RegisterOptions;
|
|
12
|
-
}
|
|
13
|
-
declare const SingleSelectType: ({ name, placeholderLabel, registerOptions, value: defaultValue, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
export default SingleSelectType;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
interface OptionTypeBase {
|
|
2
|
-
[key: string]: any;
|
|
3
|
-
}
|
|
4
|
-
export interface OptionType extends OptionTypeBase {
|
|
5
|
-
label: string;
|
|
6
|
-
value: string;
|
|
7
|
-
}
|
|
8
|
-
export interface PickerStyles {
|
|
9
|
-
additionalInfoLabelColor: string;
|
|
10
|
-
}
|
|
11
|
-
export interface Props {
|
|
12
|
-
allOptions: string[];
|
|
13
|
-
name: string;
|
|
14
|
-
placeholderLabel: string;
|
|
15
|
-
additionalInfoLabel?: string;
|
|
16
|
-
disable?: boolean;
|
|
17
|
-
menuItemHeight?: number;
|
|
18
|
-
pickerStyles?: Partial<PickerStyles>;
|
|
19
|
-
selectedValue?: string;
|
|
20
|
-
showOptionId?: boolean;
|
|
21
|
-
showTooltip?: boolean;
|
|
22
|
-
onSelectedValueChanged: (selectedValue: OptionType) => void;
|
|
23
|
-
valueToLabel: (value: string) => string;
|
|
24
|
-
valueToAdditionalInfo?: (value: string) => string;
|
|
25
|
-
valueToId?: (value: string) => string;
|
|
26
|
-
}
|
|
27
|
-
export declare const SingleSelect: ({ allOptions, selectedValue, name, onSelectedValueChanged, valueToLabel, valueToId, valueToAdditionalInfo, disable, placeholderLabel, menuItemHeight, showTooltip, additionalInfoLabel, showOptionId, pickerStyles: { additionalInfoLabelColor }, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
interface MoneyTransferSuccessProps {
|
|
2
|
-
iconJSON: object;
|
|
3
|
-
play: boolean;
|
|
4
|
-
height?: number;
|
|
5
|
-
loop?: number | boolean;
|
|
6
|
-
width?: number;
|
|
7
|
-
}
|
|
8
|
-
declare function MoneyTransferSuccess({ iconJSON, play, width, height, loop, }: Readonly<MoneyTransferSuccessProps>): import("react/jsx-runtime").JSX.Element;
|
|
9
|
-
export default MoneyTransferSuccess;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { ID, Vendor, VendorType } from '@zeniai/client-epic-state';
|
|
2
|
-
import { WindowSize } from '../../../../../context/windowSizeProvider/WindowSizeProvider';
|
|
3
|
-
export interface Props {
|
|
4
|
-
isDataPresent?: boolean;
|
|
5
|
-
vendor?: Vendor;
|
|
6
|
-
vendorTypeList?: VendorType[];
|
|
7
|
-
onVendorRowClick?: (vendorId?: ID) => void;
|
|
8
|
-
}
|
|
9
|
-
export declare const VendorFiling1099ListRowMedium: ({ isDataPresent, vendor, vendorTypeList, onVendorRowClick, }: Props) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
-
export declare const RowItem: import('@emotion/styled').StyledComponent<{
|
|
11
|
-
theme?: import('@emotion/react').Theme;
|
|
12
|
-
as?: React.ElementType;
|
|
13
|
-
} & import('react').ClassAttributes<HTMLDivElement> & import('react').HTMLAttributes<HTMLDivElement> & {
|
|
14
|
-
theme?: import('@emotion/react').Theme;
|
|
15
|
-
} & {
|
|
16
|
-
windowSize: WindowSize;
|
|
17
|
-
centerAllign?: boolean;
|
|
18
|
-
display?: string;
|
|
19
|
-
isLastItem?: boolean;
|
|
20
|
-
}, {}, {}>;
|