@elderbyte/ngx-starter 20.5.1 → 20.5.2
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.
|
@@ -15454,6 +15454,10 @@ class DataContextSelectionDirective {
|
|
|
15454
15454
|
* Checks for Ctrl/Cmd+A and whether the target is in a text editing context.
|
|
15455
15455
|
*/
|
|
15456
15456
|
shouldHandleSelectAllEvent(event) {
|
|
15457
|
+
if (!event || !event.key) {
|
|
15458
|
+
this.log.debug('keyboard event is empty');
|
|
15459
|
+
return false;
|
|
15460
|
+
}
|
|
15457
15461
|
// Check if pressed key is Ctrl/Cmd + A, if not, return false
|
|
15458
15462
|
const isCmdKeyPressed = event.ctrlKey || event.metaKey;
|
|
15459
15463
|
const isAKeyPressed = event.key.toLowerCase() === 'a';
|
|
@@ -28732,11 +28736,11 @@ class ElderNavListComponent {
|
|
|
28732
28736
|
}
|
|
28733
28737
|
}
|
|
28734
28738
|
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ElderNavListComponent, deps: [], target: i0.ɵɵFactoryTarget.Component }); }
|
|
28735
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ElderNavListComponent, isStandalone: true, selector: "elder-nav-list", inputs: { compareWith: "compareWith", value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"layout-col full elder-nav-list-full\">\n <div
|
|
28739
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.1.6", type: ElderNavListComponent, isStandalone: true, selector: "elder-nav-list", inputs: { compareWith: "compareWith", value: "value" }, outputs: { valueChange: "valueChange" }, ngImport: i0, template: "<div class=\"layout-col full elder-nav-list-full\">\n <div class=\"layout-col p-sm flex scrollable\" style=\"overflow-y: scroll\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{min-width:0;min-height:0}.elder-nav-list-full{min-width:120px}.elder-nav-list-full:focus{outline:none}\n"], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
28736
28740
|
}
|
|
28737
28741
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.1.6", ngImport: i0, type: ElderNavListComponent, decorators: [{
|
|
28738
28742
|
type: Component,
|
|
28739
|
-
args: [{ selector: 'elder-nav-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"layout-col full elder-nav-list-full\">\n <div
|
|
28743
|
+
args: [{ selector: 'elder-nav-list', changeDetection: ChangeDetectionStrategy.OnPush, standalone: true, template: "<div class=\"layout-col full elder-nav-list-full\">\n <div class=\"layout-col p-sm flex scrollable\" style=\"overflow-y: scroll\">\n <ng-content></ng-content>\n </div>\n</div>\n", styles: [":host{min-width:0;min-height:0}.elder-nav-list-full{min-width:120px}.elder-nav-list-full:focus{outline:none}\n"] }]
|
|
28740
28744
|
}], ctorParameters: () => [], propDecorators: { compareWith: [{
|
|
28741
28745
|
type: Input
|
|
28742
28746
|
}], valueChange: [{
|