slick-table 1.1.62 → 1.1.64
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/index.cjs.js +56 -56
- package/dist/index.es.js +1088 -1103
- package/dist/types/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts +121 -101
- package/src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts +1 -0
- package/src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts +1 -39
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AAwJA,wBAA6B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"columnCheckboxSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,
|
|
1
|
+
{"version":3,"file":"columnCheckboxSelector.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/columns/columnCheckboxSelector/columnCheckboxSelector.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,MAAM,oBAAoB,CAAC;AAE7C,eAAO,MAAM,sBAAsB,EAAE,OAIpC,CAAC"}
|
package/dist/types/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;
|
|
1
|
+
{"version":3,"file":"WithTableStyles.style.d.ts","sourceRoot":"","sources":["../../../../../../../../src/shared/lib/slickgrid/ui/styles/WithTableStyles/WithTableStyles.style.ts"],"names":[],"mappings":";;;;;AAIA,wBAA2B"}
|
package/package.json
CHANGED
|
@@ -13,118 +13,138 @@ const Container = styled(Box)({
|
|
|
13
13
|
maxWidth: "100%",
|
|
14
14
|
userSelect: "none",
|
|
15
15
|
|
|
16
|
-
"
|
|
17
|
-
"
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
16
|
+
"&.slick-container": {
|
|
17
|
+
"& .slick-header": {
|
|
18
|
+
borderTopColor: "transparent",
|
|
19
|
+
"& .slick-header-column": {
|
|
20
|
+
"&:last-child": {
|
|
21
|
+
borderRightColor: "transparent",
|
|
22
|
+
},
|
|
23
|
+
"&.filter-active .slick-header-button::after": {
|
|
24
|
+
width: "7px",
|
|
25
|
+
height: "7px",
|
|
26
|
+
content: "''",
|
|
27
|
+
backgroundColor: "#2196f3",
|
|
28
|
+
position: "absolute",
|
|
29
|
+
borderRadius: "50%",
|
|
30
|
+
border: "2px solid #f8f8f8",
|
|
31
|
+
top: "3px",
|
|
32
|
+
right: "3px",
|
|
33
|
+
},
|
|
34
|
+
"&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
|
|
35
|
+
"& .slick-column-name": {
|
|
36
|
+
textOverflow: "ellipsis",
|
|
37
|
+
whiteSpace: "nowrap",
|
|
38
|
+
overflow: "hidden",
|
|
39
|
+
maxWidth: "calc(100% - 16px)",
|
|
40
|
+
},
|
|
41
|
+
},
|
|
42
|
+
"&.slick-state-hover": {
|
|
43
|
+
"&.filter-active .slick-header-button::after": {
|
|
44
|
+
border: "2px solid #e8e8e8",
|
|
45
|
+
},
|
|
46
|
+
"& .slick-header-button": {
|
|
47
|
+
"&::before": {
|
|
48
|
+
backgroundColor: "#e8e8e8",
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
},
|
|
52
|
+
"& .slick-column-name": {
|
|
53
|
+
fontSize,
|
|
54
|
+
},
|
|
55
|
+
"& .slick-header-button": {
|
|
56
|
+
width: "19px",
|
|
57
|
+
height: "12px",
|
|
58
|
+
"&::before": {
|
|
59
|
+
position: "absolute",
|
|
60
|
+
content: "''",
|
|
61
|
+
width: "19px",
|
|
62
|
+
height: "12px",
|
|
63
|
+
top: "6px",
|
|
64
|
+
right: "5px",
|
|
65
|
+
backgroundImage:
|
|
66
|
+
"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
|
|
67
|
+
clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
|
|
68
|
+
backgroundColor: "transparent",
|
|
69
|
+
},
|
|
70
|
+
},
|
|
71
|
+
"& .slick-resizable-handle": {
|
|
72
|
+
boxShadow: "none",
|
|
43
73
|
},
|
|
44
74
|
},
|
|
45
75
|
},
|
|
46
|
-
"& .slick-column-name": {
|
|
47
|
-
fontSize,
|
|
48
|
-
},
|
|
49
|
-
"& .slick-header-button": {
|
|
50
|
-
width: "19px",
|
|
51
|
-
height: "12px",
|
|
52
|
-
"&::before": {
|
|
53
|
-
position: "absolute",
|
|
54
|
-
content: "''",
|
|
55
|
-
width: "19px",
|
|
56
|
-
height: "12px",
|
|
57
|
-
top: "6px",
|
|
58
|
-
right: "5px",
|
|
59
|
-
backgroundImage:
|
|
60
|
-
"repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
|
|
61
|
-
clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
|
|
62
|
-
backgroundColor: "#f8f8f8",
|
|
63
|
-
},
|
|
64
|
-
},
|
|
65
|
-
},
|
|
66
76
|
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
},
|
|
78
|
-
"&.text-right": {
|
|
79
|
-
justifyContent: "end",
|
|
80
|
-
textAlign: "right",
|
|
81
|
-
},
|
|
82
|
-
"&.bold": {
|
|
83
|
-
fontWeight: "bold",
|
|
84
|
-
},
|
|
85
|
-
"&.wink": {
|
|
86
|
-
animation: `${wink} infinite 0.5s linear`,
|
|
87
|
-
"& input": {
|
|
88
|
-
animation: `${wink} infinite 0.5s linear`,
|
|
89
|
-
},
|
|
90
|
-
},
|
|
91
|
-
"& input.editor-text": {
|
|
92
|
-
textAlign: "inherit",
|
|
93
|
-
},
|
|
94
|
-
"& #autocomplete": {
|
|
95
|
-
boxShadow: "0 0 5px 1px gray",
|
|
77
|
+
"& .slick-viewport": {
|
|
78
|
+
// Prevent displaying vertical scroll bar. Override this style when table exceeds available width
|
|
79
|
+
overflowX: "hidden !important",
|
|
80
|
+
scrollbarWidth: "thin",
|
|
81
|
+
"& .slick-cell": {
|
|
82
|
+
borderTop: "none",
|
|
83
|
+
borderRightStyle: "solid",
|
|
84
|
+
borderLeft: "none",
|
|
85
|
+
borderWidth: "1px",
|
|
86
|
+
display: "flex",
|
|
96
87
|
fontSize,
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
"
|
|
105
|
-
"
|
|
106
|
-
|
|
88
|
+
"&:last-child": {
|
|
89
|
+
borderRight: "none",
|
|
90
|
+
},
|
|
91
|
+
"&.text-center": {
|
|
92
|
+
justifyContent: "center",
|
|
93
|
+
textAlign: "center",
|
|
94
|
+
},
|
|
95
|
+
"&.text-right": {
|
|
96
|
+
justifyContent: "end",
|
|
97
|
+
textAlign: "right",
|
|
98
|
+
},
|
|
99
|
+
"&.bold": {
|
|
100
|
+
fontWeight: "bold",
|
|
101
|
+
},
|
|
102
|
+
"&.wink": {
|
|
103
|
+
animation: `${wink} infinite 0.5s linear`,
|
|
104
|
+
"& input": {
|
|
105
|
+
animation: `${wink} infinite 0.5s linear`,
|
|
107
106
|
},
|
|
108
|
-
|
|
109
|
-
|
|
107
|
+
},
|
|
108
|
+
"& input.editor-text": {
|
|
109
|
+
textAlign: "inherit",
|
|
110
|
+
},
|
|
111
|
+
"& #autocomplete": {
|
|
112
|
+
boxShadow: "0 0 5px 1px gray",
|
|
113
|
+
fontSize,
|
|
114
|
+
margin: 0,
|
|
115
|
+
maxHeight: "300px",
|
|
116
|
+
minWidth: "100%",
|
|
117
|
+
overflow: "auto",
|
|
118
|
+
padding: 0,
|
|
119
|
+
position: "absolute",
|
|
120
|
+
top: cellHeight,
|
|
121
|
+
"& div": {
|
|
122
|
+
fontSize,
|
|
123
|
+
"&:hover": {
|
|
124
|
+
cursor: "pointer",
|
|
125
|
+
},
|
|
126
|
+
"& strong": {
|
|
127
|
+
color: "#007bff",
|
|
128
|
+
},
|
|
110
129
|
},
|
|
111
130
|
},
|
|
112
131
|
},
|
|
113
132
|
},
|
|
114
|
-
},
|
|
115
133
|
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
134
|
+
"& .slick-footerrow": {
|
|
135
|
+
borderTop: "1px solid silver",
|
|
136
|
+
"& .slick-footerrow-column": {
|
|
137
|
+
height: "100%",
|
|
138
|
+
display: "flex",
|
|
139
|
+
justifyContent: "flex-end",
|
|
140
|
+
alignItems: "center",
|
|
141
|
+
fontSize,
|
|
142
|
+
paddingRight: "5px",
|
|
143
|
+
borderBottom: "none",
|
|
144
|
+
fontWeight: "bold",
|
|
145
|
+
"&:last-child": {
|
|
146
|
+
borderRight: "none",
|
|
147
|
+
},
|
|
128
148
|
},
|
|
129
149
|
},
|
|
130
150
|
},
|
|
@@ -1,43 +1,5 @@
|
|
|
1
1
|
import { Box, styled } from "@mui/material";
|
|
2
2
|
|
|
3
|
-
const Wrapper = styled(Box)((
|
|
4
|
-
"& .slick-container": {
|
|
5
|
-
color: theme.palette.text.primary,
|
|
6
|
-
borderColor: theme.palette.background.paper,
|
|
7
|
-
|
|
8
|
-
"& .slick-viewport": {
|
|
9
|
-
backgroundColor: theme.palette.background.paper,
|
|
10
|
-
"& .grid-canvas": {
|
|
11
|
-
"& .ui-widget-content.slick-row": {
|
|
12
|
-
"&.even": {
|
|
13
|
-
backgroundColor: theme.palette.background.default,
|
|
14
|
-
},
|
|
15
|
-
"& .slick-cell": {
|
|
16
|
-
"&.active": {
|
|
17
|
-
borderColor: "#007bff",
|
|
18
|
-
"& input": {
|
|
19
|
-
color: theme.palette.text.primary,
|
|
20
|
-
},
|
|
21
|
-
},
|
|
22
|
-
"&.selected": {
|
|
23
|
-
color: theme.palette.text.primary,
|
|
24
|
-
},
|
|
25
|
-
"& select": {
|
|
26
|
-
color: theme.palette.text.primary,
|
|
27
|
-
backgroundColor: theme.palette.background.default,
|
|
28
|
-
},
|
|
29
|
-
"& #autocomplete": {
|
|
30
|
-
backgroundColor: theme.palette.background.default,
|
|
31
|
-
},
|
|
32
|
-
},
|
|
33
|
-
},
|
|
34
|
-
},
|
|
35
|
-
},
|
|
36
|
-
|
|
37
|
-
"& .slick-footerrow": {
|
|
38
|
-
backgroundColor: theme.palette.background.default,
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
}));
|
|
3
|
+
const Wrapper = styled(Box)(() => ({}));
|
|
42
4
|
|
|
43
5
|
export default { Wrapper };
|