@sumaris-net/ngx-components 18.23.55-beta.2 → 18.23.55-beta.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/src/app/shared/directives/cell-selection/cell-identifier.directive.mjs +9 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +7 -2
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/directives/cell-selection/cell-identifier.directive.d.ts +1 -0
- package/src/app/shared/inputs.d.ts +1 -1
- package/src/theme/_ngx-components.table.scss +4 -2
package/package.json
CHANGED
|
@@ -5,6 +5,7 @@ export declare class CellIdentifierDirective<C extends ICellId = ICellId> implem
|
|
|
5
5
|
cellId: import("@angular/core").InputSignal<C>;
|
|
6
6
|
private isInitialized;
|
|
7
7
|
protected isCellSelected: boolean;
|
|
8
|
+
protected isMultipleCellsSelected: boolean;
|
|
8
9
|
protected isDragging: boolean;
|
|
9
10
|
private readonly service;
|
|
10
11
|
private readonly destroyRef;
|
|
@@ -18,7 +18,7 @@ export interface InputElement extends FocusableElement {
|
|
|
18
18
|
}
|
|
19
19
|
export declare function isInputElement(object: any): object is InputElement;
|
|
20
20
|
export declare function asInputElement<T = any>(object: ElementRef<T>): InputElement | undefined;
|
|
21
|
-
export declare function tabindexComparator(a: InputElement, b: InputElement):
|
|
21
|
+
export declare function tabindexComparator(a: InputElement, b: InputElement): 0 | 1 | -1;
|
|
22
22
|
export interface CanGainFocusOptions {
|
|
23
23
|
minTabindex?: number;
|
|
24
24
|
maxTabindex?: number;
|
|
@@ -72,7 +72,6 @@
|
|
|
72
72
|
}
|
|
73
73
|
}
|
|
74
74
|
|
|
75
|
-
|
|
76
75
|
& > ion-label,
|
|
77
76
|
& > mat-label,
|
|
78
77
|
& button > ion-label,
|
|
@@ -166,7 +165,6 @@
|
|
|
166
165
|
padding-left: var(--mat-cell-horizontal-padding, 8px);
|
|
167
166
|
}
|
|
168
167
|
}
|
|
169
|
-
|
|
170
168
|
}
|
|
171
169
|
|
|
172
170
|
.mat-column-select {
|
|
@@ -561,6 +559,10 @@
|
|
|
561
559
|
background-color: var(--app-cell-selected-color) !important;
|
|
562
560
|
}
|
|
563
561
|
|
|
562
|
+
td.cell-multiple-selected {
|
|
563
|
+
user-select: none; // To prevent text selection when multiple cells are selected
|
|
564
|
+
}
|
|
565
|
+
|
|
564
566
|
td.cell-dragging {
|
|
565
567
|
background-color: var(--app-cell-dragging-color) !important;
|
|
566
568
|
}
|