slick-table 1.1.66 → 1.1.68
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 +79 -79
- package/dist/index.es.js +681 -638
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.ts +2 -0
- package/src/shared/lib/slickgrid/ui/SlickgridTable/ui/Table/Table.style.ts +108 -112
package/dist/types/index.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
export { Skeleton } from './entities/skeleton';
|
|
2
|
-
export { Autocomplete, ColumnPicker, ColumnSorter, DecoratorColumnFilter, DecoratorFilter, DefaultHotKeys, DefaultPrinter, DeletedRowsFilter, EditorAutocomplete, FORMATTER_NUMBER, Filter, HotKeysDecorator, PreventCopying, RedoUndoOnly, SlickTable, SlickgridTable, TotalCalculator, WithSummary, WithoutHotKeys, columnIsEdited, columnCheckboxSelector, commitCurrentEdit, copySelectedRows, eventContextMenu, formatterGroupTotals, formatterCheckMark, getDisplayedRows, getFormatterNumber, getNextId, handleHeaderButtons, headerButtons, highlightCell, highlightColumns, hotKeysCopy, hotKeysDelete, hotKeysRedo, hotKeysUndo, openColumnFilter, printerCheckMark, useListenIfTablesWereEdited, } from './shared/lib/slickgrid';
|
|
2
|
+
export { Autocomplete, ColumnPicker, ColumnSorter, DecoratorColumnFilter, DecoratorFilter, DefaultHotKeys, DefaultPrinter, DeletedRowsFilter, EditorAutocomplete, EditorSelectNumber, EditorSelectString, FORMATTER_NUMBER, Filter, HotKeysDecorator, PreventCopying, RedoUndoOnly, SlickTable, SlickgridTable, TotalCalculator, WithSummary, WithoutHotKeys, columnIsEdited, columnCheckboxSelector, commitCurrentEdit, copySelectedRows, eventContextMenu, formatterGroupTotals, formatterCheckMark, getDisplayedRows, getFormatterNumber, getNextId, handleHeaderButtons, headerButtons, highlightCell, highlightColumns, hotKeysCopy, hotKeysDelete, hotKeysRedo, hotKeysUndo, openColumnFilter, printerCheckMark, useListenIfTablesWereEdited, } from './shared/lib/slickgrid';
|
|
3
3
|
export { formatNumber } from './shared/lib/format';
|
|
4
4
|
export type { IColumn, IFilter, IFilterArguments, IFormatterNumberOptions, IHotKeysBehavior, IPrinter, ISlickTable, ITotalCalculator, } from './shared/model/types';
|
|
5
5
|
export { BOLD, WINK } from './shared/model/consts';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,gBAAgB,EAChB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,eAAe,EACf,WAAW,EACX,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,SAAS,EACT,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,GAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EACX,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,gBAAgB,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACN,aAAa,EACb,mBAAmB,EACnB,SAAS,GACT,MAAM,oBAAoB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,mBAAmB,CAAC;AAC7C,OAAO,EACN,YAAY,EACZ,YAAY,EACZ,YAAY,EACZ,qBAAqB,EACrB,eAAe,EACf,cAAc,EACd,cAAc,EACd,iBAAiB,EACjB,kBAAkB,EAClB,kBAAkB,EAClB,kBAAkB,EAClB,gBAAgB,EAChB,MAAM,EACN,gBAAgB,EAChB,cAAc,EACd,YAAY,EACZ,UAAU,EACV,cAAc,EACd,eAAe,EACf,WAAW,EACX,cAAc,EACd,cAAc,EACd,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,oBAAoB,EACpB,kBAAkB,EAClB,gBAAgB,EAChB,kBAAkB,EAClB,SAAS,EACT,mBAAmB,EACnB,aAAa,EACb,aAAa,EACb,gBAAgB,EAChB,WAAW,EACX,aAAa,EACb,WAAW,EACX,WAAW,EACX,gBAAgB,EAChB,gBAAgB,EAChB,2BAA2B,GAC3B,MAAM,sBAAsB,CAAC;AAC9B,OAAO,EAAE,YAAY,EAAE,MAAM,mBAAmB,CAAC;AACjD,YAAY,EACX,OAAO,EACP,OAAO,EACP,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,QAAQ,EACR,WAAW,EACX,gBAAgB,GAChB,MAAM,oBAAoB,CAAC;AAC5B,OAAO,EAAE,IAAI,EAAE,IAAI,EAAE,MAAM,qBAAqB,CAAC;AACjD,OAAO,EACN,aAAa,EACb,mBAAmB,EACnB,SAAS,GACT,MAAM,oBAAoB,CAAC"}
|
|
@@ -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":";;;;;AA4IA,wBAA6B"}
|
package/package.json
CHANGED
package/src/index.ts
CHANGED
|
@@ -13,130 +13,126 @@ 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
|
-
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
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
"
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
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
|
-
|
|
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
|
-
|
|
104
|
-
|
|
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
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
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
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
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
|
},
|