@zeniai/web-components 4.1.52-betaVR1 → 4.1.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-DXP_m1FM.js → SessionTimeoutPopup-BK9wix5_.js} +68208 -69625
- package/dist/{SessionTimeoutPopup-DQSLdcQs.cjs → SessionTimeoutPopup-C3zi1za_.cjs} +14995 -15289
- package/dist/appLocale.d.ts +4 -25
- package/dist/cockpit.cjs.js +1 -1
- package/dist/cockpit.esm.js +4 -4
- package/dist/components/cards/cardTypes.d.ts +3 -1
- package/dist/components/cards/summaryCard/treasuryPromoCard/TreasuryPromoCards.d.ts +5 -3
- package/dist/components/cards/summaryCard/treasuryPromoCard/treasuryPromoCardData.d.ts +1 -1
- package/dist/components/common/Menu.d.ts +2 -1
- package/dist/components/formElements/common/common.d.ts +0 -1
- package/dist/components/formElements/labeledFormattedText/LabeledFormattedTextField.d.ts +2 -7
- package/dist/components/formElements/labeledText/LabeledTextField.d.ts +1 -7
- package/dist/index.cjs.js +1 -1
- package/dist/index.esm.js +20 -20
- package/dist/strings/strings.d.ts +4 -25
- package/dist/{vendor-.pnpm-DuJMYp1y.cjs → vendor-.pnpm-C7TxM7W7.cjs} +88 -88
- package/dist/{vendor-.pnpm-XFVTbpbG.js → vendor-.pnpm-CSfLHWdE.js} +5457 -5506
- package/package.json +2 -2
- package/dist/components/transactionDetail/items/journalEntryTable/FlexibleWidthContext.d.ts +0 -2
- package/dist/components/transactionDetail/items/journalEntryTable/TransactionLinesJournalEntryEmptyTable.d.ts +0 -17
- package/dist/components/transactionDetail/items/journalEntryTable/TransactionLinesJournalEntryTable.d.ts +0 -2
- package/dist/components/transactionDetail/items/journalEntryTable/common.d.ts +0 -23
- package/dist/components/transactionDetail/items/journalEntryTable/header/JournalEntryTableHeader.d.ts +0 -11
- package/dist/components/transactionDetail/items/journalEntryTable/header/journalEntryHeaderConfig.d.ts +0 -28
- package/dist/components/transactionDetail/items/journalEntryTable/header/journalEntryHeaderItemsData.d.ts +0 -16
- package/dist/components/transactionDetail/items/journalEntryTable/journalEntryTableStyles.d.ts +0 -119
- package/dist/components/transactionDetail/items/journalEntryTable/journalEntryTableTypes.d.ts +0 -79
- package/dist/components/transactionDetail/items/journalEntryTable/listRow/JournalEntryTableListRow.d.ts +0 -40
- package/dist/components/transactionDetail/items/journalEntryTable/totals/JournalEntryTotalsRow.d.ts +0 -21
- package/dist/components/transactionDetail/items/transactionLineTable/FlexibleWidthContext.d.ts +0 -6
- package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesEmptyTable.d.ts +0 -11
- package/dist/components/transactionDetail/items/transactionLineTable/TransactionLinesTable.d.ts +0 -17
- package/dist/components/transactionDetail/items/transactionLineTable/common.d.ts +0 -32
- package/dist/components/transactionDetail/items/transactionLineTable/header/TransactionLineTableHeader.d.ts +0 -12
- package/dist/components/transactionDetail/items/transactionLineTable/header/transactionLineHeaderConfig.d.ts +0 -40
- package/dist/components/transactionDetail/items/transactionLineTable/header/transactionLineHeaderItemsData.d.ts +0 -19
- package/dist/components/transactionDetail/items/transactionLineTable/listRow/TransactionLineTableListRow.d.ts +0 -40
- package/dist/components/transactionDetail/items/transactionLineTable/sortTransactionLines.d.ts +0 -19
- package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableStyles.d.ts +0 -103
- package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableTypes.d.ts +0 -80
- package/dist/testSetup.d.ts +0 -0
package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableStyles.d.ts
DELETED
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Outer wrapper that sits between the surrounding page and the table card.
|
|
3
|
-
* Mirrors the JE table's `TableWrapperContainer` (frame 5240:7220 has the
|
|
4
|
-
* same outer breathing-room as the JE redesign). Padding (`sp3 sp5` =
|
|
5
|
-
* 16px / 32px) and the `grey4` page-tinted background are applied in
|
|
6
|
-
* both full view AND quick view so the table card has the same
|
|
7
|
-
* surrounding chrome in the side panel as on the full detail page.
|
|
8
|
-
* Quick view additionally fills the panel's vertical space
|
|
9
|
-
* (`height: 100%`) so the inner scroll container can scroll.
|
|
10
|
-
*/
|
|
11
|
-
export declare const TableWrapperContainer: import('@emotion/styled').StyledComponent<{
|
|
12
|
-
theme?: import('@emotion/react').Theme;
|
|
13
|
-
as?: React.ElementType;
|
|
14
|
-
} & {
|
|
15
|
-
$isQuickViewMode?: boolean;
|
|
16
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
17
|
-
/**
|
|
18
|
-
* Bordered, rounded "card" that frames the non-JE table. Identical
|
|
19
|
-
* chrome to the JE card (border + radius + grey5 background).
|
|
20
|
-
*
|
|
21
|
-
* Note (mirrors JE): we intentionally do NOT apply `overflow: hidden`
|
|
22
|
-
* here because that would establish a scroll container and break the
|
|
23
|
-
* page-relative `position: sticky` behavior of the header. The non-JE
|
|
24
|
-
* table has no sticky totals row, so the bottom-rounded corners are
|
|
25
|
-
* owned by the last `RowWrapper` (see `&:last-child` rule below).
|
|
26
|
-
*/
|
|
27
|
-
export declare const ListViewContainer: import('@emotion/styled').StyledComponent<{
|
|
28
|
-
theme?: import('@emotion/react').Theme;
|
|
29
|
-
as?: React.ElementType;
|
|
30
|
-
} & {
|
|
31
|
-
$isQuickViewMode?: boolean;
|
|
32
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
33
|
-
/**
|
|
34
|
-
* Horizontal scroll container shared by the populated and empty tables.
|
|
35
|
-
* Vertical overflow is left to the page (or the side-panel drawer in
|
|
36
|
-
* quick view) so the table doesn't introduce a scroll-within-scroll
|
|
37
|
-
* experience.
|
|
38
|
-
*/
|
|
39
|
-
export declare const TableScrollContainer: import('@emotion/styled').StyledComponent<{
|
|
40
|
-
theme?: import('@emotion/react').Theme;
|
|
41
|
-
as?: React.ElementType;
|
|
42
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
43
|
-
/**
|
|
44
|
-
* Inner flex column that holds the sticky header and the rows.
|
|
45
|
-
* Keeping `display: flex; flex-direction: column;` allows the
|
|
46
|
-
* `position: sticky` header to pin against this scrolling parent.
|
|
47
|
-
*/
|
|
48
|
-
export declare const TableScrollContent: import('@emotion/styled').StyledComponent<{
|
|
49
|
-
theme?: import('@emotion/react').Theme;
|
|
50
|
-
as?: React.ElementType;
|
|
51
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
52
|
-
/**
|
|
53
|
-
* Per-row wrapper used by both the populated and the skeleton/empty
|
|
54
|
-
* tables. Carries the standard row height and the bottom separator.
|
|
55
|
-
*
|
|
56
|
-
* Unlike the JE table, the non-JE table has no sticky totals row at the
|
|
57
|
-
* bottom — so the LAST row owns the bottom-rounded corners of the card.
|
|
58
|
-
* - `:not(:last-child)` paints the 1px row separator
|
|
59
|
-
* - `:last-child` rounds the bottom corners AND sets `overflow: hidden`
|
|
60
|
-
* so the inner `RowFlex` background (grey5 default + `background`
|
|
61
|
-
* on hover) is clipped to the rounded corners. Without `overflow:
|
|
62
|
-
* hidden` the inner fill would spill over the rounded edge and
|
|
63
|
-
* visually break the card corner on hover (and on the default
|
|
64
|
-
* `grey5` fill where the parent card is also `grey5` so the bug
|
|
65
|
-
* only became obvious in the hover state). Dropdowns and CoT
|
|
66
|
-
* tooltips inside the row portal to `document.body`, so clipping
|
|
67
|
-
* the row's overflow is safe — Figma 5240:7239 / 5262:22638.
|
|
68
|
-
*/
|
|
69
|
-
export declare const RowWrapper: import('@emotion/styled').StyledComponent<{
|
|
70
|
-
theme?: import('@emotion/react').Theme;
|
|
71
|
-
as?: React.ElementType;
|
|
72
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
73
|
-
/**
|
|
74
|
-
* Sticky wrapper that pins the header to the top of the scroll
|
|
75
|
-
* container. Visual chrome (background fill, border-bottom, top-corner
|
|
76
|
-
* radius) lives on the inner `HeaderContainer` so the header matches
|
|
77
|
-
* the Figma "Table Row" component (frame 5240:7221) on its own and
|
|
78
|
-
* renders correctly in isolation (e.g. in stories) — this wrapper now
|
|
79
|
-
* owns only the positioning concern.
|
|
80
|
-
*/
|
|
81
|
-
export declare const StickyHeaderContainer: import('@emotion/styled').StyledComponent<{
|
|
82
|
-
theme?: import('@emotion/react').Theme;
|
|
83
|
-
as?: React.ElementType;
|
|
84
|
-
} & {
|
|
85
|
-
isQuickViewMode?: boolean;
|
|
86
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
87
|
-
/**
|
|
88
|
-
* Hover-tinted row container.
|
|
89
|
-
* Matches the JE table's `RowFlex` with the same `grey5` → `background`
|
|
90
|
-
* transition on hover. Rounded corners are owned by the parent
|
|
91
|
-
* `RowWrapper:last-child` (with `overflow: hidden`), so this element
|
|
92
|
-
* doesn't need to know whether it's the last row.
|
|
93
|
-
*/
|
|
94
|
-
export declare const RowFlex: import('@emotion/styled').StyledComponent<{
|
|
95
|
-
theme?: import('@emotion/react').Theme;
|
|
96
|
-
as?: React.ElementType;
|
|
97
|
-
} & {
|
|
98
|
-
isHovered?: boolean;
|
|
99
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
100
|
-
export declare const HeaderRowFlex: import('@emotion/styled').StyledComponent<{
|
|
101
|
-
theme?: import('@emotion/react').Theme;
|
|
102
|
-
as?: React.ElementType;
|
|
103
|
-
}, import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/dist/components/transactionDetail/items/transactionLineTable/transactionLineTableTypes.d.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import { AccountBase, ClassBase, ID, NestedAccountHierarchyForReport, NestedClassHierarchyForReport, Project, TransactionDetailLocalData, TransactionLineRecommendationFieldTypes, TransactionWithCOT, UncategorizedAccounts, ZeniDate } from '@zeniai/client-epic-state';
|
|
2
|
-
import { COTTrackingProps } from '../../../../types/cotTracking';
|
|
3
|
-
import { DisableMode } from '../../../formElements/common/common';
|
|
4
|
-
import { LineInfo, SearchAutoComplete } from '../../common';
|
|
5
|
-
import { TransactionLineRowHeaderItemData } from './header/transactionLineHeaderConfig';
|
|
6
|
-
/**
|
|
7
|
-
* Public props for the non-journal-entry transaction line table.
|
|
8
|
-
* Mirrors the shape of `TransactionLinesJournalEntryTableProps`.
|
|
9
|
-
*/
|
|
10
|
-
export interface TransactionLinesTableProps {
|
|
11
|
-
accountList: AccountBase[];
|
|
12
|
-
accountsHierarchyList: NestedAccountHierarchyForReport[];
|
|
13
|
-
classHierarchyList: NestedClassHierarchyForReport[];
|
|
14
|
-
classList: ClassBase[];
|
|
15
|
-
containerRef: HTMLElement | null;
|
|
16
|
-
isAccountingClassesEnabled: boolean;
|
|
17
|
-
isAccountingProjectsEnabled: boolean;
|
|
18
|
-
isCOTEnabled: boolean;
|
|
19
|
-
isProjectsTransactionsEnabled: boolean;
|
|
20
|
-
lines: LineInfo[];
|
|
21
|
-
projects: Project[];
|
|
22
|
-
searchAutoComplete: SearchAutoComplete;
|
|
23
|
-
sectionId: string;
|
|
24
|
-
transaction: TransactionWithCOT;
|
|
25
|
-
bookCloseDate?: ZeniDate;
|
|
26
|
-
cotTracking?: COTTrackingProps;
|
|
27
|
-
entityId?: ID;
|
|
28
|
-
isDisabled?: DisableMode;
|
|
29
|
-
isQuickViewMode?: boolean;
|
|
30
|
-
isTransactionCommentingEnabled?: boolean;
|
|
31
|
-
isUncategorizedExpenseCategoryEnabled?: boolean;
|
|
32
|
-
lineItemsLocalData?: TransactionDetailLocalData;
|
|
33
|
-
openTooltipId?: ID;
|
|
34
|
-
uncategorizedAccounts?: UncategorizedAccounts;
|
|
35
|
-
setOpenTooltipId?: (tooltipId: ID | undefined) => void;
|
|
36
|
-
}
|
|
37
|
-
/**
|
|
38
|
-
* Props for the skeleton/loading empty table that mirrors the
|
|
39
|
-
* `TransactionLinesJournalEntryEmptyTable` shape.
|
|
40
|
-
*/
|
|
41
|
-
export interface TransactionLinesEmptyTableProps {
|
|
42
|
-
isAccountingClassesEnabled: boolean;
|
|
43
|
-
showProjectField: boolean;
|
|
44
|
-
isCompressed?: boolean;
|
|
45
|
-
isQuickViewMode?: boolean;
|
|
46
|
-
sectionId?: string;
|
|
47
|
-
skeletonRowCount?: number;
|
|
48
|
-
}
|
|
49
|
-
/** Props for the inline list-row component. */
|
|
50
|
-
export interface TransactionLineTableListRowProps {
|
|
51
|
-
accountList: AccountBase[];
|
|
52
|
-
accountsHierarchyList: NestedAccountHierarchyForReport[];
|
|
53
|
-
classHierarchyList: NestedClassHierarchyForReport[];
|
|
54
|
-
classList: ClassBase[];
|
|
55
|
-
columns: TransactionLineRowHeaderItemData[];
|
|
56
|
-
isCompressed: boolean;
|
|
57
|
-
isCOTEnabled: boolean;
|
|
58
|
-
line: LineInfo;
|
|
59
|
-
lineIndex: number;
|
|
60
|
-
projects: Project[];
|
|
61
|
-
sectionId: string;
|
|
62
|
-
isDisabled?: DisableMode;
|
|
63
|
-
isUncategorizedExpenseCategoryEnabled?: boolean;
|
|
64
|
-
openTooltipId?: ID;
|
|
65
|
-
searchAutoComplete?: SearchAutoComplete;
|
|
66
|
-
/**
|
|
67
|
-
* Transaction id used by the inline `RecommendationIcon` to build a
|
|
68
|
-
* unique tooltip identifier. Optional so existing callers don't break;
|
|
69
|
-
* when missing the row falls back to `line.id`.
|
|
70
|
-
*/
|
|
71
|
-
transactionId?: ID;
|
|
72
|
-
uncategorizedAccounts?: UncategorizedAccounts;
|
|
73
|
-
onCOTView?: (fieldType: TransactionLineRecommendationFieldTypes, recommendationSource?: string) => void;
|
|
74
|
-
setOpenTooltipId?: (tooltipId: ID | undefined) => void;
|
|
75
|
-
}
|
|
76
|
-
/** Props for the skeleton row mounted by the empty table. */
|
|
77
|
-
export interface TransactionLineTableListEmptyRowProps {
|
|
78
|
-
columns: TransactionLineRowHeaderItemData[];
|
|
79
|
-
isCompressed: boolean;
|
|
80
|
-
}
|
package/dist/testSetup.d.ts
DELETED
|
File without changes
|