@visactor/vrender-components 0.20.0-alpha.1 → 0.20.0-alpha.3
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/brush/brush.js +2 -1
- package/cjs/brush/type.js +1 -2
- package/cjs/index.d.ts +2 -1
- package/cjs/index.js +5 -4
- package/cjs/index.js.map +1 -1
- package/cjs/indicator/indicator.d.ts +3 -1
- package/cjs/indicator/indicator.js +19 -41
- package/cjs/indicator/indicator.js.map +1 -1
- package/cjs/indicator/type.d.ts +1 -0
- package/cjs/indicator/type.js.map +1 -1
- package/cjs/interface.d.ts +2 -1
- package/cjs/interface.js.map +1 -1
- package/cjs/label/arc.js +13 -6
- package/cjs/label/arc.js.map +1 -1
- package/cjs/label/base.js +4 -0
- package/cjs/label/base.js.map +1 -1
- package/cjs/label/type.d.ts +2 -1
- package/cjs/label/type.js.map +1 -1
- package/cjs/label/util.d.ts +1 -5
- package/cjs/label/util.js +1 -34
- package/cjs/label/util.js.map +1 -1
- package/cjs/marker/point.js +4 -3
- package/cjs/marker/point.js.map +1 -1
- package/cjs/tag/tag.d.ts +1 -1
- package/cjs/tag/tag.js +11 -3
- package/cjs/tag/tag.js.map +1 -1
- package/cjs/timeline/index.d.ts +2 -0
- package/cjs/timeline/index.js +21 -0
- package/cjs/timeline/index.js.map +1 -0
- package/cjs/timeline/register.d.ts +1 -0
- package/cjs/timeline/register.js +15 -0
- package/cjs/timeline/register.js.map +1 -0
- package/cjs/timeline/timeline.d.ts +30 -0
- package/cjs/timeline/timeline.js +178 -0
- package/cjs/timeline/timeline.js.map +1 -0
- package/cjs/timeline/type.d.ts +18 -0
- package/cjs/timeline/type.js +6 -0
- package/cjs/timeline/type.js.map +1 -0
- package/cjs/util/index.d.ts +1 -0
- package/cjs/util/index.js +1 -1
- package/cjs/util/index.js.map +1 -1
- package/dist/index.es.js +2870 -2724
- package/es/brush/brush.js +2 -1
- package/es/brush/type.js +1 -2
- package/es/index.d.ts +2 -1
- package/es/index.js +3 -1
- package/es/index.js.map +1 -1
- package/es/indicator/indicator.d.ts +3 -1
- package/es/indicator/indicator.js +19 -40
- package/es/indicator/indicator.js.map +1 -1
- package/es/indicator/type.d.ts +1 -0
- package/es/indicator/type.js.map +1 -1
- package/es/interface.d.ts +2 -1
- package/es/interface.js.map +1 -1
- package/es/label/arc.js +14 -7
- package/es/label/arc.js.map +1 -1
- package/es/label/base.js +5 -1
- package/es/label/base.js.map +1 -1
- package/es/label/type.d.ts +2 -1
- package/es/label/type.js.map +1 -1
- package/es/label/util.d.ts +1 -5
- package/es/label/util.js +0 -31
- package/es/label/util.js.map +1 -1
- package/es/marker/point.js +4 -3
- package/es/marker/point.js.map +1 -1
- package/es/tag/tag.d.ts +1 -1
- package/es/tag/tag.js +12 -2
- package/es/tag/tag.js.map +1 -1
- package/es/timeline/index.d.ts +2 -0
- package/es/timeline/index.js +4 -0
- package/es/timeline/index.js.map +1 -0
- package/es/timeline/register.d.ts +1 -0
- package/es/timeline/register.js +6 -0
- package/es/timeline/register.js.map +1 -0
- package/es/timeline/timeline.d.ts +30 -0
- package/es/timeline/timeline.js +175 -0
- package/es/timeline/timeline.js.map +1 -0
- package/es/timeline/type.d.ts +18 -0
- package/es/timeline/type.js +2 -0
- package/es/timeline/type.js.map +1 -0
- package/es/util/index.d.ts +1 -0
- package/es/util/index.js +2 -0
- package/es/util/index.js.map +1 -1
- package/package.json +4 -4
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import type { IGroupGraphicAttribute, ILineGraphicAttribute, ISymbolGraphicAttribute, ITextGraphicAttribute } from '@visactor/vrender-core';
|
|
2
|
+
export interface TimelineAttrs extends IGroupGraphicAttribute {
|
|
3
|
+
width: number;
|
|
4
|
+
times: {
|
|
5
|
+
label: string;
|
|
6
|
+
desc?: string;
|
|
7
|
+
}[];
|
|
8
|
+
labelSpace?: number;
|
|
9
|
+
symbolStyle?: Partial<ISymbolGraphicAttribute>;
|
|
10
|
+
activeSymbolStyle?: Partial<ISymbolGraphicAttribute>;
|
|
11
|
+
lineStyle?: Partial<ILineGraphicAttribute>;
|
|
12
|
+
activeLineStyle?: Partial<ILineGraphicAttribute>;
|
|
13
|
+
labelStyle?: Partial<ITextGraphicAttribute>;
|
|
14
|
+
activeLabelStyle?: Partial<ITextGraphicAttribute>;
|
|
15
|
+
pointLayoutMode?: 'space-around' | 'space-between';
|
|
16
|
+
clipRange?: number;
|
|
17
|
+
animation?: boolean;
|
|
18
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["../src/timeline/type.ts"],"names":[],"mappings":"","file":"type.js","sourcesContent":["import type {\n IGroupGraphicAttribute,\n ILineGraphicAttribute,\n ISymbolGraphicAttribute,\n ITextGraphicAttribute\n} from '@visactor/vrender-core';\nimport { ILineAttribute, ISymbolAttribute } from '@visactor/vrender-core';\n\nexport interface TimelineAttrs extends IGroupGraphicAttribute {\n width: number;\n // height?: number;\n times: { label: string; desc?: string }[];\n labelSpace?: number;\n symbolStyle?: Partial<ISymbolGraphicAttribute>;\n activeSymbolStyle?: Partial<ISymbolGraphicAttribute>;\n lineStyle?: Partial<ILineGraphicAttribute>;\n activeLineStyle?: Partial<ILineGraphicAttribute>;\n labelStyle?: Partial<ITextGraphicAttribute>;\n activeLabelStyle?: Partial<ITextGraphicAttribute>;\n pointLayoutMode?: 'space-around' | 'space-between';\n // 当前进度\n clipRange?: number;\n animation?: boolean;\n}\n"]}
|
package/es/util/index.d.ts
CHANGED
package/es/util/index.js
CHANGED
package/es/util/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/util/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC","file":"index.js","sourcesContent":["export * from './common';\nexport * from './label-smartInvert';\nexport * from './matrix';\nexport * from './text';\nexport * from './polar';\n"]}
|
|
1
|
+
{"version":3,"sources":["../src/util/index.ts"],"names":[],"mappings":"AAAA,cAAc,UAAU,CAAC;AACzB,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,eAAe,CAAC","file":"index.js","sourcesContent":["export * from './common';\nexport * from './label-smartInvert';\nexport * from './matrix';\nexport * from './text';\nexport * from './polar';\nexport * from './limit-shape';\n"]}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@visactor/vrender-components",
|
|
3
|
-
"version": "0.20.0-alpha.
|
|
3
|
+
"version": "0.20.0-alpha.3",
|
|
4
4
|
"description": "components library for dp visualization",
|
|
5
5
|
"sideEffects": false,
|
|
6
6
|
"main": "cjs/index.js",
|
|
@@ -12,9 +12,9 @@
|
|
|
12
12
|
"dist"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
-
"@visactor/vrender-core": "0.20.0-alpha.
|
|
16
|
-
"@visactor/vrender-kits": "0.20.0-alpha.
|
|
17
|
-
"@visactor/vutils": "~0.18.
|
|
15
|
+
"@visactor/vrender-core": "0.20.0-alpha.3",
|
|
16
|
+
"@visactor/vrender-kits": "0.20.0-alpha.3",
|
|
17
|
+
"@visactor/vutils": "~0.18.13",
|
|
18
18
|
"@visactor/vscale": "~0.18.9"
|
|
19
19
|
},
|
|
20
20
|
"devDependencies": {
|