imm-element-ui 1.1.2 → 1.1.4
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/esm2022/lib/grid/grid/grid.component.mjs +4 -4
- package/esm2022/lib/grid/grid-utils.mjs +4 -12
- package/esm2022/lib/page-form/page-form.component.mjs +4 -4
- package/esm2022/lib/share/utils.mjs +7 -4
- package/fesm2022/imm-element-ui.mjs +15 -20
- package/fesm2022/imm-element-ui.mjs.map +1 -1
- package/lib/grid/grid/grid.component.d.ts +1 -0
- package/lib/grid/grid-utils.d.ts +1 -1
- package/package.json +1 -1
- package/src/lib/grid/grid/grid.component.scss +42 -38
package/lib/grid/grid-utils.d.ts
CHANGED
|
@@ -4,7 +4,7 @@ import { GridOptions } from './grid/grid.component';
|
|
|
4
4
|
import { ActionService } from '../service/action.service';
|
|
5
5
|
export declare const gridUtils: {
|
|
6
6
|
calcRowIds: (api: any, isServerSide: boolean) => any[];
|
|
7
|
-
selectionHandler: (api: any, selectionKeys: any[], startRow: number) => void;
|
|
7
|
+
selectionHandler: (api: any, selectionKeys: any[], startRow: number, dataKey?: string) => void;
|
|
8
8
|
calcGridHeight: (rowCount: number, margin: number) => number;
|
|
9
9
|
getTheme: (themeConfig: ThemeConfigService) => import("ag-grid-enterprise").Theme<{
|
|
10
10
|
accentColor: import("ag-grid-community/dist/types/src/theming/theme-types").ColorValue;
|
package/package.json
CHANGED
|
@@ -1,39 +1,43 @@
|
|
|
1
|
-
:host ::ng-deep {
|
|
2
|
-
.ag-grid .ag-body {
|
|
3
|
-
overflow-y: scroll !important;
|
|
4
|
-
scrollbar-gutter: stable;
|
|
5
|
-
transition: height 0.2s ease;
|
|
6
|
-
}
|
|
7
|
-
.ag-grid {
|
|
8
|
-
transition: height 0.2s ease;
|
|
9
|
-
}
|
|
10
|
-
.ag-root-wrapper {
|
|
11
|
-
overflow: initial !important;
|
|
12
|
-
}
|
|
13
|
-
.tree-grid {
|
|
14
|
-
.ag-body-vertical-scroll {
|
|
15
|
-
width: 5px !important;
|
|
16
|
-
max-width: 5px !important;
|
|
17
|
-
min-width: 5px !important;
|
|
18
|
-
display: block !important;
|
|
19
|
-
}
|
|
20
|
-
}
|
|
21
|
-
.cell-wrap-text {
|
|
22
|
-
white-space: normal !important;
|
|
23
|
-
word-break: break-word !important;
|
|
24
|
-
line-height: 1.5 !important;
|
|
25
|
-
padding: 10px 15px;
|
|
26
|
-
}
|
|
27
|
-
.editable-column-header .ag-header-cell-text::after {
|
|
28
|
-
content: '✐';
|
|
29
|
-
padding-left: 6px;
|
|
30
|
-
color: var(--p-primary-color);
|
|
31
|
-
// font-size: 14px;
|
|
32
|
-
}
|
|
33
|
-
.rowSpan{
|
|
34
|
-
.ag-cell {
|
|
35
|
-
border-right: 1px solid color-mix(in srgb, transparent, var(--ag-foreground-color) 15%);
|
|
36
|
-
}
|
|
37
|
-
}
|
|
38
|
-
|
|
1
|
+
:host ::ng-deep {
|
|
2
|
+
.ag-grid .ag-body {
|
|
3
|
+
overflow-y: scroll !important;
|
|
4
|
+
scrollbar-gutter: stable;
|
|
5
|
+
transition: height 0.2s ease;
|
|
6
|
+
}
|
|
7
|
+
.ag-grid {
|
|
8
|
+
transition: height 0.2s ease;
|
|
9
|
+
}
|
|
10
|
+
.ag-root-wrapper {
|
|
11
|
+
overflow: initial !important;
|
|
12
|
+
}
|
|
13
|
+
.tree-grid {
|
|
14
|
+
.ag-body-vertical-scroll {
|
|
15
|
+
width: 5px !important;
|
|
16
|
+
max-width: 5px !important;
|
|
17
|
+
min-width: 5px !important;
|
|
18
|
+
display: block !important;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.cell-wrap-text {
|
|
22
|
+
white-space: normal !important;
|
|
23
|
+
word-break: break-word !important;
|
|
24
|
+
line-height: 1.5 !important;
|
|
25
|
+
padding: 10px 15px;
|
|
26
|
+
}
|
|
27
|
+
.editable-column-header .ag-header-cell-text::after {
|
|
28
|
+
content: '✐';
|
|
29
|
+
padding-left: 6px;
|
|
30
|
+
color: var(--p-primary-color);
|
|
31
|
+
// font-size: 14px;
|
|
32
|
+
}
|
|
33
|
+
.rowSpan{
|
|
34
|
+
.ag-cell {
|
|
35
|
+
border-right: 1px solid color-mix(in srgb, transparent, var(--ag-foreground-color) 15%);
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
.ag-cell {
|
|
39
|
+
display: flex !important;
|
|
40
|
+
align-items: center !important;
|
|
41
|
+
justify-content: start !important;
|
|
42
|
+
}
|
|
39
43
|
}
|