slick-table 1.1.66 → 1.1.67

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.es.js CHANGED
@@ -41073,127 +41073,123 @@ const Km = Ys`
41073
41073
  maxHeight: "100%",
41074
41074
  maxWidth: "100%",
41075
41075
  userSelect: "none",
41076
- "&.slick-container": {
41077
- "& div.slick-pane.slick-pane-header": {
41078
- "& .slick-header": {
41079
- borderTopColor: "transparent",
41080
- "& .slick-header-column": {
41081
- "&:last-child": {
41082
- borderRightColor: "transparent"
41083
- },
41084
- "&.filter-active .slick-header-button::after": {
41085
- width: "7px",
41086
- height: "7px",
41087
- content: "''",
41088
- backgroundColor: "#2196f3",
41089
- position: "absolute",
41090
- borderRadius: "50%",
41091
- border: "2px solid #f8f8f8",
41092
- top: "3px",
41093
- right: "3px"
41094
- },
41095
- "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
41096
- "& .slick-column-name": {
41097
- textOverflow: "ellipsis",
41098
- whiteSpace: "nowrap",
41099
- overflow: "hidden",
41100
- maxWidth: "calc(100% - 16px)"
41101
- }
41102
- },
41103
- "& .slick-column-name": {
41104
- fontSize: Ti
41105
- },
41106
- "& .slick-header-button": {
41107
- width: "19px",
41108
- height: "12px",
41109
- "&::before": {
41110
- position: "absolute",
41111
- content: "''",
41112
- width: "19px",
41113
- height: "12px",
41114
- top: "6px",
41115
- right: "5px",
41116
- backgroundImage: "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
41117
- clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
41118
- backgroundColor: "transparent"
41119
- }
41120
- },
41121
- "& .slick-resizable-handle": {
41122
- boxShadow: "none"
41123
- }
41076
+ "& .slick-header": {
41077
+ borderTopColor: "transparent",
41078
+ "& .slick-header-column": {
41079
+ "&:last-child": {
41080
+ borderRightColor: "transparent"
41081
+ },
41082
+ "&.filter-active .slick-header-button::after": {
41083
+ width: "7px",
41084
+ height: "7px",
41085
+ content: "''",
41086
+ backgroundColor: "#2196f3",
41087
+ position: "absolute",
41088
+ borderRadius: "50%",
41089
+ border: "2px solid #f8f8f8",
41090
+ top: "3px",
41091
+ right: "3px"
41092
+ },
41093
+ "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
41094
+ "& .slick-column-name": {
41095
+ textOverflow: "ellipsis",
41096
+ whiteSpace: "nowrap",
41097
+ overflow: "hidden",
41098
+ maxWidth: "calc(100% - 16px)"
41124
41099
  }
41100
+ },
41101
+ "& .slick-column-name": {
41102
+ fontSize: Ti
41103
+ },
41104
+ "& .slick-header-button": {
41105
+ width: "19px",
41106
+ height: "12px",
41107
+ "&::before": {
41108
+ position: "absolute",
41109
+ content: "''",
41110
+ width: "19px",
41111
+ height: "12px",
41112
+ top: "6px",
41113
+ right: "5px",
41114
+ backgroundImage: "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
41115
+ clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
41116
+ backgroundColor: "transparent"
41117
+ }
41118
+ },
41119
+ "& .slick-resizable-handle": {
41120
+ boxShadow: "none"
41125
41121
  }
41126
- },
41127
- "& .slick-viewport": {
41128
- // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
41129
- overflowX: "hidden !important",
41130
- scrollbarWidth: "thin",
41131
- "& .slick-cell": {
41132
- borderTop: "none",
41133
- borderRightStyle: "solid",
41134
- borderLeft: "none",
41135
- borderWidth: "1px",
41136
- display: "flex",
41122
+ }
41123
+ },
41124
+ "& .slick-viewport": {
41125
+ // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
41126
+ overflowX: "hidden !important",
41127
+ scrollbarWidth: "thin",
41128
+ "& .slick-cell": {
41129
+ borderTop: "none",
41130
+ borderRightStyle: "solid",
41131
+ borderLeft: "none",
41132
+ borderWidth: "1px",
41133
+ display: "flex",
41134
+ fontSize: Ti,
41135
+ "&:last-child": {
41136
+ borderRight: "none"
41137
+ },
41138
+ "&.text-center": {
41139
+ justifyContent: "center",
41140
+ textAlign: "center"
41141
+ },
41142
+ "&.text-right": {
41143
+ justifyContent: "end",
41144
+ textAlign: "right"
41145
+ },
41146
+ "&.bold": {
41147
+ fontWeight: "bold"
41148
+ },
41149
+ "&.wink": {
41150
+ animation: `${Km} infinite 0.5s linear`,
41151
+ "& input": {
41152
+ animation: `${Km} infinite 0.5s linear`
41153
+ }
41154
+ },
41155
+ "& input.editor-text": {
41156
+ textAlign: "inherit"
41157
+ },
41158
+ "& #autocomplete": {
41159
+ boxShadow: "0 0 5px 1px gray",
41137
41160
  fontSize: Ti,
41138
- "&:last-child": {
41139
- borderRight: "none"
41140
- },
41141
- "&.text-center": {
41142
- justifyContent: "center",
41143
- textAlign: "center"
41144
- },
41145
- "&.text-right": {
41146
- justifyContent: "end",
41147
- textAlign: "right"
41148
- },
41149
- "&.bold": {
41150
- fontWeight: "bold"
41151
- },
41152
- "&.wink": {
41153
- animation: `${Km} infinite 0.5s linear`,
41154
- "& input": {
41155
- animation: `${Km} infinite 0.5s linear`
41156
- }
41157
- },
41158
- "& input.editor-text": {
41159
- textAlign: "inherit"
41160
- },
41161
- "& #autocomplete": {
41162
- boxShadow: "0 0 5px 1px gray",
41161
+ margin: 0,
41162
+ maxHeight: "300px",
41163
+ minWidth: "100%",
41164
+ overflow: "auto",
41165
+ padding: 0,
41166
+ position: "absolute",
41167
+ top: CB,
41168
+ "& div": {
41163
41169
  fontSize: Ti,
41164
- margin: 0,
41165
- maxHeight: "300px",
41166
- minWidth: "100%",
41167
- overflow: "auto",
41168
- padding: 0,
41169
- position: "absolute",
41170
- top: CB,
41171
- "& div": {
41172
- fontSize: Ti,
41173
- "&:hover": {
41174
- cursor: "pointer"
41175
- },
41176
- "& strong": {
41177
- color: "#007bff"
41178
- }
41170
+ "&:hover": {
41171
+ cursor: "pointer"
41172
+ },
41173
+ "& strong": {
41174
+ color: "#007bff"
41179
41175
  }
41180
41176
  }
41181
41177
  }
41182
- },
41183
- "& .slick-footerrow": {
41184
- borderTop: "1px solid silver",
41185
- "& .slick-footerrow-column": {
41186
- height: "100%",
41187
- display: "flex",
41188
- justifyContent: "flex-end",
41189
- alignItems: "center",
41190
- fontSize: Ti,
41191
- paddingRight: "5px",
41192
- borderBottom: "none",
41193
- fontWeight: "bold",
41194
- "&:last-child": {
41195
- borderRight: "none"
41196
- }
41178
+ }
41179
+ },
41180
+ "& .slick-footerrow": {
41181
+ borderTop: "1px solid silver",
41182
+ "& .slick-footerrow-column": {
41183
+ height: "100%",
41184
+ display: "flex",
41185
+ justifyContent: "flex-end",
41186
+ alignItems: "center",
41187
+ fontSize: Ti,
41188
+ paddingRight: "5px",
41189
+ borderBottom: "none",
41190
+ fontWeight: "bold",
41191
+ "&:last-child": {
41192
+ borderRight: "none"
41197
41193
  }
41198
41194
  }
41199
41195
  }
@@ -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":";;;;;AAgJA,wBAA6B"}
1
+ {"version":3,"file":"Table.style.d.ts","sourceRoot":"","sources":["../../../../../../../../../src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts"],"names":[],"mappings":";;;;;AA4IA,wBAA6B"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "slick-table",
3
- "version": "1.1.66",
3
+ "version": "1.1.67",
4
4
  "description": "Enhanced version of SlickGrid library",
5
5
  "private": false,
6
6
  "type": "module",
@@ -13,130 +13,126 @@ const Container = styled(Box)({
13
13
  maxWidth: "100%",
14
14
  userSelect: "none",
15
15
 
16
- "&.slick-container": {
17
- "& div.slick-pane.slick-pane-header": {
18
- "& .slick-header": {
19
- borderTopColor: "transparent",
20
- "& .slick-header-column": {
21
- "&:last-child": {
22
- borderRightColor: "transparent",
23
- },
24
- "&.filter-active .slick-header-button::after": {
25
- width: "7px",
26
- height: "7px",
27
- content: "''",
28
- backgroundColor: "#2196f3",
29
- position: "absolute",
30
- borderRadius: "50%",
31
- border: "2px solid #f8f8f8",
32
- top: "3px",
33
- right: "3px",
34
- },
35
- "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
36
- "& .slick-column-name": {
37
- textOverflow: "ellipsis",
38
- whiteSpace: "nowrap",
39
- overflow: "hidden",
40
- maxWidth: "calc(100% - 16px)",
41
- },
42
- },
43
- "& .slick-column-name": {
44
- fontSize,
45
- },
46
- "& .slick-header-button": {
47
- width: "19px",
48
- height: "12px",
49
- "&::before": {
50
- position: "absolute",
51
- content: "''",
52
- width: "19px",
53
- height: "12px",
54
- top: "6px",
55
- right: "5px",
56
- backgroundImage:
57
- "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
58
- clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
59
- backgroundColor: "transparent",
60
- },
61
- },
62
- "& .slick-resizable-handle": {
63
- boxShadow: "none",
64
- },
16
+ "& .slick-header": {
17
+ borderTopColor: "transparent",
18
+ "& .slick-header-column": {
19
+ "&:last-child": {
20
+ borderRightColor: "transparent",
21
+ },
22
+ "&.filter-active .slick-header-button::after": {
23
+ width: "7px",
24
+ height: "7px",
25
+ content: "''",
26
+ backgroundColor: "#2196f3",
27
+ position: "absolute",
28
+ borderRadius: "50%",
29
+ border: "2px solid #f8f8f8",
30
+ top: "3px",
31
+ right: "3px",
32
+ },
33
+ "&:not([data-id=_checkbox_selector]):not([data-id=isEdited])": {
34
+ "& .slick-column-name": {
35
+ textOverflow: "ellipsis",
36
+ whiteSpace: "nowrap",
37
+ overflow: "hidden",
38
+ maxWidth: "calc(100% - 16px)",
65
39
  },
66
40
  },
67
- },
68
-
69
- "& .slick-viewport": {
70
- // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
71
- overflowX: "hidden !important",
72
- scrollbarWidth: "thin",
73
- "& .slick-cell": {
74
- borderTop: "none",
75
- borderRightStyle: "solid",
76
- borderLeft: "none",
77
- borderWidth: "1px",
78
- display: "flex",
41
+ "& .slick-column-name": {
79
42
  fontSize,
80
- "&:last-child": {
81
- borderRight: "none",
82
- },
83
- "&.text-center": {
84
- justifyContent: "center",
85
- textAlign: "center",
86
- },
87
- "&.text-right": {
88
- justifyContent: "end",
89
- textAlign: "right",
90
- },
91
- "&.bold": {
92
- fontWeight: "bold",
43
+ },
44
+ "& .slick-header-button": {
45
+ width: "19px",
46
+ height: "12px",
47
+ "&::before": {
48
+ position: "absolute",
49
+ content: "''",
50
+ width: "19px",
51
+ height: "12px",
52
+ top: "6px",
53
+ right: "5px",
54
+ backgroundImage:
55
+ "repeating-linear-gradient(0deg, #808080, #808080 2px, transparent 2px, transparent 4px)",
56
+ clipPath: "polygon(0% 0%, 100% 0%, 50% 110%)",
57
+ backgroundColor: "transparent",
93
58
  },
94
- "&.wink": {
59
+ },
60
+ "& .slick-resizable-handle": {
61
+ boxShadow: "none",
62
+ },
63
+ },
64
+ },
65
+
66
+ "& .slick-viewport": {
67
+ // Prevent displaying vertical scroll bar. Override this style when table exceeds available width
68
+ overflowX: "hidden !important",
69
+ scrollbarWidth: "thin",
70
+ "& .slick-cell": {
71
+ borderTop: "none",
72
+ borderRightStyle: "solid",
73
+ borderLeft: "none",
74
+ borderWidth: "1px",
75
+ display: "flex",
76
+ fontSize,
77
+ "&:last-child": {
78
+ borderRight: "none",
79
+ },
80
+ "&.text-center": {
81
+ justifyContent: "center",
82
+ textAlign: "center",
83
+ },
84
+ "&.text-right": {
85
+ justifyContent: "end",
86
+ textAlign: "right",
87
+ },
88
+ "&.bold": {
89
+ fontWeight: "bold",
90
+ },
91
+ "&.wink": {
92
+ animation: `${wink} infinite 0.5s linear`,
93
+ "& input": {
95
94
  animation: `${wink} infinite 0.5s linear`,
96
- "& input": {
97
- animation: `${wink} infinite 0.5s linear`,
98
- },
99
- },
100
- "& input.editor-text": {
101
- textAlign: "inherit",
102
95
  },
103
- "& #autocomplete": {
104
- boxShadow: "0 0 5px 1px gray",
96
+ },
97
+ "& input.editor-text": {
98
+ textAlign: "inherit",
99
+ },
100
+ "& #autocomplete": {
101
+ boxShadow: "0 0 5px 1px gray",
102
+ fontSize,
103
+ margin: 0,
104
+ maxHeight: "300px",
105
+ minWidth: "100%",
106
+ overflow: "auto",
107
+ padding: 0,
108
+ position: "absolute",
109
+ top: cellHeight,
110
+ "& div": {
105
111
  fontSize,
106
- margin: 0,
107
- maxHeight: "300px",
108
- minWidth: "100%",
109
- overflow: "auto",
110
- padding: 0,
111
- position: "absolute",
112
- top: cellHeight,
113
- "& div": {
114
- fontSize,
115
- "&:hover": {
116
- cursor: "pointer",
117
- },
118
- "& strong": {
119
- color: "#007bff",
120
- },
112
+ "&:hover": {
113
+ cursor: "pointer",
114
+ },
115
+ "& strong": {
116
+ color: "#007bff",
121
117
  },
122
118
  },
123
119
  },
124
120
  },
121
+ },
125
122
 
126
- "& .slick-footerrow": {
127
- borderTop: "1px solid silver",
128
- "& .slick-footerrow-column": {
129
- height: "100%",
130
- display: "flex",
131
- justifyContent: "flex-end",
132
- alignItems: "center",
133
- fontSize,
134
- paddingRight: "5px",
135
- borderBottom: "none",
136
- fontWeight: "bold",
137
- "&:last-child": {
138
- borderRight: "none",
139
- },
123
+ "& .slick-footerrow": {
124
+ borderTop: "1px solid silver",
125
+ "& .slick-footerrow-column": {
126
+ height: "100%",
127
+ display: "flex",
128
+ justifyContent: "flex-end",
129
+ alignItems: "center",
130
+ fontSize,
131
+ paddingRight: "5px",
132
+ borderBottom: "none",
133
+ fontWeight: "bold",
134
+ "&:last-child": {
135
+ borderRight: "none",
140
136
  },
141
137
  },
142
138
  },