@visactor/react-vtable 1.22.5-alpha.1 → 1.22.5
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/react-vtable.js +10 -8
- package/dist/react-vtable.min.js +2 -2
- 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
|
@@ -18,5 +18,5 @@ var __createBinding = this && this.__createBinding || (Object.create ? function(
|
|
|
18
18
|
Object.defineProperty(exports, "__esModule", {
|
|
19
19
|
value: !0
|
|
20
20
|
}), exports.version = void 0, __exportStar(require("./tables"), exports), __exportStar(require("./table-components"), exports),
|
|
21
|
-
__exportStar(require("./components"), exports), exports.version = "1.22.5
|
|
21
|
+
__exportStar(require("./components"), exports), exports.version = "1.22.5";
|
|
22
22
|
//# sourceMappingURL=index.js.map
|
package/cjs/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAEhB,QAAA,OAAO,GAAG,
|
|
1
|
+
{"version":3,"sources":["index.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;AAAA,2CAAyB;AACzB,qDAAmC;AACnC,+CAA6B;AAEhB,QAAA,OAAO,GAAG,QAAQ,CAAC","file":"index.js","sourcesContent":["export * from './tables';\nexport * from './table-components';\nexport * from './components';\n\nexport const version = \"1.22.5\";\n"]}
|
package/dist/react-vtable.js
CHANGED
|
@@ -1379,7 +1379,7 @@
|
|
|
1379
1379
|
}
|
|
1380
1380
|
|
|
1381
1381
|
const EnvContribution = Symbol.for("EnvContribution");
|
|
1382
|
-
const DEFAULT_TEXT_FONT_FAMILY$1 = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui
|
|
1382
|
+
const DEFAULT_TEXT_FONT_FAMILY$1 = "PingFang SC,Helvetica Neue,Microsoft Yahei,system-ui,'-apple-system',segoe ui,Roboto,Helvetica,Arial,sans-serif,apple color emoji,segoe ui emoji,segoe ui symbol";
|
|
1383
1383
|
|
|
1384
1384
|
const container = new Container();
|
|
1385
1385
|
|
|
@@ -3582,7 +3582,7 @@
|
|
|
3582
3582
|
textAlign: "left",
|
|
3583
3583
|
textBaseline: "alphabetic",
|
|
3584
3584
|
fontSize: 16,
|
|
3585
|
-
fontFamily: "PingFang SC,Microsoft Yahei,system-ui
|
|
3585
|
+
fontFamily: "PingFang SC,Microsoft Yahei,system-ui,'-apple-system',segoe ui,\n Roboto,Helvetica,Arial,sans-serif, apple color emoji,segoe ui emoji,segoe ui symbol",
|
|
3586
3586
|
fontWeight: "",
|
|
3587
3587
|
ellipsis: "…",
|
|
3588
3588
|
fontVariant: "",
|
|
@@ -8364,9 +8364,10 @@
|
|
|
8364
8364
|
}
|
|
8365
8365
|
updateSymbolAABBBoundsAccurate(attribute, symbolTheme, aabbBounds) {
|
|
8366
8366
|
const {
|
|
8367
|
-
|
|
8368
|
-
|
|
8369
|
-
|
|
8367
|
+
size = symbolTheme.size
|
|
8368
|
+
} = attribute,
|
|
8369
|
+
symbolClass = this.getParsedPath();
|
|
8370
|
+
return symbolClass ? (symbolClass.bounds(size, aabbBounds), aabbBounds) : aabbBounds;
|
|
8370
8371
|
}
|
|
8371
8372
|
needUpdateTags(keys) {
|
|
8372
8373
|
return super.needUpdateTags(keys, SYMBOL_UPDATE_TAG_KEY);
|
|
@@ -8375,8 +8376,9 @@
|
|
|
8375
8376
|
return super.needUpdateTag(key, SYMBOL_UPDATE_TAG_KEY);
|
|
8376
8377
|
}
|
|
8377
8378
|
toCustomPath() {
|
|
8378
|
-
const symbolInstance = this.getParsedPath()
|
|
8379
|
-
|
|
8379
|
+
const symbolInstance = this.getParsedPath();
|
|
8380
|
+
if (!symbolInstance) return null;
|
|
8381
|
+
const size = this.attribute.size,
|
|
8380
8382
|
formattedSize = isArray$1(size) ? size : [size, size];
|
|
8381
8383
|
return symbolInstance.path ? new CustomPath2D().fromCustomPath2D(symbolInstance.path, 0, 0, formattedSize[0], formattedSize[1]) : new CustomPath2D().fromString(symbolInstance.pathStr, 0, 0, formattedSize[0], formattedSize[1]);
|
|
8382
8384
|
}
|
|
@@ -19816,7 +19818,7 @@
|
|
|
19816
19818
|
const Checkbox = React.forwardRef(CheckboxComponent);
|
|
19817
19819
|
Checkbox.displayName = 'Checkbox';
|
|
19818
19820
|
|
|
19819
|
-
const version = "1.22.5
|
|
19821
|
+
const version = "1.22.5";
|
|
19820
19822
|
|
|
19821
19823
|
Object.defineProperty(exports, 'register', {
|
|
19822
19824
|
enumerable: true,
|