@visactor/vrender-components 0.19.21 → 0.19.23

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 (68) hide show
  1. package/cjs/index.d.ts +2 -1
  2. package/cjs/index.js +5 -4
  3. package/cjs/index.js.map +1 -1
  4. package/cjs/indicator/indicator.d.ts +3 -1
  5. package/cjs/indicator/indicator.js +19 -41
  6. package/cjs/indicator/indicator.js.map +1 -1
  7. package/cjs/indicator/type.d.ts +1 -0
  8. package/cjs/indicator/type.js.map +1 -1
  9. package/cjs/label/arc.js +2 -1
  10. package/cjs/label/base.js +1 -1
  11. package/cjs/label/dataLabel.js +1 -1
  12. package/cjs/label/index.js +1 -1
  13. package/cjs/label/line-data.js +1 -1
  14. package/cjs/label/line.js +1 -1
  15. package/cjs/label/polygon.js +1 -1
  16. package/cjs/legend/base.js +1 -2
  17. package/cjs/legend/constant.js +1 -1
  18. package/cjs/legend/index.js +1 -1
  19. package/cjs/legend/register.js +1 -1
  20. package/cjs/legend/type.js +1 -1
  21. package/cjs/legend/util.js +1 -1
  22. package/cjs/timeline/index.d.ts +2 -0
  23. package/cjs/timeline/index.js +21 -0
  24. package/cjs/timeline/index.js.map +1 -0
  25. package/cjs/timeline/register.d.ts +1 -0
  26. package/cjs/timeline/register.js +15 -0
  27. package/cjs/timeline/register.js.map +1 -0
  28. package/cjs/timeline/timeline.d.ts +30 -0
  29. package/cjs/timeline/timeline.js +178 -0
  30. package/cjs/timeline/timeline.js.map +1 -0
  31. package/cjs/timeline/type.d.ts +18 -0
  32. package/cjs/timeline/type.js +6 -0
  33. package/cjs/timeline/type.js.map +1 -0
  34. package/dist/index.es.js +389 -174
  35. package/es/index.d.ts +2 -1
  36. package/es/index.js +3 -1
  37. package/es/index.js.map +1 -1
  38. package/es/indicator/indicator.d.ts +3 -1
  39. package/es/indicator/indicator.js +19 -40
  40. package/es/indicator/indicator.js.map +1 -1
  41. package/es/indicator/type.d.ts +1 -0
  42. package/es/indicator/type.js.map +1 -1
  43. package/es/label/arc.js +2 -1
  44. package/es/label/base.js +1 -1
  45. package/es/label/dataLabel.js +1 -1
  46. package/es/label/index.js +1 -1
  47. package/es/label/line-data.js +1 -1
  48. package/es/label/line.js +1 -1
  49. package/es/label/polygon.js +1 -1
  50. package/es/legend/base.js +1 -2
  51. package/es/legend/constant.js +1 -1
  52. package/es/legend/index.js +1 -1
  53. package/es/legend/register.js +1 -1
  54. package/es/legend/type.js +1 -1
  55. package/es/legend/util.js +1 -1
  56. package/es/timeline/index.d.ts +2 -0
  57. package/es/timeline/index.js +4 -0
  58. package/es/timeline/index.js.map +1 -0
  59. package/es/timeline/register.d.ts +1 -0
  60. package/es/timeline/register.js +6 -0
  61. package/es/timeline/register.js.map +1 -0
  62. package/es/timeline/timeline.d.ts +30 -0
  63. package/es/timeline/timeline.js +175 -0
  64. package/es/timeline/timeline.js.map +1 -0
  65. package/es/timeline/type.d.ts +18 -0
  66. package/es/timeline/type.js +2 -0
  67. package/es/timeline/type.js.map +1 -0
  68. package/package.json +3 -3
@@ -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"]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@visactor/vrender-components",
3
- "version": "0.19.21",
3
+ "version": "0.19.23",
4
4
  "description": "components library for dp visualization",
5
5
  "sideEffects": false,
6
6
  "main": "cjs/index.js",
@@ -12,8 +12,8 @@
12
12
  "dist"
13
13
  ],
14
14
  "dependencies": {
15
- "@visactor/vrender-core": "0.19.21",
16
- "@visactor/vrender-kits": "0.19.21",
15
+ "@visactor/vrender-core": "0.19.23",
16
+ "@visactor/vrender-kits": "0.19.23",
17
17
  "@visactor/vutils": "~0.18.10",
18
18
  "@visactor/vscale": "~0.18.9"
19
19
  },