@orbcharts/plugins-basic 3.0.0-alpha.37 → 3.0.0-alpha.38

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. package/dist/orbcharts-plugins-basic/src/index.d.ts +5 -0
  2. package/dist/orbcharts-plugins-basic/src/tree/defaults.d.ts +4 -0
  3. package/dist/orbcharts-plugins-basic/src/tree/index.d.ts +4 -0
  4. package/dist/orbcharts-plugins-basic/src/tree/plugins/TreeLegend.d.ts +1 -0
  5. package/dist/orbcharts-plugins-basic/src/tree/plugins/TreeMap.d.ts +3 -0
  6. package/dist/orbcharts-plugins-basic/src/tree/types.d.ts +21 -0
  7. package/dist/orbcharts-plugins-basic.es.js +5769 -5579
  8. package/dist/orbcharts-plugins-basic.umd.js +7 -7
  9. package/dist/src/index.d.ts +1 -4
  10. package/package.json +2 -2
  11. package/src/index.ts +2 -1
  12. package/src/tree/defaults.ts +21 -0
  13. package/src/tree/index.ts +4 -0
  14. package/src/tree/plugins/TreeLegend.ts +58 -0
  15. package/src/tree/plugins/TreeMap.ts +298 -0
  16. package/src/tree/types.ts +23 -0
  17. package/dist/src/tree/index.d.ts +0 -0
  18. package/dist/src/tree/plugins/TreeMap.d.ts +0 -0
  19. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBarStack.d.ts +0 -0
  20. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBars.d.ts +0 -0
  21. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseBarsTriangle.d.ts +0 -0
  22. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseDots.d.ts +0 -0
  23. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseGroupArea.d.ts +0 -0
  24. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseGroupAxis.d.ts +0 -0
  25. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLegend.d.ts +0 -0
  26. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseLines.d.ts +0 -0
  27. /package/dist/{src → orbcharts-plugins-basic/src}/base/BaseValueAxis.d.ts +0 -0
  28. /package/dist/{src → orbcharts-plugins-basic/src}/base/types.d.ts +0 -0
  29. /package/dist/{src → orbcharts-plugins-basic/src}/grid/defaults.d.ts +0 -0
  30. /package/dist/{src → orbcharts-plugins-basic/src}/grid/gridObservables.d.ts +0 -0
  31. /package/dist/{src → orbcharts-plugins-basic/src}/grid/index.d.ts +0 -0
  32. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarStack.d.ts +0 -0
  33. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Bars.d.ts +0 -0
  34. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarsDiverging.d.ts +0 -0
  35. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/BarsTriangle.d.ts +0 -0
  36. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Dots.d.ts +0 -0
  37. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GridLegend.d.ts +0 -0
  38. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAux.d.ts +0 -0
  39. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/GroupAxis.d.ts +0 -0
  40. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Lines.d.ts +0 -0
  41. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/Ranking.d.ts +0 -0
  42. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/RankingAxis.d.ts +0 -0
  43. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ScalingArea.d.ts +0 -0
  44. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ValueAxis.d.ts +0 -0
  45. /package/dist/{src → orbcharts-plugins-basic/src}/grid/plugins/ValueStackAxis.d.ts +0 -0
  46. /package/dist/{src → orbcharts-plugins-basic/src}/grid/types.d.ts +0 -0
  47. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/defaults.d.ts +0 -0
  48. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/index.d.ts +0 -0
  49. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/multiGridObservables.d.ts +0 -0
  50. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBarStack.d.ts +0 -0
  51. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBars.d.ts +0 -0
  52. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiBarsTriangle.d.ts +0 -0
  53. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiDots.d.ts +0 -0
  54. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGridLegend.d.ts +0 -0
  55. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiGroupAxis.d.ts +0 -0
  56. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiLines.d.ts +0 -0
  57. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/MultiValueAxis.d.ts +0 -0
  58. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/plugins/OverlappingValueAxes.d.ts +0 -0
  59. /package/dist/{src → orbcharts-plugins-basic/src}/multiGrid/types.d.ts +0 -0
  60. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/index.d.ts +0 -0
  61. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/plugins/Scatter.d.ts +0 -0
  62. /package/dist/{src → orbcharts-plugins-basic/src}/multiValue/plugins/ScatterAxes.d.ts +0 -0
  63. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/defaults.d.ts +0 -0
  64. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/index.d.ts +0 -0
  65. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/plugins/Container.d.ts +0 -0
  66. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/plugins/Tooltip.d.ts +0 -0
  67. /package/dist/{src → orbcharts-plugins-basic/src}/noneData/types.d.ts +0 -0
  68. /package/dist/{src → orbcharts-plugins-basic/src}/relationship/index.d.ts +0 -0
  69. /package/dist/{src → orbcharts-plugins-basic/src}/relationship/plugins/Relationship.d.ts +0 -0
  70. /package/dist/{src → orbcharts-plugins-basic/src}/series/defaults.d.ts +0 -0
  71. /package/dist/{src → orbcharts-plugins-basic/src}/series/index.d.ts +0 -0
  72. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Bubbles.d.ts +0 -0
  73. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Pie.d.ts +0 -0
  74. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieEventTexts.d.ts +0 -0
  75. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/PieLabels.d.ts +0 -0
  76. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/SeriesLegend.d.ts +0 -0
  77. /package/dist/{src → orbcharts-plugins-basic/src}/series/plugins/Waffle.d.ts +0 -0
  78. /package/dist/{src → orbcharts-plugins-basic/src}/series/seriesUtils.d.ts +0 -0
  79. /package/dist/{src → orbcharts-plugins-basic/src}/series/types.d.ts +0 -0
  80. /package/dist/{src → orbcharts-plugins-basic/src}/utils/commonUtils.d.ts +0 -0
  81. /package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Graphics.d.ts +0 -0
  82. /package/dist/{src → orbcharts-plugins-basic/src}/utils/d3Utils.d.ts +0 -0
  83. /package/dist/{src → orbcharts-plugins-basic/src}/utils/observables.d.ts +0 -0
  84. /package/dist/{src → orbcharts-plugins-basic/src}/utils/orbchartsUtils.d.ts +0 -0
  85. /package/dist/{vite.config.d.ts → orbcharts-plugins-basic/vite.config.d.ts} +0 -0
@@ -0,0 +1,5 @@
1
+ export * from './grid';
2
+ export * from './multiGrid';
3
+ export * from './noneData';
4
+ export * from './series';
5
+ export * from './tree';
@@ -0,0 +1,4 @@
1
+ import { TreeMapParams, TreeLegendParams } from './types';
2
+
3
+ export declare const DEFAULT_TREE_MAP_PARAMS: TreeMapParams;
4
+ export declare const DEFAULT_TREE_LEGEND_PARAMS: TreeLegendParams;
@@ -0,0 +1,4 @@
1
+ export * from './defaults';
2
+ export * from './types';
3
+ export { TreeLegend } from './plugins/TreeLegend';
4
+ export { TreeMap } from './plugins/TreeMap';
@@ -0,0 +1 @@
1
+ export declare const TreeLegend: import('@orbcharts/core').PluginConstructor<"tree", string, import('..').TreeLegendParams>;
@@ -0,0 +1,3 @@
1
+ import { TreeMapParams } from '../types';
2
+
3
+ export declare const TreeMap: import('@orbcharts/core').PluginConstructor<"tree", string, TreeMapParams>;
@@ -0,0 +1,21 @@
1
+ import { ColorType } from '@orbcharts/core';
2
+ import { ComputedDataTree } from '../../../orbcharts-core/src';
3
+
4
+ export interface TreeMapParams {
5
+ paddingInner: number;
6
+ paddingOuter: number;
7
+ labelColorType: ColorType;
8
+ squarifyRatio: number;
9
+ sort: (a: ComputedDataTree, b: ComputedDataTree) => number;
10
+ }
11
+ export interface TreeLegendParams {
12
+ position: 'top' | 'bottom' | 'left' | 'right';
13
+ justify: 'start' | 'center' | 'end';
14
+ padding: number;
15
+ backgroundFill: ColorType;
16
+ backgroundStroke: ColorType;
17
+ gap: number;
18
+ listRectWidth: number;
19
+ listRectHeight: number;
20
+ listRectRadius: number;
21
+ }