@xyo-network/react-shared 2.25.73 → 2.25.74
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/cjs/components/TableCell/EllipsisTableCell.js +21 -12
- package/dist/cjs/components/TableCell/EllipsisTableCell.js.map +1 -1
- package/dist/cjs/components/TableCell/getRemainingRowWidth.d.ts +1 -1
- package/dist/cjs/components/TableCell/getRemainingRowWidth.js +2 -3
- package/dist/cjs/components/TableCell/getRemainingRowWidth.js.map +1 -1
- package/dist/cjs/lib/getActualPaddingX.d.ts +13 -0
- package/dist/cjs/lib/getActualPaddingX.js +70 -0
- package/dist/cjs/lib/getActualPaddingX.js.map +1 -0
- package/dist/cjs/lib/index.d.ts +1 -0
- package/dist/cjs/lib/index.js +1 -0
- package/dist/cjs/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
|
|
|
6
6
|
const material_1 = require("@mui/material");
|
|
7
7
|
const react_common_1 = require("@xylabs/react-common");
|
|
8
8
|
const react_1 = require("react");
|
|
9
|
+
const lib_1 = require("../../lib");
|
|
9
10
|
const findParent_1 = require("./findParent");
|
|
10
11
|
const getRemainingRowWidth_1 = require("./getRemainingRowWidth");
|
|
11
12
|
const getSmallestParentWidth_1 = require("./getSmallestParentWidth");
|
|
@@ -17,9 +18,6 @@ const EllipsisTableCell = (_a) => {
|
|
|
17
18
|
var { value, to, href } = _a, props = tslib_1.__rest(_a, ["value", "to", "href"]);
|
|
18
19
|
const [calcCellWidth, setCalcCellWidth] = (0, react_1.useState)(0);
|
|
19
20
|
const hashDivRef = (0, react_1.useRef)(null);
|
|
20
|
-
const theme = (0, material_1.useTheme)();
|
|
21
|
-
// We calulate the spacing since we know that table rows use padding.
|
|
22
|
-
const spacing = parseInt(theme.spacing(4).substring(-2));
|
|
23
21
|
(0, react_1.useEffect)(() => {
|
|
24
22
|
var _a;
|
|
25
23
|
const currentElement = (_a = hashDivRef.current) === null || _a === void 0 ? void 0 : _a.parentElement;
|
|
@@ -28,7 +26,10 @@ const EllipsisTableCell = (_a) => {
|
|
|
28
26
|
const checkWidth = (cell) => {
|
|
29
27
|
const smallestParentWidth = (0, getSmallestParentWidth_1.getSmallestParentWidth)(cell);
|
|
30
28
|
if (smallestParentWidth && row) {
|
|
31
|
-
const
|
|
29
|
+
const remainingWidth = (0, getRemainingRowWidth_1.getRemainingRowWidth)(row);
|
|
30
|
+
const actualPaddingX = (0, lib_1.getActualPaddingX)(cell);
|
|
31
|
+
const remainderWidth = smallestParentWidth - remainingWidth - actualPaddingX;
|
|
32
|
+
cell.style.width = `${remainderWidth}`;
|
|
32
33
|
setCalcCellWidth(remainderWidth);
|
|
33
34
|
}
|
|
34
35
|
};
|
|
@@ -40,18 +41,26 @@ const EllipsisTableCell = (_a) => {
|
|
|
40
41
|
if (cell) {
|
|
41
42
|
checkWidth(cell);
|
|
42
43
|
window.addEventListener('resize', onResize);
|
|
44
|
+
row === null || row === void 0 ? void 0 : row.addEventListener('resize', onResize);
|
|
43
45
|
}
|
|
44
46
|
return () => {
|
|
45
47
|
window.removeEventListener('resize', onResize);
|
|
48
|
+
row === null || row === void 0 ? void 0 : row.removeEventListener('resize', onResize);
|
|
46
49
|
};
|
|
47
|
-
}, [hashDivRef
|
|
48
|
-
return ((0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({}, props, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ ref: hashDivRef, style: {
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
50
|
+
}, [hashDivRef]);
|
|
51
|
+
return ((0, jsx_runtime_1.jsx)(material_1.TableCell, Object.assign({}, props, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ ref: hashDivRef }, { children: href || to ? ((0, jsx_runtime_1.jsx)(react_common_1.LinkEx, Object.assign({ style: {
|
|
52
|
+
display: 'block',
|
|
53
|
+
maxWidth: calcCellWidth,
|
|
54
|
+
overflow: 'hidden',
|
|
55
|
+
textOverflow: 'ellipsis',
|
|
56
|
+
whiteSpace: 'nowrap',
|
|
57
|
+
}, to: to, href: href, target: href ? '_blank' : undefined }, { children: value }))) : ((0, jsx_runtime_1.jsx)("span", Object.assign({ style: {
|
|
58
|
+
display: 'block',
|
|
59
|
+
maxWidth: calcCellWidth,
|
|
60
|
+
overflow: 'hidden',
|
|
61
|
+
textOverflow: 'ellipsis',
|
|
62
|
+
whiteSpace: 'nowrap',
|
|
63
|
+
} }, { children: value }))) })) })));
|
|
55
64
|
};
|
|
56
65
|
exports.EllipsisTableCell = EllipsisTableCell;
|
|
57
66
|
//# sourceMappingURL=EllipsisTableCell.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"EllipsisTableCell.js","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":";;;;;AAAA,
|
|
1
|
+
{"version":3,"file":"EllipsisTableCell.js","sourceRoot":"","sources":["../../../../src/components/TableCell/EllipsisTableCell.tsx"],"names":[],"mappings":";;;;;AAAA,4CAAsF;AACtF,uDAA6C;AAC7C,iCAAmD;AAGnD,mCAA6C;AAC7C,6CAAyC;AACzC,iEAA6D;AAC7D,qEAAiE;AAOjE,MAAM,cAAc,GAAkC,CAAC,EAAyC,EAAE,EAAE;QAA7C,EAAE,KAAK,EAAE,aAAa,EAAE,KAAK,OAAY,EAAP,KAAK,sBAAvC,mCAAyC,CAAF;IAC5F,OAAO,CACL,uBAAC,qBAAU,kBACT,OAAO,EAAC,OAAO,EACf,UAAU,EAAC,WAAW,EACtB,KAAK,kBACH,OAAO,EAAE,OAAO,EAChB,QAAQ,EAAE,aAAa,EACvB,QAAQ,EAAE,QAAQ,EAClB,YAAY,EAAE,UAAU,EACxB,UAAU,EAAE,QAAQ,IACjB,KAAK,KAEN,KAAK,cAER,KAAK,IACK,CACd,CAAA;AACH,CAAC,CAAA;AAQM,M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EAAE,QAAQ,CAAC,CAAA;YAC3C,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,gBAAgB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;SAC1C;QACD,OAAO,GAAG,EAAE;YACV,MAAM,CAAC,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;YAC9C,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,mBAAmB,CAAC,QAAQ,EAAE,QAAQ,CAAC,CAAA;QAC9C,CAAC,CAAA;IACH,CAAC,EAAE,CAAC,UAAU,CAAC,CAAC,CAAA;IAEhB,OAAO,CACL,uBAAC,oBAAS,oBAAK,KAAK,cAClB,8CAAK,GAAG,EAAE,UAAU,gBACjB,IAAI,IAAI,EAAE,CAAC,CAAC,CAAC,CACZ,uBAAC,qBAAM,kBACL,KAAK,EAAE;oBACL,OAAO,EAAE,OAAO;oBAChB,QAAQ,EAAE,aAAa;oBACvB,QAAQ,EAAE,QAAQ;oBAClB,YAAY,EAAE,UAAU;oBACxB,UAAU,EAAE,QAAQ;iBACrB,EACD,EAAE,EAAE,EAAE,EACN,IAAI,EAAE,IAAI,EACV,MAAM,EAAE,IAAI,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,SAAS,gBAElC,KAAK,IACC,CACV,CAAC,CAAC,CAAC,CACF,+CACE,KAAK,EAAE;oBACL,OAAO,EAAE,OAAO;oBAChB,QAAQ,EAAE,aAAa;oBACvB,QAAQ,EAAE,QAAQ;oBAClB,YAAY,EAAE,UAAU;oBACxB,UAAU,EAAE,QAAQ;iBACrB,gBAEA,KAAK,IACD,CACR,IACG,IACI,CACb,CAAA;AACH,CAAC,CAAA;AAvEY,QAAA,iBAAiB,qBAuE7B"}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
/** @description This is the width of all the cells (except the one passed) in the row combined */
|
|
1
|
+
/** @description This is the width of all the cells (except the one passed) in the row combined and the spacing of the main cell */
|
|
2
2
|
export declare const getRemainingRowWidth: (row: HTMLElement, forCell?: number) => number;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
3
|
exports.getRemainingRowWidth = void 0;
|
|
4
|
-
/** @description This is the width of all the cells (except the one passed) in the row combined */
|
|
4
|
+
/** @description This is the width of all the cells (except the one passed) in the row combined and the spacing of the main cell */
|
|
5
5
|
const getRemainingRowWidth = (row, forCell = 0) => {
|
|
6
6
|
var _a, _b;
|
|
7
7
|
let width = 0;
|
|
@@ -9,8 +9,7 @@ const getRemainingRowWidth = (row, forCell = 0) => {
|
|
|
9
9
|
const item = row === null || row === void 0 ? void 0 : row.children.item(i);
|
|
10
10
|
if (item) {
|
|
11
11
|
if (i !== forCell) {
|
|
12
|
-
|
|
13
|
-
width += (_b = boundingRect === null || boundingRect === void 0 ? void 0 : boundingRect.width) !== null && _b !== void 0 ? _b : 0;
|
|
12
|
+
width += (_b = item === null || item === void 0 ? void 0 : item.clientWidth) !== null && _b !== void 0 ? _b : 0;
|
|
14
13
|
}
|
|
15
14
|
}
|
|
16
15
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getRemainingRowWidth.js","sourceRoot":"","sources":["../../../../src/components/TableCell/getRemainingRowWidth.ts"],"names":[],"mappings":";;;AAAA,
|
|
1
|
+
{"version":3,"file":"getRemainingRowWidth.js","sourceRoot":"","sources":["../../../../src/components/TableCell/getRemainingRowWidth.ts"],"names":[],"mappings":";;;AAAA,mIAAmI;AAC5H,MAAM,oBAAoB,GAAG,CAAC,GAAgB,EAAE,OAAO,GAAG,CAAC,EAAE,EAAE;;IACpE,IAAI,KAAK,GAAG,CAAC,CAAA;IACb,KAAK,IAAI,CAAC,GAAG,CAAC,EAAE,CAAC,GAAG,CAAC,MAAA,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,iBAAiB,mCAAI,CAAC,CAAC,EAAE,CAAC,EAAE,EAAE;QACtD,MAAM,IAAI,GAAG,GAAG,aAAH,GAAG,uBAAH,GAAG,CAAE,QAAQ,CAAC,IAAI,CAAC,CAAC,CAAC,CAAA;QAClC,IAAI,IAAI,EAAE;YACR,IAAI,CAAC,KAAK,OAAO,EAAE;gBACjB,KAAK,IAAI,MAAA,IAAI,aAAJ,IAAI,uBAAJ,IAAI,CAAE,WAAW,mCAAI,CAAC,CAAA;aAChC;SACF;KACF;IAED,OAAO,KAAK,CAAA;AACd,CAAC,CAAA;AAZY,QAAA,oBAAoB,wBAYhC"}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
export declare const parseMeausureString: (measure?: string, absolute?: number) => number | undefined;
|
|
2
|
+
export declare const parsePadding: (padding: string) => {
|
|
3
|
+
bottom: string;
|
|
4
|
+
left: string;
|
|
5
|
+
right: string;
|
|
6
|
+
top: string;
|
|
7
|
+
} | {
|
|
8
|
+
bottom: string;
|
|
9
|
+
right: string;
|
|
10
|
+
top: string;
|
|
11
|
+
left?: undefined;
|
|
12
|
+
} | undefined;
|
|
13
|
+
export declare const getActualPaddingX: (element: HTMLElement) => number;
|
|
@@ -0,0 +1,70 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.getActualPaddingX = exports.parsePadding = exports.parseMeausureString = void 0;
|
|
4
|
+
const parseMeausureString = (measure, absolute) => {
|
|
5
|
+
if (measure !== undefined && measure !== null && measure.length > 0) {
|
|
6
|
+
if (measure.endsWith('px')) {
|
|
7
|
+
return parseFloat(measure.substring(0, measure.length - 2));
|
|
8
|
+
}
|
|
9
|
+
else if (measure.endsWith('%')) {
|
|
10
|
+
if (absolute !== undefined) {
|
|
11
|
+
return (parseFloat(measure.substring(0, measure.length - 1)) / 100) * absolute;
|
|
12
|
+
}
|
|
13
|
+
throw Error('Error Parsing Measure [missing absolute]');
|
|
14
|
+
}
|
|
15
|
+
else if (measure.endsWith('vw')) {
|
|
16
|
+
return (parseFloat(measure.substring(0, measure.length - 2)) / 100) * window.innerWidth;
|
|
17
|
+
}
|
|
18
|
+
else if (measure.endsWith('vh')) {
|
|
19
|
+
return (parseFloat(measure.substring(0, measure.length - 2)) / 100) * window.innerHeight;
|
|
20
|
+
}
|
|
21
|
+
throw Error(`Error Parsing Measure [${measure}]`);
|
|
22
|
+
}
|
|
23
|
+
};
|
|
24
|
+
exports.parseMeausureString = parseMeausureString;
|
|
25
|
+
const parsePadding = (padding) => {
|
|
26
|
+
const parts = padding.split(' ');
|
|
27
|
+
switch (parts.length) {
|
|
28
|
+
case 4: {
|
|
29
|
+
return {
|
|
30
|
+
bottom: parts[2],
|
|
31
|
+
left: parts[3],
|
|
32
|
+
right: parts[1],
|
|
33
|
+
top: parts[0],
|
|
34
|
+
};
|
|
35
|
+
}
|
|
36
|
+
case 3: {
|
|
37
|
+
return {
|
|
38
|
+
bottom: parts[2],
|
|
39
|
+
right: parts[1],
|
|
40
|
+
top: parts[0],
|
|
41
|
+
};
|
|
42
|
+
}
|
|
43
|
+
case 2: {
|
|
44
|
+
return {
|
|
45
|
+
bottom: parts[0],
|
|
46
|
+
left: parts[1],
|
|
47
|
+
right: parts[1],
|
|
48
|
+
top: parts[0],
|
|
49
|
+
};
|
|
50
|
+
}
|
|
51
|
+
case 1: {
|
|
52
|
+
return {
|
|
53
|
+
bottom: parts[0],
|
|
54
|
+
left: parts[0],
|
|
55
|
+
right: parts[0],
|
|
56
|
+
top: parts[0],
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
exports.parsePadding = parsePadding;
|
|
62
|
+
const getActualPaddingX = (element) => {
|
|
63
|
+
var _a, _b, _c, _d;
|
|
64
|
+
const padding = (0, exports.parsePadding)(window.getComputedStyle(element, null).getPropertyValue('padding'));
|
|
65
|
+
const paddingLeft = (_b = (0, exports.parseMeausureString)((_a = window.getComputedStyle(element, null).getPropertyValue('padding-left')) !== null && _a !== void 0 ? _a : padding === null || padding === void 0 ? void 0 : padding.left, element.clientWidth)) !== null && _b !== void 0 ? _b : 0;
|
|
66
|
+
const paddingRight = (_d = (0, exports.parseMeausureString)((_c = window.getComputedStyle(element, null).getPropertyValue('padding-right')) !== null && _c !== void 0 ? _c : padding === null || padding === void 0 ? void 0 : padding.right, element.clientWidth)) !== null && _d !== void 0 ? _d : 0;
|
|
67
|
+
return paddingLeft + paddingRight;
|
|
68
|
+
};
|
|
69
|
+
exports.getActualPaddingX = getActualPaddingX;
|
|
70
|
+
//# sourceMappingURL=getActualPaddingX.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"getActualPaddingX.js","sourceRoot":"","sources":["../../../src/lib/getActualPaddingX.ts"],"names":[],"mappings":";;;AAAO,MAAM,mBAAmB,GAAG,CAAC,OAAgB,EAAE,QAAiB,EAAE,EAAE;IACzE,IAAI,OAAO,KAAK,SAAS,IAAI,OAAO,KAAK,IAAI,IAAI,OAAO,CAAC,MAAM,GAAG,CAAC,EAAE;QACnE,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YAC1B,OAAO,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,CAAA;SAC5D;aAAM,IAAI,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;YAChC,IAAI,QAAQ,KAAK,SAAS,EAAE;gBAC1B,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,CAAC,CAAC,GAAG,GAAG,CAAC,GAAG,QAAQ,CAAA;aAC/E;YACD,MAAM,KAAK,CAAC,0CAA0C,CAAC,CAAA;SACxD;aAAM,IAAI,OAAO,CAAC,QAAQ,CAAC,IAAI,CAAC,EAAE;YACjC,OAAO,CAAC,UAAU,CAAC,OAAO,CAAC,SAAS,CAAC,CAAC,EAAE,OAAO,CAAC,MAAM,GAAG,CAAC,C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AAE,KAAK,CAAC,CAAC,CAAC;gBAChB,IAAI,EAAE,KAAK,CAAC,CAAC,CAAC;gBACd,KAAK,EAAE,KAAK,CAAC,CAAC,CAAC;gBACf,GAAG,EAAE,KAAK,CAAC,CAAC,CAAC;aACd,CAAA;SACF;KACF;AACH,CAAC,CAAA;AAnCY,QAAA,YAAY,gBAmCxB;AAEM,MAAM,iBAAiB,GAAG,CAAC,OAAoB,EAAE,EAAE;;IACxD,MAAM,OAAO,GAAG,IAAA,oBAAY,EAAC,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,gBAAgB,CAAC,SAAS,CAAC,CAAC,CAAA;IAChG,MAAM,WAAW,GAAG,MAAA,IAAA,2BAAmB,EAAC,MAAA,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,gBAAgB,CAAC,cAAc,CAAC,mCAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,IAAI,EAAE,OAAO,CAAC,WAAW,CAAC,mCAAI,CAAC,CAAA;IAC3J,MAAM,YAAY,GAAG,MAAA,IAAA,2BAAmB,EAAC,MAAA,MAAM,CAAC,gBAAgB,CAAC,OAAO,EAAE,IAAI,CAAC,CAAC,gBAAgB,CAAC,eAAe,CAAC,mCAAI,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,KAAK,EAAE,OAAO,CAAC,WAAW,CAAC,mCAAI,CAAC,CAAA;IAC9J,OAAO,WAAW,GAAG,YAAY,CAAA;AACnC,CAAC,CAAA;AALY,QAAA,iBAAiB,qBAK7B"}
|
package/dist/cjs/lib/index.d.ts
CHANGED
package/dist/cjs/lib/index.js
CHANGED
|
@@ -4,5 +4,6 @@ const tslib_1 = require("tslib");
|
|
|
4
4
|
tslib_1.__exportStar(require("./archivistPresets"), exports);
|
|
5
5
|
tslib_1.__exportStar(require("./assertDefinedEx"), exports);
|
|
6
6
|
tslib_1.__exportStar(require("./divinerPresets"), exports);
|
|
7
|
+
tslib_1.__exportStar(require("./getActualPaddingX"), exports);
|
|
7
8
|
tslib_1.__exportStar(require("./networkComponents"), exports);
|
|
8
9
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC;AAClC,4DAAiC;AACjC,2DAAgC;AAChC,8DAAmC"}
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../src/lib/index.ts"],"names":[],"mappings":";;;AAAA,6DAAkC;AAClC,4DAAiC;AACjC,2DAAgC;AAChC,8DAAmC;AACnC,8DAAmC"}
|