@visactor/vrender-components 0.14.5 → 0.14.6-alpha.3

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/cjs/index.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- export declare const version = "0.14.5";
1
+ export declare const version = "0.14.6-alpha.3";
2
2
  export * from './core/base';
3
3
  export * from './scrollbar';
4
4
  export * from './tag';
@@ -19,3 +19,4 @@ export * from './player';
19
19
  export * from './brush';
20
20
  export * from './tooltip';
21
21
  export * from './interface';
22
+ export * from './jsx';
package/cjs/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.version = void 0, exports.version = "0.14.5", __exportStar(require("./core/base"), exports),
20
+ }), exports.version = void 0, exports.version = "0.14.6-alpha.3", __exportStar(require("./core/base"), exports),
21
21
  __exportStar(require("./scrollbar"), exports), __exportStar(require("./tag"), exports),
22
22
  __exportStar(require("./poptip"), exports), __exportStar(require("./crosshair"), exports),
23
23
  __exportStar(require("./label"), exports), __exportStar(require("./axis"), exports),
@@ -27,5 +27,5 @@ __exportStar(require("./legend"), exports), __exportStar(require("./title"), exp
27
27
  __exportStar(require("./indicator"), exports), __exportStar(require("./slider"), exports),
28
28
  __exportStar(require("./link-path"), exports), __exportStar(require("./player"), exports),
29
29
  __exportStar(require("./brush"), exports), __exportStar(require("./tooltip"), exports),
30
- __exportStar(require("./interface"), exports);
30
+ __exportStar(require("./interface"), exports), __exportStar(require("./jsx"), exports);
31
31
  //# sourceMappingURL=index.js.map
package/cjs/index.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,QAAQ,CAAC;AAEhC,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,8CAA4B","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.14.5\";\n\nexport * from './core/base';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './interface';\n"]}
1
+ {"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AACa,QAAA,OAAO,GAAG,gBAAgB,CAAC;AAExC,8CAA4B;AAC5B,8CAA4B;AAC5B,wCAAsB;AACtB,2CAAyB;AACzB,8CAA4B;AAC5B,0CAAwB;AACxB,yCAAuB;AACvB,4CAA0B;AAC1B,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,2CAAyB;AACzB,0CAAwB;AACxB,8CAA4B;AAC5B,2CAAyB;AACzB,8CAA4B;AAC5B,2CAAyB;AACzB,0CAAwB;AACxB,4CAA0B;AAC1B,8CAA4B;AAC5B,wCAAsB","file":"index.js","sourcesContent":["// 导出版本号\nexport const version = \"0.14.6-alpha.3\";\n\nexport * from './core/base';\nexport * from './scrollbar';\nexport * from './tag';\nexport * from './poptip';\nexport * from './crosshair';\nexport * from './label';\nexport * from './axis';\nexport * from './segment';\nexport * from './data-zoom';\nexport * from './marker';\nexport * from './pager';\nexport * from './legend';\nexport * from './title';\nexport * from './indicator';\nexport * from './slider';\nexport * from './link-path';\nexport * from './player';\nexport * from './brush';\nexport * from './tooltip';\nexport * from './interface';\nexport * from './jsx';\n"]}
@@ -0,0 +1,4 @@
1
+ import type { IDefaultGraphicParamsType } from '@visactor/vrender';
2
+ import type { TagAttributes } from '../tag';
3
+ import { Tag } from '../tag';
4
+ export declare function VTag(params: IDefaultGraphicParamsType<TagAttributes>): Tag;
@@ -0,0 +1,14 @@
1
+ "use strict";
2
+
3
+ Object.defineProperty(exports, "__esModule", {
4
+ value: !0
5
+ }), exports.VTag = void 0;
6
+
7
+ const tag_1 = require("../tag");
8
+
9
+ function VTag(params) {
10
+ return new tag_1.Tag(params ? params.attribute : {});
11
+ }
12
+
13
+ exports.VTag = VTag;
14
+ //# sourceMappingURL=component-type.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["jsx/component-type.ts"],"names":[],"mappings":";;;AAEA,gCAA6B;AAE7B,SAAgB,IAAI,CAAC,MAAgD;IACnE,OAAO,IAAI,SAAG,CAAC,MAAM,CAAC,CAAC,CAAC,MAAM,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC;AACjD,CAAC;AAFD,oBAEC","file":"component-type.js","sourcesContent":["import type { IDefaultGraphicParamsType } from '@visactor/vrender';\nimport type { TagAttributes } from '../tag';\nimport { Tag } from '../tag';\n\nexport function VTag(params: IDefaultGraphicParamsType<TagAttributes>) {\n return new Tag(params ? params.attribute : {});\n}\n"]}
@@ -0,0 +1 @@
1
+ export * from './component-type';
@@ -0,0 +1,21 @@
1
+ "use strict";
2
+
3
+ var __createBinding = this && this.__createBinding || (Object.create ? function(o, m, k, k2) {
4
+ void 0 === k2 && (k2 = k);
5
+ var desc = Object.getOwnPropertyDescriptor(m, k);
6
+ desc && !("get" in desc ? !m.__esModule : desc.writable || desc.configurable) || (desc = {
7
+ enumerable: !0,
8
+ get: function() {
9
+ return m[k];
10
+ }
11
+ }), Object.defineProperty(o, k2, desc);
12
+ } : function(o, m, k, k2) {
13
+ void 0 === k2 && (k2 = k), o[k2] = m[k];
14
+ }), __exportStar = this && this.__exportStar || function(m, exports) {
15
+ for (var p in m) "default" === p || Object.prototype.hasOwnProperty.call(exports, p) || __createBinding(exports, m, p);
16
+ };
17
+
18
+ Object.defineProperty(exports, "__esModule", {
19
+ value: !0
20
+ }), __exportStar(require("./component-type"), exports);
21
+ //# sourceMappingURL=index.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"sources":["jsx/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;AAAA,mDAAiC","file":"index.js","sourcesContent":["export * from './component-type';\n"]}
@@ -17,5 +17,4 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
17
17
 
18
18
  Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
- }), __exportStar(require("./link-path"), exports), __exportStar(require("./type"), exports);
21
- //# sourceMappingURL=index.js.map
20
+ }), __exportStar(require("./link-path"), exports), __exportStar(require("./type"), exports);
@@ -2,4 +2,5 @@
2
2
 
3
3
  Object.defineProperty(exports, "__esModule", {
4
4
  value: !0
5
- });
5
+ });
6
+ //# sourceMappingURL=type.js.map
@@ -127,4 +127,4 @@ class MarkPoint extends base_1.Marker {
127
127
  }
128
128
 
129
129
  exports.MarkPoint = MarkPoint, MarkPoint.defaultAttributes = config_1.DEFAULT_MARK_POINT_THEME;
130
- //# sourceMappingURL=point.js.map
130
+ //# sourceMappingURL=point.js.map
@@ -23,4 +23,4 @@ function(IMarkPointItemPosition) {
23
23
  IMarkPointItemPosition.insideTop = "insideTop", IMarkPointItemPosition.insideBottom = "insideBottom",
24
24
  IMarkPointItemPosition.insideMiddle = "insideMiddle";
25
25
  }(IMarkPointItemPosition = exports.IMarkPointItemPosition || (exports.IMarkPointItemPosition = {}));
26
- //# sourceMappingURL=type.js.map
26
+ //# sourceMappingURL=type.js.map
package/dist/index.js CHANGED
@@ -10119,7 +10119,11 @@
10119
10119
  }
10120
10120
  Tooltip.defaultAttributes = defaultAttributes;
10121
10121
 
10122
- const version = "0.14.5";
10122
+ function VTag(params) {
10123
+ return new Tag(params ? params.attribute : {});
10124
+ }
10125
+
10126
+ const version = "0.14.6-alpha.3";
10123
10127
 
10124
10128
  exports.AbstractComponent = AbstractComponent;
10125
10129
  exports.ArcInfo = ArcInfo;
@@ -10170,6 +10174,7 @@
10170
10174
  exports.Tag = Tag;
10171
10175
  exports.Title = Title;
10172
10176
  exports.Tooltip = Tooltip;
10177
+ exports.VTag = VTag;
10173
10178
  exports.getHorizontalPath = getHorizontalPath;
10174
10179
  exports.getSizeHandlerPath = getSizeHandlerPath;
10175
10180
  exports.getVerticalPath = getVerticalPath;