cecomponent 1.0.154 → 1.0.155
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.
|
@@ -40253,7 +40253,9 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
40253
40253
|
if (he !== void 0) return `__row_${he}`;
|
|
40254
40254
|
}, [Pe, fe] = useState(
|
|
40255
40255
|
{}
|
|
40256
|
-
), [Ne, je] = useState(!1), [Se, Me] = useState([]), [Le, Ve] = useState([]), [ze, $e] = useState([]), [Qe, Ue] = useState(!1), [He, Xe] = useState(
|
|
40256
|
+
), [Ne, je] = useState(!1), [Se, Me] = useState([]), [Le, Ve] = useState([]), [ze, $e] = useState([]), [Qe, Ue] = useState(!1), [He, Xe] = useState(
|
|
40257
|
+
/* @__PURE__ */ new Set()
|
|
40258
|
+
), [Ge, Ye] = useState(null), [ct, tt] = useState(!1), [at, ot] = useState(""), [xt, ft] = useState(null), [_t, bt] = useState(null), [vt, Et] = useState("contains"), [Tt, dt] = useState(""), [et, ut] = useState({}), [pt, st] = useState(0), [yt, Ft] = useState(
|
|
40257
40259
|
M ?? 10
|
|
40258
40260
|
), Be = (ce) => {
|
|
40259
40261
|
if (st(ce), typeof Ee == "function")
|
|
@@ -40760,7 +40762,9 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
40760
40762
|
onChange: (ce) => {
|
|
40761
40763
|
if (ce) {
|
|
40762
40764
|
const he = new Set(
|
|
40763
|
-
Se.map(
|
|
40765
|
+
Se.map(
|
|
40766
|
+
(me, ye) => ne(me, ye)
|
|
40767
|
+
)
|
|
40764
40768
|
);
|
|
40765
40769
|
Xe(he);
|
|
40766
40770
|
} else
|
|
@@ -41025,11 +41029,17 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
41025
41029
|
{
|
|
41026
41030
|
label: "",
|
|
41027
41031
|
checked: (() => {
|
|
41028
|
-
const me = ne(
|
|
41032
|
+
const me = ne(
|
|
41033
|
+
ce,
|
|
41034
|
+
pt * yt + he
|
|
41035
|
+
);
|
|
41029
41036
|
return me !== void 0 && He.has(me);
|
|
41030
41037
|
})(),
|
|
41031
41038
|
onChange: (me) => {
|
|
41032
|
-
const ye = new Set(He), we = ne(
|
|
41039
|
+
const ye = new Set(He), we = ne(
|
|
41040
|
+
ce,
|
|
41041
|
+
pt * yt + he
|
|
41042
|
+
);
|
|
41033
41043
|
we !== void 0 && (me ? ye.add(we) : ye.delete(we)), Xe(ye);
|
|
41034
41044
|
}
|
|
41035
41045
|
}
|
|
@@ -41121,7 +41131,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
41121
41131
|
width: 20,
|
|
41122
41132
|
height: 20,
|
|
41123
41133
|
style: { cursor: "pointer" },
|
|
41124
|
-
onClick: C
|
|
41134
|
+
onClick: () => C == null ? void 0 : C(ce, he)
|
|
41125
41135
|
}
|
|
41126
41136
|
),
|
|
41127
41137
|
S && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41143,7 +41153,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
41143
41153
|
width: 20,
|
|
41144
41154
|
height: 20,
|
|
41145
41155
|
style: { cursor: "pointer" },
|
|
41146
|
-
onClick: j
|
|
41156
|
+
onClick: () => j == null ? void 0 : j(ce, he)
|
|
41147
41157
|
}
|
|
41148
41158
|
),
|
|
41149
41159
|
_ && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -41154,7 +41164,7 @@ const ExportIcon = "data:image/svg+xml,%3csvg%20width='24'%20height='25'%20viewB
|
|
|
41154
41164
|
width: 20,
|
|
41155
41165
|
height: 20,
|
|
41156
41166
|
style: { cursor: "pointer" },
|
|
41157
|
-
onClick: O
|
|
41167
|
+
onClick: () => O == null ? void 0 : O(ce, he)
|
|
41158
41168
|
}
|
|
41159
41169
|
),
|
|
41160
41170
|
g && /* @__PURE__ */ jsxRuntimeExports.jsx(
|
|
@@ -32,12 +32,12 @@ interface CEDataGridDynamicTableProps {
|
|
|
32
32
|
isCancelButtonRequired?: boolean;
|
|
33
33
|
isExportToExcelRequired?: boolean;
|
|
34
34
|
noOfPagesPerPage?: number;
|
|
35
|
-
handleEditClick?: () => void;
|
|
35
|
+
handleEditClick?: (row: any, rowIndex: number) => void;
|
|
36
36
|
handleAddClick?: () => void;
|
|
37
37
|
handleDeleteClick?: (row: any, rowIndex: number) => void;
|
|
38
|
-
handleApproveClick?: () => void;
|
|
38
|
+
handleApproveClick?: (row: any, rowIndex: number) => void;
|
|
39
39
|
handleReassignClick?: () => void;
|
|
40
|
-
handleCancelClick?: () => void;
|
|
40
|
+
handleCancelClick?: (row: any, rowIndex: number) => void;
|
|
41
41
|
clickableColumns?: string[];
|
|
42
42
|
isExportAllToExcel?: boolean;
|
|
43
43
|
conditionalClickableColumns?: Record<string, string[]>;
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "cecomponent",
|
|
3
3
|
"description": "A React component library for building modern UIs for Cleanearth",
|
|
4
|
-
"version": "1.0.
|
|
4
|
+
"version": "1.0.155",
|
|
5
5
|
"main": "dist/ce-component-lib.js",
|
|
6
6
|
"module": "dist/ce-component-lib.mjs",
|
|
7
7
|
"types": "dist/idex.d.ts",
|