@sumaris-net/ngx-components 18.23.0-beta.1 → 18.23.0-beta.3
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-selection.directive.mjs +3 -3
- package/fesm2022/sumaris-net.ngx-components.mjs +2 -2
- package/fesm2022/sumaris-net.ngx-components.mjs.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/directives/cell-selection/cell-selection.directive.d.ts +1 -1
- package/src/theme/_ngx-components.table.scss +10 -7
package/package.json
CHANGED
|
@@ -24,5 +24,5 @@ export declare class CellSelectionDirective<C extends ICellId = ICellId> impleme
|
|
|
24
24
|
private calculateSelectionBounds;
|
|
25
25
|
private createOverlayElement;
|
|
26
26
|
static ɵfac: i0.ɵɵFactoryDeclaration<CellSelectionDirective<any>, never>;
|
|
27
|
-
static ɵdir: i0.ɵɵDirectiveDeclaration<CellSelectionDirective<any>, "[appCellSelection]", never, { "selectableColumns": { "alias": "appSelectableColumns"; "required":
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<CellSelectionDirective<any>, "[appCellSelection]", never, { "selectableColumns": { "alias": "appSelectableColumns"; "required": false; "isSignal": true; }; }, { "selectionChange": "appCellSelectionChange"; "rightClick": "appCellRightClick"; }, never, never, true, never>;
|
|
28
28
|
}
|
|
@@ -551,24 +551,27 @@
|
|
|
551
551
|
}
|
|
552
552
|
|
|
553
553
|
// Cell selection
|
|
554
|
+
--app-cell-selected-color: var(--ion-color-secondary50);
|
|
555
|
+
--app-cell-dragging-color: var(--ion-color-secondary50-shade);
|
|
556
|
+
--app-cell-selection-border-color: var(--ion-color-accent, gray);
|
|
557
|
+
|
|
554
558
|
td.cell-selected {
|
|
555
|
-
background-color:
|
|
559
|
+
background-color: var(--app-cell-selected-color) !important;
|
|
556
560
|
}
|
|
557
561
|
|
|
558
562
|
td.cell-dragging {
|
|
559
|
-
background-color:
|
|
563
|
+
background-color: var(--app-cell-dragging-color) !important;
|
|
560
564
|
}
|
|
561
565
|
|
|
562
566
|
div.cell-selection-overlay {
|
|
563
|
-
--border-color: var(--ion-color-accent, gray);
|
|
564
567
|
position: absolute;
|
|
565
568
|
z-index: 5;
|
|
566
569
|
animation: linearGradientMove 0.3s infinite linear;
|
|
567
570
|
background:
|
|
568
|
-
linear-gradient(90deg, var(--border-color) 50%, transparent 0) repeat-x,
|
|
569
|
-
linear-gradient(90deg, var(--border-color) 50%, transparent 0) repeat-x,
|
|
570
|
-
linear-gradient(0deg, var(--border-color) 50%, transparent 0) repeat-y,
|
|
571
|
-
linear-gradient(0deg, var(--border-color) 50%, transparent 0) repeat-y;
|
|
571
|
+
linear-gradient(90deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-x,
|
|
572
|
+
linear-gradient(90deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-x,
|
|
573
|
+
linear-gradient(0deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-y,
|
|
574
|
+
linear-gradient(0deg, var(--app-cell-selection-border-color) 50%, transparent 0) repeat-y;
|
|
572
575
|
background-size:
|
|
573
576
|
4px 2px,
|
|
574
577
|
4px 2px,
|