@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.
- package/cjs/color-string/colorName.js +1 -1
- package/cjs/color-string/index.js +1 -1
- package/cjs/color-string/interpolate.js +1 -1
- package/cjs/color-string/store.js +1 -1
- package/cjs/common/Reflect-metadata.js +1 -2
- package/cjs/common/contribution-provider.js +2 -1
- package/cjs/common/sort.js +1 -2
- package/cjs/common/utils.js +2 -1
- package/cjs/core/core-modules.js +1 -1
- package/cjs/core/global-module.js +2 -0
- package/cjs/core/global.js +1 -1
- package/cjs/core/graphic-utils.js +1 -1
- package/es/color-string/colorName.js +1 -1
- package/es/color-string/index.js +1 -1
- package/es/color-string/interpolate.js +1 -1
- package/es/color-string/store.js +1 -1
- package/es/common/Reflect-metadata.js +1 -2
- package/es/common/contribution-provider.js +2 -1
- package/es/common/sort.js +1 -2
- package/es/common/utils.js +2 -1
- package/es/core/core-modules.js +1 -1
- package/es/core/global-module.js +2 -0
- package/es/core/global.js +1 -1
- package/es/core/graphic-utils.js +1 -1
- package/package.json +1 -1
|
@@ -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
|
|
@@ -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
|
package/cjs/common/sort.js
CHANGED
|
@@ -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;
|
package/cjs/common/utils.js
CHANGED
package/cjs/core/core-modules.js
CHANGED
|
@@ -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
|
package/cjs/core/global.js
CHANGED
|
@@ -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
|
package/es/color-string/index.js
CHANGED
|
@@ -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
|
package/es/color-string/store.js
CHANGED
|
@@ -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
package/es/common/utils.js
CHANGED
package/es/core/core-modules.js
CHANGED
|
@@ -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
|
package/es/core/global-module.js
CHANGED
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
|
package/es/core/graphic-utils.js
CHANGED
|
@@ -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
|