@mescius/wijmo.react.chart.animation 5.20241.10-nightly.d20240427.t020122 → 5.20241.10-nightly.d20240501.t020145

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.
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240427.t020122
3
+ * Wijmo Library 5.20241.10-nightly.d20240501.t020145
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 r={};if(null!=t)for(var e in t)Object.hasOwnProperty.call(t,e)&&(r[e]=t[e]);r.default=t;return r};Object.defineProperty(exports,"__esModule",{value:!0});const wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcChartAnimation=__importStar(require("@mescius/wijmo.chart.animation"));class FlexChartAnimation extends wijmo_react_base_1.ComponentBase{constructor(t){super(t,wjcChartAnimation.ChartAnimation);this._parentInCtor=!0}}exports.FlexChartAnimation=FlexChartAnimation;
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"),wjcChartAnimation=__importStar(require("@mescius/wijmo.chart.animation"));exports.FlexChartAnimationMeta={inputs:["animationMode","axisAnimation","duration","easing"],events:["ended"]};function FlexChartAnimation(t){const e=wijmo_react_base_1.useWjComponentChildBase({properties:exports.FlexChartAnimationMeta.inputs,events:exports.FlexChartAnimationMeta.events,props:t,constructor:wjcChartAnimation.ChartAnimation,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},e)}exports.FlexChartAnimation=FlexChartAnimation;
package/es2015-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240427.t020122
3
+ * Wijmo Library 5.20241.10-nightly.d20240501.t020145
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{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcChartAnimation from"@mescius/wijmo.chart.animation";export class FlexChartAnimation extends ComponentBase{constructor(t){super(t,wjcChartAnimation.ChartAnimation);this._parentInCtor=!0}}
14
+ import{useWjComponentChildBase}from"@mescius/wijmo.react.base";import*as wjcChartAnimation from"@mescius/wijmo.chart.animation";export const FlexChartAnimationMeta={inputs:["animationMode","axisAnimation","duration","easing"],events:["ended"]};export function FlexChartAnimation(n){const t=useWjComponentChildBase({properties:FlexChartAnimationMeta.inputs,events:FlexChartAnimationMeta.events,props:n,constructor:wjcChartAnimation.ChartAnimation,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return Object.assign({$_wjComponent:!0},t)}
package/es5-esm.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240427.t020122
3
+ * Wijmo Library 5.20241.10-nightly.d20240501.t020145
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
- var __extends=this&&this.__extends||function(){var extendStatics=function(t,n){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,n){t.__proto__=n}||function(t,n){for(var o in n)n.hasOwnProperty(o)&&(t[o]=n[o])})(t,n)};return function(t,n){extendStatics(t,n);function __(){this.constructor=t}t.prototype=null===n?Object.create(n):(__.prototype=n.prototype,new __)}}();import{ComponentBase}from"@mescius/wijmo.react.base";import*as wjcChartAnimation from"@mescius/wijmo.chart.animation";var FlexChartAnimation=function(t){__extends(FlexChartAnimation,t);function FlexChartAnimation(n){var o=t.call(this,n,wjcChartAnimation.ChartAnimation)||this;o._parentInCtor=!0;return o}return FlexChartAnimation}(ComponentBase);export{FlexChartAnimation};
14
+ var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(n){for(var t,a=1,e=arguments.length;a<e;a++){t=arguments[a];for(var i in t)Object.prototype.hasOwnProperty.call(t,i)&&(n[i]=t[i])}return n}).apply(this,arguments)};import{useWjComponentChildBase}from"@mescius/wijmo.react.base";import*as wjcChartAnimation from"@mescius/wijmo.chart.animation";export var FlexChartAnimationMeta={inputs:["animationMode","axisAnimation","duration","easing"],events:["ended"]};export function FlexChartAnimation(n){var t=useWjComponentChildBase({properties:FlexChartAnimationMeta.inputs,events:FlexChartAnimationMeta.events,props:n,constructor:wjcChartAnimation.ChartAnimation,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return __assign({$_wjComponent:!0},t)}
package/index.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240427.t020122
3
+ * Wijmo Library 5.20241.10-nightly.d20240501.t020145
4
4
  * https://developer.mescius.com/wijmo
5
5
  *
6
6
  * Copyright(c) MESCIUS inc. All rights reserved.
@@ -18,7 +18,21 @@
18
18
  *
19
19
  */
20
20
  export declare var ___keepComment: any;
21
- import { ComponentBase } from '@mescius/wijmo.react.base';
21
+ import * as wjcCore from '@mescius/wijmo';
22
+ import * as wjcChartAnimation from '@mescius/wijmo.chart.animation';
23
+ export declare type FlexChartAnimationProps = {
24
+ animationMode?: wjcChartAnimation.AnimationMode;
25
+ axisAnimation?: boolean;
26
+ duration?: number;
27
+ easing?: wjcChartAnimation.Easing;
28
+ };
29
+ export declare type FlexChartAnimationEvents<T> = {
30
+ ended?: wjcCore.IEventHandler<T, wjcCore.EventArgs>;
31
+ };
32
+ export declare const FlexChartAnimationMeta: {
33
+ inputs: string[];
34
+ events: string[];
35
+ };
22
36
  /**
23
37
  * React component for the {@link wijmo.chart.animation.ChartAnimation} class.
24
38
  *
@@ -35,17 +49,4 @@ import { ComponentBase } from '@mescius/wijmo.react.base';
35
49
  * You can use this event to perform further initialization in addition to setting properties in JSX.
36
50
  * The signature of the handler function is the same as any other Wijmo event handlers.
37
51
  */
38
- export declare class FlexChartAnimation extends ComponentBase {
39
- props: {
40
- template?: any;
41
- children?: any;
42
- animationMode?: any;
43
- easing?: any;
44
- duration?: any;
45
- axisAnimation?: any;
46
- initialized?: any;
47
- [key: string]: any;
48
- };
49
- _parentInCtor: boolean;
50
- constructor(props: any);
51
- }
52
+ export declare function FlexChartAnimation(props: FlexChartAnimationProps & FlexChartAnimationEvents<wjcChartAnimation.ChartAnimation>): any;
package/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  *
3
- * Wijmo Library 5.20241.10-nightly.d20240427.t020122
3
+ * Wijmo Library 5.20241.10-nightly.d20240501.t020145
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 __extends=this&&this.__extends||function(){var extendStatics=function(t,r){return(extendStatics=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(t,r){t.__proto__=r}||function(t,r){for(var n in r)r.hasOwnProperty(n)&&(t[n]=r[n])})(t,r)};return function(t,r){extendStatics(t,r);function __(){this.constructor=t}t.prototype=null===r?Object.create(r):(__.prototype=r.prototype,new __)}}(),__importStar=this&&this.__importStar||function(t){if(t&&t.__esModule)return t;var r={};if(null!=t)for(var n in t)Object.hasOwnProperty.call(t,n)&&(r[n]=t[n]);r.default=t;return r};Object.defineProperty(exports,"__esModule",{value:!0});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcChartAnimation=__importStar(require("@mescius/wijmo.chart.animation")),FlexChartAnimation=function(t){__extends(FlexChartAnimation,t);function FlexChartAnimation(r){var n=t.call(this,r,wjcChartAnimation.ChartAnimation)||this;n._parentInCtor=!0;return n}return FlexChartAnimation}(wijmo_react_base_1.ComponentBase);exports.FlexChartAnimation=FlexChartAnimation;
14
+ "use strict";var __assign=this&&this.__assign||function(){return(__assign=Object.assign||function(t){for(var e,n=1,r=arguments.length;n<r;n++){e=arguments[n];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t}).apply(this,arguments)},__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});var wijmo_react_base_1=require("@mescius/wijmo.react.base"),wjcChartAnimation=__importStar(require("@mescius/wijmo.chart.animation"));exports.FlexChartAnimationMeta={inputs:["animationMode","axisAnimation","duration","easing"],events:["ended"]};function FlexChartAnimation(t){var e=wijmo_react_base_1.useWjComponentChildBase({properties:exports.FlexChartAnimationMeta.inputs,events:exports.FlexChartAnimationMeta.events,props:t,constructor:wjcChartAnimation.ChartAnimation,needParentInstance:!0,parentProp:"",isParentPropArray:!1,assignedToParent:!1});return __assign({$_wjComponent:!0},e)}exports.FlexChartAnimation=FlexChartAnimation;
package/package.json CHANGED
@@ -1,15 +1,17 @@
1
1
  {
2
2
  "name": "@mescius/wijmo.react.chart.animation",
3
- "version": "5.20241.10-nightly.d20240427.t020122",
3
+ "version": "5.20241.10-nightly.d20240501.t020145",
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.20241.10-nightly.d20240427.t020122",
11
- "@mescius/wijmo.chart.animation": "5.20241.10-nightly.d20240427.t020122",
12
- "@mescius/wijmo.react.base": "5.20241.10-nightly.d20240427.t020122"
10
+ "@mescius/wijmo": "5.20241.10-nightly.d20240501.t020145",
11
+ "@mescius/wijmo.chart": "5.20241.10-nightly.d20240501.t020145",
12
+ "@mescius/wijmo.chart.animation": "5.20241.10-nightly.d20240501.t020145",
13
+ "@mescius/wijmo.react.base": "5.20241.10-nightly.d20240501.t020145",
14
+ "@mescius/wijmo.react.chart": "5.20241.10-nightly.d20240501.t020145"
13
15
  },
14
16
  "homepage": "https://developer.mescius.com/wijmo",
15
17
  "bugs": {