@idraw/renderer 0.4.0-beta.28 → 0.4.0-beta.29
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/dist/index.global.js +12 -0
- package/package.json +3 -3
package/dist/index.global.js
CHANGED
|
@@ -554,6 +554,18 @@ var __privateMethod = (obj, member, method) => {
|
|
|
554
554
|
function enhanceFontFamliy(fontFamily2) {
|
|
555
555
|
return [fontFamily2, ...baseFontFamilyList].join(", ");
|
|
556
556
|
}
|
|
557
|
+
(function(s, e) {
|
|
558
|
+
var t = {};
|
|
559
|
+
for (var p in s)
|
|
560
|
+
if (Object.prototype.hasOwnProperty.call(s, p) && e.indexOf(p) < 0)
|
|
561
|
+
t[p] = s[p];
|
|
562
|
+
if (s != null && typeof Object.getOwnPropertySymbols === "function")
|
|
563
|
+
for (var i = 0, p = Object.getOwnPropertySymbols(s); i < p.length; i++) {
|
|
564
|
+
if (e.indexOf(p[i]) < 0 && Object.prototype.propertyIsEnumerable.call(s, p[i]))
|
|
565
|
+
t[p[i]] = s[p[i]];
|
|
566
|
+
}
|
|
567
|
+
return t;
|
|
568
|
+
});
|
|
557
569
|
function createColorStyle(ctx, color2, opts) {
|
|
558
570
|
if (typeof color2 === "string") {
|
|
559
571
|
return color2;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@idraw/renderer",
|
|
3
|
-
"version": "0.4.0-beta.
|
|
3
|
+
"version": "0.4.0-beta.29",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "dist/esm/index.js",
|
|
6
6
|
"module": "dist/esm/index.js",
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"author": "chenshenhai",
|
|
22
22
|
"license": "MIT",
|
|
23
23
|
"devDependencies": {
|
|
24
|
-
"@idraw/types": "^0.4.0-beta.
|
|
24
|
+
"@idraw/types": "^0.4.0-beta.29"
|
|
25
25
|
},
|
|
26
26
|
"dependencies": {},
|
|
27
27
|
"peerDependencies": {
|
|
28
|
-
"@idraw/util": "^0.4.0-beta.
|
|
28
|
+
"@idraw/util": "^0.4.0-beta.29"
|
|
29
29
|
},
|
|
30
30
|
"publishConfig": {
|
|
31
31
|
"access": "public",
|