@orbcharts/presets-basic 3.0.0-alpha.3 → 3.0.0-alpha.30
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/orbcharts-presets-basic.es.js +1334 -358
- package/dist/orbcharts-presets-basic.umd.js +1 -1
- package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_ROUND.d.ts +4 -0
- package/dist/src/grid/PRESET_BARS_THIN.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_PN_SCALE.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_GRID_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_CURVE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_LOOSE_TICKS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINES_WITH_SOLID_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_BASIC.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_CURVE.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_HORIZONTAL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.d.ts +4 -0
- package/dist/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/grid/index.d.ts +23 -0
- package/dist/src/index.d.ts +4 -17
- package/dist/src/multiGrid/PRESET_MULTI_GRID_BASIC.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.d.ts +6 -0
- package/dist/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.d.ts +4 -0
- package/dist/src/multiGrid/index.d.ts +6 -0
- package/dist/src/params.d.ts +7 -0
- package/dist/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/series/PRESET_BUBBLES_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_DONUT.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_HALF_DONUT.d.ts +4 -0
- package/dist/src/series/PRESET_PIE_WITH_INNER_LABELS.d.ts +4 -0
- package/dist/src/series/PRESET_ROSE_SCALING_BY_RADIUS.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_BASIC.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_DESC.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/PRESET_SERIES_SUM_SERIES.d.ts +4 -0
- package/dist/src/series/index.d.ts +11 -0
- package/dist/src/tree/PRESET_TREE_BASIC.d.ts +4 -0
- package/dist/src/tree/index.d.ts +1 -0
- package/dist/src/types.d.ts +116 -37
- package/dist/vite.config.d.mts +2 -0
- package/package.json +6 -5
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_ROUND.ts +62 -0
- package/src/grid/PRESET_BARS_HORIZONTAL_AND_THIN.ts +59 -0
- package/src/grid/PRESET_BARS_ROUND.ts +46 -0
- package/src/grid/PRESET_BARS_THIN.ts +43 -0
- package/src/grid/PRESET_GRID_BASIC.ts +25 -0
- package/src/grid/PRESET_GRID_HORIZONTAL.ts +42 -0
- package/src/grid/PRESET_GRID_PN_SCALE.ts +33 -0
- package/src/grid/PRESET_GRID_ROTATE_AXIS_LABEL.ts +33 -0
- package/src/grid/PRESET_GRID_SEPARATE_SERIES.ts +38 -0
- package/src/grid/PRESET_LINES_BASIC.ts +44 -0
- package/src/grid/PRESET_LINES_CURVE.ts +47 -0
- package/src/grid/PRESET_LINES_HIGHLIGHT_GROUP_DOTS.ts +46 -0
- package/src/grid/PRESET_LINES_HORIZONTAL.ts +60 -0
- package/src/grid/PRESET_LINES_LOOSE_TICKS.ts +46 -0
- package/src/grid/PRESET_LINES_ROTATE_AXIS_LABEL.ts +49 -0
- package/src/grid/PRESET_LINES_WITH_SOLID_DOTS.ts +48 -0
- package/src/grid/PRESET_LINE_AREAS_BASIC.ts +54 -0
- package/src/grid/PRESET_LINE_AREAS_CURVE.ts +59 -0
- package/src/grid/PRESET_LINE_AREAS_HIGHLIGHT_GROUP_DOTS.ts +58 -0
- package/src/grid/PRESET_LINE_AREAS_HORIZONTAL.ts +58 -0
- package/src/grid/PRESET_LINE_AREAS_LOOSE_TICKS.ts +56 -0
- package/src/grid/PRESET_LINE_AREAS_ROTATE_AXIS_LABEL.ts +59 -0
- package/src/grid/PRESET_LINE_AREAS_SEPARATE_SERIES.ts +61 -0
- package/src/grid/index.ts +23 -0
- package/src/index.ts +4 -124
- package/src/multiGrid/PRESET_MULTI_GRID_BASIC.ts +36 -0
- package/src/multiGrid/PRESET_MULTI_GRID_DIVERGING.ts +85 -0
- package/src/multiGrid/PRESET_MULTI_GRID_ROUND_STYLE.ts +57 -0
- package/src/multiGrid/PRESET_MULTI_GRID_SEPARATE_GRID.ts +59 -0
- package/src/multiGrid/PRESET_MULTI_LINES_SEPARATE_GRID.ts +103 -0
- package/src/multiGrid/PRESET_MULTI_LINE_AREAS_SEPARATE_GRID.ts +121 -0
- package/src/multiGrid/index.ts +6 -0
- package/src/params.ts +57 -0
- package/src/series/PRESET_BUBBLES_SCALING_BY_RADIUS.ts +19 -0
- package/src/series/PRESET_BUBBLES_SEPARATE_SERIES.ts +29 -0
- package/src/series/PRESET_PIE_DONUT.ts +23 -0
- package/src/series/PRESET_PIE_HALF_DONUT.ts +36 -0
- package/src/series/PRESET_PIE_WITH_INNER_LABELS.ts +24 -0
- package/src/series/PRESET_ROSE_SCALING_BY_RADIUS.ts +23 -0
- package/src/series/PRESET_SERIES_BASIC.ts +15 -0
- package/src/series/PRESET_SERIES_DESC.ts +16 -0
- package/src/series/PRESET_SERIES_SEPARATE_SERIES.ts +15 -0
- package/src/series/PRESET_SERIES_SEPARATE_SERIES_AND_SUM_SERIES.ts +16 -0
- package/src/series/PRESET_SERIES_SUM_SERIES.ts +15 -0
- package/src/series/index.ts +11 -0
- package/src/tree/PRESET_TREE_BASIC.ts +25 -0
- package/src/tree/index.ts +1 -0
- package/src/types.ts +240 -56
- package/tsconfig.base.json +14 -0
- package/tsconfig.json +5 -10
- package/tsconfig.prod.json +3 -0
- package/vite.config.mjs +42 -0
- package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_LEFT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_RIGHT_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.d.ts +0 -3
- package/dist/src/chartParamsFiles/index.d.ts +0 -10
- package/dist/src/createPreset.d.ts +0 -9
- package/dist/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.d.ts +0 -3
- package/dist/src/gridDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Bars/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Dots/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GridLegend/index.d.ts +0 -2
- package/dist/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/GroupAxis/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.d.ts +0 -4
- package/dist/src/gridPluginParamsFiles/Lines/index.d.ts +0 -1
- package/dist/src/gridPluginParamsFiles/index.d.ts +0 -5
- package/dist/src/multiGridDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/multiGridPluginParamsFiles/index.d.ts +0 -1
- package/dist/src/multiValueDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/multiValuePluginParamsFiles/index.d.ts +0 -1
- package/dist/src/relationshipDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/relationshipPluginParamsFiles/index.d.ts +0 -1
- package/dist/src/seriesDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Bubbles/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.d.ts +0 -0
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/Pie/index.d.ts +0 -2
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/PieLabels/index.d.ts +0 -2
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.d.ts +0 -4
- package/dist/src/seriesPluginParamsFiles/SeriesLegend/index.d.ts +0 -1
- package/dist/src/seriesPluginParamsFiles/index.d.ts +0 -4
- package/dist/src/treeDataFormatterFiles/index.d.ts +0 -1
- package/dist/src/treePluginParamsFiles/index.d.ts +0 -1
- package/dist/vite.config.d.ts +0 -2
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_AND_LEFT_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_LONG_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_GROUP_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_BOTTOM_PADDING_WITH_SERIES_HIGHLIGHT.ts +0 -15
- package/src/chartParamsFiles/CP_LEFT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_RIGHT_PADDING.ts +0 -14
- package/src/chartParamsFiles/CP_TOP_AND_NO_BOTTOM_PADDING.ts +0 -14
- package/src/chartParamsFiles/index.ts +0 -10
- package/src/createPreset.ts +0 -88
- package/src/gridDataFormatterFiles/DF_BOTTOM_VALUE_AXIS.ts +0 -16
- package/src/gridDataFormatterFiles/index.ts +0 -1
- package/src/gridPluginParamsFiles/Bars/PP_BARS_ROUND.ts +0 -15
- package/src/gridPluginParamsFiles/Bars/PP_BARS_THIN.ts +0 -14
- package/src/gridPluginParamsFiles/Bars/index.ts +0 -2
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_ONLY_SHOW_HIGHLIGHTED.ts +0 -12
- package/src/gridPluginParamsFiles/Dots/PP_DOTS_SOLID.ts +0 -14
- package/src/gridPluginParamsFiles/Dots/index.ts +0 -2
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM.ts +0 -14
- package/src/gridPluginParamsFiles/GridLegend/PP_GRID_LEGEND_BOTTOM_WITH_LINE_LIST.ts +0 -15
- package/src/gridPluginParamsFiles/GridLegend/index.ts +0 -2
- package/src/gridPluginParamsFiles/GroupAxis/PP_GROUP_AXIS_ROTATE_LABEL.ts +0 -12
- package/src/gridPluginParamsFiles/GroupAxis/index.ts +0 -1
- package/src/gridPluginParamsFiles/Lines/PP_LINES_CURVE.ts +0 -13
- package/src/gridPluginParamsFiles/Lines/index.ts +0 -1
- package/src/gridPluginParamsFiles/index.ts +0 -6
- package/src/multiGridDataFormatterFiles/index.ts +0 -1
- package/src/multiGridPluginParamsFiles/index.ts +0 -1
- package/src/multiValueDataFormatterFiles/index.ts +0 -1
- package/src/multiValuePluginParamsFiles/index.ts +0 -1
- package/src/relationshipDataFormatterFiles/index.ts +0 -1
- package/src/relationshipPluginParamsFiles/index.ts +0 -1
- package/src/seriesDataFormatterFiles/index.ts +0 -1
- package/src/seriesPluginParamsFiles/Bubbles/PP_BUBBLES_SCALING_BY_RADIUS.ts +0 -12
- package/src/seriesPluginParamsFiles/Bubbles/index.ts +0 -1
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_BLACK_STROKE.ts +0 -0
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_DONUT.ts +0 -12
- package/src/seriesPluginParamsFiles/Pie/PP_PIE_HALF_DONUT.ts +0 -14
- package/src/seriesPluginParamsFiles/Pie/index.ts +0 -2
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_HALF_ANGLE.ts +0 -13
- package/src/seriesPluginParamsFiles/PieLabels/PP_PIE_LABELS_INNER.ts +0 -13
- package/src/seriesPluginParamsFiles/PieLabels/index.ts +0 -2
- package/src/seriesPluginParamsFiles/SeriesLegend/PP_SERIES_LEGEND_ROUND.ts +0 -12
- package/src/seriesPluginParamsFiles/SeriesLegend/index.ts +0 -1
- package/src/seriesPluginParamsFiles/index.ts +0 -4
- package/src/treeDataFormatterFiles/index.ts +0 -1
- package/src/treePluginParamsFiles/index.ts +0 -1
- package/vite.config.js +0 -45
@@ -1 +0,0 @@
|
|
1
|
-
export const temp = {}
|
@@ -1 +0,0 @@
|
|
1
|
-
export const temp = {}
|
package/vite.config.js
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
// import { fileURLToPath, URL } from 'node:url'
|
2
|
-
|
3
|
-
// import { resolve } from 'path'
|
4
|
-
import { defineConfig } from 'vite'
|
5
|
-
import dts from 'vite-plugin-dts'
|
6
|
-
|
7
|
-
const releaseConfig = {
|
8
|
-
plugins: [
|
9
|
-
dts({
|
10
|
-
insertTypesEntry: true
|
11
|
-
})
|
12
|
-
],
|
13
|
-
compilerOptions: {
|
14
|
-
composite: true
|
15
|
-
},
|
16
|
-
build: {
|
17
|
-
lib: {
|
18
|
-
entry: "src/index.ts",
|
19
|
-
name: 'orbcharts-presets-basic',
|
20
|
-
formats: ["es", "umd"],
|
21
|
-
fileName: format => `orbcharts-presets-basic.${format}.js`
|
22
|
-
},
|
23
|
-
// rollupOptions: {
|
24
|
-
// input: {
|
25
|
-
// main: resolve(__dirname, "src/index.ts")
|
26
|
-
// },
|
27
|
-
// external: ['vue'],
|
28
|
-
// output: {
|
29
|
-
// assetFileNames: 'my-library.css',
|
30
|
-
// exports: "named",
|
31
|
-
// globals: {
|
32
|
-
// vue: 'Vue',
|
33
|
-
// },
|
34
|
-
// },
|
35
|
-
// },
|
36
|
-
}
|
37
|
-
}
|
38
|
-
|
39
|
-
export default defineConfig(({ command, mode }) => {
|
40
|
-
if (mode === 'release') {
|
41
|
-
return releaseConfig
|
42
|
-
} else {
|
43
|
-
return releaseConfig
|
44
|
-
}
|
45
|
-
})
|