@mescius/wijmo.react.chart.animation 5.20241.9-rc → 5.20241.9-temp1-nightly.d20240524.t154527

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