impact-ui 4.0.6-tableV36.5 → 4.0.6-tableV36.6
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/_virtual/index13.js +2 -2
- package/dist/_virtual/index14.js +2 -2
- package/dist/_virtual/index3.js +4 -2
- package/dist/_virtual/index4.js +3 -3
- package/dist/_virtual/index5.js +2 -4
- package/dist/components/TableV36/index.js +2 -2
- package/dist/components/TableV36/withCommentIcon.d.ts +1 -1
- package/dist/components/TableV36/withCommentIcon.d.ts.map +1 -1
- package/dist/components/TableV36/withCommentIcon.js +4 -1
- package/dist/mcp-component-registry.json +1 -1
- package/dist/node_modules/@mui/system/colorManipulator.js +2 -2
- package/dist/node_modules/hoist-non-react-statics/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/react-with-styles-interface-css/dist/index.js +1 -1
- package/package.json +1 -1
package/dist/_virtual/index13.js
CHANGED
package/dist/_virtual/index14.js
CHANGED
package/dist/_virtual/index3.js
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
import { getAugmentedNamespace } from "./_commonjsHelpers.js";
|
|
2
|
+
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/formatMuiErrorMessage/index.js";
|
|
3
|
+
const require$$1 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
2
4
|
export {
|
|
3
|
-
|
|
5
|
+
require$$1 as default
|
|
4
6
|
};
|
package/dist/_virtual/index4.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getAugmentedNamespace } from "./_commonjsHelpers.js";
|
|
2
|
-
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/
|
|
3
|
-
const require$$
|
|
2
|
+
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
|
|
3
|
+
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
4
4
|
export {
|
|
5
|
-
require$$
|
|
5
|
+
require$$2 as default
|
|
6
6
|
};
|
package/dist/_virtual/index5.js
CHANGED
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
|
|
2
|
-
import * as index from "../node_modules/@mui/system/node_modules/@mui/utils/esm/clamp/index.js";
|
|
3
|
-
const require$$2 = /* @__PURE__ */ getAugmentedNamespace(index);
|
|
1
|
+
var reactIs = { exports: {} };
|
|
4
2
|
export {
|
|
5
|
-
|
|
3
|
+
reactIs as __module
|
|
6
4
|
};
|
|
@@ -57,8 +57,8 @@ const defaultTooltipValueGetter = (params) => {
|
|
|
57
57
|
return typeof raw === "object" ? JSON.stringify(raw) : raw;
|
|
58
58
|
};
|
|
59
59
|
const composeTooltipValueGetter = (consumerGetter) => (params) => {
|
|
60
|
-
var _a
|
|
61
|
-
if (((_a = params.colDef) == null ? void 0 : _a.cellRendererSelector) || !isPlainValueRenderer(
|
|
60
|
+
var _a;
|
|
61
|
+
if (((_a = params.colDef) == null ? void 0 : _a.cellRendererSelector) || !isPlainValueRenderer(params.colDef)) {
|
|
62
62
|
return null;
|
|
63
63
|
}
|
|
64
64
|
if (typeof consumerGetter === "function") {
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
* truncation-based tooltip is meaningful for it. Covers both "no renderer at all" and this HOC
|
|
4
4
|
* wrapping nothing, which is what every column looks like once the comment feature is enabled.
|
|
5
5
|
*/
|
|
6
|
-
export declare const isPlainValueRenderer: (
|
|
6
|
+
export declare const isPlainValueRenderer: (colDef: any) => any;
|
|
7
7
|
/**
|
|
8
8
|
* Returns a memoized HOC wrapper for the given renderer.
|
|
9
9
|
* Prefer this over calling `withCommentIcon` directly when building columnDefs.
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"withCommentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/withCommentIcon.tsx"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,
|
|
1
|
+
{"version":3,"file":"withCommentIcon.d.ts","sourceRoot":"","sources":["../../../src/components/TableV36/withCommentIcon.tsx"],"names":[],"mappings":"AAWA;;;;GAIG;AACH,eAAO,MAAM,oBAAoB,GAAI,WAAM,QACoE,CAAC;AA2IhH;;;GAGG;AACH,eAAO,MAAM,2BAA2B,GAAI,aAAQ,QAgBnD,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,aAAQ,QAA0C,CAAC"}
|
|
@@ -3,7 +3,10 @@ import { memo, useRef, useEffect } from "react";
|
|
|
3
3
|
import { getAssetUrl } from "../../utils/assetBase.js";
|
|
4
4
|
const CommentIndicator = (props) => /* @__PURE__ */ jsx("img", { alt: "", src: getAssetUrl("icons/comment-indicator.svg"), ...props });
|
|
5
5
|
const PLAIN_VALUE_CELL = "__impactPlainValueCell";
|
|
6
|
-
const isPlainValueRenderer = (
|
|
6
|
+
const isPlainValueRenderer = (colDef) => {
|
|
7
|
+
var _a;
|
|
8
|
+
return (colDef == null ? void 0 : colDef.cellRenderer) == null || (colDef == null ? void 0 : colDef.cellRenderer[PLAIN_VALUE_CELL]) === true || ((_a = colDef == null ? void 0 : colDef.extra) == null ? void 0 : _a.isPlainText);
|
|
9
|
+
};
|
|
7
10
|
const isTruncated = (element) => {
|
|
8
11
|
if (!element) return false;
|
|
9
12
|
return element.clientWidth < element.scrollWidth || element.clientHeight < element.scrollHeight;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { __exports as colorManipulator } from "../../../_virtual/colorManipulator.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
|
-
import require$$1 from "../../../_virtual/
|
|
4
|
-
import require$$2 from "../../../_virtual/
|
|
3
|
+
import require$$1 from "../../../_virtual/index3.js";
|
|
4
|
+
import require$$2 from "../../../_virtual/index4.js";
|
|
5
5
|
var _interopRequireDefault = require$$0;
|
|
6
6
|
Object.defineProperty(colorManipulator, "__esModule", {
|
|
7
7
|
value: true
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../../../_virtual/index13.js";
|
|
2
2
|
import { __require as requireReactIs_production_min } from "./cjs/react-is.production.min.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __module as reactIs } from "../../_virtual/
|
|
1
|
+
import { __module as reactIs } from "../../_virtual/index5.js";
|
|
2
2
|
import { __require as requireReactIs_production } from "./cjs/react-is.production.js";
|
|
3
3
|
import { __require as requireReactIs_development } from "./cjs/react-is.development.js";
|
|
4
4
|
if (process.env.NODE_ENV === "production") {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { __exports as dist } from "../../../_virtual/
|
|
1
|
+
import { __exports as dist } from "../../../_virtual/index14.js";
|
|
2
2
|
import require$$0 from "@babel/runtime/helpers/interopRequireDefault";
|
|
3
3
|
import { __require as requireArray_prototype_flat } from "../../array.prototype.flat/index.js";
|
|
4
4
|
import { __require as requireGlobalCache } from "../../global-cache/index.js";
|