@mindfusion/gauges 2.2.0 → 2.2.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.
- package/README.md +7 -7
- package/dist/cjs/gauges.js +1 -1
- package/dist/esm/gauges.js +1 -1
- package/dist/esm/gauges.mjs +1 -0
- package/dist/umd/gauges.js +1 -1
- package/gauges.d.mts +2207 -0
- package/gauges.d.ts +134 -15
- package/package.json +22 -9
package/gauges.d.ts
CHANGED
|
@@ -202,7 +202,6 @@ declare module "Gauges/Utils" {
|
|
|
202
202
|
static getBrush(context: any, brush: any, bounds: any, isPen: any): any;
|
|
203
203
|
}
|
|
204
204
|
export namespace Utils {
|
|
205
|
-
const tm: number[];
|
|
206
205
|
const tm10: number[];
|
|
207
206
|
const tm11: number[];
|
|
208
207
|
}
|
|
@@ -464,11 +463,30 @@ declare module "Gauges/VisualElement" {
|
|
|
464
463
|
*/
|
|
465
464
|
private set strokeThickness(arg);
|
|
466
465
|
_strokeThickness: any;
|
|
466
|
+
/**
|
|
467
|
+
* Raised when the shape has changed.
|
|
468
|
+
* @event shapeChanged
|
|
469
|
+
* @type {EventDispatcher}
|
|
470
|
+
* @property {ShapeDesigner} sender
|
|
471
|
+
* @property {EventArgs} args
|
|
472
|
+
*/
|
|
473
|
+
get prepaint(): EventDispatcher;
|
|
474
|
+
_prepaint: EventDispatcher;
|
|
475
|
+
/**
|
|
476
|
+
* Raised when the shape has changed.
|
|
477
|
+
* @event shapeChanged
|
|
478
|
+
* @type {EventDispatcher}
|
|
479
|
+
* @property {ShapeDesigner} sender
|
|
480
|
+
* @property {EventArgs} args
|
|
481
|
+
*/
|
|
482
|
+
get paint(): EventDispatcher;
|
|
483
|
+
_paint: EventDispatcher;
|
|
467
484
|
}
|
|
468
485
|
import { Thickness } from "@mindfusion/drawing";
|
|
469
486
|
import { Point } from "@mindfusion/drawing";
|
|
470
487
|
import { Rect } from "@mindfusion/drawing";
|
|
471
488
|
import { Size } from "@mindfusion/drawing";
|
|
489
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
472
490
|
}
|
|
473
491
|
declare module "Gauges/VisualElementContainer" {
|
|
474
492
|
/**
|
|
@@ -862,9 +880,28 @@ declare module "Gauges/Pointer" {
|
|
|
862
880
|
_isDiscrete: boolean;
|
|
863
881
|
_shape: number;
|
|
864
882
|
customshape: string;
|
|
883
|
+
/**
|
|
884
|
+
* Raised when the shape has changed.
|
|
885
|
+
* @event shapeChanged
|
|
886
|
+
* @type {EventDispatcher}
|
|
887
|
+
* @property {ShapeDesigner} sender
|
|
888
|
+
* @property {EventArgs} args
|
|
889
|
+
*/
|
|
890
|
+
get valueChanging(): EventDispatcher;
|
|
891
|
+
_valueChanging: EventDispatcher;
|
|
892
|
+
/**
|
|
893
|
+
* Raised when the shape has changed.
|
|
894
|
+
* @event shapeChanged
|
|
895
|
+
* @type {EventDispatcher}
|
|
896
|
+
* @property {ShapeDesigner} sender
|
|
897
|
+
* @property {EventArgs} args
|
|
898
|
+
*/
|
|
899
|
+
get valueChanged(): EventDispatcher;
|
|
900
|
+
_valueChanged: EventDispatcher;
|
|
865
901
|
}
|
|
866
902
|
import { VisualElementContainer } from "Gauges/LoadOrder";
|
|
867
903
|
import { Length } from "Gauges/Length";
|
|
904
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
868
905
|
}
|
|
869
906
|
declare module "Gauges/CustomInterval" {
|
|
870
907
|
/**
|
|
@@ -1795,6 +1832,9 @@ declare module "Gauges/BaseGauge" {
|
|
|
1795
1832
|
* @class Represents the base class of linear and oval gauges.
|
|
1796
1833
|
*/
|
|
1797
1834
|
export class BaseGauge extends Control {
|
|
1835
|
+
static get tm(): number[];
|
|
1836
|
+
static get ns(): string;
|
|
1837
|
+
static get pk(): string;
|
|
1798
1838
|
/**
|
|
1799
1839
|
* Creates an instance of BaseGauge.
|
|
1800
1840
|
* @constructor
|
|
@@ -1805,13 +1845,6 @@ declare module "Gauges/BaseGauge" {
|
|
|
1805
1845
|
*/
|
|
1806
1846
|
constructor(element: any, ignoreMouseEvents?: boolean, componentType?: any);
|
|
1807
1847
|
stopRepaint: boolean;
|
|
1808
|
-
set licenseLocation(arg: string);
|
|
1809
|
-
/**
|
|
1810
|
-
* Gets or sets the URL of the gauge's license file.
|
|
1811
|
-
* @type {String}
|
|
1812
|
-
* @summary A valid URL string that specifies the location of the license key.
|
|
1813
|
-
*/
|
|
1814
|
-
get licenseLocation(): string;
|
|
1815
1848
|
/**
|
|
1816
1849
|
* A list of scale objects.
|
|
1817
1850
|
* @type {Array<BaseScale>}
|
|
@@ -1901,17 +1934,103 @@ declare module "Gauges/BaseGauge" {
|
|
|
1901
1934
|
_width: any;
|
|
1902
1935
|
_height: any;
|
|
1903
1936
|
_autoPostBack: boolean;
|
|
1904
|
-
|
|
1905
|
-
|
|
1906
|
-
|
|
1907
|
-
|
|
1908
|
-
|
|
1937
|
+
/**
|
|
1938
|
+
* Raised when the shape has changed.
|
|
1939
|
+
* @event shapeChanged
|
|
1940
|
+
* @type {EventDispatcher}
|
|
1941
|
+
* @property {ShapeDesigner} sender
|
|
1942
|
+
* @property {EventArgs} args
|
|
1943
|
+
*/
|
|
1944
|
+
get prepaintBackground(): EventDispatcher;
|
|
1945
|
+
_prepaintBackground: EventDispatcher;
|
|
1946
|
+
/**
|
|
1947
|
+
* Raised when the shape has changed.
|
|
1948
|
+
* @event shapeChanged
|
|
1949
|
+
* @type {EventDispatcher}
|
|
1950
|
+
* @property {ShapeDesigner} sender
|
|
1951
|
+
* @property {EventArgs} args
|
|
1952
|
+
*/
|
|
1953
|
+
get prepaintForeground(): EventDispatcher;
|
|
1954
|
+
_prepaintForeground: EventDispatcher;
|
|
1955
|
+
/**
|
|
1956
|
+
* Raised when the shape has changed.
|
|
1957
|
+
* @event shapeChanged
|
|
1958
|
+
* @type {EventDispatcher}
|
|
1959
|
+
* @property {ShapeDesigner} sender
|
|
1960
|
+
* @property {EventArgs} args
|
|
1961
|
+
*/
|
|
1962
|
+
get prepaintScale(): EventDispatcher;
|
|
1963
|
+
_prepaintScale: EventDispatcher;
|
|
1964
|
+
/**
|
|
1965
|
+
* Raised when the shape has changed.
|
|
1966
|
+
* @event shapeChanged
|
|
1967
|
+
* @type {EventDispatcher}
|
|
1968
|
+
* @property {ShapeDesigner} sender
|
|
1969
|
+
* @property {EventArgs} args
|
|
1970
|
+
*/
|
|
1971
|
+
get prepaintTick(): EventDispatcher;
|
|
1972
|
+
_prepaintTick: EventDispatcher;
|
|
1973
|
+
/**
|
|
1974
|
+
* Raised when the shape has changed.
|
|
1975
|
+
* @event shapeChanged
|
|
1976
|
+
* @type {EventDispatcher}
|
|
1977
|
+
* @property {ShapeDesigner} sender
|
|
1978
|
+
* @property {EventArgs} args
|
|
1979
|
+
*/
|
|
1980
|
+
get prepaintPointer(): EventDispatcher;
|
|
1981
|
+
_prepaintPointer: EventDispatcher;
|
|
1982
|
+
/**
|
|
1983
|
+
* Raised when the shape has changed.
|
|
1984
|
+
* @event shapeChanged
|
|
1985
|
+
* @type {EventDispatcher}
|
|
1986
|
+
* @property {ShapeDesigner} sender
|
|
1987
|
+
* @property {EventArgs} args
|
|
1988
|
+
*/
|
|
1989
|
+
get paintBackground(): EventDispatcher;
|
|
1990
|
+
_paintBackground: EventDispatcher;
|
|
1991
|
+
/**
|
|
1992
|
+
* Raised when the shape has changed.
|
|
1993
|
+
* @event shapeChanged
|
|
1994
|
+
* @type {EventDispatcher}
|
|
1995
|
+
* @property {ShapeDesigner} sender
|
|
1996
|
+
* @property {EventArgs} args
|
|
1997
|
+
*/
|
|
1998
|
+
get paintForeground(): EventDispatcher;
|
|
1999
|
+
_paintForeground: EventDispatcher;
|
|
2000
|
+
/**
|
|
2001
|
+
* Raised when the shape has changed.
|
|
2002
|
+
* @event shapeChanged
|
|
2003
|
+
* @type {EventDispatcher}
|
|
2004
|
+
* @property {ShapeDesigner} sender
|
|
2005
|
+
* @property {EventArgs} args
|
|
2006
|
+
*/
|
|
2007
|
+
get paintScale(): EventDispatcher;
|
|
2008
|
+
_paintScale: EventDispatcher;
|
|
2009
|
+
/**
|
|
2010
|
+
* Raised when the shape has changed.
|
|
2011
|
+
* @event shapeChanged
|
|
2012
|
+
* @type {EventDispatcher}
|
|
2013
|
+
* @property {ShapeDesigner} sender
|
|
2014
|
+
* @property {EventArgs} args
|
|
2015
|
+
*/
|
|
2016
|
+
get paintTick(): EventDispatcher;
|
|
2017
|
+
_paintTick: EventDispatcher;
|
|
2018
|
+
/**
|
|
2019
|
+
* Raised when the shape has changed.
|
|
2020
|
+
* @event shapeChanged
|
|
2021
|
+
* @type {EventDispatcher}
|
|
2022
|
+
* @property {ShapeDesigner} sender
|
|
2023
|
+
* @property {EventArgs} args
|
|
2024
|
+
*/
|
|
2025
|
+
get paintPointer(): EventDispatcher;
|
|
2026
|
+
_paintPointer: EventDispatcher;
|
|
1909
2027
|
}
|
|
1910
2028
|
import { Control } from "@mindfusion/controls";
|
|
1911
2029
|
import { BaseScale } from "Gauges/LoadOrder";
|
|
1912
2030
|
import { Size } from "@mindfusion/drawing";
|
|
1913
2031
|
import { Rect } from "@mindfusion/drawing";
|
|
1914
2032
|
import { VisualElementContainer } from "Gauges/LoadOrder";
|
|
2033
|
+
import { EventDispatcher } from "@mindfusion/controls";
|
|
1915
2034
|
}
|
|
1916
2035
|
declare module "Gauges/Ellipse" {
|
|
1917
2036
|
/**
|
|
@@ -2050,11 +2169,11 @@ declare module "Gauges/OvalGauge" {
|
|
|
2050
2169
|
}
|
|
2051
2170
|
declare module "Gauges/WebComponents" {
|
|
2052
2171
|
/**
|
|
2053
|
-
* @class
|
|
2172
|
+
* @class Implements registration of web components.
|
|
2054
2173
|
*/
|
|
2055
2174
|
export class WebComponents {
|
|
2056
2175
|
/**
|
|
2057
|
-
*
|
|
2176
|
+
* Registers the controls in the package as web components.
|
|
2058
2177
|
*/
|
|
2059
2178
|
static register(): void;
|
|
2060
2179
|
}
|
package/package.json
CHANGED
|
@@ -2,26 +2,39 @@
|
|
|
2
2
|
"author": {
|
|
3
3
|
"name": "MindFusion LLC",
|
|
4
4
|
"email": "info@mindfusion.eu",
|
|
5
|
-
"url": "https://mindfusion.
|
|
5
|
+
"url": "https://mindfusion.dev"
|
|
6
6
|
},
|
|
7
|
-
"version": "2.2.
|
|
7
|
+
"version": "2.2.2",
|
|
8
8
|
"description": "Gauges library",
|
|
9
9
|
"keywords": [
|
|
10
10
|
"gauges library"
|
|
11
11
|
],
|
|
12
12
|
"name": "@mindfusion/gauges",
|
|
13
|
-
"main": "./dist/
|
|
13
|
+
"main": "./dist/cjs/gauges.js",
|
|
14
|
+
"module": "./dist/esm/gauges.js",
|
|
14
15
|
"exports": {
|
|
15
16
|
".": {
|
|
16
|
-
"import":
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
17
|
+
"import": {
|
|
18
|
+
"types": "./gauges.d.mts",
|
|
19
|
+
"default": "./dist/esm/gauges.mjs"
|
|
20
|
+
},
|
|
21
|
+
"require": {
|
|
22
|
+
"types": "./gauges.d.ts",
|
|
23
|
+
"default": "./dist/cjs/gauges.js"
|
|
24
|
+
},
|
|
25
|
+
"node": {
|
|
26
|
+
"types": "./gauges.d.mts",
|
|
27
|
+
"default": "./dist/esm/gauges.mjs"
|
|
28
|
+
},
|
|
29
|
+
"default": {
|
|
30
|
+
"types": "./gauges.d.ts",
|
|
31
|
+
"default": "./dist/cjs/gauges.js"
|
|
32
|
+
}
|
|
20
33
|
}
|
|
21
|
-
},
|
|
34
|
+
},
|
|
22
35
|
"license": "SEE LICENSE IN LICENSE.txt",
|
|
23
36
|
"types": "gauges.d.ts",
|
|
24
37
|
"dependencies": {
|
|
25
|
-
"@mindfusion/controls": "^4.
|
|
38
|
+
"@mindfusion/controls": "^4.4.2"
|
|
26
39
|
}
|
|
27
40
|
}
|