@visactor/vchart 2.0.7-alpha.7 → 2.0.7-alpha.8

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,7 +1,7 @@
1
1
  import { VChart } from './vchart';
2
2
  import { Factory } from './factory';
3
3
  export { VChart, Factory };
4
- export declare const version = "2.0.7-alpha.7";
4
+ export declare const version = "2.0.7-alpha.8";
5
5
  export type { IVChart } from './interface';
6
6
  export type { IStateSpec, StateValueType } from '../compile/mark';
7
7
  export type { IRegion } from '../region/interface';
@@ -22,7 +22,7 @@ export * from '../typings/spec/index';
22
22
  export * from '../typings/visual';
23
23
  export * from '../typings/tooltip';
24
24
  export * from '../theme/index';
25
- export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, graphicCreator, type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
25
+ export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin, graphicCreator, type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
26
26
  export { ManualTicker, StreamLight, ACustomAnimate, AnimateExecutor, RotateBySphereAnimate } from '@visactor/vrender-animate';
27
27
  export * from '../util/space';
28
28
  export { transformToGraphic } from '../util/style';
package/cjs/core/index.js CHANGED
@@ -17,7 +17,7 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), exports.svgParser = exports.DataSet = exports.DataView = exports.registerShadowRoot = exports.registerRect3d = exports.registerPyramid3d = exports.registerArc3d = exports.registerRect = exports.registerLine = exports.MarkPoint = exports.Segment = exports.AbstractComponent = exports.measureText = exports.warn = exports.lookup = exports.registerDataSetInstanceTransform = exports.registerDataSetInstanceParser = exports.getSpecInfo = exports.transformToGraphic = exports.RotateBySphereAnimate = exports.AnimateExecutor = exports.ACustomAnimate = exports.StreamLight = exports.ManualTicker = exports.graphicCreator = exports.createRect3d = exports.createPyramid3d = exports.createArc3d = exports.createPath = exports.createImage = exports.createSymbol = exports.createLine = exports.createRect = exports.createArea = exports.createArc = exports.createText = exports.createRichText = exports.createGroup = exports.vglobal = exports.ChartEvent = exports.STATE_VALUE_ENUM = exports.TransformLevel = exports.AttributeLevel = exports.version = exports.Factory = exports.VChart = void 0;
20
+ }), exports.svgParser = exports.DataSet = exports.DataView = exports.registerShadowRoot = exports.registerRect3d = exports.registerPyramid3d = exports.registerArc3d = exports.registerRect = exports.registerLine = exports.MarkPoint = exports.Segment = exports.AbstractComponent = exports.measureText = exports.warn = exports.lookup = exports.registerDataSetInstanceTransform = exports.registerDataSetInstanceParser = exports.getSpecInfo = exports.transformToGraphic = exports.RotateBySphereAnimate = exports.AnimateExecutor = exports.ACustomAnimate = exports.StreamLight = exports.ManualTicker = exports.graphicCreator = exports.registerViewTransform3dPlugin = exports.registerOrthoCamera = exports.registerDirectionalLight = exports.createRect3d = exports.createPyramid3d = exports.createArc3d = exports.createPath = exports.createImage = exports.createSymbol = exports.createLine = exports.createRect = exports.createArea = exports.createArc = exports.createText = exports.createRichText = exports.createGroup = exports.vglobal = exports.ChartEvent = exports.STATE_VALUE_ENUM = exports.TransformLevel = exports.AttributeLevel = exports.version = exports.Factory = exports.VChart = void 0;
21
21
 
22
22
  const vchart_1 = require("./vchart");
23
23
 
@@ -35,7 +35,7 @@ Object.defineProperty(exports, "Factory", {
35
35
  get: function() {
36
36
  return factory_1.Factory;
37
37
  }
38
- }), exports.version = "2.0.7-alpha.7", __exportStar(require("../event/interface"), exports),
38
+ }), exports.version = "2.0.7-alpha.8", __exportStar(require("../event/interface"), exports),
39
39
  __exportStar(require("../theme/interface"), exports), __exportStar(require("../model/interface"), exports),
40
40
  __exportStar(require("./interface"), exports), __exportStar(require("../typings"), exports),
41
41
  __exportStar(require("../constant/base"), exports), __exportStar(require("../constant/data"), exports),
@@ -150,6 +150,21 @@ Object.defineProperty(exports, "vglobal", {
150
150
  get: function() {
151
151
  return vrender_core_1.createRect3d;
152
152
  }
153
+ }), Object.defineProperty(exports, "registerDirectionalLight", {
154
+ enumerable: !0,
155
+ get: function() {
156
+ return vrender_core_1.registerDirectionalLight;
157
+ }
158
+ }), Object.defineProperty(exports, "registerOrthoCamera", {
159
+ enumerable: !0,
160
+ get: function() {
161
+ return vrender_core_1.registerOrthoCamera;
162
+ }
163
+ }), Object.defineProperty(exports, "registerViewTransform3dPlugin", {
164
+ enumerable: !0,
165
+ get: function() {
166
+ return vrender_core_1.registerViewTransform3dPlugin;
167
+ }
153
168
  }), Object.defineProperty(exports, "graphicCreator", {
154
169
  enumerable: !0,
155
170
  get: function() {
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,eAAe,CAAC;AAOvC,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AAEnC,8CAA4B;AAC5B,6CAA2B;AAI3B,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,mDAAuD;AAA9C,2GAAA,cAAc,OAAA;AACvB,iDAAoD;AAA3C,4GAAA,cA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AA;AAIpB,qDAAmC;AAGnC,+CAAkE;AAAzD,oGAAA,QAAQ,OAAA;AAAE,mGAAA,OAAO,OAAA;AAAE,qGAAA,SAAS,OAAA;AAKrC,mDAAiC","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"2.0.7-alpha.7\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../model/interface';\n\nexport * from './interface';\nexport * from '../typings';\nexport type { IMarkGraphic, IGraphicContext } from '../mark/interface/';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\nexport * from '../constant/layout';\nexport { AttributeLevel } from '../constant/attribute';\nexport { TransformLevel } from '../data/initialize';\nexport { STATE_VALUE_ENUM } from '../compile/mark/interface';\nexport { ChartEvent } from '../constant/event';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\nexport * from '../typings/visual';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol,\n createImage,\n createPath,\n createArc3d,\n createPyramid3d,\n createRect3d,\n graphicCreator,\n type IGraphic,\n type IGlyph,\n type IGroup,\n type IText,\n type ILine,\n type IArea,\n type IRect,\n type INode,\n type IStage,\n type EasingType,\n type ILineGraphicAttribute,\n type ITextGraphicAttribute,\n type IRectGraphicAttribute,\n type IGroupGraphicAttribute,\n type TextAlignType,\n type TextBaselineType,\n type GraphicEventType,\n type IAreaGraphicAttribute,\n type ISymbolGraphicAttribute\n} from '@visactor/vrender-core';\nexport {\n ManualTicker,\n StreamLight,\n ACustomAnimate,\n AnimateExecutor,\n RotateBySphereAnimate\n} from '@visactor/vrender-animate';\n\n// utils\nexport * from '../util/space';\nexport { transformToGraphic } from '../util/style';\nexport { getSpecInfo } from '../component/util';\nexport { registerDataSetInstanceParser, registerDataSetInstanceTransform } from '../data/register';\nexport { lookup } from '../data/transforms/lookup';\nexport { warn } from '../util/debug';\nexport { measureText } from '../util/text';\n\n// vrender-components\nexport {\n AbstractComponent,\n Segment,\n MarkPoint,\n type SegmentAttributes,\n type Point\n} from '@visactor/vrender-components';\n\n// vrender-kits\nexport {\n registerLine,\n registerRect,\n registerArc3d,\n registerPyramid3d,\n registerRect3d,\n registerShadowRoot\n} from '@visactor/vrender-kits';\n\n// vlayouts\nexport * from '@visactor/vlayouts';\n\n// vdataset\nexport { DataView, DataSet, svgParser } from '@visactor/vdataset';\nexport type { SVGParsedElement, SVGParserResult, ISVGSourceOption } from '@visactor/vdataset';\n\n// vutils\n// @ts-ignore\nexport * from '@visactor/vutils';\n"]}
1
+ {"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAIA,qCAAkC;AAGzB,uFAHA,eAAM,OAGA;AAFf,uCAAoC;AAEnB,wFAFR,iBAAO,OAEQ;AAGX,QAAA,OAAO,GAAG,eAAe,CAAC;AAOvC,qDAAmC;AACnC,qDAAmC;AACnC,qDAAmC;AAEnC,8CAA4B;AAC5B,6CAA2B;AAI3B,mDAAiC;AACjC,mDAAiC;AACjC,qDAAmC;AACnC,mDAAuD;AAA9C,2GAAA,cAAc,OAAA;AACvB,iDAAoD;AAA3C,4GAAA,cAAc,OAAA;AACvB,uDAA6D;AAApD,6GAAA,gBAAgB,OAAA;AACzB,2CAA+C;AAAtC,mGAAA,UAAU,OAAA;AAKnB,wDAAsC;AACtC,oDAAkC;AAGlC,qDAAmC;AAGnC,iDAA+B;AAG/B,uDAsCgC;AArC9B,uGAAA,OAAO,OAAA;AACP,2GAAA,WAAW,OAAA;AACX,8GAAA,cAAc,OAAA;AACd,0GAAA,UAAU,OAAA;AACV,yGAAA,SAAS,OAAA;AACT,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,0GAAA,UAAU,OAAA;AACV,4GAAA,YAAY,OAAA;AACZ,2GAAA,WAAW,OAAA;AACX,0GAAA,UAAU,OAAA;AACV,2GAAA,WAAW,OAAA;AACX,+GAAA,eAAe,OAAA;AACf,4GAAA,YAAY,OAAA;AACZ,wHAAA,wBAAwB,OAAA;AACxB,mHAAA,mBAAmB,OAAA;AACnB,6HAAA,6BAA6B,OAAA;AAC7B,8GAAA,cAAc,OAAA;AAqBhB,6DAMmC;AALjC,+GAAA,YAAY,OAAA;AACZ,8GAAA,WAAW,OAAA;AACX,iHAAA,cAAc,OAAA;AACd,kHAAA,eAAe,OAAA;AACf,wHAAA,qBAAqB,OAAA;AAIvB,gDAA8B;AAC9B,uCAAmD;AAA1C,2GAAA,kBAAkB,OAAA;AAC3B,0CAAgD;AAAvC,mGAAA,WAAW,OAAA;AACpB,6CAAmG;AAA1F,yHAAA,6BAA6B,OAAA;AAAE,4HAAA,gCAAgC,OAAA;AACxE,oDAAmD;AAA1C,gGAAA,MAAM,OAAA;AACf,uCAAqC;AAA5B,6FAAA,IAAI,OAAA;AACb,qCAA2C;AAAlC,mGAAA,WAAW,OAAA;AAGpB,mEAMsC;AALpC,uHAAA,iBAAiB,OAAA;AACjB,6GAAA,OAAO,OAAA;AACP,+GAAA,SAAS,OAAA;AAMX,uDAOgC;AAN9B,4GAAA,YAAY,OAAA;AACZ,4GAAA,YAAY,OAAA;AACZ,6GAAA,aAAa,OAAA;AACb,iHAAA,iBAAiB,OAAA;AACjB,8GAAA,cAAc,OAAA;AACd,kHAAA,kBAAkB,OAAA;AAIpB,qDAAmC;AAGnC,+CAAkE;AAAzD,oGAAA,QAAQ,OAAA;AAAE,mGAAA,OAAO,OAAA;AAAE,qGAAA,SAAS,OAAA;AAKrC,mDAAiC","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"2.0.7-alpha.8\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../model/interface';\n\nexport * from './interface';\nexport * from '../typings';\nexport type { IMarkGraphic, IGraphicContext } from '../mark/interface/';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\nexport * from '../constant/layout';\nexport { AttributeLevel } from '../constant/attribute';\nexport { TransformLevel } from '../data/initialize';\nexport { STATE_VALUE_ENUM } from '../compile/mark/interface';\nexport { ChartEvent } from '../constant/event';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\nexport * from '../typings/visual';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol,\n createImage,\n createPath,\n createArc3d,\n createPyramid3d,\n createRect3d,\n registerDirectionalLight,\n registerOrthoCamera,\n registerViewTransform3dPlugin,\n graphicCreator,\n type IGraphic,\n type IGlyph,\n type IGroup,\n type IText,\n type ILine,\n type IArea,\n type IRect,\n type INode,\n type IStage,\n type EasingType,\n type ILineGraphicAttribute,\n type ITextGraphicAttribute,\n type IRectGraphicAttribute,\n type IGroupGraphicAttribute,\n type TextAlignType,\n type TextBaselineType,\n type GraphicEventType,\n type IAreaGraphicAttribute,\n type ISymbolGraphicAttribute\n} from '@visactor/vrender-core';\nexport {\n ManualTicker,\n StreamLight,\n ACustomAnimate,\n AnimateExecutor,\n RotateBySphereAnimate\n} from '@visactor/vrender-animate';\n\n// utils\nexport * from '../util/space';\nexport { transformToGraphic } from '../util/style';\nexport { getSpecInfo } from '../component/util';\nexport { registerDataSetInstanceParser, registerDataSetInstanceTransform } from '../data/register';\nexport { lookup } from '../data/transforms/lookup';\nexport { warn } from '../util/debug';\nexport { measureText } from '../util/text';\n\n// vrender-components\nexport {\n AbstractComponent,\n Segment,\n MarkPoint,\n type SegmentAttributes,\n type Point\n} from '@visactor/vrender-components';\n\n// vrender-kits\nexport {\n registerLine,\n registerRect,\n registerArc3d,\n registerPyramid3d,\n registerRect3d,\n registerShadowRoot\n} from '@visactor/vrender-kits';\n\n// vlayouts\nexport * from '@visactor/vlayouts';\n\n// vdataset\nexport { DataView, DataSet, svgParser } from '@visactor/vdataset';\nexport type { SVGParsedElement, SVGParserResult, ISVGSourceOption } from '@visactor/vdataset';\n\n// vutils\n// @ts-ignore\nexport * from '@visactor/vutils';\n"]}
@@ -1,7 +1,7 @@
1
1
  import { VChart } from './vchart';
2
2
  import { Factory } from './factory';
3
3
  export { VChart, Factory };
4
- export declare const version = "2.0.7-alpha.7";
4
+ export declare const version = "2.0.7-alpha.8";
5
5
  export type { IVChart } from './interface';
6
6
  export type { IStateSpec, StateValueType } from '../compile/mark';
7
7
  export type { IRegion } from '../region/interface';
@@ -22,7 +22,7 @@ export * from '../typings/spec/index';
22
22
  export * from '../typings/visual';
23
23
  export * from '../typings/tooltip';
24
24
  export * from '../theme/index';
25
- export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, graphicCreator, type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
25
+ export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin, graphicCreator, type IGraphic, type IGlyph, type IGroup, type IText, type ILine, type IArea, type IRect, type INode, type IStage, type EasingType, type ILineGraphicAttribute, type ITextGraphicAttribute, type IRectGraphicAttribute, type IGroupGraphicAttribute, type TextAlignType, type TextBaselineType, type GraphicEventType, type IAreaGraphicAttribute, type ISymbolGraphicAttribute } from '@visactor/vrender-core';
26
26
  export { ManualTicker, StreamLight, ACustomAnimate, AnimateExecutor, RotateBySphereAnimate } from '@visactor/vrender-animate';
27
27
  export * from '../util/space';
28
28
  export { transformToGraphic } from '../util/style';
package/esm/core/index.js CHANGED
@@ -4,7 +4,7 @@ import { Factory } from "./factory";
4
4
 
5
5
  export { VChart, Factory };
6
6
 
7
- export const version = "2.0.7-alpha.7";
7
+ export const version = "2.0.7-alpha.8";
8
8
 
9
9
  export * from "../event/interface";
10
10
 
@@ -38,7 +38,7 @@ export * from "../typings/tooltip";
38
38
 
39
39
  export * from "../theme/index";
40
40
 
41
- export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, graphicCreator } from "@visactor/vrender-core";
41
+ export { vglobal, createGroup, createRichText, createText, createArc, createArea, createRect, createLine, createSymbol, createImage, createPath, createArc3d, createPyramid3d, createRect3d, registerDirectionalLight, registerOrthoCamera, registerViewTransform3dPlugin, graphicCreator } from "@visactor/vrender-core";
42
42
 
43
43
  export { ManualTicker, StreamLight, ACustomAnimate, AnimateExecutor, RotateBySphereAnimate } from "@visactor/vrender-animate";
44
44
 
@@ -1 +1 @@
1
- {"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAG3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AAOvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,o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iBAAiB,EACjB,cAAc,EACd,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAGhC,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAKlE,cAAc,kBAAkB,CAAC","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"2.0.7-alpha.7\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../model/interface';\n\nexport * from './interface';\nexport * from '../typings';\nexport type { IMarkGraphic, IGraphicContext } from '../mark/interface/';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\nexport * from '../constant/layout';\nexport { AttributeLevel } from '../constant/attribute';\nexport { TransformLevel } from '../data/initialize';\nexport { STATE_VALUE_ENUM } from '../compile/mark/interface';\nexport { ChartEvent } from '../constant/event';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\nexport * from '../typings/visual';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol,\n createImage,\n createPath,\n createArc3d,\n createPyramid3d,\n createRect3d,\n graphicCreator,\n type IGraphic,\n type IGlyph,\n type IGroup,\n type IText,\n type ILine,\n type IArea,\n type IRect,\n type INode,\n type IStage,\n type EasingType,\n type ILineGraphicAttribute,\n type ITextGraphicAttribute,\n type IRectGraphicAttribute,\n type IGroupGraphicAttribute,\n type TextAlignType,\n type TextBaselineType,\n type GraphicEventType,\n type IAreaGraphicAttribute,\n type ISymbolGraphicAttribute\n} from '@visactor/vrender-core';\nexport {\n ManualTicker,\n StreamLight,\n ACustomAnimate,\n AnimateExecutor,\n RotateBySphereAnimate\n} from '@visactor/vrender-animate';\n\n// utils\nexport * from '../util/space';\nexport { transformToGraphic } from '../util/style';\nexport { getSpecInfo } from '../component/util';\nexport { registerDataSetInstanceParser, registerDataSetInstanceTransform } from '../data/register';\nexport { lookup } from '../data/transforms/lookup';\nexport { warn } from '../util/debug';\nexport { measureText } from '../util/text';\n\n// vrender-components\nexport {\n AbstractComponent,\n Segment,\n MarkPoint,\n type SegmentAttributes,\n type Point\n} from '@visactor/vrender-components';\n\n// vrender-kits\nexport {\n registerLine,\n registerRect,\n registerArc3d,\n registerPyramid3d,\n registerRect3d,\n registerShadowRoot\n} from '@visactor/vrender-kits';\n\n// vlayouts\nexport * from '@visactor/vlayouts';\n\n// vdataset\nexport { DataView, DataSet, svgParser } from '@visactor/vdataset';\nexport type { SVGParsedElement, SVGParserResult, ISVGSourceOption } from '@visactor/vdataset';\n\n// vutils\n// @ts-ignore\nexport * from '@visactor/vutils';\n"]}
1
+ {"version":3,"sources":["../src/core/index.ts"],"names":[],"mappings":"AAIA,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAClC,OAAO,EAAE,OAAO,EAAE,MAAM,WAAW,CAAC;AAEpC,OAAO,EAAE,MAAM,EAAE,OAAO,EAAE,CAAC;AAG3B,MAAM,CAAC,MAAM,OAAO,GAAG,eAAe,CAAC;AAOvC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AAEnC,cAAc,aAAa,CAAC;AAC5B,cAAc,YAAY,CAAC;AAI3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,oBAAoB,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAuB,CAAC;AACvD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AACpD,OAAO,EAAE,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC7D,OAAO,EAAE,UAAU,EAAE,MAAM,mBAAmB,CAAC;AAK/C,cAAc,uBAAuB,CAAC;AACtC,cAAc,mBAAmB,CAAC;AAGlC,cAAc,oBAAoB,CAAC;AAGnC,cAAc,gBAAgB,CAAC;AAG/B,OAAO,EACL,OAAO,EACP,WAAW,EACX,cAAc,EACd,UAAU,EACV,SAAS,EACT,UAAU,EACV,UAAU,EACV,UAAU,EACV,YAAY,EACZ,WAAW,EACX,UAAU,EACV,WAAW,EACX,eAAe,EACf,YAAY,EACZ,wBAAwB,EACxB,mBAAmB,EACnB,6BAA6B,EAC7B,cAAc,EAoBf,MAAM,wBAAwB,CAAC;AAChC,OAAO,EACL,YAAY,EACZ,WAAW,EACX,cAAc,EACd,eAAe,EACf,qBAAqB,EACtB,MAAM,2BAA2B,CAAC;AAGnC,cAAc,eAAe,CAAC;AAC9B,OAAO,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AACnD,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAmB,CAAC;AAChD,OAAO,EAAE,6BAA6B,EAAE,gCAAgC,EAAE,MAAM,kBAAkB,CAAC;AACnG,OAAO,EAAE,MAAM,EAAE,MAAM,2BAA2B,CAAC;AACnD,OAAO,EAAE,IAAI,EAAE,MAAM,eAAe,CAAC;AACrC,OAAO,EAAE,WAAW,EAAE,MAAM,cAAc,CAAC;AAG3C,OAAO,EACL,iBAAiB,EACjB,OAAO,EACP,SAAS,EAGV,MAAM,8BAA8B,CAAC;AAGtC,OAAO,EACL,YAAY,EACZ,YAAY,EACZ,aAAa,EACb,iBAAiB,EACjB,cAAc,EACd,kBAAkB,EACnB,MAAM,wBAAwB,CAAC;AAGhC,cAAc,oBAAoB,CAAC;AAGnC,OAAO,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,MAAM,oBAAoB,CAAC;AAKlE,cAAc,kBAAkB,CAAC","file":"index.js","sourcesContent":["/**\n * @description The core module of VChart, containing the necessary interfaces for using VChart.\n */\n\nimport { VChart } from './vchart';\nimport { Factory } from './factory';\n\nexport { VChart, Factory };\n\n// export the version\nexport const version = \"2.0.7-alpha.8\";\n\n// export necessary types\nexport type { IVChart } from './interface';\nexport type { IStateSpec, StateValueType } from '../compile/mark';\nexport type { IRegion } from '../region/interface';\n\nexport * from '../event/interface';\nexport * from '../theme/interface';\nexport * from '../model/interface';\n\nexport * from './interface';\nexport * from '../typings';\nexport type { IMarkGraphic, IGraphicContext } from '../mark/interface/';\n\n// some constants\nexport * from '../constant/base';\nexport * from '../constant/data';\nexport * from '../constant/layout';\nexport { AttributeLevel } from '../constant/attribute';\nexport { TransformLevel } from '../data/initialize';\nexport { STATE_VALUE_ENUM } from '../compile/mark/interface';\nexport { ChartEvent } from '../constant/event';\n\n/**\n * spec\n */\nexport * from '../typings/spec/index';\nexport * from '../typings/visual';\n\n// tooltip\nexport * from '../typings/tooltip';\n\n// theme\nexport * from '../theme/index';\n\n// vrender\nexport {\n vglobal,\n createGroup,\n createRichText,\n createText,\n createArc,\n createArea,\n createRect,\n createLine,\n createSymbol,\n createImage,\n createPath,\n createArc3d,\n createPyramid3d,\n createRect3d,\n registerDirectionalLight,\n registerOrthoCamera,\n registerViewTransform3dPlugin,\n graphicCreator,\n type IGraphic,\n type IGlyph,\n type IGroup,\n type IText,\n type ILine,\n type IArea,\n type IRect,\n type INode,\n type IStage,\n type EasingType,\n type ILineGraphicAttribute,\n type ITextGraphicAttribute,\n type IRectGraphicAttribute,\n type IGroupGraphicAttribute,\n type TextAlignType,\n type TextBaselineType,\n type GraphicEventType,\n type IAreaGraphicAttribute,\n type ISymbolGraphicAttribute\n} from '@visactor/vrender-core';\nexport {\n ManualTicker,\n StreamLight,\n ACustomAnimate,\n AnimateExecutor,\n RotateBySphereAnimate\n} from '@visactor/vrender-animate';\n\n// utils\nexport * from '../util/space';\nexport { transformToGraphic } from '../util/style';\nexport { getSpecInfo } from '../component/util';\nexport { registerDataSetInstanceParser, registerDataSetInstanceTransform } from '../data/register';\nexport { lookup } from '../data/transforms/lookup';\nexport { warn } from '../util/debug';\nexport { measureText } from '../util/text';\n\n// vrender-components\nexport {\n AbstractComponent,\n Segment,\n MarkPoint,\n type SegmentAttributes,\n type Point\n} from '@visactor/vrender-components';\n\n// vrender-kits\nexport {\n registerLine,\n registerRect,\n registerArc3d,\n registerPyramid3d,\n registerRect3d,\n registerShadowRoot\n} from '@visactor/vrender-kits';\n\n// vlayouts\nexport * from '@visactor/vlayouts';\n\n// vdataset\nexport { DataView, DataSet, svgParser } from '@visactor/vdataset';\nexport type { SVGParsedElement, SVGParserResult, ISVGSourceOption } from '@visactor/vdataset';\n\n// vutils\n// @ts-ignore\nexport * from '@visactor/vutils';\n"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vchart",
3
- "version": "2.0.7-alpha.7",
3
+ "version": "2.0.7-alpha.8",
4
4
  "description": "charts lib based @visactor/VGrammar",
5
5
  "main": "cjs/index.js",
6
6
  "module": "esm/index.js",
@@ -82,8 +82,8 @@
82
82
  "rimraf": "3.0.2",
83
83
  "cross-env": "^7.0.3",
84
84
  "@internal/typescript-json-schema": "0.0.1",
85
- "@internal/eslint-config": "0.0.1",
86
85
  "@internal/bundler": "0.0.1",
86
+ "@internal/eslint-config": "0.0.1",
87
87
  "@internal/ts-config": "0.0.1"
88
88
  },
89
89
  "dependencies": {
@@ -95,7 +95,7 @@
95
95
  "@visactor/vrender-kits": "~1.0.21",
96
96
  "@visactor/vrender-components": "~1.0.21",
97
97
  "@visactor/vrender-animate": "~1.0.21",
98
- "@visactor/vutils-extension": "2.0.7-alpha.7"
98
+ "@visactor/vutils-extension": "2.0.7-alpha.8"
99
99
  },
100
100
  "publishConfig": {
101
101
  "access": "public",