@visactor/vrender-core 0.17.4-alpha.0 → 0.17.4

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.
@@ -10,4 +10,4 @@ Object.keys(vutils_1.DEFAULT_COLORS).forEach((k => {
10
10
  const c = vutils_1.DEFAULT_COLORS[k];
11
11
  parsedColors[k] = [ c >> 16 & 255, c >> 8 & 255, 255 & c ];
12
12
  })), exports.default = parsedColors;
13
- //# sourceMappingURL=colorName.js.map
13
+ //# sourceMappingURL=colorName.js.map
@@ -19,4 +19,4 @@ Object.defineProperty(exports, "__esModule", {
19
19
  value: !0
20
20
  }), __exportStar(require("./interpolate"), exports), __exportStar(require("./store"), exports),
21
21
  __exportStar(require("./colorName"), exports);
22
- //# sourceMappingURL=index.js.map
22
+ //# sourceMappingURL=index.js.map
@@ -100,4 +100,4 @@ function colorStringInterpolationToStr(fromColor, toColor, ratio) {
100
100
  }
101
101
 
102
102
  exports.colorStringInterpolationToStr = colorStringInterpolationToStr;
103
- //# sourceMappingURL=interpolate.js.map
103
+ //# sourceMappingURL=interpolate.js.map
@@ -51,4 +51,4 @@ class ColorStore {
51
51
  }
52
52
 
53
53
  exports.ColorStore = ColorStore, ColorStore.store255 = {}, ColorStore.store1 = {};
54
- //# sourceMappingURL=store.js.map
54
+ //# sourceMappingURL=store.js.map
@@ -379,5 +379,4 @@ Object.defineProperty(exports, "__esModule", {
379
379
  value: value
380
380
  }), previous && previous(key, value);
381
381
  })), Reflect;
382
- }({});
383
- //# sourceMappingURL=Reflect-metadata.js.map
382
+ }({});
@@ -23,4 +23,5 @@ function bindContributionProviderNoSingletonScope(bind, id) {
23
23
  bind(exports.ContributionProvider).toDynamicValue((({container: container}) => new ContributionProviderCache(id, container))).whenTargetNamed(id);
24
24
  }
25
25
 
26
- exports.bindContributionProvider = bindContributionProvider, exports.bindContributionProviderNoSingletonScope = bindContributionProviderNoSingletonScope;
26
+ exports.bindContributionProvider = bindContributionProvider, exports.bindContributionProviderNoSingletonScope = bindContributionProviderNoSingletonScope;
27
+ //# sourceMappingURL=contribution-provider.js.map
@@ -97,5 +97,4 @@ function findNextGraphic(graphic, id, defaultZIndex, reverse = !1) {
97
97
  Object.defineProperty(exports, "__esModule", {
98
98
  value: !0
99
99
  }), exports.findNextGraphic = exports.foreachAsync = exports.foreach = void 0, exports.foreach = foreach,
100
- exports.foreachAsync = foreachAsync, exports.findNextGraphic = findNextGraphic;
101
- //# sourceMappingURL=sort.js.map
100
+ exports.foreachAsync = foreachAsync, exports.findNextGraphic = findNextGraphic;
@@ -159,4 +159,5 @@ const calculateLineHeight = (lineHeight, fontSize) => {
159
159
  return lineHeight;
160
160
  };
161
161
 
162
- exports.calculateLineHeight = calculateLineHeight;
162
+ exports.calculateLineHeight = calculateLineHeight;
163
+ //# sourceMappingURL=utils.js.map
@@ -12,4 +12,4 @@ exports.default = new inversify_lite_1.ContainerModule((bind => {
12
12
  bind(constants_1.TransformUtil).to(graphic_utils_1.DefaultTransformUtil).inSingletonScope(),
13
13
  bind(constants_1.LayerService).to(layer_service_1.DefaultLayerService).inSingletonScope();
14
14
  }));
15
- //# sourceMappingURL=core-modules.js.map
15
+ //# sourceMappingURL=core-modules.js.map
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=global-module.js.map
@@ -176,4 +176,4 @@ DefaultGlobal = __decorate([ (0, inversify_lite_1.injectable)(), __param(0, (0,
176
176
  inversify_lite_1.inject)(contribution_provider_1.ContributionProvider)), __param(0, (0,
177
177
  inversify_lite_1.named)(constants_1.EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal),
178
178
  exports.DefaultGlobal = DefaultGlobal;
179
- //# sourceMappingURL=global.js.map
179
+ //# sourceMappingURL=global.js.map
@@ -140,4 +140,4 @@ let DefaultTransformUtil = class {
140
140
 
141
141
  DefaultTransformUtil = __decorate([ (0, inversify_lite_1.injectable)(), __metadata("design:paramtypes", []) ], DefaultTransformUtil),
142
142
  exports.DefaultTransformUtil = DefaultTransformUtil;
143
- //# sourceMappingURL=graphic-utils.js.map
143
+ //# sourceMappingURL=graphic-utils.js.map
@@ -8,4 +8,4 @@ Object.keys(DEFAULT_COLORS).forEach((k => {
8
8
  }));
9
9
 
10
10
  export default parsedColors;
11
- //# sourceMappingURL=colorName.js.map
11
+ //# sourceMappingURL=colorName.js.map
@@ -3,4 +3,4 @@ export * from "./interpolate";
3
3
  export * from "./store";
4
4
 
5
5
  export * from "./colorName";
6
- //# sourceMappingURL=index.js.map
6
+ //# sourceMappingURL=index.js.map
@@ -88,4 +88,4 @@ export function colorStringInterpolationToStr(fromColor, toColor, ratio) {
88
88
  return ColorStore.Get(fromColor, ColorType.Color255, _fromColorRGB), ColorStore.Get(toColor, ColorType.Color255, _toColorRGB),
89
89
  `rgba(${Math.round(_fromColorRGB[0] + (_toColorRGB[0] - _fromColorRGB[0]) * ratio)},${Math.round(_fromColorRGB[1] + (_toColorRGB[1] - _fromColorRGB[1]) * ratio)},${Math.round(_fromColorRGB[2] + (_toColorRGB[2] - _fromColorRGB[2]) * ratio)},${_fromColorRGB[3] + (_toColorRGB[3] - _fromColorRGB[3]) * ratio})`;
90
90
  }
91
- //# sourceMappingURL=interpolate.js.map
91
+ //# sourceMappingURL=interpolate.js.map
@@ -47,4 +47,4 @@ export class ColorStore {
47
47
  }
48
48
 
49
49
  ColorStore.store255 = {}, ColorStore.store1 = {};
50
- //# sourceMappingURL=store.js.map
50
+ //# sourceMappingURL=store.js.map
@@ -375,5 +375,4 @@ export default (function(Reflect) {
375
375
  value: value
376
376
  }), previous && previous(key, value);
377
377
  })), Reflect;
378
- }({}));
379
- //# sourceMappingURL=Reflect-metadata.js.map
378
+ }({}));
@@ -16,4 +16,5 @@ export function bindContributionProvider(bind, id) {
16
16
 
17
17
  export function bindContributionProviderNoSingletonScope(bind, id) {
18
18
  bind(ContributionProvider).toDynamicValue((({container: container}) => new ContributionProviderCache(id, container))).whenTargetNamed(id);
19
- }
19
+ }
20
+ //# sourceMappingURL=contribution-provider.js.map
package/es/common/sort.js CHANGED
@@ -90,5 +90,4 @@ export function findNextGraphic(graphic, id, defaultZIndex, reverse = !1) {
90
90
  } else graphic.forEachChildren((item => next ? (result = item, !0) : (item._uid === id && (next = !0),
91
91
  !1)), reverse);
92
92
  return result;
93
- }
94
- //# sourceMappingURL=sort.js.map
93
+ }
@@ -146,4 +146,5 @@ export const calculateLineHeight = (lineHeight, fontSize) => {
146
146
  return fontSize * (Number.parseFloat(lineHeight.substring(0, lineHeight.length - 1)) / 100);
147
147
  }
148
148
  return lineHeight;
149
- };
149
+ };
150
+ //# sourceMappingURL=utils.js.map
@@ -17,4 +17,4 @@ export default new ContainerModule((bind => {
17
17
  bind(GraphicUtil).to(DefaultGraphicUtil).inSingletonScope(), bind(TransformUtil).to(DefaultTransformUtil).inSingletonScope(),
18
18
  bind(LayerService).to(DefaultLayerService).inSingletonScope();
19
19
  }));
20
- //# sourceMappingURL=core-modules.js.map
20
+ //# sourceMappingURL=core-modules.js.map
@@ -1 +1,3 @@
1
+
2
+
1
3
  //# sourceMappingURL=global-module.js.map
package/es/core/global.js CHANGED
@@ -178,4 +178,4 @@ let DefaultGlobal = class {
178
178
  DefaultGlobal = __decorate([ injectable(), __param(0, inject(ContributionProvider)), __param(0, named(EnvContribution)), __metadata("design:paramtypes", [ Object ]) ], DefaultGlobal);
179
179
 
180
180
  export { DefaultGlobal };
181
- //# sourceMappingURL=global.js.map
181
+ //# sourceMappingURL=global.js.map
@@ -148,4 +148,4 @@ let DefaultTransformUtil = class {
148
148
  DefaultTransformUtil = __decorate([ injectable(), __metadata("design:paramtypes", []) ], DefaultTransformUtil);
149
149
 
150
150
  export { DefaultTransformUtil };
151
- //# sourceMappingURL=graphic-utils.js.map
151
+ //# sourceMappingURL=graphic-utils.js.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-core",
3
- "version": "0.17.4-alpha.0",
3
+ "version": "0.17.4",
4
4
  "description": "",
5
5
  "sideEffects": [
6
6
  "./src/modules.ts"