@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.
Files changed (84) hide show
  1. package/cjs/brush/brush.js +2 -1
  2. package/cjs/brush/type.js +1 -2
  3. package/cjs/index.d.ts +2 -1
  4. package/cjs/index.js +5 -4
  5. package/cjs/index.js.map +1 -1
  6. package/cjs/indicator/indicator.d.ts +3 -1
  7. package/cjs/indicator/indicator.js +19 -41
  8. package/cjs/indicator/indicator.js.map +1 -1
  9. package/cjs/indicator/type.d.ts +1 -0
  10. package/cjs/indicator/type.js.map +1 -1
  11. package/cjs/interface.d.ts +2 -1
  12. package/cjs/interface.js.map +1 -1
  13. package/cjs/label/arc.js +13 -6
  14. package/cjs/label/arc.js.map +1 -1
  15. package/cjs/label/base.js +4 -0
  16. package/cjs/label/base.js.map +1 -1
  17. package/cjs/label/type.d.ts +2 -1
  18. package/cjs/label/type.js.map +1 -1
  19. package/cjs/label/util.d.ts +1 -5
  20. package/cjs/label/util.js +1 -34
  21. package/cjs/label/util.js.map +1 -1
  22. package/cjs/marker/point.js +4 -3
  23. package/cjs/marker/point.js.map +1 -1
  24. package/cjs/tag/tag.d.ts +1 -1
  25. package/cjs/tag/tag.js +11 -3
  26. package/cjs/tag/tag.js.map +1 -1
  27. package/cjs/timeline/index.d.ts +2 -0
  28. package/cjs/timeline/index.js +21 -0
  29. package/cjs/timeline/index.js.map +1 -0
  30. package/cjs/timeline/register.d.ts +1 -0
  31. package/cjs/timeline/register.js +15 -0
  32. package/cjs/timeline/register.js.map +1 -0
  33. package/cjs/timeline/timeline.d.ts +30 -0
  34. package/cjs/timeline/timeline.js +178 -0
  35. package/cjs/timeline/timeline.js.map +1 -0
  36. package/cjs/timeline/type.d.ts +18 -0
  37. package/cjs/timeline/type.js +6 -0
  38. package/cjs/timeline/type.js.map +1 -0
  39. package/cjs/util/index.d.ts +1 -0
  40. package/cjs/util/index.js +1 -1
  41. package/cjs/util/index.js.map +1 -1
  42. package/dist/index.es.js +2870 -2724
  43. package/es/brush/brush.js +2 -1
  44. package/es/brush/type.js +1 -2
  45. package/es/index.d.ts +2 -1
  46. package/es/index.js +3 -1
  47. package/es/index.js.map +1 -1
  48. package/es/indicator/indicator.d.ts +3 -1
  49. package/es/indicator/indicator.js +19 -40
  50. package/es/indicator/indicator.js.map +1 -1
  51. package/es/indicator/type.d.ts +1 -0
  52. package/es/indicator/type.js.map +1 -1
  53. package/es/interface.d.ts +2 -1
  54. package/es/interface.js.map +1 -1
  55. package/es/label/arc.js +14 -7
  56. package/es/label/arc.js.map +1 -1
  57. package/es/label/base.js +5 -1
  58. package/es/label/base.js.map +1 -1
  59. package/es/label/type.d.ts +2 -1
  60. package/es/label/type.js.map +1 -1
  61. package/es/label/util.d.ts +1 -5
  62. package/es/label/util.js +0 -31
  63. package/es/label/util.js.map +1 -1
  64. package/es/marker/point.js +4 -3
  65. package/es/marker/point.js.map +1 -1
  66. package/es/tag/tag.d.ts +1 -1
  67. package/es/tag/tag.js +12 -2
  68. package/es/tag/tag.js.map +1 -1
  69. package/es/timeline/index.d.ts +2 -0
  70. package/es/timeline/index.js +4 -0
  71. package/es/timeline/index.js.map +1 -0
  72. package/es/timeline/register.d.ts +1 -0
  73. package/es/timeline/register.js +6 -0
  74. package/es/timeline/register.js.map +1 -0
  75. package/es/timeline/timeline.d.ts +30 -0
  76. package/es/timeline/timeline.js +175 -0
  77. package/es/timeline/timeline.js.map +1 -0
  78. package/es/timeline/type.d.ts +18 -0
  79. package/es/timeline/type.js +2 -0
  80. package/es/timeline/type.js.map +1 -0
  81. package/es/util/index.d.ts +1 -0
  82. package/es/util/index.js +2 -0
  83. package/es/util/index.js.map +1 -1
  84. 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,2 @@
1
+ export { };
2
+ //# sourceMappingURL=type.js.map
@@ -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"]}
@@ -3,3 +3,4 @@ export * from './label-smartInvert';
3
3
  export * from './matrix';
4
4
  export * from './text';
5
5
  export * from './polar';
6
+ export * from './limit-shape';
package/es/util/index.js CHANGED
@@ -7,4 +7,6 @@ export * from "./matrix";
7
7
  export * from "./text";
8
8
 
9
9
  export * from "./polar";
10
+
11
+ export * from "./limit-shape";
10
12
  //# sourceMappingURL=index.js.map
@@ -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.1",
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.1",
16
- "@visactor/vrender-kits": "0.20.0-alpha.1",
17
- "@visactor/vutils": "~0.18.12",
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": {