sccoreui 5.9.86 → 5.9.87
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.
|
@@ -260,13 +260,14 @@ function ParentForGrid(props) {
|
|
|
260
260
|
columnFromProps.find((col) => {
|
|
261
261
|
if (col.id === colDef.id) {
|
|
262
262
|
colDef.hide = col.hide;
|
|
263
|
+
colDef.seq = col === null || col === void 0 ? void 0 : col.seq;
|
|
263
264
|
}
|
|
264
265
|
});
|
|
265
266
|
return colDef;
|
|
266
267
|
});
|
|
267
|
-
|
|
268
|
+
const reOrderedColumns = updatedColumnDefs.sort((a, b) => a.seq - b.seq);
|
|
269
|
+
gridRef.current.api.setGridOption("columnDefs", reOrderedColumns);
|
|
268
270
|
}, [props === null || props === void 0 ? void 0 : props.columnData]);
|
|
269
|
-
console.log(props === null || props === void 0 ? void 0 : props.columnData, gridData === null || gridData === void 0 ? void 0 : gridData.columnData, 'column from props and grid data');
|
|
270
271
|
return ((0, jsx_runtime_1.jsx)(jsx_runtime_1.Fragment, { children: (0, jsx_runtime_1.jsx)(error_ui_1.default, { children: (0, jsx_runtime_1.jsx)("div", Object.assign({ style: { height: style.height, width: style.width }, className: "ag-grid-container border-1 border-gray-200 border-round" }, { children: (0, jsx_runtime_1.jsxs)(jsx_runtime_1.Fragment, { children: [(0, jsx_runtime_1.jsx)(context_provider_1.default, Object.assign({ value: {
|
|
271
272
|
featureDetails,
|
|
272
273
|
setFeatureDetails,
|
package/package.json
CHANGED
package/dist/assets/App34.scss
DELETED
|
@@ -1,130 +0,0 @@
|
|
|
1
|
-
@import url("./assets/theme.css");
|
|
2
|
-
@import url("./assets/sccoreui.css");
|
|
3
|
-
@import url("./assets/sccoreicons.css");
|
|
4
|
-
@import url("./assets/flex.css");
|
|
5
|
-
@import url('https://fonts.googleapis.com/css2?family=Lato:wght@100;300;400;700;900&display=swap');
|
|
6
|
-
|
|
7
|
-
:root {
|
|
8
|
-
--fw-600: 600;
|
|
9
|
-
--fw-400: 400;
|
|
10
|
-
--fs-24: 24px;
|
|
11
|
-
--fs-18: 18px;
|
|
12
|
-
--fs-16: 16px;
|
|
13
|
-
--lh: 24px;
|
|
14
|
-
--fs-14: 14px;
|
|
15
|
-
--grey-bg: #101828;
|
|
16
|
-
--border-none: border-none;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
// @font-face {
|
|
20
|
-
// font-family: "Lato";
|
|
21
|
-
// src: url("./assets/fonts/Lato-Regular.ttf") format("truetype");
|
|
22
|
-
// }
|
|
23
|
-
|
|
24
|
-
// @font-face {
|
|
25
|
-
// font-family: "Lato-600";
|
|
26
|
-
// font-weight: 600;
|
|
27
|
-
// src: url("./assets/fonts/Lato-Regular.ttf") format("truetype");
|
|
28
|
-
// }
|
|
29
|
-
|
|
30
|
-
// * {
|
|
31
|
-
// padding: 0;
|
|
32
|
-
// margin: 0;
|
|
33
|
-
// }
|
|
34
|
-
|
|
35
|
-
body {
|
|
36
|
-
font-family: 'Lato', sans-serif;
|
|
37
|
-
-webkit-font-smoothing: antialiased;
|
|
38
|
-
-moz-osx-font-smoothing: grayscale;
|
|
39
|
-
line-height: var(--lh);
|
|
40
|
-
padding: 0;
|
|
41
|
-
margin: 0;
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
code {
|
|
45
|
-
font-family: 'Lato', sans-serif;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
h1 {
|
|
49
|
-
font-size: var(--fs-24);
|
|
50
|
-
font-weight: var(--fw-600);
|
|
51
|
-
}
|
|
52
|
-
|
|
53
|
-
h2 {
|
|
54
|
-
font-size: var(--fs-18);
|
|
55
|
-
font-weight: var(--fw-600);
|
|
56
|
-
}
|
|
57
|
-
|
|
58
|
-
h3 {
|
|
59
|
-
font-size: var(--fs-16);
|
|
60
|
-
font-weight: var(--fw-400);
|
|
61
|
-
}
|
|
62
|
-
|
|
63
|
-
// ============= custom progress steps =============== //
|
|
64
|
-
|
|
65
|
-
.progress-container {
|
|
66
|
-
isolation: isolate;
|
|
67
|
-
|
|
68
|
-
&::before {
|
|
69
|
-
content: "";
|
|
70
|
-
background-color: var(--gray-200);
|
|
71
|
-
position: absolute;
|
|
72
|
-
z-index: -1;
|
|
73
|
-
}
|
|
74
|
-
|
|
75
|
-
&.horizontal::before {
|
|
76
|
-
height: 2px;
|
|
77
|
-
width: 100%;
|
|
78
|
-
top: 11%;
|
|
79
|
-
}
|
|
80
|
-
|
|
81
|
-
&.vertical::before {
|
|
82
|
-
height: 100%;
|
|
83
|
-
width: 2px;
|
|
84
|
-
left: 5%;
|
|
85
|
-
top: 0;
|
|
86
|
-
}
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.progressbar {
|
|
90
|
-
z-index: -1;
|
|
91
|
-
transition: all 0.6s ease;
|
|
92
|
-
|
|
93
|
-
&.horizontal {
|
|
94
|
-
left: 0;
|
|
95
|
-
height: 2px;
|
|
96
|
-
top: 11%;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
&.vertical {
|
|
100
|
-
width: 2px;
|
|
101
|
-
left: 5%;
|
|
102
|
-
top: 0;
|
|
103
|
-
}
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
.progress-step-item {
|
|
107
|
-
&.horizontal {
|
|
108
|
-
// transform: translateX(10%);
|
|
109
|
-
|
|
110
|
-
&:nth-of-type(1) {
|
|
111
|
-
transform: translateX(-50%);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:last-child {
|
|
115
|
-
transform: translateX(50%);
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
&.vertical {
|
|
120
|
-
transform: translateY(50%);
|
|
121
|
-
|
|
122
|
-
&:nth-of-type(1) {
|
|
123
|
-
transform: translateY(-5%);
|
|
124
|
-
}
|
|
125
|
-
|
|
126
|
-
&:last-child {
|
|
127
|
-
transform: translateY(100%);
|
|
128
|
-
}
|
|
129
|
-
}
|
|
130
|
-
}
|