@orbcharts/presets-basic 3.0.0-alpha.5 → 3.0.0-alpha.7

Sign up to get free protection for your applications and to get access to all the features.
Files changed (103) hide show
  1. package/dist/orbcharts-presets-basic.es.js +583 -155
  2. package/dist/orbcharts-presets-basic.umd.js +1 -1
  3. package/dist/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.d.ts +3 -0
  4. package/dist/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.d.ts +3 -0
  5. package/dist/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.d.ts +3 -0
  6. package/dist/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.d.ts +3 -0
  7. package/dist/src/gridDataFormatterFiles/index.d.ts +4 -1
  8. package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.d.ts +4 -0
  9. package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +1 -0
  10. package/dist/src/index.d.ts +12 -0
  11. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.d.ts +3 -0
  12. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.d.ts +3 -0
  13. package/dist/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.d.ts +3 -0
  14. package/dist/src/multiGridDataFormatterFiles/index.d.ts +3 -1
  15. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.d.ts +4 -0
  16. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.d.ts +4 -0
  17. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.d.ts +4 -0
  18. package/dist/src/multiGridPluginParamsFiles/MultiBarStack/index.d.ts +3 -0
  19. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.d.ts +4 -0
  20. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.d.ts +4 -0
  21. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.d.ts +4 -0
  22. package/dist/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.d.ts +4 -0
  23. package/dist/src/multiGridPluginParamsFiles/MultiBars/index.d.ts +4 -0
  24. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.d.ts +4 -0
  25. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.d.ts +4 -0
  26. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.d.ts +4 -0
  27. package/dist/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.d.ts +3 -0
  28. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.d.ts +1 -1
  29. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +4 -0
  30. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.d.ts +4 -0
  31. package/dist/src/multiGridPluginParamsFiles/MultiGridLegend/index.d.ts +3 -1
  32. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.d.ts +4 -0
  33. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.d.ts +4 -0
  34. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.d.ts +4 -0
  35. package/dist/src/multiGridPluginParamsFiles/MultiGroupAxis/index.d.ts +3 -0
  36. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.d.ts +4 -0
  37. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.d.ts +4 -0
  38. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.d.ts +4 -0
  39. package/dist/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.d.ts +4 -0
  40. package/dist/src/multiGridPluginParamsFiles/MultiLines/index.d.ts +4 -0
  41. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.d.ts +4 -0
  42. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.d.ts +4 -0
  43. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.d.ts +4 -0
  44. package/dist/src/multiGridPluginParamsFiles/MultiValueAxis/index.d.ts +3 -0
  45. package/dist/src/multiGridPluginParamsFiles/index.d.ts +6 -0
  46. package/dist/src/types.d.ts +1 -1
  47. package/package.json +3 -3
  48. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +1 -1
  49. package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
  50. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +1 -1
  51. package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +1 -1
  52. package/src/chartParamsFiles/CP_LEFT_PADDING.ts +2 -2
  53. package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +1 -1
  54. package/src/gridDataFormatterFiles/DF_GRID_2_SERIES_SLOT.ts +16 -0
  55. package/src/gridDataFormatterFiles/DF_GRID_3_SERIES_SLOT.ts +16 -0
  56. package/src/gridDataFormatterFiles/DF_GRID_4_SERIES_SLOT.ts +16 -0
  57. package/src/gridDataFormatterFiles/DF_GRID_BOTTOM_VALUE_AXIS.ts +23 -0
  58. package/src/gridDataFormatterFiles/index.ts +4 -1
  59. package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_ROUND_LIST.ts +15 -0
  60. package/src/gridPluginParamsFiles/GridLegend/index.ts +1 -0
  61. package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +2 -1
  62. package/src/index.ts +90 -11
  63. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_2_GRID_SLOT.ts +21 -0
  64. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_3_GRID_SLOT.ts +24 -0
  65. package/src/multiGridDataFormatterFiles/DF_MULTI_GRID_4_GRID_SLOT.ts +27 -0
  66. package/src/multiGridDataFormatterFiles/index.ts +3 -1
  67. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_2_GRID_SLOT.ts +12 -0
  68. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_3_GRID_SLOT.ts +12 -0
  69. package/src/multiGridPluginParamsFiles/MultiBarStack/PP_MULTI_BAR_STACK_4_GRID_SLOT.ts +12 -0
  70. package/src/multiGridPluginParamsFiles/MultiBarStack/index.ts +4 -0
  71. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_2_GRID_SLOT.ts +12 -0
  72. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_3_GRID_SLOT.ts +12 -0
  73. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_4_GRID_SLOT.ts +12 -0
  74. package/src/multiGridPluginParamsFiles/MultiBars/PP_MULTI_BARS_ROUND.ts +15 -0
  75. package/src/multiGridPluginParamsFiles/MultiBars/index.ts +5 -0
  76. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_2_GRID_SLOT.ts +12 -0
  77. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_3_GRID_SLOT.ts +12 -0
  78. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/PP_MULTI_BARS_TRIANGLE_4_GRID_SLOT.ts +12 -0
  79. package/src/multiGridPluginParamsFiles/MultiBarsTriangle/index.ts +3 -0
  80. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM.ts +2 -2
  81. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +28 -0
  82. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_RECT_AND_LINE_LIST.ts +1 -1
  83. package/src/multiGridPluginParamsFiles/MultiGridLegend/PP_MULTI_GRID_LEGEND_BOTTOM_WITH_ROUND_AND_LINE_LIST.ts +22 -0
  84. package/src/multiGridPluginParamsFiles/MultiGridLegend/index.ts +3 -1
  85. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_2_GRID_SLOT.ts +13 -0
  86. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_3_GRID_SLOT.ts +13 -0
  87. package/src/multiGridPluginParamsFiles/MultiGroupAxis/PP_MULTI_GROUP_AXIS_4_GRID_SLOT.ts +13 -0
  88. package/src/multiGridPluginParamsFiles/MultiGroupAxis/index.ts +3 -0
  89. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_2_GRID_SLOT.ts +12 -0
  90. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_3_GRID_SLOT.ts +12 -0
  91. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_4_GRID_SLOT.ts +12 -0
  92. package/src/multiGridPluginParamsFiles/MultiLines/PP_MULTI_LINES_CURVE.ts +13 -0
  93. package/src/multiGridPluginParamsFiles/MultiLines/index.ts +4 -0
  94. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_2_GRID_SLOT.ts +12 -0
  95. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_3_GRID_SLOT.ts +12 -0
  96. package/src/multiGridPluginParamsFiles/MultiValueAxis/PP_MULTI_VALUE_AXIS_4_GRID_SLOT.ts +12 -0
  97. package/src/multiGridPluginParamsFiles/MultiValueAxis/index.ts +3 -0
  98. package/src/multiGridPluginParamsFiles/index.ts +7 -1
  99. package/src/types.ts +2 -1
  100. package/tsconfig.dev.json +18 -0
  101. package/tsconfig.prod.json +14 -0
  102. package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
  103. package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
package/src/types.ts CHANGED
@@ -2,7 +2,8 @@ import type {
2
2
  ChartParamsPartial,
3
3
  DataFormatterPartialTypeMap,
4
4
  ChartType,
5
- Preset } from '@orbcharts/core'
5
+ Preset } from '@orbcharts/core/src/index'
6
+ // import * as core from '../../packages/orbcharts-core/src/index'
6
7
  import * as chartParams from './chartParamsFiles'
7
8
  import * as seriesDataFormatters from './seriesDataFormatterFiles'
8
9
  import * as seriesPluginParams from './seriesPluginParamsFiles'
@@ -0,0 +1,18 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "./dist/",
4
+ "sourceMap": true,
5
+ "noImplicitAny": true,
6
+ "module": "es6",
7
+ "target": "es5",
8
+ "jsx": "react",
9
+ "allowJs": true,
10
+ "moduleResolution": "node",
11
+ "allowSyntheticDefaultImports" : true,
12
+ "esModuleInterop" : true,
13
+ "paths":{
14
+ "@orbcharts/core": ["./../orbcharts-core/src"],
15
+ "@orbcharts/plugins-basic": ["./../orbcharts-plugins-basic/src"]
16
+ }
17
+ }
18
+ }
@@ -0,0 +1,14 @@
1
+ {
2
+ "compilerOptions": {
3
+ "outDir": "./dist/",
4
+ "sourceMap": true,
5
+ "noImplicitAny": true,
6
+ "module": "es6",
7
+ "target": "es5",
8
+ "jsx": "react",
9
+ "allowJs": true,
10
+ "moduleResolution": "node",
11
+ "allowSyntheticDefaultImports" : true,
12
+ "esModuleInterop" : true
13
+ }
14
+ }
@@ -1,3 +0,0 @@
1
- import { DataFormatterFile } from '../types';
2
-
3
- export declare const DF_BOTTOM_VALUE_AXIS: DataFormatterFile<'grid'>;
@@ -1,16 +0,0 @@
1
- import type { DataFormatterFile } from '../types'
2
- import type { BarsParams } from '@orbcharts/plugins-basic'
3
-
4
- export const DF_BOTTOM_VALUE_AXIS: DataFormatterFile<'grid'> = {
5
- id: 'DF_BOTTOM_VALUE_AXIS',
6
- chartType: 'grid',
7
- description: '底部橫向資料圖軸',
8
- data: {
9
- valueAxis: {
10
- position: 'bottom'
11
- },
12
- groupAxis: {
13
- position: 'left'
14
- },
15
- }
16
- }