@tap-payments/os-micro-frontend-shared 0.1.156 → 0.1.158
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/build/components/JSONViewer/JSONViewer.js +1 -1
- package/build/components/TableCells/CustomCells/TerminalsBrandCell/TerminalsBrandCell.js +1 -1
- package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js +1 -1
- package/build/types/table.d.ts +1 -1
- package/package.json +1 -1
|
@@ -18,7 +18,7 @@ export default function JSONViewer({ index, json, requestJson = {}, isWindowMini
|
|
|
18
18
|
var _a, _b, _c, _d;
|
|
19
19
|
const [isMaximized, setIsMaximized] = useState(false);
|
|
20
20
|
const [isResized, setIsResized] = useState(false);
|
|
21
|
-
const [isResponseCollapsed, setIsResponseCollapsed] = useState(
|
|
21
|
+
const [isResponseCollapsed, setIsResponseCollapsed] = useState(false);
|
|
22
22
|
const [isScrollingResponse, setIsScrollingResponse] = useState(false);
|
|
23
23
|
const [newDimensions, setNewDimensions] = useState({ width: 0, height: 0 });
|
|
24
24
|
const [isToolbarAnimationDisabled, setIsToolbarAnimationDisabled] = useState(true);
|
|
@@ -16,6 +16,6 @@ const TerminalsBrandCell = (props) => {
|
|
|
16
16
|
const displayLabel = showLabel;
|
|
17
17
|
if (!displayIcon && !displayLabel)
|
|
18
18
|
return null;
|
|
19
|
-
return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsBrandCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, { children: [displayIcon && (_jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: brandName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: brandName })) })))] })));
|
|
19
|
+
return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsBrandCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, { children: [displayIcon && (_jsx(Tooltip, Object.assign({ title: brandName ? `Brand: ${brandName}` : null }, { children: _jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon })) }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: brandName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: brandName })) })))] })));
|
|
20
20
|
};
|
|
21
21
|
export default TerminalsBrandCell;
|
package/build/components/TableCells/CustomCells/TerminalsPlatformCell/TerminalsPlatformCell.js
CHANGED
|
@@ -26,6 +26,6 @@ const TerminalsPlatformCell = (_a) => {
|
|
|
26
26
|
const displayLabel = showLabel;
|
|
27
27
|
if (!displayIcon && !displayLabel)
|
|
28
28
|
return null;
|
|
29
|
-
return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsPlatformCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, props, { children: [displayIcon && (_jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: platformName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: platformName || (_jsx(Box, Object.assign({ component: "span", sx: { opacity: 0.2 } }, { children: "Unavailable" }))) })) })))] })));
|
|
29
|
+
return (_jsxs(Stack, Object.assign({ "data-testid": "TerminalsPlatformCell", direction: "row", alignItems: "center", spacing: 1, color: "text.primary" }, props, { children: [displayIcon && (_jsx(Tooltip, Object.assign({ title: platformName ? `Platform: ${platformName}` : null }, { children: _jsx(Chip, Object.assign({ variant: "circular", sx: { '&.CustomVariant_circular': { minWidth: 32, height: 32 } } }, { children: icon })) }))), displayLabel && (_jsx(Tooltip, Object.assign({ title: platformName }, { children: _jsx(Typography, Object.assign({ noWrap: true, fontSize: 12, fontWeight: 500 }, { children: platformName || (_jsx(Box, Object.assign({ component: "span", sx: { opacity: 0.2 } }, { children: "Unavailable" }))) })) })))] })));
|
|
30
30
|
};
|
|
31
31
|
export default memo(TerminalsPlatformCell);
|
package/build/types/table.d.ts
CHANGED
|
@@ -140,7 +140,7 @@ export interface IVirtualTable<R = any> {
|
|
|
140
140
|
isSheetView?: boolean;
|
|
141
141
|
isMinimized?: boolean;
|
|
142
142
|
}
|
|
143
|
-
export type ColumnFilterValues = Record<string, string | string[] | Record<string, boolean> | Record<string, string> | {
|
|
143
|
+
export type ColumnFilterValues = Record<string, boolean | string | string[] | Record<string, boolean> | Record<string, string> | {
|
|
144
144
|
phone: string;
|
|
145
145
|
country: Country | undefined;
|
|
146
146
|
}>;
|
package/package.json
CHANGED