@visactor/vutils-extension
Advanced tools
Comparing version 1.4.2-beta.1 to 1.5.1-alpha.0
@@ -1,2 +0,2 @@ | ||
import { ITextGraphicAttribute } from '@visactor/vrender'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender-core'; | ||
export type CoordinateType = 'cartesian' | 'polar' | 'geo' | 'none'; | ||
@@ -3,0 +3,0 @@ export type IOrientType = 'left' | 'top' | 'right' | 'bottom' | 'z'; |
import type { IBaseScale } from '@visactor/vscale'; | ||
import type { IBoundsLike } from '@visactor/vutils'; | ||
import { AABBBounds } from '@visactor/vutils'; | ||
import type { IGraphic } from '@visactor/vrender'; | ||
import type { IGraphic } from '@visactor/vrender-core'; | ||
import type { ICartesianTickDataOpt, IOrientType, IPolarTickDataOpt, ITickData } from './interface'; | ||
@@ -6,0 +6,0 @@ export declare const convertDomainToTickData: (domain: any[]) => ITickData[]; |
import type { ITextMeasureOption } from '@visactor/vutils'; | ||
import { TextMeasure } from '@visactor/vutils'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender-core'; | ||
export declare const initTextMeasure: (textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean, defaultFontParams?: Partial<ITextGraphicAttribute>) => TextMeasure<ITextGraphicAttribute>; |
@@ -7,3 +7,3 @@ "use strict"; | ||
const vutils_1 = require("@visactor/vutils"), vrender_1 = require("@visactor/vrender"), initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new vutils_1.TextMeasure(Object.assign({ | ||
const vutils_1 = require("@visactor/vutils"), vrender_core_1 = require("@visactor/vrender-core"), initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new vutils_1.TextMeasure(Object.assign({ | ||
defaultFontParams: Object.assign({ | ||
@@ -13,3 +13,3 @@ fontFamily: "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", | ||
}, defaultFontParams), | ||
getTextBounds: useNaiveCanvas ? void 0 : vrender_1.getTextBounds, | ||
getTextBounds: useNaiveCanvas ? void 0 : vrender_core_1.getTextBounds, | ||
specialCharSet: "-/: .,@%'\"~" + vutils_1.TextMeasure.ALPHABET_CHAR_SET + vutils_1.TextMeasure.ALPHABET_CHAR_SET.toUpperCase() | ||
@@ -16,0 +16,0 @@ }, null != option ? option : {}), textSpec); |
@@ -1,2 +0,2 @@ | ||
import { ITextGraphicAttribute } from '@visactor/vrender'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender-core'; | ||
export type CoordinateType = 'cartesian' | 'polar' | 'geo' | 'none'; | ||
@@ -3,0 +3,0 @@ export type IOrientType = 'left' | 'top' | 'right' | 'bottom' | 'z'; |
import type { IBaseScale } from '@visactor/vscale'; | ||
import type { IBoundsLike } from '@visactor/vutils'; | ||
import { AABBBounds } from '@visactor/vutils'; | ||
import type { IGraphic } from '@visactor/vrender'; | ||
import type { IGraphic } from '@visactor/vrender-core'; | ||
import type { ICartesianTickDataOpt, IOrientType, IPolarTickDataOpt, ITickData } from './interface'; | ||
@@ -6,0 +6,0 @@ export declare const convertDomainToTickData: (domain: any[]) => ITickData[]; |
import type { ITextMeasureOption } from '@visactor/vutils'; | ||
import { TextMeasure } from '@visactor/vutils'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender'; | ||
import { ITextGraphicAttribute } from '@visactor/vrender-core'; | ||
export declare const initTextMeasure: (textSpec?: Partial<ITextGraphicAttribute>, option?: Partial<ITextMeasureOption>, useNaiveCanvas?: boolean, defaultFontParams?: Partial<ITextGraphicAttribute>) => TextMeasure<ITextGraphicAttribute>; |
import { TextMeasure } from "@visactor/vutils"; | ||
import { getTextBounds } from "@visactor/vrender"; | ||
import { getTextBounds } from "@visactor/vrender-core"; | ||
@@ -5,0 +5,0 @@ export const initTextMeasure = (textSpec, option, useNaiveCanvas, defaultFontParams) => new TextMeasure(Object.assign({ |
{ | ||
"name": "@visactor/vutils-extension", | ||
"version": "1.4.2-beta.1", | ||
"version": "1.5.1-alpha.0", | ||
"description": "The extension module for VUtil from VisActor", | ||
@@ -17,3 +17,4 @@ "sideEffects": false, | ||
"@visactor/vscale": "~0.16.1", | ||
"@visactor/vrender": "~0.15.5" | ||
"@visactor/vrender-core": "~0.16.0", | ||
"@visactor/vrender-kits": "~0.16.0" | ||
}, | ||
@@ -20,0 +21,0 @@ "devDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
158613
4
+ Added@resvg/resvg-js@2.4.1(transitive)
+ Added@resvg/resvg-js-android-arm-eabi@2.4.1(transitive)
+ Added@resvg/resvg-js-android-arm64@2.4.1(transitive)
+ Added@resvg/resvg-js-darwin-arm64@2.4.1(transitive)
+ Added@resvg/resvg-js-darwin-x64@2.4.1(transitive)
+ Added@resvg/resvg-js-linux-arm-gnueabihf@2.4.1(transitive)
+ Added@resvg/resvg-js-linux-arm64-gnu@2.4.1(transitive)
+ Added@resvg/resvg-js-linux-arm64-musl@2.4.1(transitive)
+ Added@resvg/resvg-js-linux-x64-gnu@2.4.1(transitive)
+ Added@resvg/resvg-js-linux-x64-musl@2.4.1(transitive)
+ Added@resvg/resvg-js-win32-arm64-msvc@2.4.1(transitive)
+ Added@resvg/resvg-js-win32-ia32-msvc@2.4.1(transitive)
+ Added@resvg/resvg-js-win32-x64-msvc@2.4.1(transitive)
+ Added@visactor/vrender-core@0.16.22(transitive)
+ Added@visactor/vrender-kits@0.16.22(transitive)
+ Addedpath-data-parser@0.1.0(transitive)
+ Addedpoints-on-curve@0.2.0(transitive)
+ Addedpoints-on-path@0.2.1(transitive)
+ Addedroughjs@4.5.2(transitive)
- Removed@visactor/vrender@~0.15.5
- Removed@visactor/vrender@0.15.7(transitive)
- Removedcore-js@3.31.1(transitive)
- Removedfast-xml-parser@4.2.7(transitive)
- Removedinversify@6.0.1(transitive)
- Removedstrnum@1.0.5(transitive)