nw-style-guide 20.3.0 → 20.3.1-beta.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/charts/index.d.ts +6 -6
- package/fesm2022/nw-style-guide-autofocus.mjs +3 -3
- package/fesm2022/nw-style-guide-carousel.mjs +7 -7
- package/fesm2022/nw-style-guide-charts.mjs +40 -41
- package/fesm2022/nw-style-guide-charts.mjs.map +1 -1
- package/fesm2022/nw-style-guide-email-input.mjs +3 -3
- package/fesm2022/nw-style-guide-feature-alerts.mjs +13 -13
- package/fesm2022/nw-style-guide-feature-alerts.mjs.map +1 -1
- package/fesm2022/nw-style-guide-loader.mjs +3 -3
- package/fesm2022/nw-style-guide-picker.mjs +7 -5
- package/fesm2022/nw-style-guide-picker.mjs.map +1 -1
- package/fesm2022/nw-style-guide-resize-observer.mjs +3 -3
- package/fesm2022/nw-style-guide-tabs.mjs +9 -9
- package/fesm2022/nw-style-guide-tabs.mjs.map +1 -1
- package/fesm2022/nw-style-guide-toasts.mjs +6 -6
- package/fesm2022/nw-style-guide-tooltips.mjs +6 -6
- package/fesm2022/nw-style-guide-word-cloud.mjs +6 -6
- package/linting-config/html-files.js +25 -0
- package/linting-config/ts-files.js +75 -0
- package/package.json +1 -1
- package/tabs/index.d.ts +1 -3
- package/animations/package.json +0 -3
- package/autofocus/package.json +0 -3
- package/carousel/package.json +0 -3
- package/charts/package.json +0 -3
- package/email-input/package.json +0 -3
- package/feature-alerts/package.json +0 -3
- package/linting-config/html-files.json +0 -14
- package/linting-config/ts-files.json +0 -130
- package/loader/package.json +0 -3
- package/picker/package.json +0 -3
- package/resize-observer/package.json +0 -3
- package/tabs/package.json +0 -3
- package/toasts/package.json +0 -3
- package/tooltips/package.json +0 -3
- package/word-cloud/package.json +0 -3
package/charts/index.d.ts
CHANGED
|
@@ -13,7 +13,7 @@ declare class ChartUtils {
|
|
|
13
13
|
private _chartResize$;
|
|
14
14
|
chartResize$: Observable<any>;
|
|
15
15
|
constructor();
|
|
16
|
-
static areDatasetsEqual(a:
|
|
16
|
+
static areDatasetsEqual(a: [number, number][], b: [number, number][]): boolean;
|
|
17
17
|
static haveDomainsChanged(xDomain: SimpleChange, yDomain: SimpleChange): boolean;
|
|
18
18
|
static hasInputChanged(input: SimpleChange): boolean;
|
|
19
19
|
notifyChartResize(): void;
|
|
@@ -70,7 +70,7 @@ declare class PathDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
70
70
|
private _elRef;
|
|
71
71
|
private _chart;
|
|
72
72
|
private _chartUtils;
|
|
73
|
-
data:
|
|
73
|
+
data: [number, number][];
|
|
74
74
|
xDomain: [number, number];
|
|
75
75
|
yDomain: [number, number];
|
|
76
76
|
animDuration: number;
|
|
@@ -79,7 +79,7 @@ declare class PathDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
79
79
|
xScale: NwXAxisScale;
|
|
80
80
|
animEnd: EventEmitter<void>;
|
|
81
81
|
line: Line<[number, number]>;
|
|
82
|
-
path: Selection<SVGPathElement,
|
|
82
|
+
path: Selection<SVGPathElement, [number, number][], SVGElement, any>;
|
|
83
83
|
yScale: ScaleLinear<number, number>;
|
|
84
84
|
private _chartResizeSub;
|
|
85
85
|
constructor(_elRef: ElementRef, _chart: ChartComponent, _chartUtils: ChartUtils);
|
|
@@ -112,7 +112,7 @@ declare abstract class AxisBase implements OnInit, OnChanges, OnDestroy {
|
|
|
112
112
|
axis: Axis<number | Date | {
|
|
113
113
|
valueOf(): number;
|
|
114
114
|
}>;
|
|
115
|
-
axisSelection: Selection<SVGGElement,
|
|
115
|
+
axisSelection: Selection<SVGGElement, [number, number][], SVGElement, any>;
|
|
116
116
|
axisLabelSelection: Selection<SVGTextElement, any, HTMLElement, any>;
|
|
117
117
|
private _chartResizeSub;
|
|
118
118
|
constructor(_elRef: ElementRef, chart: ChartComponent, _chartUtils: ChartUtils);
|
|
@@ -256,14 +256,14 @@ declare class AreaDirective implements OnInit, OnChanges, OnDestroy {
|
|
|
256
256
|
*
|
|
257
257
|
* If there are 2 the area is drawn to the chart height
|
|
258
258
|
*/
|
|
259
|
-
data:
|
|
259
|
+
data: AreaDatum[];
|
|
260
260
|
xDomain: [number, number];
|
|
261
261
|
yDomain: [number, number];
|
|
262
262
|
animDuration: number;
|
|
263
263
|
curve: CurveFactory;
|
|
264
264
|
easing: (normalizedTime: number) => number;
|
|
265
265
|
xScale: NwXAxisScale;
|
|
266
|
-
areaSelection: Selection<SVGPathElement,
|
|
266
|
+
areaSelection: Selection<SVGPathElement, AreaDatum[], SVGElement, any>;
|
|
267
267
|
area: Area<AreaDatum>;
|
|
268
268
|
yScale: ScaleLinear<number, number>;
|
|
269
269
|
private _chartResizeSub;
|
|
@@ -8,10 +8,10 @@ class AutoFocusDirective {
|
|
|
8
8
|
ngOnInit() {
|
|
9
9
|
this._elRef.nativeElement.focus();
|
|
10
10
|
}
|
|
11
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
12
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
11
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AutoFocusDirective, deps: [{ token: i0.ElementRef }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
12
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: AutoFocusDirective, isStandalone: true, selector: "[nwAutofocus]", exportAs: ["nw-autofocus"], ngImport: i0 }); }
|
|
13
13
|
}
|
|
14
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
14
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AutoFocusDirective, decorators: [{
|
|
15
15
|
type: Directive,
|
|
16
16
|
args: [{
|
|
17
17
|
selector: '[nwAutofocus]',
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
2
|
import { HostBinding, Input, Directive, EventEmitter, ContentChildren, ViewChild, Output, ChangeDetectionStrategy, Component } from '@angular/core';
|
|
3
|
-
import { trigger, transition, style,
|
|
3
|
+
import { trigger, transition, style, AUTO_STYLE, animate } from '@angular/animations';
|
|
4
4
|
import { debounceTime } from 'rxjs/operators';
|
|
5
5
|
import { fromEvent } from 'rxjs';
|
|
6
6
|
import { NgIf, NgStyle, NgClass, NgFor } from '@angular/common';
|
|
@@ -9,10 +9,10 @@ class CarouselSlideDirective {
|
|
|
9
9
|
constructor() {
|
|
10
10
|
this.snapAlign = 'start';
|
|
11
11
|
}
|
|
12
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
13
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
12
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CarouselSlideDirective, deps: [], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
13
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: CarouselSlideDirective, isStandalone: true, selector: "[nwCarouselSlide]", inputs: { snapAlign: "snapAlign" }, host: { properties: { "style.scroll-snap-align": "this.snapAlign" } }, exportAs: ["nw-carousel-slide"], ngImport: i0 }); }
|
|
14
14
|
}
|
|
15
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
15
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CarouselSlideDirective, decorators: [{
|
|
16
16
|
type: Directive,
|
|
17
17
|
args: [{
|
|
18
18
|
selector: '[nwCarouselSlide]',
|
|
@@ -112,8 +112,8 @@ class CarouselComponent {
|
|
|
112
112
|
this._windowResizeSub.unsubscribe();
|
|
113
113
|
this._slidesSub.unsubscribe();
|
|
114
114
|
}
|
|
115
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
116
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
115
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CarouselComponent, deps: [{ token: i0.Renderer2 }, { token: i0.ChangeDetectorRef }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
116
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: CarouselComponent, isStandalone: true, selector: "nw-carousel", inputs: { showPageIndicator: "showPageIndicator", showPagination: "showPagination", showMask: "showMask", maskColor: "maskColor", containerClass: "containerClass", currPage: "currPage", noResultsText: "noResultsText" }, outputs: { currPageChange: "currPageChange" }, queries: [{ propertyName: "slides", predicate: CarouselSlideDirective }], viewQueries: [{ propertyName: "carousel", first: true, predicate: ["carousel"], descendants: true, static: true }], exportAs: ["nw-carousel"], usesOnChanges: true, ngImport: i0, template: `
|
|
117
117
|
<div class="carousel-container">
|
|
118
118
|
<div class="pagination-container" *ngIf="showPagination && !isFirstPage">
|
|
119
119
|
<button class="btn btn-carousel btn-carousel-prev" (click)="prev()"></button>
|
|
@@ -160,7 +160,7 @@ class CarouselComponent {
|
|
|
160
160
|
])
|
|
161
161
|
], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
162
162
|
}
|
|
163
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
163
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CarouselComponent, decorators: [{
|
|
164
164
|
type: Component,
|
|
165
165
|
args: [{
|
|
166
166
|
selector: 'nw-carousel',
|
|
@@ -35,10 +35,10 @@ class ChartUtils {
|
|
|
35
35
|
notifyChartResize() {
|
|
36
36
|
this._chartResize$.next();
|
|
37
37
|
}
|
|
38
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
39
|
-
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.
|
|
38
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartUtils, deps: [], target: i0.ɵɵFactoryTarget.Injectable }); }
|
|
39
|
+
static { this.ɵprov = i0.ɵɵngDeclareInjectable({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartUtils }); }
|
|
40
40
|
}
|
|
41
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
41
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartUtils, decorators: [{
|
|
42
42
|
type: Injectable
|
|
43
43
|
}], ctorParameters: () => [] });
|
|
44
44
|
|
|
@@ -78,7 +78,6 @@ class ChartComponent {
|
|
|
78
78
|
.attr("transform", "translate(" + this.margins.left + "," + this.margins.top + ")");
|
|
79
79
|
}
|
|
80
80
|
setHoverOverlay() {
|
|
81
|
-
const self = this;
|
|
82
81
|
// This full height / width rect ensures that all mouse events will
|
|
83
82
|
// be captured and delegated to the parent mouseEventCaptureContainer
|
|
84
83
|
select(this.hoverOverlay.nativeElement)
|
|
@@ -91,7 +90,7 @@ class ChartComponent {
|
|
|
91
90
|
.on('mouseleave', () => this.nwMouseleave.emit())
|
|
92
91
|
.on('mousemove', e => {
|
|
93
92
|
// emits the current mouse position
|
|
94
|
-
|
|
93
|
+
this.nwMousemove.emit(pointer(e));
|
|
95
94
|
});
|
|
96
95
|
}
|
|
97
96
|
onBackgroundClick() {
|
|
@@ -116,8 +115,8 @@ class ChartComponent {
|
|
|
116
115
|
this._destroyed$.next();
|
|
117
116
|
this._destroyed$.complete();
|
|
118
117
|
}
|
|
119
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
120
|
-
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.
|
|
118
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartComponent, deps: [{ token: i0.ElementRef }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Component }); }
|
|
119
|
+
static { this.ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "20.3.18", type: ChartComponent, isStandalone: true, selector: "svg[nw-chart]", inputs: { w: ["width", "w"], h: ["height", "h"], margins: "margins" }, outputs: { nwMousemove: "nwMousemove", nwMouseleave: "nwMouseleave", bgClick: "bgClick" }, providers: [ChartUtils], viewQueries: [{ propertyName: "chartContainer", first: true, predicate: ["chartContainer"], descendants: true, static: true }, { propertyName: "mouseEventCaptureContainer", first: true, predicate: ["mouseEventCaptureContainer"], descendants: true, static: true }, { propertyName: "hoverOverlay", first: true, predicate: ["hoverOverlay"], descendants: true, static: true }], exportAs: ["nw-chart"], ngImport: i0, template: `
|
|
121
120
|
<svg:g #chartContainer
|
|
122
121
|
nwResizeObserver
|
|
123
122
|
[element]="parentElement"
|
|
@@ -134,7 +133,7 @@ class ChartComponent {
|
|
|
134
133
|
</svg:g>
|
|
135
134
|
`, isInline: true, dependencies: [{ kind: "directive", type: ResizeObserverDirective, selector: "[nwResizeObserver]", inputs: ["element", "tolerance"], outputs: ["nwResize"], exportAs: ["nwResizeObserver"] }], changeDetection: i0.ChangeDetectionStrategy.OnPush }); }
|
|
136
135
|
}
|
|
137
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
136
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartComponent, decorators: [{
|
|
138
137
|
type: Component,
|
|
139
138
|
args: [{
|
|
140
139
|
selector: 'svg[nw-chart]',
|
|
@@ -247,10 +246,10 @@ class PathDirective {
|
|
|
247
246
|
ngOnDestroy() {
|
|
248
247
|
this._chartResizeSub.unsubscribe();
|
|
249
248
|
}
|
|
250
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
251
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
249
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: PathDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
250
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: PathDirective, isStandalone: true, selector: "path[nw-path]", inputs: { data: ["nw-path", "data"], xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", curve: "curve", easing: "easing", xScale: "xScale" }, outputs: { animEnd: "animEnd" }, exportAs: ["nw-path"], usesOnChanges: true, ngImport: i0 }); }
|
|
252
251
|
}
|
|
253
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
252
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: PathDirective, decorators: [{
|
|
254
253
|
type: Directive,
|
|
255
254
|
args: [{
|
|
256
255
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -352,10 +351,10 @@ class AxisBase {
|
|
|
352
351
|
ngOnDestroy() {
|
|
353
352
|
this._chartResizeSub.unsubscribe();
|
|
354
353
|
}
|
|
355
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
356
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
354
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AxisBase, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
355
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: AxisBase, isStandalone: true, inputs: { tickFormat: "tickFormat", tickCount: "tickCount", tickSizeOuter: "tickSizeOuter", tickValues: "tickValues", showGuidlines: "showGuidlines", animDuration: "animDuration", easing: "easing", label: "label" }, usesOnChanges: true, ngImport: i0 }); }
|
|
357
356
|
}
|
|
358
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
357
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AxisBase, decorators: [{
|
|
359
358
|
type: Directive
|
|
360
359
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: ChartComponent }, { type: ChartUtils }], propDecorators: { tickFormat: [{
|
|
361
360
|
type: Input
|
|
@@ -427,10 +426,10 @@ class XAxisDirective extends AxisBase {
|
|
|
427
426
|
}
|
|
428
427
|
return 0;
|
|
429
428
|
}
|
|
430
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
431
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
429
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: XAxisDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
430
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: XAxisDirective, isStandalone: true, selector: "[nw-x-axis]", inputs: { align: "align", domain: "domain", scale: "scale" }, outputs: { scaleUpdated: "scaleUpdated" }, exportAs: ["nw-x-axis"], usesInheritance: true, ngImport: i0 }); }
|
|
432
431
|
}
|
|
433
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
432
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: XAxisDirective, decorators: [{
|
|
434
433
|
type: Directive,
|
|
435
434
|
args: [{
|
|
436
435
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -502,10 +501,10 @@ class YAxisDirective extends AxisBase {
|
|
|
502
501
|
}
|
|
503
502
|
return 0;
|
|
504
503
|
}
|
|
505
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
506
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
504
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: YAxisDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
505
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: YAxisDirective, isStandalone: true, selector: "[nw-y-axis]", inputs: { align: "align", domain: "domain" }, outputs: { scaleUpdated: "scaleUpdated" }, exportAs: ["nw-y-axis"], usesInheritance: true, ngImport: i0 }); }
|
|
507
506
|
}
|
|
508
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
507
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: YAxisDirective, decorators: [{
|
|
509
508
|
type: Directive,
|
|
510
509
|
args: [{
|
|
511
510
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -578,10 +577,10 @@ class CircleDirective {
|
|
|
578
577
|
ngOnDestroy() {
|
|
579
578
|
this._chartResizeSub.unsubscribe();
|
|
580
579
|
}
|
|
581
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
582
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
580
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CircleDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
581
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: CircleDirective, isStandalone: true, selector: "circle[nw-circle]", inputs: { point: ["nw-circle", "point"], xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", easing: "easing", xScale: "xScale" }, exportAs: ["nw-circle"], usesOnChanges: true, ngImport: i0 }); }
|
|
583
582
|
}
|
|
584
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
583
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: CircleDirective, decorators: [{
|
|
585
584
|
type: Directive,
|
|
586
585
|
args: [{
|
|
587
586
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -675,10 +674,10 @@ class BrushDirective {
|
|
|
675
674
|
ngOnDestroy() {
|
|
676
675
|
this._unbindEvents();
|
|
677
676
|
}
|
|
678
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
679
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
677
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BrushDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
678
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: BrushDirective, isStandalone: true, selector: "svg:g[nw-brush]", inputs: { extent: "extent", dimension: "dimension" }, outputs: { brushEnd: "brushEnd" }, exportAs: ["nw-brush"], usesOnChanges: true, ngImport: i0 }); }
|
|
680
679
|
}
|
|
681
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
680
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BrushDirective, decorators: [{
|
|
682
681
|
type: Directive,
|
|
683
682
|
args: [{
|
|
684
683
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -747,10 +746,10 @@ class BarDirective {
|
|
|
747
746
|
ngOnDestroy() {
|
|
748
747
|
this._chartResizeSub.unsubscribe();
|
|
749
748
|
}
|
|
750
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
751
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
749
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BarDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
750
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: BarDirective, isStandalone: true, selector: "rect[nw-bar]", inputs: { value: ["nw-bar", "value"], xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", easing: "easing", barWidth: "barWidth", xScale: "xScale" }, usesOnChanges: true, ngImport: i0 }); }
|
|
752
751
|
}
|
|
753
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
752
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: BarDirective, decorators: [{
|
|
754
753
|
type: Directive,
|
|
755
754
|
args: [{
|
|
756
755
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -841,10 +840,10 @@ class AreaDirective {
|
|
|
841
840
|
ngOnDestroy() {
|
|
842
841
|
this._chartResizeSub.unsubscribe();
|
|
843
842
|
}
|
|
844
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
845
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
843
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AreaDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
844
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: AreaDirective, isStandalone: true, selector: "path[nw-area]", inputs: { data: ["nw-area", "data"], xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", curve: "curve", easing: "easing", xScale: "xScale" }, exportAs: ["nw-area"], usesOnChanges: true, ngImport: i0 }); }
|
|
846
845
|
}
|
|
847
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
846
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: AreaDirective, decorators: [{
|
|
848
847
|
type: Directive,
|
|
849
848
|
args: [{
|
|
850
849
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -897,10 +896,10 @@ class ChartTooltipDirective {
|
|
|
897
896
|
this._height = rect.height;
|
|
898
897
|
}
|
|
899
898
|
}
|
|
900
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
901
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
899
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartTooltipDirective, deps: [{ token: i0.ElementRef }, { token: i0.Renderer2 }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
900
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: ChartTooltipDirective, isStandalone: true, selector: "[nwChartTooltip]", inputs: { position: "position", chartWidth: "chartWidth", chartHeight: "chartHeight", chartMargins: "chartMargins", offsetX: "offsetX" }, usesOnChanges: true, ngImport: i0 }); }
|
|
902
901
|
}
|
|
903
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
902
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ChartTooltipDirective, decorators: [{
|
|
904
903
|
type: Directive,
|
|
905
904
|
args: [{ selector: '[nwChartTooltip]' }]
|
|
906
905
|
}], ctorParameters: () => [{ type: i0.ElementRef }, { type: i0.Renderer2 }], propDecorators: { position: [{
|
|
@@ -972,10 +971,10 @@ class ForeignObjectDirective {
|
|
|
972
971
|
ngOnDestroy() {
|
|
973
972
|
this._chartResizeSub.unsubscribe();
|
|
974
973
|
}
|
|
975
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
976
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
974
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ForeignObjectDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
975
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: ForeignObjectDirective, isStandalone: true, selector: "[nw-foreign-object]", inputs: { point: "point", xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", easing: "easing", xScale: "xScale" }, exportAs: ["nw-foreign-object"], usesOnChanges: true, ngImport: i0 }); }
|
|
977
976
|
}
|
|
978
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
977
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: ForeignObjectDirective, decorators: [{
|
|
979
978
|
type: Directive,
|
|
980
979
|
args: [{
|
|
981
980
|
// eslint-disable-next-line @angular-eslint/directive-selector
|
|
@@ -1053,10 +1052,10 @@ class TextDirective {
|
|
|
1053
1052
|
ngOnDestroy() {
|
|
1054
1053
|
this._chartResizeSub.unsubscribe();
|
|
1055
1054
|
}
|
|
1056
|
-
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.
|
|
1057
|
-
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.
|
|
1055
|
+
static { this.ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TextDirective, deps: [{ token: i0.ElementRef }, { token: ChartComponent }, { token: ChartUtils }], target: i0.ɵɵFactoryTarget.Directive }); }
|
|
1056
|
+
static { this.ɵdir = i0.ɵɵngDeclareDirective({ minVersion: "14.0.0", version: "20.3.18", type: TextDirective, isStandalone: true, selector: "text[nw-text]", inputs: { point: ["nw-text", "point"], xDomain: "xDomain", yDomain: "yDomain", animDuration: "animDuration", easing: "easing", xScale: "xScale" }, exportAs: ["nw-text"], usesOnChanges: true, ngImport: i0 }); }
|
|
1058
1057
|
}
|
|
1059
|
-
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.
|
|
1058
|
+
i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "20.3.18", ngImport: i0, type: TextDirective, decorators: [{
|
|
1060
1059
|
type: Directive,
|
|
1061
1060
|
args: [{
|
|
1062
1061
|
// eslint-disable-next-line @angular-eslint/directive-selector
|