@visactor/vrender 0.16.10-alpha.1 → 0.16.10
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 +5 -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.10
|
|
24
|
+
exports.version = "0.16.10", (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,
|
|
1
|
+
{"version":3,"sources":["../src/index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,yDAAmD;AACnD,yDAAuD;AAG1C,QAAA,OAAO,GAAG,SAAS,CAAC;AAEjC,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.10\";\n\nloadAllModule(container);\n\nexport * from '@visactor/vrender-core';\nexport * from '@visactor/vrender-kits';\n"]}
|
package/dist/index.js
CHANGED
|
@@ -12949,7 +12949,7 @@
|
|
|
12949
12949
|
if ("/" === xmlData[i + 1]) {
|
|
12950
12950
|
var closeIndex = findClosingIndex(xmlData, ">", i, "Closing Tag is not closed."),
|
|
12951
12951
|
propIndex = jPath.lastIndexOf(".");
|
|
12952
|
-
jPath = jPath.substring(0, propIndex), currentNode = this.tagsNodeStack.pop(), textData = "", i = closeIndex;
|
|
12952
|
+
jPath = jPath.substring(0, propIndex), currentNode = this.tagsNodeStack.pop(), currentNode && currentNode.child && textData && currentNode.child[currentNode.child.length - 1][":@"] && (currentNode.child[currentNode.child.length - 1][":@"].text = textData), textData = "", i = closeIndex;
|
|
12953
12953
|
} else if ("?" === xmlData[i + 1]) {
|
|
12954
12954
|
i = readTagExp(xmlData, i, !1, "?>").closeIndex + 1;
|
|
12955
12955
|
} else if ("!--" === xmlData.substr(i + 1, 3)) {
|
|
@@ -13173,7 +13173,7 @@
|
|
|
13173
13173
|
return inlineText && (output.text = inlineText), output;
|
|
13174
13174
|
}
|
|
13175
13175
|
function parseCommonXML(str, output) {
|
|
13176
|
-
var attr = str
|
|
13176
|
+
var attr = str.attribute;
|
|
13177
13177
|
if (attr) {
|
|
13178
13178
|
attr.split(";").forEach(function (attrItem) {
|
|
13179
13179
|
if (!attrItem) return;
|
|
@@ -24260,7 +24260,7 @@
|
|
|
24260
24260
|
graphic.bindDom.forEach(function (_ref) {
|
|
24261
24261
|
var wrapGroup = _ref.wrapGroup;
|
|
24262
24262
|
application.global.removeDom(wrapGroup);
|
|
24263
|
-
}), nativeDom = "string" == typeof dom ? new DOMParser().parseFromString(dom, "text/
|
|
24263
|
+
}), nativeDom = "string" == typeof dom ? new DOMParser().parseFromString(dom, "text/html").firstChild : dom;
|
|
24264
24264
|
var _container = container || (!0 === stage.params.enableHtmlAttribute ? null : stage.params.enableHtmlAttribute);
|
|
24265
24265
|
nativeContainer = _container ? "string" == typeof _container ? application.global.getElementById(_container) : _container : graphic.stage.window.getContainer();
|
|
24266
24266
|
var wrapGroup = application.global.createDom({
|
|
@@ -29340,7 +29340,7 @@
|
|
|
29340
29340
|
key: "getNativeAABBBounds",
|
|
29341
29341
|
value: function getNativeAABBBounds(_dom) {
|
|
29342
29342
|
var dom = _dom;
|
|
29343
|
-
if ("string" == typeof _dom && (dom = new DOMParser().parseFromString(_dom, "text/
|
|
29343
|
+
if ("string" == typeof _dom && (dom = new DOMParser().parseFromString(_dom, "text/html").firstChild), dom.getBoundingClientRect) {
|
|
29344
29344
|
var b = dom.getBoundingClientRect();
|
|
29345
29345
|
return new DynamicB(b);
|
|
29346
29346
|
}
|
|
@@ -34491,7 +34491,7 @@
|
|
|
34491
34491
|
|
|
34492
34492
|
var roughModule = _roughModule;
|
|
34493
34493
|
|
|
34494
|
-
const version = "0.16.10
|
|
34494
|
+
const version = "0.16.10";
|
|
34495
34495
|
loadAllModule(container);
|
|
34496
34496
|
|
|
34497
34497
|
exports.ACustomAnimate = ACustomAnimate;
|