@mescius/wijmo.react.chart.annotation 5.20261.45-nightly.d20251218.t163151 → 5.20261.45-nightly.d20260105.t163143
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/es2015-commonjs.js +2 -2
- package/es2015-esm.js +2 -2
- package/es5-esm.js +1 -1
- package/index.d.ts +18 -18
- package/index.js +1 -1
- package/package.json +6 -6
package/es2015-commonjs.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t163143
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
"use strict";var __importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcChartAnnotation=__importStar(require("@mescius/wijmo.chart.annotation"));exports.FlexChartAnnotationLayerMeta={inputs:["items"],events:[]};exports.FlexChartAnnotationLayer=wijmo_react_base_1.wjForwardRef((
|
|
14
|
+
"use strict";var __importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var e={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(e[n]=t[n]);e.default=t;return e};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcCore=__importStar(require("@mescius/wijmo")),wjcChartAnnotation=__importStar(require("@mescius/wijmo.chart.annotation"));exports.FlexChartAnnotationLayerMeta={inputs:["items"],events:[]};exports.FlexChartAnnotationLayer=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationLayerMeta.inputs,events:exports.FlexChartAnnotationLayerMeta.events,props:t,constructor:wjcChartAnnotation.AnnotationLayer,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationMeta={inputs:["template","attachment","position","point","seriesIndex","pointIndex","offset","style","isVisible","tooltip","text","content","name","width","height","start","end","radius","length","href"],events:[]};exports.FlexChartAnnotation=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationMeta.inputs,events:exports.FlexChartAnnotationMeta.events,props:t,constructor:wjcChartAnnotation.AnnotationBase,customConstructor:(t,e,n)=>{const a=Object.assign({},e);switch(n.type){case"Circle":return new wjcChartAnnotation.Circle(a);case"Ellipse":return new wjcChartAnnotation.Ellipse(a);case"Image":return new wjcChartAnnotation.Image(a);case"Line":return new wjcChartAnnotation.Line(a);case"Polygon":return new wjcChartAnnotation.Polygon(a);case"Rectangle":return new wjcChartAnnotation.Rectangle(a);case"Shape":return new wjcChartAnnotation.Shape(a);case"Square":return new wjcChartAnnotation.Square(a);case"Text":return new wjcChartAnnotation.Text(a);default:wjcCore.assert(!1,"Invalid Anotation type")}},customProps:{type:()=>{}},needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationBaseMeta={inputs:["attachment","isVisible","name","offset","point","pointIndex","position","seriesIndex","style","tooltip"],events:[]};exports.FlexChartAnnotationTextMeta={inputs:[...exports.FlexChartAnnotationBaseMeta.inputs,"text"],events:[...exports.FlexChartAnnotationBaseMeta.events]};exports.FlexChartAnnotationText=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationTextMeta.inputs,events:exports.FlexChartAnnotationTextMeta.events,props:t,constructor:wjcChartAnnotation.Text,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationShapeBaseMeta={inputs:[...exports.FlexChartAnnotationBaseMeta.inputs,"content"],events:[...exports.FlexChartAnnotationBaseMeta.events]};exports.FlexChartAnnotationEllipseMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"height","width"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationEllipse=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationEllipseMeta.inputs,events:exports.FlexChartAnnotationEllipseMeta.events,props:t,constructor:wjcChartAnnotation.Ellipse,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationRectangleMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"height","width"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationRectangle=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationRectangleMeta.inputs,events:exports.FlexChartAnnotationRectangleMeta.events,props:t,constructor:wjcChartAnnotation.Rectangle,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationLineMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"end","start"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationLine=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationLineMeta.inputs,events:exports.FlexChartAnnotationLineMeta.events,props:t,constructor:wjcChartAnnotation.Line,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationPolygonMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"points"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationPolygon=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationPolygonMeta.inputs,events:exports.FlexChartAnnotationPolygonMeta.events,props:t,constructor:wjcChartAnnotation.Polygon,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationCircleMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"radius"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationCircle=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationCircleMeta.inputs,events:exports.FlexChartAnnotationCircleMeta.events,props:t,constructor:wjcChartAnnotation.Circle,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationSquareMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"length"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationSquare=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationSquareMeta.inputs,events:exports.FlexChartAnnotationSquareMeta.events,props:t,constructor:wjcChartAnnotation.Square,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});exports.FlexChartAnnotationImageMeta={inputs:[...exports.FlexChartAnnotationShapeBaseMeta.inputs,"height","width","href"],events:[...exports.FlexChartAnnotationShapeBaseMeta.events]};exports.FlexChartAnnotationImage=wijmo_react_base_1.wjForwardRef((t,e)=>{const n=wijmo_react_base_1.useWjComponentChildBase({ref:e,properties:exports.FlexChartAnnotationImageMeta.inputs,events:exports.FlexChartAnnotationImageMeta.events,props:t,constructor:wjcChartAnnotation.Image,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});
|
package/es2015-esm.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t163143
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -11,4 +11,4 @@
|
|
|
11
11
|
*
|
|
12
12
|
*/
|
|
13
13
|
|
|
14
|
-
import{useWjComponentChildBase,wjForwardRef}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcChartAnnotation from"@mescius/wijmo.chart.annotation";export const FlexChartAnnotationLayerMeta={inputs:["items"],events:[]};export const FlexChartAnnotationLayer=wjForwardRef((
|
|
14
|
+
import{useWjComponentChildBase,wjForwardRef}from"@mescius/wijmo.react.base";import*as wjcCore from"@mescius/wijmo";import*as wjcChartAnnotation from"@mescius/wijmo.chart.annotation";export const FlexChartAnnotationLayerMeta={inputs:["items"],events:[]};export const FlexChartAnnotationLayer=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationLayerMeta.inputs,events:FlexChartAnnotationLayerMeta.events,props:t,constructor:wjcChartAnnotation.AnnotationLayer,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationMeta={inputs:["template","attachment","position","point","seriesIndex","pointIndex","offset","style","isVisible","tooltip","text","content","name","width","height","start","end","radius","length","href"],events:[]};export const FlexChartAnnotation=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationMeta.inputs,events:FlexChartAnnotationMeta.events,props:t,constructor:wjcChartAnnotation.AnnotationBase,customConstructor:(t,e,n)=>{const a=Object.assign({},e);switch(n.type){case"Circle":return new wjcChartAnnotation.Circle(a);case"Ellipse":return new wjcChartAnnotation.Ellipse(a);case"Image":return new wjcChartAnnotation.Image(a);case"Line":return new wjcChartAnnotation.Line(a);case"Polygon":return new wjcChartAnnotation.Polygon(a);case"Rectangle":return new wjcChartAnnotation.Rectangle(a);case"Shape":return new wjcChartAnnotation.Shape(a);case"Square":return new wjcChartAnnotation.Square(a);case"Text":return new wjcChartAnnotation.Text(a);default:wjcCore.assert(!1,"Invalid Anotation type")}},customProps:{type:()=>{}},needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationBaseMeta={inputs:["attachment","isVisible","name","offset","point","pointIndex","position","seriesIndex","style","tooltip"],events:[]};export const FlexChartAnnotationTextMeta={inputs:[...FlexChartAnnotationBaseMeta.inputs,"text"],events:[...FlexChartAnnotationBaseMeta.events]};export const FlexChartAnnotationText=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationTextMeta.inputs,events:FlexChartAnnotationTextMeta.events,props:t,constructor:wjcChartAnnotation.Text,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationShapeBaseMeta={inputs:[...FlexChartAnnotationBaseMeta.inputs,"content"],events:[...FlexChartAnnotationBaseMeta.events]};export const FlexChartAnnotationEllipseMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"height","width"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationEllipse=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationEllipseMeta.inputs,events:FlexChartAnnotationEllipseMeta.events,props:t,constructor:wjcChartAnnotation.Ellipse,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationRectangleMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"height","width"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationRectangle=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationRectangleMeta.inputs,events:FlexChartAnnotationRectangleMeta.events,props:t,constructor:wjcChartAnnotation.Rectangle,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationLineMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"end","start"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationLine=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationLineMeta.inputs,events:FlexChartAnnotationLineMeta.events,props:t,constructor:wjcChartAnnotation.Line,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationPolygonMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"points"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationPolygon=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationPolygonMeta.inputs,events:FlexChartAnnotationPolygonMeta.events,props:t,constructor:wjcChartAnnotation.Polygon,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationCircleMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"radius"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationCircle=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationCircleMeta.inputs,events:FlexChartAnnotationCircleMeta.events,props:t,constructor:wjcChartAnnotation.Circle,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationSquareMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"length"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationSquare=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationSquareMeta.inputs,events:FlexChartAnnotationSquareMeta.events,props:t,constructor:wjcChartAnnotation.Square,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});export const FlexChartAnnotationImageMeta={inputs:[...FlexChartAnnotationShapeBaseMeta.inputs,"height","width","href"],events:[...FlexChartAnnotationShapeBaseMeta.events]};export const FlexChartAnnotationImage=wjForwardRef((t,e)=>{const n=useWjComponentChildBase({ref:e,properties:FlexChartAnnotationImageMeta.inputs,events:FlexChartAnnotationImageMeta.events,props:t,constructor:wjcChartAnnotation.Image,needParentInstance:!1,parentProp:"items",isParentPropArray:!0,assignedToParent:!0});return Object.assign({$_wjComponent:!0},n)});
|
package/es5-esm.js
CHANGED
package/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/*!
|
|
2
2
|
*
|
|
3
|
-
* Wijmo Library 5.20261.45-nightly.
|
|
3
|
+
* Wijmo Library 5.20261.45-nightly.d20260105.t163143
|
|
4
4
|
* https://developer.mescius.com/wijmo
|
|
5
5
|
*
|
|
6
6
|
* Copyright(c) MESCIUS inc. All rights reserved.
|
|
@@ -26,7 +26,7 @@ export declare type FlexChartAnnotationLayerInputs = BaseInputs & {
|
|
|
26
26
|
children?: any;
|
|
27
27
|
items?: any[];
|
|
28
28
|
};
|
|
29
|
-
export declare type FlexChartAnnotationLayerEvents<
|
|
29
|
+
export declare type FlexChartAnnotationLayerEvents<_T> = {};
|
|
30
30
|
export declare const FlexChartAnnotationLayerMeta: {
|
|
31
31
|
inputs: string[];
|
|
32
32
|
events: any[];
|
|
@@ -63,21 +63,21 @@ export declare const FlexChartAnnotationMeta: {
|
|
|
63
63
|
export declare type FlexChartAnnotationProps = FlexChartAnnotationInputs & FlexChartAnnotationEvents;
|
|
64
64
|
export declare type FlexChartAnnotationRef = WjRef<any>;
|
|
65
65
|
/**
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
66
|
+
* React component that represents objects inherited from the
|
|
67
|
+
* {@link wijmo.chart.annotation.AnnotationBase} class.
|
|
68
|
+
*
|
|
69
|
+
* The <b>flex-chart-annotation</b> component should be contained in
|
|
70
|
+
* a {@link wijmo.react.chart.annotation.FlexChartAnnotationLayer} component.
|
|
71
|
+
*
|
|
72
|
+
* The <b>flex-chart-annotation</b> component may contain
|
|
73
|
+
* a {@link wijmo.react.chart.FlexChartDataPoint} child component.
|
|
74
|
+
*
|
|
75
|
+
* The component supports all properties and events of the pure JavaScript {@link } class it represents.
|
|
76
|
+
*
|
|
77
|
+
* The component includes an <b>initialized</b> event that is raised when the control is initialized after it is added to the page.
|
|
78
|
+
* You can use this event to perform further initialization in addition to setting properties in JSX.
|
|
79
|
+
* The signature of the handler function is the same as any other Wijmo event handlers.
|
|
80
|
+
*/
|
|
81
81
|
export declare const FlexChartAnnotation: WjForwardRefExoticComponent<FlexChartAnnotationProps>;
|
|
82
82
|
export declare type FlexChartAnnotationBaseInputs = BaseInputs & {
|
|
83
83
|
attachment?: wjcChartAnnotation.AnnotationAttachment | string;
|
|
@@ -92,7 +92,7 @@ export declare type FlexChartAnnotationBaseInputs = BaseInputs & {
|
|
|
92
92
|
tooltip?: string;
|
|
93
93
|
children?: any;
|
|
94
94
|
};
|
|
95
|
-
export declare type FlexChartAnnotationBaseEvents<
|
|
95
|
+
export declare type FlexChartAnnotationBaseEvents<_T> = {};
|
|
96
96
|
export declare const FlexChartAnnotationBaseMeta: {
|
|
97
97
|
inputs: string[];
|
|
98
98
|
events: any[];
|
package/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mescius/wijmo.react.chart.annotation",
|
|
3
|
-
"version": "5.20261.45-nightly.
|
|
3
|
+
"version": "5.20261.45-nightly.d20260105.t163143",
|
|
4
4
|
"description": "UI library for pure JS, Angular, React, Vue and more...",
|
|
5
5
|
"author": "MESCIUS inc",
|
|
6
6
|
"license": "Commercial",
|
|
7
7
|
"main": "./index.js",
|
|
8
8
|
"types": "./index.d.ts",
|
|
9
9
|
"dependencies": {
|
|
10
|
-
"@mescius/wijmo": "5.20261.45-nightly.
|
|
11
|
-
"@mescius/wijmo.chart": "5.20261.45-nightly.
|
|
12
|
-
"@mescius/wijmo.chart.annotation": "5.20261.45-nightly.
|
|
13
|
-
"@mescius/wijmo.react.base": "5.20261.45-nightly.
|
|
14
|
-
"@mescius/wijmo.react.chart": "5.20261.45-nightly.
|
|
10
|
+
"@mescius/wijmo": "5.20261.45-nightly.d20260105.t163143",
|
|
11
|
+
"@mescius/wijmo.chart": "5.20261.45-nightly.d20260105.t163143",
|
|
12
|
+
"@mescius/wijmo.chart.annotation": "5.20261.45-nightly.d20260105.t163143",
|
|
13
|
+
"@mescius/wijmo.react.base": "5.20261.45-nightly.d20260105.t163143",
|
|
14
|
+
"@mescius/wijmo.react.chart": "5.20261.45-nightly.d20260105.t163143"
|
|
15
15
|
},
|
|
16
16
|
"homepage": "https://developer.mescius.com/wijmo",
|
|
17
17
|
"bugs": {
|