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.
@@ -24,6 +24,7 @@ export interface GridOptions extends RawGridOptions {
24
24
  fk?: string;
25
25
  dragSort?: string;
26
26
  selectionMode?: 'none' | 'single' | 'multiple';
27
+ dataKey?: string;
27
28
  }
28
29
  export declare class GridComponent {
29
30
  private action;
@@ -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,6 +1,6 @@
1
1
  {
2
2
  "name": "imm-element-ui",
3
- "version": "1.1.2",
3
+ "version": "1.1.4",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.0",
6
6
  "@angular/core": "^18.2.0"
@@ -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
  }