@ni/nimble-angular 16.0.4 → 16.0.6
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/directives/breadcrumb-item/nimble-breadcrumb-item-router-link-with-href.directive.d.ts +6 -0
- package/esm2020/directives/breadcrumb-item/nimble-breadcrumb-item-router-link-with-href.directive.mjs +28 -6
- package/fesm2015/ni-nimble-angular.mjs +27 -6
- package/fesm2015/ni-nimble-angular.mjs.map +1 -1
- package/fesm2020/ni-nimble-angular.mjs +27 -6
- package/fesm2020/ni-nimble-angular.mjs.map +1 -1
- package/package.json +2 -2
package/directives/breadcrumb-item/nimble-breadcrumb-item-router-link-with-href.directive.d.ts
CHANGED
|
@@ -1,4 +1,6 @@
|
|
|
1
|
+
import { ElementRef, Injector } from '@angular/core';
|
|
1
2
|
import { RouterLinkWithHref } from '@angular/router';
|
|
3
|
+
import type { BreadcrumbItem } from '@ni/nimble-components/dist/esm/breadcrumb-item';
|
|
2
4
|
import * as i0 from "@angular/core";
|
|
3
5
|
/**
|
|
4
6
|
* Selectors used for built-in Angular RouterLink directives:
|
|
@@ -13,7 +15,11 @@ import * as i0 from "@angular/core";
|
|
|
13
15
|
* won't also be an active RouterLink directive incorrectly handling navigation.
|
|
14
16
|
*/
|
|
15
17
|
export declare class NimbleBreadcrumbItemRouterLinkWithHrefDirective extends RouterLinkWithHref {
|
|
18
|
+
private readonly elementRef;
|
|
16
19
|
set nimbleRouterLink(commands: never[] | string | null | undefined);
|
|
20
|
+
constructor(injector: Injector, elementRef: ElementRef<BreadcrumbItem>);
|
|
21
|
+
onClick(_button: number, _ctrlKey: boolean, _shiftKey: boolean, _altKey: boolean, _metaKey: boolean): boolean;
|
|
22
|
+
nimbleOnClick(event: MouseEvent): boolean;
|
|
17
23
|
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleBreadcrumbItemRouterLinkWithHrefDirective, never>;
|
|
18
24
|
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleBreadcrumbItemRouterLinkWithHrefDirective, "nimble-breadcrumb-item[nimbleRouterLink]", never, { "nimbleRouterLink": "nimbleRouterLink"; }, {}, never, never, false>;
|
|
19
25
|
}
|
|
@@ -1,5 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { LocationStrategy } from '@angular/common';
|
|
2
|
+
import { Directive, HostListener, Input } from '@angular/core';
|
|
3
|
+
import { ActivatedRoute, Router, RouterLinkWithHref } from '@angular/router';
|
|
3
4
|
import * as i0 from "@angular/core";
|
|
4
5
|
/**
|
|
5
6
|
* Selectors used for built-in Angular RouterLink directives:
|
|
@@ -14,16 +15,37 @@ import * as i0 from "@angular/core";
|
|
|
14
15
|
* won't also be an active RouterLink directive incorrectly handling navigation.
|
|
15
16
|
*/
|
|
16
17
|
export class NimbleBreadcrumbItemRouterLinkWithHrefDirective extends RouterLinkWithHref {
|
|
18
|
+
constructor(injector, elementRef) {
|
|
19
|
+
super(injector.get(Router), injector.get(ActivatedRoute), injector.get(LocationStrategy));
|
|
20
|
+
this.elementRef = elementRef;
|
|
21
|
+
}
|
|
17
22
|
set nimbleRouterLink(commands) {
|
|
18
23
|
this.routerLink = commands;
|
|
19
24
|
}
|
|
25
|
+
onClick(_button, _ctrlKey, _shiftKey, _altKey, _metaKey) {
|
|
26
|
+
// onClick is the 'click' @HostListener handler in RouterLinkWithHref. Override it to do nothing so that this directive
|
|
27
|
+
// can be in control of when the click handler is called. This allows RouterLinkWithHref's onClick to only be called
|
|
28
|
+
// when the link within the element is clicked rather than any part of the element.
|
|
29
|
+
return true;
|
|
30
|
+
}
|
|
31
|
+
nimbleOnClick(event) {
|
|
32
|
+
// Call onClick on the base class only when the anchor within the breadcrumb item was clicked.
|
|
33
|
+
if (event.composedPath().some(el => el === this.elementRef.nativeElement.control)) {
|
|
34
|
+
return super.onClick(event.button, event.ctrlKey, event.shiftKey, event.altKey, event.metaKey);
|
|
35
|
+
}
|
|
36
|
+
return true;
|
|
37
|
+
}
|
|
20
38
|
}
|
|
21
|
-
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, deps:
|
|
22
|
-
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, selector: "nimble-breadcrumb-item[nimbleRouterLink]", inputs: { nimbleRouterLink: "nimbleRouterLink" }, usesInheritance: true, ngImport: i0 });
|
|
39
|
+
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
40
|
+
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, selector: "nimble-breadcrumb-item[nimbleRouterLink]", inputs: { nimbleRouterLink: "nimbleRouterLink" }, host: { listeners: { "click": "nimbleOnClick($event,$event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, usesInheritance: true, ngImport: i0 });
|
|
23
41
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, decorators: [{
|
|
24
42
|
type: Directive,
|
|
25
43
|
args: [{ selector: 'nimble-breadcrumb-item[nimbleRouterLink]' }]
|
|
26
|
-
}], propDecorators: { nimbleRouterLink: [{
|
|
44
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { nimbleRouterLink: [{
|
|
27
45
|
type: Input
|
|
46
|
+
}], nimbleOnClick: [{
|
|
47
|
+
type: HostListener,
|
|
48
|
+
args: ['click',
|
|
49
|
+
['$event', '$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]
|
|
28
50
|
}] } });
|
|
29
|
-
//# sourceMappingURL=data:application/json;base64,
|
|
51
|
+
//# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibmltYmxlLWJyZWFkY3J1bWItaXRlbS1yb3V0ZXItbGluay13aXRoLWhyZWYuZGlyZWN0aXZlLmpzIiwic291cmNlUm9vdCI6IiIsInNvdXJjZXMiOlsiLi4vLi4vLi4vLi4vLi4vLi4vcHJvamVjdHMvbmkvbmltYmxlLWFuZ3VsYXIvc3JjL2RpcmVjdGl2ZXMvYnJlYWRjcnVtYi1pdGVtL25pbWJsZS1icmVhZGNydW1iLWl0ZW0tcm91dGVyLWxpbmstd2l0aC1ocmVmLmRpcmVjdGl2ZS50cyJdLCJuYW1lcyI6W10sIm1hcHBpbmdzIjoiQUFBQSxPQUFPLEVBQUUsZ0JBQWdCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQztBQUNuRCxPQUFPLEVBQUUsU0FBUyxFQUFjLFlBQVksRUFBWSxLQUFLLEVBQUUsTUFBTSxlQUFlLENBQUM7QUFDckYsT0FBTyxFQUFFLGNBQWMsRUFBRSxNQUFNLEVBQUUsa0JBQWtCLEVBQUUsTUFBTSxpQkFBaUIsQ0FBQzs7QUFHN0U7Ozs7OztHQU1HO0FBRUg7Ozs7R0FJRztBQUVILE1BQU0sT0FBTywrQ0FBZ0QsU0FBUSxrQkFBa0I7SUFNbkYsWUFBbUIsUUFBa0IsRUFBbUIsVUFBc0M7UUFDMUYsS0FBSyxDQUFDLFFBQVEsQ0FBQyxHQUFHLENBQUMsTUFBTSxDQUFDLEVBQUUsUUFBUSxDQUFDLEdBQUcsQ0FBQyxjQUFjLENBQUMsRUFBRSxRQUFRLENBQ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vbiwgZXZlbnQuY3RybEtleSwgZXZlbnQuc2hpZnRLZXksIGV2ZW50LmFsdEtleSwgZXZlbnQubWV0YUtleSk7XG4gICAgICAgIH1cblxuICAgICAgICByZXR1cm4gdHJ1ZTtcbiAgICB9XG59XG4iXX0=
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Directive, Input, NgModule,
|
|
3
|
-
import { RouterLinkWithHref } from '@angular/router';
|
|
2
|
+
import { Directive, Input, NgModule, HostListener, forwardRef, Inject, Optional, Host, Injectable, EventEmitter, Output } from '@angular/core';
|
|
3
|
+
import { RouterLinkWithHref, Router, ActivatedRoute } from '@angular/router';
|
|
4
4
|
export { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';
|
|
5
|
-
import { CommonModule } from '@angular/common';
|
|
5
|
+
import { CommonModule, LocationStrategy } from '@angular/common';
|
|
6
6
|
import '@ni/nimble-components/dist/esm/anchor';
|
|
7
7
|
import '@ni/nimble-components/dist/esm/anchor-button';
|
|
8
8
|
import '@ni/nimble-components/dist/esm/anchor-tab';
|
|
@@ -699,17 +699,38 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImpo
|
|
|
699
699
|
* won't also be an active RouterLink directive incorrectly handling navigation.
|
|
700
700
|
*/
|
|
701
701
|
class NimbleBreadcrumbItemRouterLinkWithHrefDirective extends RouterLinkWithHref {
|
|
702
|
+
constructor(injector, elementRef) {
|
|
703
|
+
super(injector.get(Router), injector.get(ActivatedRoute), injector.get(LocationStrategy));
|
|
704
|
+
this.elementRef = elementRef;
|
|
705
|
+
}
|
|
702
706
|
set nimbleRouterLink(commands) {
|
|
703
707
|
this.routerLink = commands;
|
|
704
708
|
}
|
|
709
|
+
onClick(_button, _ctrlKey, _shiftKey, _altKey, _metaKey) {
|
|
710
|
+
// onClick is the 'click' @HostListener handler in RouterLinkWithHref. Override it to do nothing so that this directive
|
|
711
|
+
// can be in control of when the click handler is called. This allows RouterLinkWithHref's onClick to only be called
|
|
712
|
+
// when the link within the element is clicked rather than any part of the element.
|
|
713
|
+
return true;
|
|
714
|
+
}
|
|
715
|
+
nimbleOnClick(event) {
|
|
716
|
+
// Call onClick on the base class only when the anchor within the breadcrumb item was clicked.
|
|
717
|
+
if (event.composedPath().some(el => el === this.elementRef.nativeElement.control)) {
|
|
718
|
+
return super.onClick(event.button, event.ctrlKey, event.shiftKey, event.altKey, event.metaKey);
|
|
719
|
+
}
|
|
720
|
+
return true;
|
|
721
|
+
}
|
|
705
722
|
}
|
|
706
|
-
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, deps:
|
|
707
|
-
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, selector: "nimble-breadcrumb-item[nimbleRouterLink]", inputs: { nimbleRouterLink: "nimbleRouterLink" }, usesInheritance: true, ngImport: i0 });
|
|
723
|
+
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, deps: [{ token: i0.Injector }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive });
|
|
724
|
+
NimbleBreadcrumbItemRouterLinkWithHrefDirective.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "14.2.12", type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, selector: "nimble-breadcrumb-item[nimbleRouterLink]", inputs: { nimbleRouterLink: "nimbleRouterLink" }, host: { listeners: { "click": "nimbleOnClick($event,$event.button,$event.ctrlKey,$event.shiftKey,$event.altKey,$event.metaKey)" } }, usesInheritance: true, ngImport: i0 });
|
|
708
725
|
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.2.12", ngImport: i0, type: NimbleBreadcrumbItemRouterLinkWithHrefDirective, decorators: [{
|
|
709
726
|
type: Directive,
|
|
710
727
|
args: [{ selector: 'nimble-breadcrumb-item[nimbleRouterLink]' }]
|
|
711
|
-
}], propDecorators: { nimbleRouterLink: [{
|
|
728
|
+
}], ctorParameters: function () { return [{ type: i0.Injector }, { type: i0.ElementRef }]; }, propDecorators: { nimbleRouterLink: [{
|
|
712
729
|
type: Input
|
|
730
|
+
}], nimbleOnClick: [{
|
|
731
|
+
type: HostListener,
|
|
732
|
+
args: ['click',
|
|
733
|
+
['$event', '$event.button', '$event.ctrlKey', '$event.shiftKey', '$event.altKey', '$event.metaKey']]
|
|
713
734
|
}] } });
|
|
714
735
|
|
|
715
736
|
/**
|