@milaboratories/graph-maker 1.0.7 → 1.0.8
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.
- package/dist/GraphMaker/constant.d.ts +3 -3
- package/dist/GraphMaker/index.vue.d.ts +6 -0
- package/dist/GraphMaker/types.d.ts +6 -7
- package/dist/graph-maker.js +9293 -9276
- package/dist/graph-maker.umd.cjs +968 -968
- package/package.json +2 -2
|
@@ -42,7 +42,7 @@ export type StatisticsState = {
|
|
|
42
42
|
};
|
|
43
43
|
};
|
|
44
44
|
};
|
|
45
|
-
export declare function getInitialStatisticsState(initialData
|
|
45
|
+
export declare function getInitialStatisticsState(initialData?: StatisticsState): StatisticsState;
|
|
46
46
|
export type MappingLink = {
|
|
47
47
|
type: string;
|
|
48
48
|
value?: string;
|
|
@@ -144,7 +144,7 @@ export type LayersSettings = {
|
|
|
144
144
|
};
|
|
145
145
|
export declare const DEFAULT_LAYERS_SETTINGS: () => LayersSettings;
|
|
146
146
|
export declare function getDefaultLayersSettings(): LayersSettings;
|
|
147
|
-
export declare function getInitialLayersSettings(initialSettings
|
|
147
|
+
export declare function getInitialLayersSettings(initialSettings?: LayersSettings): LayersSettings;
|
|
148
148
|
export type AxesState = {
|
|
149
149
|
title: {
|
|
150
150
|
value: string;
|
|
@@ -178,7 +178,7 @@ export type AxesState = {
|
|
|
178
178
|
facetColumns: number;
|
|
179
179
|
};
|
|
180
180
|
};
|
|
181
|
-
export declare function getInitialAxesSettings(
|
|
181
|
+
export declare function getInitialAxesSettings(chartType: ChartType, restoredAxesSettings?: AxesState): AxesState;
|
|
182
182
|
export declare const LAYER_ICONS: Record<LayersTemplate, Component>;
|
|
183
183
|
type Option = {
|
|
184
184
|
value: string;
|
|
@@ -14,6 +14,9 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
14
14
|
type: import('vue').PropType<PFrameDriver>;
|
|
15
15
|
required: true;
|
|
16
16
|
};
|
|
17
|
+
labelsModifier: {
|
|
18
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
19
|
+
};
|
|
17
20
|
}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<import('vue').ExtractPropTypes<{
|
|
18
21
|
modelValue: {
|
|
19
22
|
required: true;
|
|
@@ -27,5 +30,8 @@ declare const _default: import('vue').DefineComponent<import('vue').ExtractPropT
|
|
|
27
30
|
type: import('vue').PropType<PFrameDriver>;
|
|
28
31
|
required: true;
|
|
29
32
|
};
|
|
33
|
+
labelsModifier: {
|
|
34
|
+
type: import('vue').PropType<(id: string, label: string) => string>;
|
|
35
|
+
};
|
|
30
36
|
}>> & Readonly<{}>, {}, {}, {}, {}, string, import('vue').ComponentProvideOptions, true, {}, any>;
|
|
31
37
|
export default _default;
|
|
@@ -6,13 +6,12 @@ import { PTableRecordSingleValueFilter } from '@platforma-sdk/model';
|
|
|
6
6
|
export type GraphMakerSettings = {
|
|
7
7
|
title: string;
|
|
8
8
|
chartType: ChartType;
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
dataBindAes
|
|
15
|
-
labelsModifier?: (id: string, label: string) => string;
|
|
9
|
+
template: LayersTemplate;
|
|
10
|
+
optionsState?: InputState;
|
|
11
|
+
statisticsSettings?: StatisticsState;
|
|
12
|
+
axesSettings?: AxesState;
|
|
13
|
+
layersSettings?: ReturnType<typeof getDefaultLayersSettings>;
|
|
14
|
+
dataBindAes?: Record<string, AestheticMappingCategorical>;
|
|
16
15
|
fixedOptions?: {
|
|
17
16
|
inputName: string;
|
|
18
17
|
selectedSource: PTableRecordSingleValueFilter['column'];
|