@datapos/datapos-shared 0.3.91 → 0.3.93
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.
|
@@ -1,61 +1,76 @@
|
|
|
1
|
-
const
|
|
2
|
-
|
|
1
|
+
const E = 0, I = (e) => e, x = () => Date.now(), D = {
|
|
2
|
+
cartesian_area: { categoryId: "cartesian", typeId: "area", label: { "en-gb": "Area" }, options: { highchartsType: "area" } },
|
|
3
|
+
cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
|
|
4
|
+
cartesian_column: { categoryId: "cartesian", typeId: "column", label: { "en-gb": "Column" }, options: { highchartsType: "column" } },
|
|
5
|
+
cartesian_line: { categoryId: "cartesian", typeId: "line", label: { "en-gb": "Line" }, options: { highchartsType: "line" } },
|
|
6
|
+
chordDiagram: { categoryId: "chordDiagram", label: { "en-gb": "Chord Diagram" }, options: {} },
|
|
7
|
+
polar_area: { categoryId: "polar", typeId: "area", label: { "en-gb": "Radar (Area)" }, options: { highchartsType: "area" } },
|
|
8
|
+
polar_column: { categoryId: "polar", typeId: "column", label: { "en-gb": "Radar (Column)" }, options: { highchartsType: "column" } },
|
|
9
|
+
polar_line: { categoryId: "polar", typeId: "line", label: { "en-gb": "Radar (Line)" }, options: { highchartsType: "line" } },
|
|
10
|
+
range_area: { categoryId: "range", typeId: "area", label: { "en-gb": "Range (Area)" }, options: { highchartsType: "arearange" } },
|
|
11
|
+
range_bar: { categoryId: "range", typeId: "bar", label: { "en-gb": "Range (Bar)" }, options: { highchartsType: "columnrange", inverted: !0 } },
|
|
12
|
+
range_column: { categoryId: "range", typeId: "column", label: { "en-gb": "Range (Column)" }, options: { highchartsType: "columnrange" } },
|
|
13
|
+
sankeyDiagram: { categoryId: "sankeyDiagram", label: { "en-gb": "Sankey Diagram" }, options: {} },
|
|
14
|
+
streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
|
|
15
|
+
values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
|
|
16
|
+
};
|
|
17
|
+
class m extends Error {
|
|
3
18
|
locator;
|
|
4
|
-
constructor(t,
|
|
5
|
-
super(t, r), this.name = "DataPosError", this.locator =
|
|
19
|
+
constructor(t, a, r) {
|
|
20
|
+
super(t, r), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
|
|
6
21
|
}
|
|
7
22
|
}
|
|
8
|
-
class l extends
|
|
9
|
-
constructor(t,
|
|
10
|
-
super(t,
|
|
23
|
+
class l extends m {
|
|
24
|
+
constructor(t, a, r) {
|
|
25
|
+
super(t, a, r), this.name = "ApplicationError";
|
|
11
26
|
}
|
|
12
27
|
}
|
|
13
|
-
class
|
|
14
|
-
constructor(t,
|
|
15
|
-
super(t,
|
|
28
|
+
class T extends l {
|
|
29
|
+
constructor(t, a, r) {
|
|
30
|
+
super(t, a, r), this.name = "APIError";
|
|
16
31
|
}
|
|
17
32
|
}
|
|
18
|
-
class
|
|
19
|
-
constructor(t,
|
|
20
|
-
super(t,
|
|
33
|
+
class w extends l {
|
|
34
|
+
constructor(t, a, r) {
|
|
35
|
+
super(t, a, r), this.name = "EngineError";
|
|
21
36
|
}
|
|
22
37
|
}
|
|
23
|
-
class
|
|
38
|
+
class u extends l {
|
|
24
39
|
body;
|
|
25
|
-
constructor(t,
|
|
26
|
-
super(t,
|
|
40
|
+
constructor(t, a, r, n) {
|
|
41
|
+
super(t, a, n), this.name = "FetchError", this.body = r;
|
|
27
42
|
}
|
|
28
43
|
}
|
|
29
|
-
class
|
|
44
|
+
class p extends l {
|
|
30
45
|
componentName;
|
|
31
46
|
info;
|
|
32
|
-
constructor(t,
|
|
33
|
-
super(t,
|
|
47
|
+
constructor(t, a, r, n, s) {
|
|
48
|
+
super(t, a, s), this.name = "VueHandledError", this.info = r, this.componentName = n;
|
|
34
49
|
}
|
|
35
50
|
}
|
|
36
|
-
class
|
|
37
|
-
constructor(t,
|
|
38
|
-
super(t,
|
|
51
|
+
class S extends l {
|
|
52
|
+
constructor(t, a, r) {
|
|
53
|
+
super(t, a, r), this.name = "WindowHandledRuntimeError";
|
|
39
54
|
}
|
|
40
55
|
}
|
|
41
|
-
class
|
|
42
|
-
constructor(t,
|
|
43
|
-
super(t,
|
|
56
|
+
class v extends l {
|
|
57
|
+
constructor(t, a, r) {
|
|
58
|
+
super(t, a, r), this.name = "WindowHandledPromiseRejectionError";
|
|
44
59
|
}
|
|
45
60
|
}
|
|
46
|
-
class
|
|
47
|
-
constructor(t,
|
|
48
|
-
super(t,
|
|
61
|
+
class N extends m {
|
|
62
|
+
constructor(t, a, r) {
|
|
63
|
+
super(t, a, r), this.name = "OperationalError";
|
|
49
64
|
}
|
|
50
65
|
}
|
|
51
|
-
async function
|
|
52
|
-
const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`,
|
|
53
|
-
return new
|
|
66
|
+
async function $(e, t, a) {
|
|
67
|
+
const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, n = await e.text();
|
|
68
|
+
return new u(r, a, n);
|
|
54
69
|
}
|
|
55
|
-
function
|
|
70
|
+
function A(e) {
|
|
56
71
|
return e.map((t) => t.message).join(" ");
|
|
57
72
|
}
|
|
58
|
-
function
|
|
73
|
+
function F(e, t = "Unknown error.") {
|
|
59
74
|
if (e instanceof Error) return e;
|
|
60
75
|
if (typeof e == "string") return new Error(e);
|
|
61
76
|
try {
|
|
@@ -64,27 +79,27 @@ function I(e, t = "Unknown error.") {
|
|
|
64
79
|
return new Error(t);
|
|
65
80
|
}
|
|
66
81
|
}
|
|
67
|
-
function
|
|
68
|
-
const t = /* @__PURE__ */ new Set(),
|
|
82
|
+
function k(e) {
|
|
83
|
+
const t = /* @__PURE__ */ new Set(), a = [];
|
|
69
84
|
let r = e;
|
|
70
85
|
for (; r && !t.has(r); ) {
|
|
71
86
|
t.add(r);
|
|
72
|
-
let
|
|
73
|
-
if (r instanceof
|
|
74
|
-
|
|
75
|
-
else if (r instanceof
|
|
76
|
-
|
|
77
|
-
else if (r instanceof
|
|
78
|
-
|
|
87
|
+
let n;
|
|
88
|
+
if (r instanceof u)
|
|
89
|
+
n = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
90
|
+
else if (r instanceof p)
|
|
91
|
+
n = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
92
|
+
else if (r instanceof m)
|
|
93
|
+
n = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
|
|
79
94
|
else if (r instanceof Error) {
|
|
80
95
|
const s = r;
|
|
81
|
-
|
|
82
|
-
} else r ? (
|
|
83
|
-
/(?:\.{3}|[.!?])$/.test(
|
|
96
|
+
n = { locator: "", message: s.message, name: s.name, stack: s.stack }, r = s.cause;
|
|
97
|
+
} else r ? (n = { locator: "", message: String(r), name: "Error" }, r = void 0) : (n = { locator: "", message: "Unknown error.", name: "Error" }, r = void 0);
|
|
98
|
+
/(?:\.{3}|[.!?])$/.test(n.message) || (n.message += "."), a.push(n);
|
|
84
99
|
}
|
|
85
|
-
return
|
|
100
|
+
return a;
|
|
86
101
|
}
|
|
87
|
-
const
|
|
102
|
+
const g = "en-US", c = {}, R = (e) => {
|
|
88
103
|
switch (e) {
|
|
89
104
|
case "Edm.Binary":
|
|
90
105
|
return "unknown";
|
|
@@ -123,32 +138,32 @@ const f = "en-US", c = {}, k = (e) => {
|
|
|
123
138
|
default:
|
|
124
139
|
return "unknown";
|
|
125
140
|
}
|
|
126
|
-
},
|
|
141
|
+
}, C = (e) => {
|
|
127
142
|
if (e) {
|
|
128
|
-
const t = e.lastIndexOf("/"),
|
|
129
|
-
return
|
|
143
|
+
const t = e.lastIndexOf("/"), a = e.lastIndexOf(".", t > -1 ? t : e.length);
|
|
144
|
+
return a > -1 ? e.substring(0, a) : e;
|
|
130
145
|
}
|
|
131
|
-
},
|
|
146
|
+
}, _ = (e) => {
|
|
132
147
|
if (e) {
|
|
133
148
|
const t = e.lastIndexOf(".");
|
|
134
149
|
if (t > -1) return e.substring(t + 1);
|
|
135
150
|
}
|
|
136
|
-
}, o = (e, t = 2,
|
|
151
|
+
}, o = (e, t = 2, a = t, r = g) => {
|
|
137
152
|
if (e == null) return "";
|
|
138
|
-
const
|
|
139
|
-
let s = c[
|
|
153
|
+
const n = `${r}decimal${t}.${a}`;
|
|
154
|
+
let s = c[n];
|
|
140
155
|
return s || (s = new Intl.NumberFormat(r, {
|
|
141
156
|
localeMatcher: "best fit",
|
|
142
157
|
maximumFractionDigits: t,
|
|
143
|
-
minimumFractionDigits:
|
|
158
|
+
minimumFractionDigits: a,
|
|
144
159
|
minimumIntegerDigits: 1,
|
|
145
160
|
style: "decimal",
|
|
146
161
|
useGrouping: !0
|
|
147
|
-
}), c[
|
|
148
|
-
},
|
|
162
|
+
}), c[n] = s), s.format(e);
|
|
163
|
+
}, B = (e) => e == null ? "" : e < 1e3 ? d(e) : e < 1e6 ? `${o(e / 1e3, 2, 0)}K` : e < 1e9 ? `${o(e / 1e6, 2, 0)}M` : e < 1e12 ? `${o(e / 1e9, 2, 0)}B` : `${o(e / 1e12, 2, 0)}T`, M = (e) => e == null ? "" : e === 1 ? "1 byte" : e < 1024 ? `${d(e)} bytes` : e < 1048576 ? `${o(e / 1024, 2, 0)} KB` : e < 1073741824 ? `${o(e / 1048576, 2, 0)} MB` : e < 1099511627776 ? `${o(e / 1073741824, 2, 0)} GB` : `${o(e / 1099511627776, 2, 0)} TB`, O = (e) => e == null ? "" : e < 1e3 ? `${d(e)} ms` : e === 1e3 ? `${d(e)} sec` : e < 6e4 ? `${o(e / 1e3, 2, 0)} secs` : e === 6e4 ? "1 min" : e < 36e5 ? `${o(e / 6e4, 2, 0)} mins` : e === 36e5 ? "1 hr" : e < 864e5 ? `${o(e / 36e5, 2, 0)} hrs` : e === 864e5 ? "1 day" : `${o(e / 864e5, 2, 0)} days`, d = (e, t = g) => {
|
|
149
164
|
if (e == null) return "";
|
|
150
|
-
const
|
|
151
|
-
let r = c[
|
|
165
|
+
const a = `${t}decimal0.0`;
|
|
166
|
+
let r = c[a];
|
|
152
167
|
return r || (r = new Intl.NumberFormat(t, {
|
|
153
168
|
localeMatcher: "best fit",
|
|
154
169
|
maximumFractionDigits: 0,
|
|
@@ -156,7 +171,7 @@ const f = "en-US", c = {}, k = (e) => {
|
|
|
156
171
|
minimumIntegerDigits: 1,
|
|
157
172
|
style: "decimal",
|
|
158
173
|
useGrouping: !0
|
|
159
|
-
}), c[
|
|
174
|
+
}), c[a] = r), r.format(e);
|
|
160
175
|
}, L = (e) => {
|
|
161
176
|
switch (e) {
|
|
162
177
|
case "csv":
|
|
@@ -181,20 +196,20 @@ const f = "en-US", c = {}, k = (e) => {
|
|
|
181
196
|
{ id: "xml", label: { "en-gb": "XML" } }
|
|
182
197
|
], U = (e = i) => {
|
|
183
198
|
const t = [];
|
|
184
|
-
for (const
|
|
199
|
+
for (const a of b) t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
|
|
185
200
|
return t;
|
|
186
|
-
},
|
|
201
|
+
}, f = [
|
|
187
202
|
{ id: `
|
|
188
203
|
`, label: { "en-gb": "Newline" } },
|
|
189
204
|
{ id: "\r", label: { "en-gb": "Carriage Return" } },
|
|
190
205
|
{ id: `\r
|
|
191
206
|
`, label: { "en-gb": "Carriage Return/Newline" } }
|
|
192
|
-
],
|
|
207
|
+
], V = (e = i) => {
|
|
193
208
|
const t = [];
|
|
194
|
-
for (const
|
|
195
|
-
t.push({ ...
|
|
209
|
+
for (const a of f)
|
|
210
|
+
t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
|
|
196
211
|
return t;
|
|
197
|
-
},
|
|
212
|
+
}, h = [
|
|
198
213
|
{ id: ":", label: { "en-gb": "Colon" } },
|
|
199
214
|
{ id: ",", label: { "en-gb": "Comma" } },
|
|
200
215
|
{ id: "!", label: { "en-gb": "Exclamation Mark" } },
|
|
@@ -206,12 +221,12 @@ const f = "en-US", c = {}, k = (e) => {
|
|
|
206
221
|
{ id: "_", label: { "en-gb": "Underscore" } },
|
|
207
222
|
{ id: "0x1F", label: { "en-gb": "Unit Separator" } },
|
|
208
223
|
{ id: "|", label: { "en-gb": "Vertical Bar" } }
|
|
209
|
-
],
|
|
224
|
+
], W = (e = i) => {
|
|
210
225
|
const t = [];
|
|
211
|
-
for (const
|
|
212
|
-
t.push({ ...
|
|
226
|
+
for (const a of h)
|
|
227
|
+
t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
|
|
213
228
|
return t;
|
|
214
|
-
},
|
|
229
|
+
}, y = [
|
|
215
230
|
{ id: "alpha", color: "red", label: { "en-gb": "alpha" } },
|
|
216
231
|
{ id: "beta", color: "amber", label: { "en-gb": "beta" } },
|
|
217
232
|
{ id: "generalAvailability", color: "green", label: { "en-gb": "" } },
|
|
@@ -221,38 +236,39 @@ const f = "en-US", c = {}, k = (e) => {
|
|
|
221
236
|
{ id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
|
|
222
237
|
{ id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
|
|
223
238
|
{ id: "underReview", color: "other", label: { "en-gb": "under-review" } }
|
|
224
|
-
],
|
|
225
|
-
const
|
|
226
|
-
return
|
|
239
|
+
], j = (e, t = i) => {
|
|
240
|
+
const a = y.find((r) => r.id === e);
|
|
241
|
+
return a ? { ...a, label: a.label[t] || a.label[i] || e } : { id: e, color: "other", label: e };
|
|
227
242
|
}, i = "en-gb";
|
|
228
243
|
export {
|
|
229
|
-
|
|
244
|
+
T as APIError,
|
|
230
245
|
l as ApplicationError,
|
|
231
246
|
i as DEFAULT_LOCALE_CODE,
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
247
|
+
E as DefaultTimestamp,
|
|
248
|
+
w as EngineError,
|
|
249
|
+
u as FetchError,
|
|
250
|
+
N as OperationalError,
|
|
251
|
+
p as VueError,
|
|
252
|
+
v as WindowPromiseRejectionError,
|
|
253
|
+
S as WindowRuntimeError,
|
|
254
|
+
$ as buildFetchError,
|
|
255
|
+
A as concatenateSerialisedErrorMessages,
|
|
256
|
+
I as convertMillisecondsToTimestamp,
|
|
257
|
+
R as convertODataTypeIdToUsageTypeId,
|
|
258
|
+
_ as extractExtensionFromPath,
|
|
259
|
+
C as extractNameFromPath,
|
|
245
260
|
o as formatNumberAsDecimalNumber,
|
|
246
|
-
|
|
247
|
-
|
|
261
|
+
O as formatNumberAsDuration,
|
|
262
|
+
B as formatNumberAsSize,
|
|
248
263
|
M as formatNumberAsStorageSize,
|
|
249
264
|
d as formatNumberAsWholeNumber,
|
|
250
|
-
|
|
251
|
-
|
|
265
|
+
j as getComponentStatus,
|
|
266
|
+
x as getCurrentTimestamp,
|
|
252
267
|
U as getDataFormats,
|
|
253
|
-
|
|
254
|
-
|
|
268
|
+
V as getRecordDelimiters,
|
|
269
|
+
W as getValueDelimiters,
|
|
255
270
|
L as lookupMimeTypeForExtension,
|
|
256
|
-
|
|
257
|
-
|
|
271
|
+
F as normalizeToError,
|
|
272
|
+
D as presentationViewTypeMap,
|
|
273
|
+
k as serialiseError
|
|
258
274
|
};
|
|
@@ -3,6 +3,7 @@ export type LocalisedString = Record<LocaleCode, string>;
|
|
|
3
3
|
export type StatusColorId = 'amber' | 'green' | 'red' | 'other';
|
|
4
4
|
export declare const DEFAULT_LOCALE_CODE: LocaleCode;
|
|
5
5
|
export { DefaultTimestamp } from './timestamp';
|
|
6
|
+
export { presentationViewTypeMap } from './presenter';
|
|
6
7
|
export type { ComponentConfig, ComponentRef, ComponentStatus, ComponentStatusId, ComponentTypeId } from './component';
|
|
7
8
|
export type { AuditContentResult, AuditContentSettings } from './connector';
|
|
8
9
|
export type { Connector, ConnectorCallbackData, ConnectorConfig, ConnectorImplementation, ConnectorOperationSettings, ConnectorLocalisedConfig, ConnectorTools } from './connector';
|
|
@@ -28,6 +29,8 @@ export type { SerialisedError } from './errors';
|
|
|
28
29
|
export type { EventQueryConfig, EventQueryLocalisedConfig } from './eventQuery';
|
|
29
30
|
export type { Presenter, PresenterConfig, PresenterLocalisedConfig, PresenterTools } from './presenter';
|
|
30
31
|
export type { PresentationConfig, PresentationView } from './presenter';
|
|
32
|
+
export type { PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPolarViewConfig, PresentationVisualRangeViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamgraphViewConfig, PresentationVisualValuesViewConfig } from './presenter';
|
|
33
|
+
export type { PresentationVisualViewType, PresentationVisualCartesianViewType, PresentationVisualChordViewType, PresentationVisualPolarViewType, PresentationVisualRangeViewType, PresentationVisualSankeyDiagramViewType, PresentationVisualStreamgraphViewType, PresentationVisualValuesViewType } from './presenter';
|
|
31
34
|
export type { Recipe, RecipeConfig, RecipeLocalisedConfig } from './recipe';
|
|
32
35
|
export type { ServiceData } from './service';
|
|
33
36
|
export type { StateConfig } from './state';
|
|
@@ -25,3 +25,97 @@ export interface PresentationView {
|
|
|
25
25
|
resize: () => void;
|
|
26
26
|
vendorId: string;
|
|
27
27
|
}
|
|
28
|
+
export type PresentationVisualConfig = {
|
|
29
|
+
content: PresentationVisualContentConfig;
|
|
30
|
+
views: PresentationVisualViewConfig[];
|
|
31
|
+
};
|
|
32
|
+
export type PresentationVisualContentConfig = {
|
|
33
|
+
title: {
|
|
34
|
+
text: string;
|
|
35
|
+
};
|
|
36
|
+
data: {
|
|
37
|
+
name: string;
|
|
38
|
+
categoryLabels: string[];
|
|
39
|
+
measures: {
|
|
40
|
+
id: string;
|
|
41
|
+
name: string;
|
|
42
|
+
}[];
|
|
43
|
+
};
|
|
44
|
+
};
|
|
45
|
+
export interface PresentationVisualViewConfig {
|
|
46
|
+
categoryId: 'cartesian' | 'chordDiagram' | 'polar' | 'range' | 'sankeyDiagram' | 'streamgraph' | 'values';
|
|
47
|
+
default?: boolean;
|
|
48
|
+
}
|
|
49
|
+
export interface PresentationVisualCartesianViewConfig extends PresentationVisualViewConfig {
|
|
50
|
+
categoryId: 'cartesian';
|
|
51
|
+
typeId: 'area' | 'bar' | 'column' | 'line';
|
|
52
|
+
}
|
|
53
|
+
export interface PresentationVisualChordDiagramViewConfig extends PresentationVisualViewConfig {
|
|
54
|
+
categoryId: 'chordDiagram';
|
|
55
|
+
}
|
|
56
|
+
export interface PresentationVisualPolarViewConfig extends PresentationVisualViewConfig {
|
|
57
|
+
categoryId: 'polar';
|
|
58
|
+
typeId: 'area' | 'column' | 'line';
|
|
59
|
+
}
|
|
60
|
+
export interface PresentationVisualRangeViewConfig extends PresentationVisualViewConfig {
|
|
61
|
+
categoryId: 'range';
|
|
62
|
+
typeId: 'area' | 'bar' | 'column';
|
|
63
|
+
}
|
|
64
|
+
export interface PresentationVisualSankeyDiagramViewConfig extends PresentationVisualViewConfig {
|
|
65
|
+
categoryId: 'sankeyDiagram';
|
|
66
|
+
}
|
|
67
|
+
export interface PresentationVisualStreamgraphViewConfig extends PresentationVisualViewConfig {
|
|
68
|
+
categoryId: 'streamgraph';
|
|
69
|
+
}
|
|
70
|
+
export interface PresentationVisualValuesViewConfig extends PresentationVisualViewConfig {
|
|
71
|
+
categoryId: 'values';
|
|
72
|
+
}
|
|
73
|
+
export type PresentationVisualViewType = PresentationVisualCartesianViewType | PresentationVisualChordViewType | PresentationVisualPolarViewType | PresentationVisualRangeViewType | PresentationVisualSankeyDiagramViewType | PresentationVisualStreamgraphViewType | PresentationVisualValuesViewType;
|
|
74
|
+
export type PresentationVisualCartesianViewType = {
|
|
75
|
+
categoryId: 'cartesian';
|
|
76
|
+
typeId: 'area' | 'bar' | 'column' | 'line';
|
|
77
|
+
label: Record<string, string>;
|
|
78
|
+
options: {
|
|
79
|
+
highchartsType: 'area' | 'bar' | 'column' | 'line';
|
|
80
|
+
inverted?: boolean;
|
|
81
|
+
};
|
|
82
|
+
};
|
|
83
|
+
export type PresentationVisualChordViewType = {
|
|
84
|
+
categoryId: 'chordDiagram';
|
|
85
|
+
label: Record<string, string>;
|
|
86
|
+
options: {};
|
|
87
|
+
};
|
|
88
|
+
export type PresentationVisualPolarViewType = {
|
|
89
|
+
categoryId: 'polar';
|
|
90
|
+
typeId: 'area' | 'column' | 'line';
|
|
91
|
+
label: Record<string, string>;
|
|
92
|
+
options: {
|
|
93
|
+
highchartsType: 'area' | 'column' | 'line';
|
|
94
|
+
inverted?: boolean;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
export type PresentationVisualRangeViewType = {
|
|
98
|
+
categoryId: 'range';
|
|
99
|
+
typeId: 'area' | 'bar' | 'column';
|
|
100
|
+
label: Record<string, string>;
|
|
101
|
+
options: {
|
|
102
|
+
highchartsType: 'arearange' | 'columnrange';
|
|
103
|
+
inverted?: boolean;
|
|
104
|
+
};
|
|
105
|
+
};
|
|
106
|
+
export type PresentationVisualSankeyDiagramViewType = {
|
|
107
|
+
categoryId: 'sankeyDiagram';
|
|
108
|
+
label: Record<string, string>;
|
|
109
|
+
options: {};
|
|
110
|
+
};
|
|
111
|
+
export type PresentationVisualStreamgraphViewType = {
|
|
112
|
+
categoryId: 'streamgraph';
|
|
113
|
+
label: Record<string, string>;
|
|
114
|
+
options: {};
|
|
115
|
+
};
|
|
116
|
+
export type PresentationVisualValuesViewType = {
|
|
117
|
+
categoryId: 'values';
|
|
118
|
+
label: Record<string, string>;
|
|
119
|
+
options: {};
|
|
120
|
+
};
|
|
121
|
+
export declare const presentationViewTypeMap: Record<string, PresentationVisualViewType>;
|