galaxy-charts 0.0.78 → 0.0.80
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/galaxy-charts.d.ts +27 -25
- package/dist/galaxy-charts.js +3270 -3190
- package/dist/galaxy-charts.umd.cjs +49 -49
- package/package.json +2 -1
package/dist/galaxy-charts.d.ts
CHANGED
|
@@ -38,18 +38,9 @@ declare type __VLS_WithTemplateSlots<T, S> = T & {
|
|
|
38
38
|
};
|
|
39
39
|
|
|
40
40
|
export declare function GalaxyApi(): {
|
|
41
|
-
GET: (path: string) =>
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}>;
|
|
45
|
-
POST: (path: string, options: any) => Promise<{
|
|
46
|
-
data: any;
|
|
47
|
-
response: Response;
|
|
48
|
-
}>;
|
|
49
|
-
PUT: (path: string, options: any) => Promise<{
|
|
50
|
-
data: any;
|
|
51
|
-
response: Response;
|
|
52
|
-
}>;
|
|
41
|
+
GET: (path: string) => ResponseType_2;
|
|
42
|
+
POST: (path: string, options: RequestOptionsType) => ResponseType_2;
|
|
43
|
+
PUT: (path: string, options: RequestOptionsType) => ResponseType_2;
|
|
53
44
|
};
|
|
54
45
|
|
|
55
46
|
export declare const GalaxyCharts: __VLS_WithTemplateSlots<typeof __VLS_component, __VLS_TemplateResult["slots"]>;
|
|
@@ -88,23 +79,21 @@ export declare interface InputElementType {
|
|
|
88
79
|
value?: string;
|
|
89
80
|
};
|
|
90
81
|
type: string;
|
|
82
|
+
url: string;
|
|
91
83
|
value?: string;
|
|
92
84
|
}
|
|
93
85
|
|
|
94
|
-
export declare type
|
|
86
|
+
export declare type InputOptionType = {
|
|
95
87
|
disabled?: boolean;
|
|
96
88
|
label: string;
|
|
97
|
-
value:
|
|
89
|
+
value: InputValuesType | null;
|
|
98
90
|
type?: string;
|
|
99
91
|
};
|
|
100
92
|
|
|
101
|
-
export declare type
|
|
102
|
-
|
|
103
|
-
[key: string]: string | number | boolean | Array<string>;
|
|
93
|
+
export declare type InputValuesType = {
|
|
94
|
+
[key: string]: any;
|
|
104
95
|
};
|
|
105
96
|
|
|
106
|
-
export declare type InputValuesType = Record<string, any>;
|
|
107
|
-
|
|
108
97
|
export declare type MessageType = "info" | "default" | "warning" | "error" | "success" | undefined;
|
|
109
98
|
|
|
110
99
|
export declare interface PluginConfigType {
|
|
@@ -113,10 +102,6 @@ export declare interface PluginConfigType {
|
|
|
113
102
|
dataset_url?: string;
|
|
114
103
|
settings?: InputValuesType;
|
|
115
104
|
tracks?: Array<InputValuesType>;
|
|
116
|
-
chart_dict?: {
|
|
117
|
-
groups?: any;
|
|
118
|
-
settings?: any;
|
|
119
|
-
};
|
|
120
105
|
}
|
|
121
106
|
|
|
122
107
|
export declare interface PluginIncomingType {
|
|
@@ -137,13 +122,21 @@ export declare interface PluginType {
|
|
|
137
122
|
tracks?: Array<InputElementType>;
|
|
138
123
|
}
|
|
139
124
|
|
|
140
|
-
declare
|
|
125
|
+
export declare type RequestOptionsType = Record<string, any>;
|
|
126
|
+
|
|
127
|
+
declare type ResponseType_2 = Promise<{
|
|
128
|
+
data: any;
|
|
129
|
+
response: Response;
|
|
130
|
+
}>;
|
|
131
|
+
export { ResponseType_2 as ResponseType }
|
|
132
|
+
|
|
133
|
+
declare function save(settings: InputValuesType, tracks?: Array<InputValuesType>): Promise<void>;
|
|
141
134
|
|
|
142
135
|
declare interface Track {
|
|
143
136
|
[key: string]: string | undefined;
|
|
144
137
|
}
|
|
145
138
|
|
|
146
|
-
declare function update(settings: InputValuesType): void;
|
|
139
|
+
declare function update(settings: InputValuesType, tracks?: Array<InputValuesType>): void;
|
|
147
140
|
|
|
148
141
|
export declare function useColumnsStore(): {
|
|
149
142
|
checkColumns: (tracks: Track[], keys: string[]) => boolean;
|
|
@@ -151,4 +144,13 @@ export declare function useColumnsStore(): {
|
|
|
151
144
|
getColumns: (tracks: Track[], keys: string[]) => string[];
|
|
152
145
|
};
|
|
153
146
|
|
|
147
|
+
export declare function useDataJsonStore(): {
|
|
148
|
+
getDataJson: (url: string) => Promise<Array<InputOptionType>>;
|
|
149
|
+
resetDataJson: () => void;
|
|
150
|
+
};
|
|
151
|
+
|
|
152
|
+
export declare function useDataTableStore(): {
|
|
153
|
+
getDataTable: (name: string) => Promise<Array<InputOptionType>>;
|
|
154
|
+
};
|
|
155
|
+
|
|
154
156
|
export { }
|