@visactor/vrender 0.16.14-alpha.5 → 0.16.14-alpha.7
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 +1 -1
- package/cjs/index.js +1 -1
- package/cjs/index.js.map +1 -1
- package/dist/index.js +14 -5
- package/dist/index.min.js +1 -1
- package/es/index.d.ts +1 -1
- package/es/index.js +1 -1
- package/es/index.js.map +1 -1
- package/package.json +5 -5
package/cjs/index.d.ts
CHANGED
package/cjs/index.js
CHANGED
|
@@ -21,5 +21,5 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
21
21
|
|
|
22
22
|
const vrender_core_1 = require("@visactor/vrender-core"), vrender_kits_1 = require("@visactor/vrender-kits");
|
|
23
23
|
|
|
24
|
-
exports.version = "0.16.14-alpha.
|
|
24
|
+
exports.version = "0.16.14-alpha.7", (0, vrender_kits_1.loadAllModule)(vrender_core_1.container),
|
|
25
25
|
__exportStar(require("@visactor/vrender-core"), exports), __exportStar(require("@visactor/vrender-kits"), exports);
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AACnD,yDAAuD;AAG1C,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,IAAA,4BAAa,EAAC,wBAAS,CAAC,CAAC;AAEzB,yDAAuC;AACvC,yDAAuC","file":"index.js","sourcesContent":["import { container } from '@visactor/vrender-core';\nimport { loadAllModule } from '@visactor/vrender-kits';\n\n// 导出版本号\nexport const version = \"0.16.14-alpha.
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AACnD,yDAAuD;AAG1C,QAAA,OAAO,GAAG,iBAAiB,CAAC;AAEzC,IAAA,4BAAa,EAAC,wBAAS,CAAC,CAAC;AAEzB,yDAAuC;AACvC,yDAAuC","file":"index.js","sourcesContent":["import { container } from '@visactor/vrender-core';\nimport { loadAllModule } from '@visactor/vrender-kits';\n\n// 导出版本号\nexport const version = \"0.16.14-alpha.7\";\n\nloadAllModule(container);\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\n"]}
|
package/dist/index.js
CHANGED
|
@@ -15930,6 +15930,13 @@
|
|
|
15930
15930
|
builtinSymbols.forEach(function (symbol) {
|
|
15931
15931
|
builtinSymbolsMap[symbol.type] = symbol;
|
|
15932
15932
|
});
|
|
15933
|
+
var builtInSymbolStrMap = {
|
|
15934
|
+
arrowLeft: "M 0.25 -0.5 L -0.25 0 l 0.5 0.5",
|
|
15935
|
+
arrowRight: "M -0.25 -0.5 l 0.5 0.5 l -0.5 0.5",
|
|
15936
|
+
rect: "M -0.5,0.25 L 0.5,0.25 L 0.5,-0.25,L -0.5,-0.25 Z",
|
|
15937
|
+
rectRound: "M 0.3 -0.5 C 0.41 -0.5 0.5 -0.41 0.5 -0.3 C 0.5 -0.3 0.5 0.3 0.5 0.3 C 0.5 0.41 0.41 0.5 0.3 0.5 C 0.3 0.5 -0.3 0.5 -0.3 0.5 C -0.41 0.5 -0.5 0.41 -0.5 0.3 C -0.5 0.3 -0.5 -0.3 -0.5 -0.3 C -0.5 -0.41 -0.41 -0.5 -0.3 -0.5 C -0.3 -0.5 0.3 -0.5 0.3 -0.5 Z",
|
|
15938
|
+
roundLine: "M 1.2392 -0.258 L -1.3432 -0.258 C -1.4784 -0.258 -1.588 -0.1436 -1.588 -0.002 c 0 0.1416 0.1096 0.256 0.2448 0.256 l 2.5824 0 c 0.1352 0 0.2448 -0.1144 0.2448 -0.256 C 1.484 -0.1436 1.3744 -0.258 1.2392 -0.258 z"
|
|
15939
|
+
};
|
|
15933
15940
|
|
|
15934
15941
|
var SYMBOL_UPDATE_TAG_KEY = ["symbolType", "size"].concat(_toConsumableArray(GRAPHIC_UPDATE_TAG_KEY));
|
|
15935
15942
|
var _Symbol = /*#__PURE__*/function (_Graphic) {
|
|
@@ -15963,12 +15970,13 @@
|
|
|
15963
15970
|
}, {
|
|
15964
15971
|
key: "doUpdateParsedPath",
|
|
15965
15972
|
value: function doUpdateParsedPath() {
|
|
15966
|
-
var symbolTheme = getTheme(this).symbol
|
|
15967
|
-
|
|
15968
|
-
symbolType = _this$attribute$symbo === void 0 ? symbolTheme.symbolType : _this$attribute$symbo
|
|
15969
|
-
|
|
15973
|
+
var symbolTheme = getTheme(this).symbol;
|
|
15974
|
+
var _this$attribute$symbo = this.attribute.symbolType,
|
|
15975
|
+
symbolType = _this$attribute$symbo === void 0 ? symbolTheme.symbolType : _this$attribute$symbo,
|
|
15976
|
+
path = builtinSymbolsMap[symbolType];
|
|
15970
15977
|
if (path) return this._parsedPath = path, path;
|
|
15971
15978
|
if (path = _Symbol.userSymbolMap[symbolType], path) return this._parsedPath = path, path;
|
|
15979
|
+
symbolType = builtInSymbolStrMap[symbolType] || symbolType;
|
|
15972
15980
|
if (!0 === isSvg(symbolType)) {
|
|
15973
15981
|
var parser = new XMLParser(),
|
|
15974
15982
|
_parser$parse = parser.parse(symbolType),
|
|
@@ -34634,7 +34642,7 @@
|
|
|
34634
34642
|
|
|
34635
34643
|
var roughModule = _roughModule;
|
|
34636
34644
|
|
|
34637
|
-
const version = "0.16.14-alpha.
|
|
34645
|
+
const version = "0.16.14-alpha.7";
|
|
34638
34646
|
loadAllModule(container);
|
|
34639
34647
|
|
|
34640
34648
|
exports.ACustomAnimate = ACustomAnimate;
|
|
@@ -34864,6 +34872,7 @@
|
|
|
34864
34872
|
exports.bindContributionProvider = bindContributionProvider;
|
|
34865
34873
|
exports.bindContributionProviderNoSingletonScope = bindContributionProviderNoSingletonScope;
|
|
34866
34874
|
exports.boundStroke = boundStroke;
|
|
34875
|
+
exports.builtInSymbolStrMap = builtInSymbolStrMap;
|
|
34867
34876
|
exports.builtinSymbols = builtinSymbols;
|
|
34868
34877
|
exports.builtinSymbolsMap = builtinSymbolsMap;
|
|
34869
34878
|
exports.calcLineCache = calcLineCache$1;
|