@tap-payments/os-micro-frontend-shared 0.0.12 → 0.0.13
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/LICENSE +21 -21
- package/README.md +12 -12
- package/build/components/AccordionAdapter/style.d.ts +2 -2
- package/build/components/AccountDropdown/Dropdown.d.ts +13 -0
- package/build/components/AccountDropdown/Dropdown.js +17 -0
- package/build/components/AccountDropdown/index.d.ts +2 -0
- package/build/components/AccountDropdown/index.js +2 -0
- package/build/components/AccountDropdown/style.d.ts +20 -0
- package/build/components/AccountDropdown/style.js +26 -0
- package/build/components/AppWindowWrapper/AppWindow/style.d.ts +2 -2
- package/build/components/AppWindowWrapper/headers/AccountHeader/index.d.ts +1 -1
- package/build/components/AppWindowWrapper/index.d.ts +1 -1
- package/build/components/Button/style.d.ts +1 -1
- package/build/components/Calender/style.d.ts +4 -4
- package/build/components/ConfirmDialog/styles.d.ts +1 -1
- package/build/components/DropdownButton/constants.d.ts +2 -2
- package/build/components/DropdownButton/style.d.ts +2 -2
- package/build/components/DropdownMenu/styles.d.ts +2 -2
- package/build/components/ErrorBoundary/style.d.ts +1 -1
- package/build/components/FileUpload/style.d.ts +1 -1
- package/build/components/InputBase/AmountInputBase/InputNumber/InputNumber.d.ts +1 -5
- package/build/components/InputBase/AmountInputBase/InputNumber/index.d.ts +2 -2
- package/build/components/InputBase/AmountInputBase/InputNumber/index.js +1 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/type.d.ts +5 -0
- package/build/components/InputBase/AmountInputBase/InputNumber/type.js +1 -0
- package/build/components/InputBase/AmountInputBase/index.d.ts +1 -1
- package/build/components/InputBase/SelectBase/index.d.ts +1 -1
- package/build/components/InputBase/SelectBase/style.d.ts +1 -1
- package/build/components/Inputs/FileInput/style.d.ts +1 -1
- package/build/components/JSONViewer/components/index.d.ts +1 -1
- package/build/components/RFH/Inputs/AmountInput/AmountInput.d.ts +1 -5
- package/build/components/RFH/Inputs/AmountInput/index.d.ts +2 -2
- package/build/components/RFH/Inputs/AmountInput/index.js +1 -0
- package/build/components/RFH/Inputs/AmountInput/type.d.ts +5 -0
- package/build/components/RFH/Inputs/AmountInput/type.js +1 -0
- package/build/components/RFH/Inputs/index.d.ts +3 -3
- package/build/components/SearchButton/styles.d.ts +1 -1
- package/build/components/StatusButton/style.d.ts +2 -2
- package/build/components/StatusIcons/index.d.ts +3 -3
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js +3 -3
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/style.js +1 -2
- package/build/components/TableCells/CustomCells/CheckoutStatusCell/index.d.ts +1 -1
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.d.ts +3 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/SegmentsCell.js +41 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/constant.d.ts +6 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/constant.js +7 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/index.js +2 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.d.ts +288 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/style.js +55 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/type.d.ts +10 -0
- package/build/components/TableCells/CustomCells/SegmentsCell/type.js +1 -0
- package/build/components/TableCells/CustomCells/index.d.ts +2 -0
- package/build/components/TableCells/CustomCells/index.js +2 -0
- package/build/components/VirtualTable/components/ColumnFilter/Inputs/style.d.ts +1 -1
- package/build/components/VirtualTable/components/ColumnFilter/style.d.ts +2 -2
- package/build/components/VirtualTable/components/ErrorList/styles.d.ts +1 -1
- package/build/components/WindowSideBar/WindowSideBar.d.ts +4 -7
- package/build/components/index.d.ts +1 -0
- package/build/components/index.js +1 -0
- package/build/constants/assets.d.ts +5 -0
- package/build/constants/assets.js +5 -0
- package/build/types/account.d.ts +6 -0
- package/build/types/account.js +7 -0
- package/build/types/apps.d.ts +7 -1
- package/build/types/index.d.ts +1 -0
- package/build/types/index.js +1 -0
- package/build/types/merchant.d.ts +152 -0
- package/build/types/user.d.ts +55 -0
- package/package.json +88 -88
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/constants.d.ts +0 -6
- package/build/components/TableCells/CustomCells/ApplicationStatusCell/constants.js +0 -7
package/build/components/TableCells/CustomCells/ApplicationStatusCell/ApplicationStatusCell.js
CHANGED
|
@@ -10,13 +10,13 @@ var __rest = (this && this.__rest) || function (s, e) {
|
|
|
10
10
|
return t;
|
|
11
11
|
};
|
|
12
12
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
13
|
+
import { acceptanceAppIcon, acceptanceAppDisabledIcon, payoutsAppIcon, payoutAppDisabledIcon } from '../../../../constants/index.js';
|
|
14
|
+
import Tooltip from '../../../Tooltip';
|
|
13
15
|
import TableCell from '../../TableCell';
|
|
14
16
|
import { AppsWrapper, IconWrapper } from './style';
|
|
15
|
-
import { acceptanceAppIcon, initialAcceptanceIcon, initialPayoutsIcon, payoutsAppIcon } from '../../../../constants/index.js';
|
|
16
|
-
import Tooltip from '../../../Tooltip';
|
|
17
17
|
export default function ApplicationStatusCell(_a) {
|
|
18
18
|
var { acceptance, payout } = _a, props = __rest(_a, ["acceptance", "payout"]);
|
|
19
19
|
const isAcceptanceEnabled = (acceptance === null || acceptance === void 0 ? void 0 : acceptance.toLowerCase()) === 'enabled';
|
|
20
20
|
const isPayoutEnabled = (payout === null || payout === void 0 ? void 0 : payout.toLowerCase()) === 'enabled';
|
|
21
|
-
return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AppsWrapper, { children: [_jsx(Tooltip, Object.assign({ title: 'Acceptance' }, { children:
|
|
21
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsxs(AppsWrapper, { children: [_jsx(Tooltip, Object.assign({ title: 'Acceptance' }, { children: _jsxs(IconWrapper, { children: [_jsx("img", { src: isAcceptanceEnabled ? acceptanceAppIcon : acceptanceAppDisabledIcon, alt: acceptance }), ' '] }) }), acceptance), _jsx(Tooltip, Object.assign({ title: 'Payouts' }, { children: _jsx(IconWrapper, { children: _jsx("img", { src: isPayoutEnabled ? payoutsAppIcon : payoutAppDisabledIcon, alt: payout }) }) }), payout)] }) })));
|
|
22
22
|
}
|
|
@@ -6,14 +6,13 @@ export const AppsWrapper = styled('div')(({ theme }) => ({
|
|
|
6
6
|
borderRadius: '44px',
|
|
7
7
|
lineHeight: '120%',
|
|
8
8
|
}));
|
|
9
|
-
export const IconWrapper = styled(Box)((
|
|
9
|
+
export const IconWrapper = styled(Box)(() => ({
|
|
10
10
|
display: 'flex',
|
|
11
11
|
alignItems: 'center',
|
|
12
12
|
justifyContent: 'center',
|
|
13
13
|
width: '24px',
|
|
14
14
|
height: '24px',
|
|
15
15
|
borderRadius: '8px',
|
|
16
|
-
border: `1px solid ${theme.palette.divider}`,
|
|
17
16
|
cursor: 'pointer',
|
|
18
17
|
boxSizing: 'border-box',
|
|
19
18
|
'&.colored': {
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
export { default as CheckoutStatusCell } from './CheckoutStatusCell';
|
|
2
|
-
export { CheckoutStatusProps } from './type';
|
|
2
|
+
export type { CheckoutStatusProps } from './type';
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
var __rest = (this && this.__rest) || function (s, e) {
|
|
2
|
+
var t = {};
|
|
3
|
+
for (var p in s) if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
4
|
+
t[p] = s[p];
|
|
5
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
6
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
7
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
8
|
+
t[p[i]] = s[p[i]];
|
|
9
|
+
}
|
|
10
|
+
return t;
|
|
11
|
+
};
|
|
12
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
13
|
+
import { useMemo, useState } from 'react';
|
|
14
|
+
import { useTheme } from '@mui/material/styles';
|
|
15
|
+
import startCase from 'lodash/startCase';
|
|
16
|
+
import Tooltip from '../../../Tooltip';
|
|
17
|
+
import { ImageWrapper } from '../../../index.js';
|
|
18
|
+
import { TableCell } from '../../../TableCells';
|
|
19
|
+
import { segmentsIcons } from './constant';
|
|
20
|
+
import { ReferenceTextLabel, ReferenceTextWrapper, ReferenceSourcesContainer, StyledSourceCell, StyledSourceImage, referenceSourceAnimation, } from './style';
|
|
21
|
+
function SegmentsCell(_a) {
|
|
22
|
+
var { isTextShown } = _a, props = __rest(_a, ["isTextShown"]);
|
|
23
|
+
const [isTooltipOpen, setIsTooltipOpen] = useState(false);
|
|
24
|
+
const theme = useTheme();
|
|
25
|
+
const segments = useMemo(() => Object.keys(segmentsIcons).filter((key) => !!props[key]), [props]);
|
|
26
|
+
const ReferenceSources = useMemo(() => segments.map((segment, index) => {
|
|
27
|
+
const sourceTooltip = `${startCase(segment)} - ${props[segment]}`;
|
|
28
|
+
return (_jsx(Tooltip, Object.assign({ onOpen: () => {
|
|
29
|
+
setIsTooltipOpen(true);
|
|
30
|
+
}, onClose: () => {
|
|
31
|
+
setIsTooltipOpen(false);
|
|
32
|
+
}, title: sourceTooltip }, { children: _jsx(ImageWrapper, Object.assign({ order: index, variants: referenceSourceAnimation(index, theme.shadows[4], isTextShown ? 83 : 0), sx: {
|
|
33
|
+
width: isTextShown ? '79px' : '36px',
|
|
34
|
+
} }, { children: isTextShown ? (_jsx(ReferenceTextWrapper, { children: _jsx(ReferenceTextLabel, { children: startCase(segment) }) })) : (_jsx(StyledSourceImage, { src: segmentsIcons[segment], alt: segment, sx: Object.assign({}, (segment === 'order' && { width: '11.82px' })) })) })) }), `${segment}-${index}`));
|
|
35
|
+
}), [props, segments, isTextShown, theme]);
|
|
36
|
+
const referenceSourcesCount = (ReferenceSources === null || ReferenceSources === void 0 ? void 0 : ReferenceSources.length) || 0;
|
|
37
|
+
return (_jsx(TableCell, Object.assign({}, props, { children: _jsx(StyledSourceCell, { children: referenceSourcesCount > 0 ? (_jsx(ReferenceSourcesContainer, Object.assign({ layout: true, className: "reference-sources-container", whileHover: "animate", animate: isTooltipOpen ? 'animate' : 'start', sourcesCount: referenceSourcesCount, variants: { animate: { width: referenceSourcesCount * (6 + 32) } }, style: {
|
|
38
|
+
zIndex: 29,
|
|
39
|
+
} }, { children: ReferenceSources }))) : null }) })));
|
|
40
|
+
}
|
|
41
|
+
export default SegmentsCell;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { segmentTechnologyIcon, segmentInstitutionIcon, segmentDevelopmentHouseIcon, transactionIcon } from '../../../../constants/index.js';
|
|
2
|
+
export const segmentsIcons = {
|
|
3
|
+
technology: segmentTechnologyIcon,
|
|
4
|
+
institution: segmentInstitutionIcon,
|
|
5
|
+
payment: transactionIcon,
|
|
6
|
+
developmentHouse: segmentDevelopmentHouseIcon,
|
|
7
|
+
};
|
|
@@ -0,0 +1,288 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare const StyledSourceCell: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
3
|
+
export declare const StyledSourceImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
4
|
+
export declare const ReferenceSourcesContainer: import("@emotion/styled").StyledComponent<{
|
|
5
|
+
hidden?: boolean | undefined;
|
|
6
|
+
id?: string | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
color?: string | undefined;
|
|
9
|
+
content?: string | undefined;
|
|
10
|
+
translate?: "yes" | "no" | undefined;
|
|
11
|
+
slot?: string | undefined;
|
|
12
|
+
title?: string | undefined;
|
|
13
|
+
defaultChecked?: boolean | undefined;
|
|
14
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
|
+
suppressContentEditableWarning?: boolean | undefined;
|
|
16
|
+
suppressHydrationWarning?: boolean | undefined;
|
|
17
|
+
accessKey?: string | undefined;
|
|
18
|
+
autoCapitalize?: (string & {}) | "none" | "off" | "on" | "sentences" | "words" | "characters" | undefined;
|
|
19
|
+
autoFocus?: boolean | undefined;
|
|
20
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
21
|
+
contextMenu?: string | undefined;
|
|
22
|
+
dir?: string | undefined;
|
|
23
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
24
|
+
enterKeyHint?: "search" | "done" | "enter" | "go" | "next" | "previous" | "send" | undefined;
|
|
25
|
+
lang?: string | undefined;
|
|
26
|
+
nonce?: string | undefined;
|
|
27
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
28
|
+
tabIndex?: number | undefined;
|
|
29
|
+
radioGroup?: string | undefined;
|
|
30
|
+
role?: import("react").AriaRole | undefined;
|
|
31
|
+
about?: string | undefined;
|
|
32
|
+
datatype?: string | undefined;
|
|
33
|
+
inlist?: any;
|
|
34
|
+
prefix?: string | undefined;
|
|
35
|
+
property?: string | undefined;
|
|
36
|
+
rel?: string | undefined;
|
|
37
|
+
resource?: string | undefined;
|
|
38
|
+
rev?: string | undefined;
|
|
39
|
+
typeof?: string | undefined;
|
|
40
|
+
vocab?: string | undefined;
|
|
41
|
+
autoCorrect?: string | undefined;
|
|
42
|
+
autoSave?: string | undefined;
|
|
43
|
+
itemProp?: string | undefined;
|
|
44
|
+
itemScope?: boolean | undefined;
|
|
45
|
+
itemType?: string | undefined;
|
|
46
|
+
itemID?: string | undefined;
|
|
47
|
+
itemRef?: string | undefined;
|
|
48
|
+
results?: number | undefined;
|
|
49
|
+
security?: string | undefined;
|
|
50
|
+
unselectable?: "off" | "on" | undefined;
|
|
51
|
+
inputMode?: "none" | "email" | "search" | "text" | "numeric" | "url" | "tel" | "decimal" | undefined;
|
|
52
|
+
is?: string | undefined;
|
|
53
|
+
exportparts?: string | undefined;
|
|
54
|
+
part?: string | undefined;
|
|
55
|
+
"aria-activedescendant"?: string | undefined;
|
|
56
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
57
|
+
"aria-autocomplete"?: "none" | "list" | "inline" | "both" | undefined;
|
|
58
|
+
"aria-braillelabel"?: string | undefined;
|
|
59
|
+
"aria-brailleroledescription"?: string | undefined;
|
|
60
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
61
|
+
"aria-checked"?: boolean | "false" | "true" | "mixed" | undefined;
|
|
62
|
+
"aria-colcount"?: number | undefined;
|
|
63
|
+
"aria-colindex"?: number | undefined;
|
|
64
|
+
"aria-colindextext"?: string | undefined;
|
|
65
|
+
"aria-colspan"?: number | undefined;
|
|
66
|
+
"aria-controls"?: string | undefined;
|
|
67
|
+
"aria-current"?: boolean | "page" | "time" | "date" | "false" | "true" | "step" | "location" | undefined;
|
|
68
|
+
"aria-describedby"?: string | undefined;
|
|
69
|
+
"aria-description"?: string | undefined;
|
|
70
|
+
"aria-details"?: string | undefined;
|
|
71
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
72
|
+
"aria-dropeffect"?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
|
|
73
|
+
"aria-errormessage"?: string | undefined;
|
|
74
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
75
|
+
"aria-flowto"?: string | undefined;
|
|
76
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
77
|
+
"aria-haspopup"?: boolean | "grid" | "dialog" | "menu" | "false" | "true" | "listbox" | "tree" | undefined;
|
|
78
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
79
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
80
|
+
"aria-keyshortcuts"?: string | undefined;
|
|
81
|
+
"aria-label"?: string | undefined;
|
|
82
|
+
"aria-labelledby"?: string | undefined;
|
|
83
|
+
"aria-level"?: number | undefined;
|
|
84
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
85
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
86
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
87
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
88
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
89
|
+
"aria-owns"?: string | undefined;
|
|
90
|
+
"aria-placeholder"?: string | undefined;
|
|
91
|
+
"aria-posinset"?: number | undefined;
|
|
92
|
+
"aria-pressed"?: boolean | "false" | "true" | "mixed" | undefined;
|
|
93
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
94
|
+
"aria-relevant"?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
|
95
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
96
|
+
"aria-roledescription"?: string | undefined;
|
|
97
|
+
"aria-rowcount"?: number | undefined;
|
|
98
|
+
"aria-rowindex"?: number | undefined;
|
|
99
|
+
"aria-rowindextext"?: string | undefined;
|
|
100
|
+
"aria-rowspan"?: number | undefined;
|
|
101
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
102
|
+
"aria-setsize"?: number | undefined;
|
|
103
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
104
|
+
"aria-valuemax"?: number | undefined;
|
|
105
|
+
"aria-valuemin"?: number | undefined;
|
|
106
|
+
"aria-valuenow"?: number | undefined;
|
|
107
|
+
"aria-valuetext"?: string | undefined;
|
|
108
|
+
dangerouslySetInnerHTML?: {
|
|
109
|
+
__html: string | TrustedHTML;
|
|
110
|
+
} | undefined;
|
|
111
|
+
onCopy?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
112
|
+
onCopyCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
113
|
+
onCut?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
114
|
+
onCutCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
115
|
+
onPaste?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
116
|
+
onPasteCapture?: import("react").ClipboardEventHandler<HTMLSpanElement> | undefined;
|
|
117
|
+
onCompositionEnd?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
118
|
+
onCompositionEndCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
119
|
+
onCompositionStart?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
120
|
+
onCompositionStartCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
121
|
+
onCompositionUpdate?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
122
|
+
onCompositionUpdateCapture?: import("react").CompositionEventHandler<HTMLSpanElement> | undefined;
|
|
123
|
+
onFocus?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
124
|
+
onFocusCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
125
|
+
onBlur?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
126
|
+
onBlurCapture?: import("react").FocusEventHandler<HTMLSpanElement> | undefined;
|
|
127
|
+
onChange?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
128
|
+
onChangeCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
129
|
+
onBeforeInput?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
130
|
+
onBeforeInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
131
|
+
onInput?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
132
|
+
onInputCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
133
|
+
onReset?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
134
|
+
onResetCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
135
|
+
onSubmit?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
136
|
+
onSubmitCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
137
|
+
onInvalid?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
138
|
+
onInvalidCapture?: import("react").FormEventHandler<HTMLSpanElement> | undefined;
|
|
139
|
+
onLoad?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
140
|
+
onLoadCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
141
|
+
onError?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
142
|
+
onErrorCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
143
|
+
onKeyDown?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
144
|
+
onKeyDownCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
145
|
+
onKeyPress?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
146
|
+
onKeyPressCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
147
|
+
onKeyUp?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
148
|
+
onKeyUpCapture?: import("react").KeyboardEventHandler<HTMLSpanElement> | undefined;
|
|
149
|
+
onAbort?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
150
|
+
onAbortCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
151
|
+
onCanPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
152
|
+
onCanPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
153
|
+
onCanPlayThrough?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
154
|
+
onCanPlayThroughCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
155
|
+
onDurationChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
156
|
+
onDurationChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
157
|
+
onEmptied?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
158
|
+
onEmptiedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
159
|
+
onEncrypted?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
160
|
+
onEncryptedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
161
|
+
onEnded?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
162
|
+
onEndedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
163
|
+
onLoadedData?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
164
|
+
onLoadedDataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
165
|
+
onLoadedMetadata?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
166
|
+
onLoadedMetadataCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
167
|
+
onLoadStart?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
168
|
+
onLoadStartCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
169
|
+
onPause?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
170
|
+
onPauseCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
171
|
+
onPlay?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
172
|
+
onPlayCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
173
|
+
onPlaying?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
174
|
+
onPlayingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
175
|
+
onProgress?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
176
|
+
onProgressCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
177
|
+
onRateChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
178
|
+
onRateChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
179
|
+
onSeeked?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
180
|
+
onSeekedCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
181
|
+
onSeeking?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
182
|
+
onSeekingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
183
|
+
onStalled?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
184
|
+
onStalledCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
185
|
+
onSuspend?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
186
|
+
onSuspendCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
187
|
+
onTimeUpdate?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
188
|
+
onTimeUpdateCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
189
|
+
onVolumeChange?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
190
|
+
onVolumeChangeCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
191
|
+
onWaiting?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
192
|
+
onWaitingCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
193
|
+
onAuxClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
194
|
+
onAuxClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
195
|
+
onClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
196
|
+
onClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
197
|
+
onContextMenu?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
198
|
+
onContextMenuCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
199
|
+
onDoubleClick?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
200
|
+
onDoubleClickCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
201
|
+
onDragCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
202
|
+
onDragEndCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
203
|
+
onDragEnter?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
204
|
+
onDragEnterCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
205
|
+
onDragExit?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
206
|
+
onDragExitCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
207
|
+
onDragLeave?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
208
|
+
onDragLeaveCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
209
|
+
onDragOver?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
210
|
+
onDragOverCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
211
|
+
onDragStartCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
212
|
+
onDrop?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
213
|
+
onDropCapture?: import("react").DragEventHandler<HTMLSpanElement> | undefined;
|
|
214
|
+
onMouseDown?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
215
|
+
onMouseDownCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
216
|
+
onMouseEnter?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
217
|
+
onMouseLeave?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
218
|
+
onMouseMove?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
219
|
+
onMouseMoveCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
220
|
+
onMouseOut?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
221
|
+
onMouseOutCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
222
|
+
onMouseOver?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
223
|
+
onMouseOverCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
224
|
+
onMouseUp?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
225
|
+
onMouseUpCapture?: import("react").MouseEventHandler<HTMLSpanElement> | undefined;
|
|
226
|
+
onSelect?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
227
|
+
onSelectCapture?: import("react").ReactEventHandler<HTMLSpanElement> | undefined;
|
|
228
|
+
onTouchCancel?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
229
|
+
onTouchCancelCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
230
|
+
onTouchEnd?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
231
|
+
onTouchEndCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
232
|
+
onTouchMove?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
233
|
+
onTouchMoveCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
234
|
+
onTouchStart?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
235
|
+
onTouchStartCapture?: import("react").TouchEventHandler<HTMLSpanElement> | undefined;
|
|
236
|
+
onPointerDown?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
237
|
+
onPointerDownCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
238
|
+
onPointerMove?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
239
|
+
onPointerMoveCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
240
|
+
onPointerUp?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
241
|
+
onPointerUpCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
242
|
+
onPointerCancel?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
243
|
+
onPointerCancelCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
244
|
+
onPointerEnter?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
245
|
+
onPointerLeave?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
246
|
+
onPointerOver?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
247
|
+
onPointerOverCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
248
|
+
onPointerOut?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
249
|
+
onPointerOutCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
250
|
+
onGotPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
251
|
+
onGotPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
252
|
+
onLostPointerCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
253
|
+
onLostPointerCaptureCapture?: import("react").PointerEventHandler<HTMLSpanElement> | undefined;
|
|
254
|
+
onScroll?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
255
|
+
onScrollCapture?: import("react").UIEventHandler<HTMLSpanElement> | undefined;
|
|
256
|
+
onWheel?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
257
|
+
onWheelCapture?: import("react").WheelEventHandler<HTMLSpanElement> | undefined;
|
|
258
|
+
onAnimationStartCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
259
|
+
onAnimationEnd?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
260
|
+
onAnimationEndCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
261
|
+
onAnimationIteration?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
262
|
+
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLSpanElement> | undefined;
|
|
263
|
+
onTransitionEnd?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
264
|
+
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLSpanElement> | undefined;
|
|
265
|
+
} & import("framer-motion").MotionProps & import("react").RefAttributes<HTMLSpanElement> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme> & {
|
|
266
|
+
sourcesCount: number;
|
|
267
|
+
}, {}, {}>;
|
|
268
|
+
export declare const ReferenceTextLabel: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
|
|
269
|
+
export declare const ReferenceTextWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
270
|
+
export declare const referenceSourceAnimation: (index: number, shadow: string, xDelta?: number) => {
|
|
271
|
+
start: {
|
|
272
|
+
x: number;
|
|
273
|
+
transition: {
|
|
274
|
+
duration: number;
|
|
275
|
+
type: string;
|
|
276
|
+
ease: string;
|
|
277
|
+
};
|
|
278
|
+
};
|
|
279
|
+
animate: {
|
|
280
|
+
x: number;
|
|
281
|
+
transition: {
|
|
282
|
+
duration: number;
|
|
283
|
+
type: string;
|
|
284
|
+
ease: string;
|
|
285
|
+
};
|
|
286
|
+
boxShadow: string;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
import { styled } from '@mui/material';
|
|
2
|
+
import { motion } from 'framer-motion';
|
|
3
|
+
export const StyledSourceCell = styled('span')(({ theme }) => ({
|
|
4
|
+
display: 'flex',
|
|
5
|
+
alignItems: 'center',
|
|
6
|
+
justifyContent: 'flex-start',
|
|
7
|
+
gap: theme.spacing(1),
|
|
8
|
+
}));
|
|
9
|
+
export const StyledSourceImage = styled('img')(() => ({
|
|
10
|
+
maxWidth: '36px',
|
|
11
|
+
maxHeight: '24px',
|
|
12
|
+
}));
|
|
13
|
+
export const ReferenceSourcesContainer = styled(motion.span)(({ theme, sourcesCount }) => ({
|
|
14
|
+
display: 'flex',
|
|
15
|
+
alignItems: 'center',
|
|
16
|
+
justifyContent: 'flex-start',
|
|
17
|
+
position: 'absolute',
|
|
18
|
+
minWidth: `${sourcesCount * 6 + 36}px `,
|
|
19
|
+
minHeight: '24px',
|
|
20
|
+
cursor: 'pointer',
|
|
21
|
+
backgroundColor: theme.palette.background.paper,
|
|
22
|
+
borderRadius: '16px',
|
|
23
|
+
}));
|
|
24
|
+
export const ReferenceTextLabel = styled('span')(() => ({
|
|
25
|
+
fontSize: '11px',
|
|
26
|
+
overflow: 'hidden',
|
|
27
|
+
textOverflow: 'ellipsis',
|
|
28
|
+
whiteSpace: 'nowrap',
|
|
29
|
+
padding: '2px 0',
|
|
30
|
+
}));
|
|
31
|
+
export const ReferenceTextWrapper = styled('div')(() => ({
|
|
32
|
+
display: 'flex',
|
|
33
|
+
alignItems: 'center',
|
|
34
|
+
justifyContent: 'center',
|
|
35
|
+
paddingInline: '4px',
|
|
36
|
+
}));
|
|
37
|
+
export const referenceSourceAnimation = (index, shadow, xDelta) => ({
|
|
38
|
+
start: {
|
|
39
|
+
x: index * 6,
|
|
40
|
+
transition: {
|
|
41
|
+
duration: 0.3,
|
|
42
|
+
type: 'tween',
|
|
43
|
+
ease: 'easeIn',
|
|
44
|
+
},
|
|
45
|
+
},
|
|
46
|
+
animate: {
|
|
47
|
+
x: xDelta ? index * xDelta : index * 39,
|
|
48
|
+
transition: {
|
|
49
|
+
duration: 0.3,
|
|
50
|
+
type: 'tween',
|
|
51
|
+
ease: 'easeOut',
|
|
52
|
+
},
|
|
53
|
+
boxShadow: shadow,
|
|
54
|
+
},
|
|
55
|
+
});
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { TableCellProps } from '@mui/material/TableCell';
|
|
2
|
+
import { segmentsIcons } from './constant';
|
|
3
|
+
export type SegmentsType = keyof typeof segmentsIcons;
|
|
4
|
+
export interface SegmentsCellProps extends TableCellProps {
|
|
5
|
+
technology?: string;
|
|
6
|
+
institution?: string;
|
|
7
|
+
payment?: string;
|
|
8
|
+
developmentHouse?: string;
|
|
9
|
+
isTextShown?: boolean;
|
|
10
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -13,7 +13,7 @@ export declare const InputsWrapper: import("@emotion/styled").StyledComponent<im
|
|
|
13
13
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
14
14
|
export declare const ClearButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
15
15
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
16
|
-
}, "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "
|
|
16
|
+
}, "disabled" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "variant" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
17
17
|
export declare const ClearWrapper: import("@emotion/styled").StyledComponent<import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme> & Omit<Omit<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
18
18
|
ref?: ((instance: HTMLDivElement | null) => void) | import("react").RefObject<HTMLDivElement> | null | undefined;
|
|
19
19
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -7,7 +7,7 @@ export declare const Footer: import("@emotion/styled").StyledComponent<import("@
|
|
|
7
7
|
}, keyof import("@mui/system").BoxOwnProps<import("@mui/material/styles").Theme>> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
8
8
|
export declare const OkayButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
9
9
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
10
|
-
}, "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "
|
|
10
|
+
}, "disabled" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "variant" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
11
11
|
export declare const CancelButton: import("@emotion/styled").StyledComponent<import("@mui/material/Button").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
12
12
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
13
|
-
}, "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "
|
|
13
|
+
}, "disabled" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "variant" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
|
|
@@ -15,6 +15,6 @@ export declare const ErrorMessage: import("@emotion/styled").StyledComponent<imp
|
|
|
15
15
|
export declare const StyledImage: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, {}>;
|
|
16
16
|
export declare const StyledButton: import("@emotion/styled").StyledComponent<import("@mui/material").ButtonOwnProps & Omit<import("@mui/material").ButtonBaseOwnProps, "classes"> & import("@mui/material/OverridableComponent").CommonProps & Omit<Omit<import("react").DetailedHTMLProps<import("react").ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
|
|
17
17
|
ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
|
|
18
|
-
}, "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "
|
|
18
|
+
}, "disabled" | "className" | "style" | "classes" | "color" | "children" | "sx" | "tabIndex" | "size" | "variant" | "action" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "TouchRippleProps" | "touchRippleRef" | "href" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "startIcon"> & import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, {}, {}>;
|
|
19
19
|
export declare const StyledButtonText: import("@emotion/styled").StyledComponent<import("@mui/system").MUIStyledCommonProps<import("@mui/material").Theme>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, {}>;
|
|
20
20
|
export {};
|
|
@@ -1,17 +1,14 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
+
import { ACCOUNT_SECTION, UserSection } from '../../types/index.js';
|
|
2
3
|
interface WindowSideBarProps {
|
|
3
|
-
sections:
|
|
4
|
-
id: string;
|
|
5
|
-
title?: string;
|
|
6
|
-
icon?: string;
|
|
7
|
-
}[];
|
|
4
|
+
sections: UserSection[];
|
|
8
5
|
isMaximized?: boolean;
|
|
9
6
|
onClick?: (section: {
|
|
10
|
-
id:
|
|
7
|
+
id: ACCOUNT_SECTION;
|
|
11
8
|
title?: string;
|
|
12
9
|
icon?: string;
|
|
13
10
|
}) => void;
|
|
14
|
-
activeSection?:
|
|
11
|
+
activeSection?: ACCOUNT_SECTION;
|
|
15
12
|
}
|
|
16
13
|
declare function WindowSideBar({ sections, isMaximized, onClick, activeSection }: WindowSideBarProps): import("react/jsx-runtime").JSX.Element;
|
|
17
14
|
declare const _default: import("react").MemoExoticComponent<typeof WindowSideBar>;
|
|
@@ -79,3 +79,4 @@ export { default as Collapse, type CollapseProps } from './Collapse';
|
|
|
79
79
|
export { default as ConfirmDialog, type ConfirmDialogFunction, type ConfirmDialogProps } from './ConfirmDialog';
|
|
80
80
|
export { default as ControlPanelContainer } from './ControlPanelContainer';
|
|
81
81
|
export { default as CopyImage } from './CopyImage';
|
|
82
|
+
export { default as AccountDropdown } from './AccountDropdown';
|
|
@@ -79,3 +79,4 @@ export { default as Collapse } from './Collapse';
|
|
|
79
79
|
export { default as ConfirmDialog } from './ConfirmDialog';
|
|
80
80
|
export { default as ControlPanelContainer } from './ControlPanelContainer';
|
|
81
81
|
export { default as CopyImage } from './CopyImage';
|
|
82
|
+
export { default as AccountDropdown } from './AccountDropdown';
|
|
@@ -129,6 +129,8 @@ export declare const billingAppIcon: string;
|
|
|
129
129
|
export declare const receiptBillIcon: string;
|
|
130
130
|
export declare const newReceiptIcon: string;
|
|
131
131
|
export declare const acceptanceAppIcon: string;
|
|
132
|
+
export declare const acceptanceAppDisabledIcon: string;
|
|
133
|
+
export declare const payoutAppDisabledIcon: string;
|
|
132
134
|
export declare const authenticationAppIcon: string;
|
|
133
135
|
export declare const walletAppIcon: string;
|
|
134
136
|
export declare const payoutsAppIcon: string;
|
|
@@ -453,3 +455,6 @@ export declare const socialLinksIcon: string;
|
|
|
453
455
|
export declare const smallLeftArrowIcon: string;
|
|
454
456
|
export declare const searchBlueIcon: string;
|
|
455
457
|
export declare const rightLightArrowIcon: string;
|
|
458
|
+
export declare const segmentInstitutionIcon: string;
|
|
459
|
+
export declare const segmentTechnologyIcon: string;
|
|
460
|
+
export declare const segmentDevelopmentHouseIcon: string;
|
|
@@ -130,6 +130,8 @@ export const billingAppIcon = `${lightUrl}/other/billing.svg`;
|
|
|
130
130
|
export const receiptBillIcon = `${lightUrl}/other/receiptBill.svg`;
|
|
131
131
|
export const newReceiptIcon = `${lightUrl}/newReceiptIcon.svg`;
|
|
132
132
|
export const acceptanceAppIcon = `${lightUrl}/other/acceptance.svg`;
|
|
133
|
+
export const acceptanceAppDisabledIcon = `${lightUrl}/other/acceptanceAppIconDisabled.svg`;
|
|
134
|
+
export const payoutAppDisabledIcon = `${lightUrl}/other/payoutsAppIconDisabled.svg`;
|
|
133
135
|
export const authenticationAppIcon = `${lightUrl}/other/AuthenticationApp.svg`;
|
|
134
136
|
export const walletAppIcon = `${lightUrl}/other/walletApp.svg`;
|
|
135
137
|
export const payoutsAppIcon = `${lightUrl}/other/payouts.svg`;
|
|
@@ -457,3 +459,6 @@ export const socialLinksIcon = `${lightUrl}/socialLinksIcon.svg`;
|
|
|
457
459
|
export const smallLeftArrowIcon = `${lightUrl}/smallLeftArrow.svg`;
|
|
458
460
|
export const searchBlueIcon = `${lightUrl}/searchBlueIcon.svg`;
|
|
459
461
|
export const rightLightArrowIcon = `${appBaseUrl}/rightLightArrow.svg`;
|
|
462
|
+
export const segmentInstitutionIcon = `${lightUrl}/other/segmentInstitution.svg`;
|
|
463
|
+
export const segmentTechnologyIcon = `${lightUrl}/other/segmentTechnology.svg`;
|
|
464
|
+
export const segmentDevelopmentHouseIcon = `${lightUrl}/other/segmentDevelopmentHouse.svg`;
|