@dragonworks/ngx-dashboard-widgets 20.3.1 → 21.0.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/package.json
CHANGED
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dragonworks/ngx-dashboard-widgets",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"description": "Widget collection for ngx-dashboard with Material Design 3 compliance including arrow, label, clock widgets and responsive text directive",
|
|
5
5
|
"peerDependencies": {
|
|
6
|
-
"@angular/common": "^
|
|
7
|
-
"@angular/core": "^
|
|
8
|
-
"@angular/localize": "^
|
|
9
|
-
"@dragonworks/ngx-dashboard": "^
|
|
6
|
+
"@angular/common": "^21.0.0",
|
|
7
|
+
"@angular/core": "^21.0.0",
|
|
8
|
+
"@angular/localize": "^21.0.0",
|
|
9
|
+
"@dragonworks/ngx-dashboard": "^21.0.0"
|
|
10
10
|
},
|
|
11
11
|
"dependencies": {
|
|
12
12
|
"tslib": "^2.3.0"
|
|
@@ -30,13 +30,13 @@
|
|
|
30
30
|
"md3"
|
|
31
31
|
],
|
|
32
32
|
"module": "fesm2022/dragonworks-ngx-dashboard-widgets.mjs",
|
|
33
|
-
"typings": "
|
|
33
|
+
"typings": "types/dragonworks-ngx-dashboard-widgets.d.ts",
|
|
34
34
|
"exports": {
|
|
35
35
|
"./package.json": {
|
|
36
36
|
"default": "./package.json"
|
|
37
37
|
},
|
|
38
38
|
".": {
|
|
39
|
-
"types": "./
|
|
39
|
+
"types": "./types/dragonworks-ngx-dashboard-widgets.d.ts",
|
|
40
40
|
"default": "./fesm2022/dragonworks-ngx-dashboard-widgets.mjs"
|
|
41
41
|
}
|
|
42
42
|
}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import * as _angular_core from '@angular/core';
|
|
2
|
-
import { AfterViewInit } from '@angular/core';
|
|
3
2
|
import * as _angular_platform_browser from '@angular/platform-browser';
|
|
4
3
|
import { Widget, WidgetMetadata } from '@dragonworks/ngx-dashboard';
|
|
5
4
|
|
|
6
|
-
declare const NGX_DASHBOARD_WIDGETS_VERSION = "
|
|
5
|
+
declare const NGX_DASHBOARD_WIDGETS_VERSION = "21.0.0";
|
|
7
6
|
|
|
8
7
|
interface ArrowWidgetState {
|
|
9
8
|
direction: 'left' | 'up' | 'right' | 'down';
|
|
@@ -464,7 +463,7 @@ declare class RadialGaugeComponent {
|
|
|
464
463
|
* <span libResponsiveText [templateString]="'Template for sizing'">Shorter text</span>
|
|
465
464
|
* </div>
|
|
466
465
|
*/
|
|
467
|
-
declare class ResponsiveTextDirective
|
|
466
|
+
declare class ResponsiveTextDirective {
|
|
468
467
|
/** Minimum font-size in pixels (accessibility floor) */
|
|
469
468
|
minFontSize: _angular_core.InputSignalWithTransform<number, unknown>;
|
|
470
469
|
/** Maximum font-size in pixels (layout ceiling) */
|
|
@@ -481,9 +480,9 @@ declare class ResponsiveTextDirective implements AfterViewInit {
|
|
|
481
480
|
/** Template string to use for size calculations instead of actual content */
|
|
482
481
|
templateString: _angular_core.InputSignal<string | undefined>;
|
|
483
482
|
private readonly el;
|
|
484
|
-
private readonly zone;
|
|
485
483
|
private readonly platformId;
|
|
486
484
|
private readonly destroyRef;
|
|
485
|
+
private readonly zone;
|
|
487
486
|
private _ctx?;
|
|
488
487
|
private get ctx();
|
|
489
488
|
private ro?;
|
|
@@ -494,9 +493,10 @@ declare class ResponsiveTextDirective implements AfterViewInit {
|
|
|
494
493
|
private lastMaxW;
|
|
495
494
|
private lastMaxH;
|
|
496
495
|
private lastFontSize;
|
|
497
|
-
private
|
|
496
|
+
private isRendered;
|
|
497
|
+
/** Run callback outside Angular zone if zone.js is present */
|
|
498
|
+
private runOutsideAngular;
|
|
498
499
|
constructor();
|
|
499
|
-
ngAfterViewInit(): void;
|
|
500
500
|
/**
|
|
501
501
|
* Debounced fit handler to prevent excessive recalculations
|
|
502
502
|
*/
|