@ni/nimble-angular 33.0.4 → 33.1.0
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/anchor-base/index.d.ts +30 -0
- package/anchor-step/index.d.ts +36 -0
- package/fesm2022/ni-nimble-angular-anchor-base.mjs +80 -0
- package/fesm2022/ni-nimble-angular-anchor-base.mjs.map +1 -0
- package/fesm2022/ni-nimble-angular-anchor-step.mjs +87 -0
- package/fesm2022/ni-nimble-angular-anchor-step.mjs.map +1 -0
- package/fesm2022/ni-nimble-angular-step.mjs +87 -0
- package/fesm2022/ni-nimble-angular-step.mjs.map +1 -0
- package/fesm2022/ni-nimble-angular-stepper.mjs +53 -0
- package/fesm2022/ni-nimble-angular-stepper.mjs.map +1 -0
- package/fesm2022/ni-nimble-angular.mjs +1 -71
- package/fesm2022/ni-nimble-angular.mjs.map +1 -1
- package/index.d.ts +1 -26
- package/package.json +17 -1
- package/step/index.d.ts +37 -0
- package/stepper/index.d.ts +28 -0
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { AnchorBase } from '@ni/nimble-components/dist/esm/anchor-base';
|
|
4
|
+
|
|
5
|
+
/**
|
|
6
|
+
* Base class for directives providing link attributes.
|
|
7
|
+
*/
|
|
8
|
+
declare class NimbleAnchorBaseDirective<T extends AnchorBase> {
|
|
9
|
+
protected readonly renderer: Renderer2;
|
|
10
|
+
protected readonly elementRef: ElementRef<T>;
|
|
11
|
+
get href(): string;
|
|
12
|
+
set href(value: string);
|
|
13
|
+
get hreflang(): string;
|
|
14
|
+
set hreflang(value: string);
|
|
15
|
+
get ping(): string;
|
|
16
|
+
set ping(value: string);
|
|
17
|
+
get referrerpolicy(): string;
|
|
18
|
+
set referrerpolicy(value: string);
|
|
19
|
+
get rel(): string;
|
|
20
|
+
set rel(value: string);
|
|
21
|
+
get target(): string;
|
|
22
|
+
set target(value: string);
|
|
23
|
+
get type(): string;
|
|
24
|
+
set type(value: string);
|
|
25
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<T>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleAnchorBaseDirective<any>, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleAnchorBaseDirective<any>, never, never, { "href": { "alias": "href"; "required": false; }; "hreflang": { "alias": "hreflang"; "required": false; }; "ping": { "alias": "ping"; "required": false; }; "referrerpolicy": { "alias": "referrerpolicy"; "required": false; }; "rel": { "alias": "rel"; "required": false; }; "target": { "alias": "target"; "required": false; }; "type": { "alias": "type"; "required": false; }; }, {}, never, never, true, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
export { NimbleAnchorBaseDirective };
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Renderer2, ElementRef } from '@angular/core';
|
|
3
|
+
import { AnchorStep } from '@ni/nimble-components/dist/esm/anchor-step';
|
|
4
|
+
export { AnchorStep, anchorStepTag } from '@ni/nimble-components/dist/esm/anchor-step';
|
|
5
|
+
import { AnchorStepSeverity } from '@ni/nimble-components/dist/esm/anchor-step/types';
|
|
6
|
+
export { AnchorStepSeverity } from '@ni/nimble-components/dist/esm/anchor-step/types';
|
|
7
|
+
import { BooleanValueOrAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
8
|
+
import { NimbleAnchorBaseDirective } from '@ni/nimble-angular/anchor-base';
|
|
9
|
+
import * as i2 from '@angular/common';
|
|
10
|
+
|
|
11
|
+
/**
|
|
12
|
+
* Directive to provide Angular integration for the anchor step element.
|
|
13
|
+
*/
|
|
14
|
+
declare class NimbleAnchorStepDirective extends NimbleAnchorBaseDirective<AnchorStep> {
|
|
15
|
+
get severity(): AnchorStepSeverity;
|
|
16
|
+
set severity(value: AnchorStepSeverity);
|
|
17
|
+
get severityText(): string | undefined;
|
|
18
|
+
set severityText(value: string | undefined);
|
|
19
|
+
get disabled(): boolean;
|
|
20
|
+
set disabled(value: BooleanValueOrAttribute);
|
|
21
|
+
get readOnly(): boolean;
|
|
22
|
+
set readOnly(value: BooleanValueOrAttribute);
|
|
23
|
+
get selected(): boolean;
|
|
24
|
+
set selected(value: BooleanValueOrAttribute);
|
|
25
|
+
constructor(renderer: Renderer2, elementRef: ElementRef<AnchorStep>);
|
|
26
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleAnchorStepDirective, never>;
|
|
27
|
+
static ɵdir: i0.ɵɵDirectiveDeclaration<NimbleAnchorStepDirective, "nimble-anchor-step", never, { "severity": { "alias": "severity"; "required": false; }; "severityText": { "alias": "severity-text"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "readOnly": { "alias": "readOnly"; "required": false; }; "selected": { "alias": "selected"; "required": false; }; }, {}, never, never, false, never>;
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
declare class NimbleAnchorStepModule {
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<NimbleAnchorStepModule, never>;
|
|
32
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<NimbleAnchorStepModule, [typeof NimbleAnchorStepDirective], [typeof i2.CommonModule], [typeof NimbleAnchorStepDirective]>;
|
|
33
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<NimbleAnchorStepModule>;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
export { NimbleAnchorStepDirective, NimbleAnchorStepModule };
|
|
@@ -0,0 +1,80 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive } from '@angular/core';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Base class for directives providing link attributes.
|
|
6
|
+
*/
|
|
7
|
+
class NimbleAnchorBaseDirective {
|
|
8
|
+
get href() {
|
|
9
|
+
return this.elementRef.nativeElement.href;
|
|
10
|
+
}
|
|
11
|
+
set href(value) {
|
|
12
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'href', value);
|
|
13
|
+
}
|
|
14
|
+
get hreflang() {
|
|
15
|
+
return this.elementRef.nativeElement.hreflang;
|
|
16
|
+
}
|
|
17
|
+
set hreflang(value) {
|
|
18
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);
|
|
19
|
+
}
|
|
20
|
+
get ping() {
|
|
21
|
+
return this.elementRef.nativeElement.ping;
|
|
22
|
+
}
|
|
23
|
+
set ping(value) {
|
|
24
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);
|
|
25
|
+
}
|
|
26
|
+
get referrerpolicy() {
|
|
27
|
+
return this.elementRef.nativeElement.referrerpolicy;
|
|
28
|
+
}
|
|
29
|
+
set referrerpolicy(value) {
|
|
30
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);
|
|
31
|
+
}
|
|
32
|
+
get rel() {
|
|
33
|
+
return this.elementRef.nativeElement.rel;
|
|
34
|
+
}
|
|
35
|
+
set rel(value) {
|
|
36
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);
|
|
37
|
+
}
|
|
38
|
+
get target() {
|
|
39
|
+
return this.elementRef.nativeElement.target;
|
|
40
|
+
}
|
|
41
|
+
set target(value) {
|
|
42
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);
|
|
43
|
+
}
|
|
44
|
+
get type() {
|
|
45
|
+
return this.elementRef.nativeElement.type;
|
|
46
|
+
}
|
|
47
|
+
set type(value) {
|
|
48
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
|
|
49
|
+
}
|
|
50
|
+
constructor(renderer, elementRef) {
|
|
51
|
+
this.renderer = renderer;
|
|
52
|
+
this.elementRef = elementRef;
|
|
53
|
+
}
|
|
54
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
55
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: NimbleAnchorBaseDirective, isStandalone: true, inputs: { href: "href", hreflang: "hreflang", ping: "ping", referrerpolicy: "referrerpolicy", rel: "rel", target: "target", type: "type" }, ngImport: i0 }); }
|
|
56
|
+
}
|
|
57
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorBaseDirective, decorators: [{
|
|
58
|
+
type: Directive
|
|
59
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { href: [{
|
|
60
|
+
type: Input
|
|
61
|
+
}], hreflang: [{
|
|
62
|
+
type: Input
|
|
63
|
+
}], ping: [{
|
|
64
|
+
type: Input
|
|
65
|
+
}], referrerpolicy: [{
|
|
66
|
+
type: Input
|
|
67
|
+
}], rel: [{
|
|
68
|
+
type: Input
|
|
69
|
+
}], target: [{
|
|
70
|
+
type: Input
|
|
71
|
+
}], type: [{
|
|
72
|
+
type: Input
|
|
73
|
+
}] } });
|
|
74
|
+
|
|
75
|
+
/**
|
|
76
|
+
* Generated bundle index. Do not edit.
|
|
77
|
+
*/
|
|
78
|
+
|
|
79
|
+
export { NimbleAnchorBaseDirective };
|
|
80
|
+
//# sourceMappingURL=ni-nimble-angular-anchor-base.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-anchor-base.mjs","sources":["../../../nimble-angular/anchor-base/nimble-anchor-base.directive.ts","../../../nimble-angular/anchor-base/ni-nimble-angular-anchor-base.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport type { AnchorBase } from '@ni/nimble-components/dist/esm/anchor-base';\n\n/**\n * Base class for directives providing link attributes.\n */\n@Directive()\nexport class NimbleAnchorBaseDirective<T extends AnchorBase> {\n public get href(): string {\n return this.elementRef.nativeElement.href;\n }\n\n @Input() public set href(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'href', value);\n }\n\n public get hreflang(): string {\n return this.elementRef.nativeElement.hreflang;\n }\n\n @Input() public set hreflang(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);\n }\n\n public get ping(): string {\n return this.elementRef.nativeElement.ping;\n }\n\n @Input() public set ping(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);\n }\n\n public get referrerpolicy(): string {\n return this.elementRef.nativeElement.referrerpolicy;\n }\n\n @Input() public set referrerpolicy(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);\n }\n\n public get rel(): string {\n return this.elementRef.nativeElement.rel;\n }\n\n @Input() public set rel(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);\n }\n\n public get target(): string {\n return this.elementRef.nativeElement.target;\n }\n\n @Input() public set target(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);\n }\n\n public get type(): string {\n return this.elementRef.nativeElement.type;\n }\n\n @Input() public set type(value: string) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);\n }\n\n public constructor(protected readonly renderer: Renderer2, protected readonly elementRef: ElementRef<T>) {}\n}","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;AAGA;;AAEG;MAEU,yBAAyB,CAAA;AAClC,IAAA,IAAW,IAAI,GAAA;AACX,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,IAAI;IAC7C;IAEA,IAAoB,IAAI,CAAC,KAAa,EAAA;AAClC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC;IAC3E;AAEA,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IAC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C,aAAa,CAAC,IAAI;IAC7C;IAEA,IAAoB,IAAI,CAAC,KAAa,EAAA;AAClC,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,MAAM,EAAE,KAAK,CAAC;IAC3E;IAEA,WAAA,CAAsC,QAAmB,EAAqB,UAAyB,EAAA;QAAjE,IAAA,CAAA,QAAQ,GAAR,QAAQ;QAAgC,IAAA,CAAA,UAAU,GAAV,UAAU;IAAkB;+GAzDjG,yBAAyB,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,SAAA,EAAA,EAAA,EAAA,KAAA,EAAA,EAAA,CAAA,UAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,SAAA,EAAA,CAAA,CAAA;mGAAzB,yBAAyB,EAAA,YAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,IAAA,EAAA,MAAA,EAAA,QAAA,EAAA,UAAA,EAAA,IAAA,EAAA,MAAA,EAAA,cAAA,EAAA,gBAAA,EAAA,GAAA,EAAA,KAAA,EAAA,MAAA,EAAA,QAAA,EAAA,IAAA,EAAA,MAAA,EAAA,EAAA,QAAA,EAAA,EAAA,EAAA,CAAA,CAAA;;4FAAzB,yBAAyB,EAAA,UAAA,EAAA,CAAA;kBADrC;;sBAMI;;sBAQA;;sBAQA;;sBAQA;;sBAQA;;sBAQA;;sBAQA;;;AC5DL;;AAEG;;;;"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { anchorStepTag } from '@ni/nimble-components/dist/esm/anchor-step';
|
|
4
|
+
export { AnchorStepSeverity } from '@ni/nimble-components/dist/esm/anchor-step/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { NimbleAnchorBaseDirective } from '@ni/nimble-angular/anchor-base';
|
|
7
|
+
import { CommonModule } from '@angular/common';
|
|
8
|
+
|
|
9
|
+
/**
|
|
10
|
+
* Directive to provide Angular integration for the anchor step element.
|
|
11
|
+
*/
|
|
12
|
+
class NimbleAnchorStepDirective extends NimbleAnchorBaseDirective {
|
|
13
|
+
get severity() {
|
|
14
|
+
return this.elementRef.nativeElement.severity;
|
|
15
|
+
}
|
|
16
|
+
set severity(value) {
|
|
17
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);
|
|
18
|
+
}
|
|
19
|
+
get severityText() {
|
|
20
|
+
return this.elementRef.nativeElement.severityText;
|
|
21
|
+
}
|
|
22
|
+
set severityText(value) {
|
|
23
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'severityText', value);
|
|
24
|
+
}
|
|
25
|
+
get disabled() {
|
|
26
|
+
return this.elementRef.nativeElement.disabled;
|
|
27
|
+
}
|
|
28
|
+
set disabled(value) {
|
|
29
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
30
|
+
}
|
|
31
|
+
get readOnly() {
|
|
32
|
+
return this.elementRef.nativeElement.readOnly;
|
|
33
|
+
}
|
|
34
|
+
set readOnly(value) {
|
|
35
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
36
|
+
}
|
|
37
|
+
get selected() {
|
|
38
|
+
return this.elementRef.nativeElement.selected;
|
|
39
|
+
}
|
|
40
|
+
set selected(value) {
|
|
41
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));
|
|
42
|
+
}
|
|
43
|
+
constructor(renderer, elementRef) {
|
|
44
|
+
super(renderer, elementRef);
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: NimbleAnchorStepDirective, isStandalone: false, selector: "nimble-anchor-step", inputs: { severity: "severity", severityText: ["severity-text", "severityText"], disabled: "disabled", readOnly: "readOnly", selected: "selected" }, usesInheritance: true, ngImport: i0 }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'nimble-anchor-step',
|
|
53
|
+
standalone: false
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { severity: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], severityText: [{
|
|
58
|
+
type: Input,
|
|
59
|
+
args: ['severity-text']
|
|
60
|
+
}], disabled: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], readOnly: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], selected: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}] } });
|
|
67
|
+
|
|
68
|
+
class NimbleAnchorStepModule {
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
70
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepModule, declarations: [NimbleAnchorStepDirective], imports: [CommonModule], exports: [NimbleAnchorStepDirective] }); }
|
|
71
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepModule, imports: [CommonModule] }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorStepModule, decorators: [{
|
|
74
|
+
type: NgModule,
|
|
75
|
+
args: [{
|
|
76
|
+
declarations: [NimbleAnchorStepDirective],
|
|
77
|
+
imports: [CommonModule],
|
|
78
|
+
exports: [NimbleAnchorStepDirective]
|
|
79
|
+
}]
|
|
80
|
+
}] });
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Generated bundle index. Do not edit.
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
export { NimbleAnchorStepDirective, NimbleAnchorStepModule };
|
|
87
|
+
//# sourceMappingURL=ni-nimble-angular-anchor-step.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-anchor-step.mjs","sources":["../../../nimble-angular/anchor-step/nimble-anchor-step.directive.ts","../../../nimble-angular/anchor-step/nimble-anchor-step.module.ts","../../../nimble-angular/anchor-step/ni-nimble-angular-anchor-step.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type AnchorStep, anchorStepTag } from '@ni/nimble-components/dist/esm/anchor-step';\nimport { AnchorStepSeverity } from '@ni/nimble-components/dist/esm/anchor-step/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\nimport { NimbleAnchorBaseDirective } from '@ni/nimble-angular/anchor-base';\n\nexport type { AnchorStep };\nexport { anchorStepTag };\nexport { AnchorStepSeverity };\n\n/**\n * Directive to provide Angular integration for the anchor step element.\n */\n@Directive({\n selector: 'nimble-anchor-step',\n standalone: false\n})\nexport class NimbleAnchorStepDirective extends NimbleAnchorBaseDirective<AnchorStep> {\n public get severity(): AnchorStepSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: AnchorStepSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public get severityText(): string | undefined {\n return this.elementRef.nativeElement.severityText;\n }\n\n @Input('severity-text') public set severityText(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severityText', value);\n }\n\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input() public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get readOnly(): boolean {\n return this.elementRef.nativeElement.readOnly;\n }\n\n @Input() public set readOnly(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));\n }\n\n public get selected(): boolean {\n return this.elementRef.nativeElement.selected;\n }\n\n @Input() public set selected(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));\n }\n\n public constructor(renderer: Renderer2, elementRef: ElementRef<AnchorStep>) {\n super(renderer, elementRef);\n }\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleAnchorStepDirective } from './nimble-anchor-step.directive';\n\nimport '@ni/nimble-components/dist/esm/anchor-step';\n\n@NgModule({\n declarations: [NimbleAnchorStepDirective],\n imports: [CommonModule],\n exports: [NimbleAnchorStepDirective]\n})\nexport class NimbleAnchorStepModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;;AAUA;;AAEG;AAKG,MAAO,yBAA0B,SAAQ,yBAAqC,CAAA;AAChF,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IAAoB,QAAQ,CAAC,KAAyB,EAAA;AAClD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,UAAU,EAAE,KAAK,CAAC;IAC/E;AAEA,IAAA,IAAW,YAAY,GAAA;AACnB,QAAA,OAAO,IAAI,CAAC,UAAU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AAA,UAAA,EAAA,CAAA;kBALlC,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,yBAAyB,CAAC;oBACzC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,yBAAyB;AACtC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { stepTag } from '@ni/nimble-components/dist/esm/step';
|
|
4
|
+
export { StepSeverity } from '@ni/nimble-components/dist/esm/step/types';
|
|
5
|
+
import { toBooleanProperty } from '@ni/nimble-angular/internal-utilities';
|
|
6
|
+
import { CommonModule } from '@angular/common';
|
|
7
|
+
|
|
8
|
+
/**
|
|
9
|
+
* Directive to provide Angular integration for the step element.
|
|
10
|
+
*/
|
|
11
|
+
class NimbleStepDirective {
|
|
12
|
+
get severity() {
|
|
13
|
+
return this.elementRef.nativeElement.severity;
|
|
14
|
+
}
|
|
15
|
+
set severity(value) {
|
|
16
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);
|
|
17
|
+
}
|
|
18
|
+
get severityText() {
|
|
19
|
+
return this.elementRef.nativeElement.severityText;
|
|
20
|
+
}
|
|
21
|
+
set severityText(value) {
|
|
22
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'severityText', value);
|
|
23
|
+
}
|
|
24
|
+
get disabled() {
|
|
25
|
+
return this.elementRef.nativeElement.disabled;
|
|
26
|
+
}
|
|
27
|
+
set disabled(value) {
|
|
28
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));
|
|
29
|
+
}
|
|
30
|
+
get readOnly() {
|
|
31
|
+
return this.elementRef.nativeElement.readOnly;
|
|
32
|
+
}
|
|
33
|
+
set readOnly(value) {
|
|
34
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));
|
|
35
|
+
}
|
|
36
|
+
get selected() {
|
|
37
|
+
return this.elementRef.nativeElement.selected;
|
|
38
|
+
}
|
|
39
|
+
set selected(value) {
|
|
40
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));
|
|
41
|
+
}
|
|
42
|
+
constructor(renderer, elementRef) {
|
|
43
|
+
this.renderer = renderer;
|
|
44
|
+
this.elementRef = elementRef;
|
|
45
|
+
}
|
|
46
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
47
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: NimbleStepDirective, isStandalone: false, selector: "nimble-step", inputs: { severity: "severity", severityText: ["severity-text", "severityText"], disabled: "disabled", readOnly: "readOnly", selected: "selected" }, ngImport: i0 }); }
|
|
48
|
+
}
|
|
49
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepDirective, decorators: [{
|
|
50
|
+
type: Directive,
|
|
51
|
+
args: [{
|
|
52
|
+
selector: 'nimble-step',
|
|
53
|
+
standalone: false
|
|
54
|
+
}]
|
|
55
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { severity: [{
|
|
56
|
+
type: Input
|
|
57
|
+
}], severityText: [{
|
|
58
|
+
type: Input,
|
|
59
|
+
args: ['severity-text']
|
|
60
|
+
}], disabled: [{
|
|
61
|
+
type: Input
|
|
62
|
+
}], readOnly: [{
|
|
63
|
+
type: Input
|
|
64
|
+
}], selected: [{
|
|
65
|
+
type: Input
|
|
66
|
+
}] } });
|
|
67
|
+
|
|
68
|
+
class NimbleStepModule {
|
|
69
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
70
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepModule, declarations: [NimbleStepDirective], imports: [CommonModule], exports: [NimbleStepDirective] }); }
|
|
71
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepModule, imports: [CommonModule] }); }
|
|
72
|
+
}
|
|
73
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepModule, decorators: [{
|
|
74
|
+
type: NgModule,
|
|
75
|
+
args: [{
|
|
76
|
+
declarations: [NimbleStepDirective],
|
|
77
|
+
imports: [CommonModule],
|
|
78
|
+
exports: [NimbleStepDirective]
|
|
79
|
+
}]
|
|
80
|
+
}] });
|
|
81
|
+
|
|
82
|
+
/**
|
|
83
|
+
* Generated bundle index. Do not edit.
|
|
84
|
+
*/
|
|
85
|
+
|
|
86
|
+
export { NimbleStepDirective, NimbleStepModule };
|
|
87
|
+
//# sourceMappingURL=ni-nimble-angular-step.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-step.mjs","sources":["../../../nimble-angular/step/nimble-step.directive.ts","../../../nimble-angular/step/nimble-step.module.ts","../../../nimble-angular/step/ni-nimble-angular-step.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type Step, stepTag } from '@ni/nimble-components/dist/esm/step';\nimport { StepSeverity } from '@ni/nimble-components/dist/esm/step/types';\nimport { type BooleanValueOrAttribute, toBooleanProperty } from '@ni/nimble-angular/internal-utilities';\n\nexport type { Step };\nexport { stepTag };\nexport { StepSeverity };\n\n/**\n * Directive to provide Angular integration for the step element.\n */\n@Directive({\n selector: 'nimble-step',\n standalone: false\n})\nexport class NimbleStepDirective {\n public get severity(): StepSeverity {\n return this.elementRef.nativeElement.severity;\n }\n\n @Input() public set severity(value: StepSeverity) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severity', value);\n }\n\n public get severityText(): string | undefined {\n return this.elementRef.nativeElement.severityText;\n }\n\n @Input('severity-text') public set severityText(value: string | undefined) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'severityText', value);\n }\n\n public get disabled(): boolean {\n return this.elementRef.nativeElement.disabled;\n }\n\n @Input() public set disabled(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'disabled', toBooleanProperty(value));\n }\n\n public get readOnly(): boolean {\n return this.elementRef.nativeElement.readOnly;\n }\n\n @Input() public set readOnly(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'readOnly', toBooleanProperty(value));\n }\n\n public get selected(): boolean {\n return this.elementRef.nativeElement.selected;\n }\n\n @Input() public set selected(value: BooleanValueOrAttribute) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'selected', toBooleanProperty(value));\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Step>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleStepDirective } from './nimble-step.directive';\n\nimport '@ni/nimble-components/dist/esm/step';\n\n@NgModule({\n declarations: [NimbleStepDirective],\n imports: [CommonModule],\n exports: [NimbleStepDirective]\n})\nexport class NimbleStepModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;;AASA;;AAEG;MAKU,mBAAmB,CAAA;AAC5B,IAAA,IAAW,QAAQ,GAAA;AACf,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,QAAQ;IACjD;IAEA,IAAoB,QAAQ,CAAC,KAAmB,EAAA;AAC5C,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UA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AAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,gBAAgB,YAHf,YAAY,CAAA,EAAA,CAAA,CAAA;;4FAGb,gBAAgB,EAAA,UAAA,EAAA,CAAA;kBAL5B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,mBAAmB,CAAC;oBACnC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,mBAAmB;AAChC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as i0 from '@angular/core';
|
|
2
|
+
import { Input, Directive, NgModule } from '@angular/core';
|
|
3
|
+
export { stepperTag } from '@ni/nimble-components/dist/esm/stepper';
|
|
4
|
+
export { StepperOrientation } from '@ni/nimble-components/dist/esm/stepper/types';
|
|
5
|
+
import { CommonModule } from '@angular/common';
|
|
6
|
+
|
|
7
|
+
/**
|
|
8
|
+
* Directive to provide Angular integration for the stepper element.
|
|
9
|
+
*/
|
|
10
|
+
class NimbleStepperDirective {
|
|
11
|
+
get orientation() {
|
|
12
|
+
return this.elementRef.nativeElement.orientation;
|
|
13
|
+
}
|
|
14
|
+
set orientation(value) {
|
|
15
|
+
this.renderer.setProperty(this.elementRef.nativeElement, 'orientation', value);
|
|
16
|
+
}
|
|
17
|
+
constructor(renderer, elementRef) {
|
|
18
|
+
this.renderer = renderer;
|
|
19
|
+
this.elementRef = elementRef;
|
|
20
|
+
}
|
|
21
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
22
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: NimbleStepperDirective, isStandalone: false, selector: "nimble-stepper", inputs: { orientation: "orientation" }, ngImport: i0 }); }
|
|
23
|
+
}
|
|
24
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperDirective, decorators: [{
|
|
25
|
+
type: Directive,
|
|
26
|
+
args: [{
|
|
27
|
+
selector: 'nimble-stepper',
|
|
28
|
+
standalone: false
|
|
29
|
+
}]
|
|
30
|
+
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { orientation: [{
|
|
31
|
+
type: Input
|
|
32
|
+
}] } });
|
|
33
|
+
|
|
34
|
+
class NimbleStepperModule {
|
|
35
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperModule, deps: [], target: i0.ɵɵFactoryTarget.NgModule }); }
|
|
36
|
+
static { this.ɵmod = i0.ɵɵngDeclareNgModule({ minVersion: "14.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperModule, declarations: [NimbleStepperDirective], imports: [CommonModule], exports: [NimbleStepperDirective] }); }
|
|
37
|
+
static { this.ɵinj = i0.ɵɵngDeclareInjector({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperModule, imports: [CommonModule] }); }
|
|
38
|
+
}
|
|
39
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleStepperModule, decorators: [{
|
|
40
|
+
type: NgModule,
|
|
41
|
+
args: [{
|
|
42
|
+
declarations: [NimbleStepperDirective],
|
|
43
|
+
imports: [CommonModule],
|
|
44
|
+
exports: [NimbleStepperDirective]
|
|
45
|
+
}]
|
|
46
|
+
}] });
|
|
47
|
+
|
|
48
|
+
/**
|
|
49
|
+
* Generated bundle index. Do not edit.
|
|
50
|
+
*/
|
|
51
|
+
|
|
52
|
+
export { NimbleStepperDirective, NimbleStepperModule };
|
|
53
|
+
//# sourceMappingURL=ni-nimble-angular-stepper.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"ni-nimble-angular-stepper.mjs","sources":["../../../nimble-angular/stepper/nimble-stepper.directive.ts","../../../nimble-angular/stepper/nimble-stepper.module.ts","../../../nimble-angular/stepper/ni-nimble-angular-stepper.ts"],"sourcesContent":["import { Directive, ElementRef, Input, Renderer2 } from '@angular/core';\nimport { type Stepper, stepperTag } from '@ni/nimble-components/dist/esm/stepper';\nimport { StepperOrientation } from '@ni/nimble-components/dist/esm/stepper/types';\n\nexport type { Stepper };\nexport { stepperTag };\nexport { StepperOrientation };\n\n/**\n * Directive to provide Angular integration for the stepper element.\n */\n@Directive({\n selector: 'nimble-stepper',\n standalone: false\n})\nexport class NimbleStepperDirective {\n public get orientation(): StepperOrientation {\n return this.elementRef.nativeElement.orientation;\n }\n\n @Input() public set orientation(value: StepperOrientation) {\n this.renderer.setProperty(this.elementRef.nativeElement, 'orientation', value);\n }\n\n public constructor(private readonly renderer: Renderer2, private readonly elementRef: ElementRef<Stepper>) {}\n}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\nimport { NimbleStepperDirective } from './nimble-stepper.directive';\n\nimport '@ni/nimble-components/dist/esm/stepper';\n\n@NgModule({\n declarations: [NimbleStepperDirective],\n imports: [CommonModule],\n exports: [NimbleStepperDirective]\n})\nexport class NimbleStepperModule { }\n","/**\n * Generated bundle index. Do not edit.\n */\n\nexport * from './public-api';\n"],"names":[],"mappings":";;;;;;AAQA;;AAEG;MAKU,sBAAsB,CAAA;AAC/B,IAAA,IAAW,WAAW,GAAA;AAClB,QAAA,OAAO,IAAI,CAAC,UAAU,CAAC,aAAa,CAAC,WAAW;IACpD;IAEA,IAAoB,WAAW,CAAC,KAAyB,EAAA;AACrD,QAAA,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,IAAI,CAAC,UAAU,CAAC,aAAa,EAAE,aAAa,EAAE,KAAK,CAAC;IAClF;IAEA,WAAA,CAAoC,QAAmB,EAAmB,UAA+B,EAAA;QAArE,IAAA,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AAA,EAAA,CAAA;kBAL/B,QAAQ;AAAC,YAAA,IAAA,EAAA,CAAA;oBACN,YAAY,EAAE,CAAC,sBAAsB,CAAC;oBACtC,OAAO,EAAE,CAAC,YAAY,CAAC;oBACvB,OAAO,EAAE,CAAC,sBAAsB;AACnC,iBAAA;;;ACVD;;AAEG;;;;"}
|
|
@@ -8,6 +8,7 @@ import { UrlTree, ROUTER_CONFIGURATION, NavigationEnd, Router, ActivatedRoute }
|
|
|
8
8
|
export { anchorTag } from '@ni/nimble-components/dist/esm/anchor';
|
|
9
9
|
export { AnchorAppearance } from '@ni/nimble-components/dist/esm/anchor/types';
|
|
10
10
|
import { toBooleanProperty, toNumberProperty, toBooleanAriaAttribute } from '@ni/nimble-angular/internal-utilities';
|
|
11
|
+
import { NimbleAnchorBaseDirective } from '@ni/nimble-angular/anchor-base';
|
|
11
12
|
export { anchorButtonTag } from '@ni/nimble-components/dist/esm/anchor-button';
|
|
12
13
|
export { anchorMenuItemTag } from '@ni/nimble-components/dist/esm/anchor-menu-item';
|
|
13
14
|
export { anchorTabTag } from '@ni/nimble-components/dist/esm/anchor-tab';
|
|
@@ -774,77 +775,6 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImpo
|
|
|
774
775
|
}]
|
|
775
776
|
}], ctorParameters: () => [] });
|
|
776
777
|
|
|
777
|
-
/**
|
|
778
|
-
* Base class for directives providing link attributes.
|
|
779
|
-
*/
|
|
780
|
-
class NimbleAnchorBaseDirective {
|
|
781
|
-
get href() {
|
|
782
|
-
return this.elementRef.nativeElement.href;
|
|
783
|
-
}
|
|
784
|
-
set href(value) {
|
|
785
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'href', value);
|
|
786
|
-
}
|
|
787
|
-
get hreflang() {
|
|
788
|
-
return this.elementRef.nativeElement.hreflang;
|
|
789
|
-
}
|
|
790
|
-
set hreflang(value) {
|
|
791
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'hreflang', value);
|
|
792
|
-
}
|
|
793
|
-
get ping() {
|
|
794
|
-
return this.elementRef.nativeElement.ping;
|
|
795
|
-
}
|
|
796
|
-
set ping(value) {
|
|
797
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'ping', value);
|
|
798
|
-
}
|
|
799
|
-
get referrerpolicy() {
|
|
800
|
-
return this.elementRef.nativeElement.referrerpolicy;
|
|
801
|
-
}
|
|
802
|
-
set referrerpolicy(value) {
|
|
803
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'referrerpolicy', value);
|
|
804
|
-
}
|
|
805
|
-
get rel() {
|
|
806
|
-
return this.elementRef.nativeElement.rel;
|
|
807
|
-
}
|
|
808
|
-
set rel(value) {
|
|
809
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'rel', value);
|
|
810
|
-
}
|
|
811
|
-
get target() {
|
|
812
|
-
return this.elementRef.nativeElement.target;
|
|
813
|
-
}
|
|
814
|
-
set target(value) {
|
|
815
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'target', value);
|
|
816
|
-
}
|
|
817
|
-
get type() {
|
|
818
|
-
return this.elementRef.nativeElement.type;
|
|
819
|
-
}
|
|
820
|
-
set type(value) {
|
|
821
|
-
this.renderer.setProperty(this.elementRef.nativeElement, 'type', value);
|
|
822
|
-
}
|
|
823
|
-
constructor(renderer, elementRef) {
|
|
824
|
-
this.renderer = renderer;
|
|
825
|
-
this.elementRef = elementRef;
|
|
826
|
-
}
|
|
827
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorBaseDirective, deps: [{ token: i0.Renderer2 }, { token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
828
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: NimbleAnchorBaseDirective, isStandalone: true, inputs: { href: "href", hreflang: "hreflang", ping: "ping", referrerpolicy: "referrerpolicy", rel: "rel", target: "target", type: "type" }, ngImport: i0 }); }
|
|
829
|
-
}
|
|
830
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: NimbleAnchorBaseDirective, decorators: [{
|
|
831
|
-
type: Directive
|
|
832
|
-
}], ctorParameters: () => [{ type: i0.Renderer2 }, { type: i0.ElementRef }], propDecorators: { href: [{
|
|
833
|
-
type: Input
|
|
834
|
-
}], hreflang: [{
|
|
835
|
-
type: Input
|
|
836
|
-
}], ping: [{
|
|
837
|
-
type: Input
|
|
838
|
-
}], referrerpolicy: [{
|
|
839
|
-
type: Input
|
|
840
|
-
}], rel: [{
|
|
841
|
-
type: Input
|
|
842
|
-
}], target: [{
|
|
843
|
-
type: Input
|
|
844
|
-
}], type: [{
|
|
845
|
-
type: Input
|
|
846
|
-
}] } });
|
|
847
|
-
|
|
848
778
|
/**
|
|
849
779
|
* Directive to provide Angular integration for the anchor.
|
|
850
780
|
*/
|