@datapos/datapos-shared 0.3.223 → 0.3.224

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,35 +1,35 @@
1
- const E = ["createObject", "dropObject", "removeRecords", "upsertRecords"], I = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
1
+ const h = ["createObject", "dropObject", "removeRecords", "upsertRecords"], I = ["findObject", "getRecord", "listNodes", "previewObject", "retrieveRecords"];
2
2
  function x() {
3
3
  function e(t, a, r) {
4
4
  r.textContent = "Cytoscape.js diagram goes here...";
5
5
  }
6
6
  return { render: e };
7
7
  }
8
- function T() {
8
+ function C() {
9
9
  function e(t, a, r) {
10
10
  r.textContent = "values table goes here...";
11
11
  }
12
12
  return { render: e };
13
13
  }
14
14
  const w = 0, S = (e) => e, N = () => Date.now(), D = {
15
- cartesian_areaLine: { categoryId: "cartesian", typeId: "areaLine", label: { "en-gb": "Area Line" }, options: { highchartsType: "area" } },
16
- cartesian_areaSpline: { categoryId: "cartesian", typeId: "areaSpline", label: { "en-gb": "Area Spline" }, options: { highchartsType: "area" } },
17
- cartesian_bar: { categoryId: "cartesian", typeId: "bar", label: { "en-gb": "Bar" }, options: { highchartsType: "bar" } },
18
- cartesian_column: { categoryId: "cartesian", typeId: "column", label: { "en-gb": "Column" }, options: { highchartsType: "column" } },
19
- cartesian_line: { categoryId: "cartesian", typeId: "line", label: { "en-gb": "Line" }, options: { highchartsType: "line" } },
20
- cartesian_pyramid: { categoryId: "cartesian", typeId: "line", label: { "en-gb": "Pyramid" }, options: { highchartsType: "line" } },
21
- cartesian_spline: { categoryId: "cartesian", typeId: "line", label: { "en-gb": "Spline" }, options: { highchartsType: "line" } },
22
- chordDiagram: { categoryId: "chordDiagram", label: { "en-gb": "Chord Diagram" }, options: {} },
23
- periodFlowBoundaries: { categoryId: "periodFlowBoundaries", label: { "en-gb": "Period Flow & Boundaries" }, options: {} },
24
- polar_area: { categoryId: "polar", typeId: "area", label: { "en-gb": "Radar (Area)" }, options: { highchartsType: "area" } },
25
- polar_column: { categoryId: "polar", typeId: "column", label: { "en-gb": "Radar (Column)" }, options: { highchartsType: "column" } },
26
- polar_line: { categoryId: "polar", typeId: "line", label: { "en-gb": "Radar (Line)" }, options: { highchartsType: "line" } },
27
- range_area: { categoryId: "range", typeId: "area", label: { "en-gb": "Range (Area)" }, options: { highchartsType: "arearange" } },
28
- range_bar: { categoryId: "range", typeId: "bar", label: { "en-gb": "Range (Bar)" }, options: { highchartsType: "columnrange", inverted: !0 } },
29
- range_column: { categoryId: "range", typeId: "column", label: { "en-gb": "Range (Column)" }, options: { highchartsType: "columnrange" } },
30
- sankeyDiagram: { categoryId: "sankeyDiagram", label: { "en-gb": "Sankey Diagram" }, options: {} },
31
- streamgraph: { categoryId: "streamgraph", label: { "en-gb": "Streamgraph" }, options: {} },
32
- values: { categoryId: "values", label: { "en-gb": "Values" }, options: {} }
15
+ cartesian_areaLine: { categoryId: "cartesianChart", typeId: "areaLine", label: { "en-gb": "Area Line" } },
16
+ cartesian_areaSpline: { categoryId: "cartesianChart", typeId: "areaSpline", label: { "en-gb": "Area Spline" } },
17
+ cartesian_bar: { categoryId: "cartesianChart", typeId: "bar", label: { "en-gb": "Bar" } },
18
+ cartesian_column: { categoryId: "cartesianChart", typeId: "column", label: { "en-gb": "Column" } },
19
+ cartesian_line: { categoryId: "cartesianChart", typeId: "line", label: { "en-gb": "Line" } },
20
+ cartesian_pyramid: { categoryId: "cartesianChart", typeId: "pyramid", label: { "en-gb": "Pyramid" } },
21
+ cartesian_spline: { categoryId: "cartesianChart", typeId: "spline", label: { "en-gb": "Spline" } },
22
+ chordDiagram: { categoryId: "chordDiagram", label: { "en-gb": "Chord Diagram" } },
23
+ periodFlowBoundariesChart: { categoryId: "periodFlowBoundariesChart", label: { "en-gb": "Period Flow & Boundaries" } },
24
+ polar_area: { categoryId: "polarChart", typeId: "area", label: { "en-gb": "Radar (Area)" } },
25
+ polar_column: { categoryId: "polarChart", typeId: "column", label: { "en-gb": "Radar (Column)" } },
26
+ polar_line: { categoryId: "polarChart", typeId: "line", label: { "en-gb": "Radar (Line)" } },
27
+ range_area: { categoryId: "rangeChart", typeId: "area", label: { "en-gb": "Range (Area)" } },
28
+ range_bar: { categoryId: "rangeChart", typeId: "bar", label: { "en-gb": "Range (Bar)" } },
29
+ range_column: { categoryId: "rangeChart", typeId: "column", label: { "en-gb": "Range (Column)" } },
30
+ sankeyDiagram: { categoryId: "sankeyDiagram", label: { "en-gb": "Sankey Diagram" } },
31
+ streamGraph: { categoryId: "streamGraph", label: { "en-gb": "Streamgraph" } },
32
+ valueTable: { categoryId: "valueTable", label: { "en-gb": "Values" } }
33
33
  };
34
34
  class u extends Error {
35
35
  locator;
@@ -37,40 +37,40 @@ class u extends Error {
37
37
  super(t, r), this.name = "DataPosError", this.locator = a, Error.captureStackTrace?.(this, new.target);
38
38
  }
39
39
  }
40
- class l extends u {
40
+ class i extends u {
41
41
  constructor(t, a, r) {
42
42
  super(t, a, r), this.name = "ApplicationError";
43
43
  }
44
44
  }
45
- class v extends l {
45
+ class T extends i {
46
46
  constructor(t, a, r) {
47
47
  super(t, a, r), this.name = "APIError";
48
48
  }
49
49
  }
50
- class C extends l {
50
+ class v extends i {
51
51
  constructor(t, a, r) {
52
52
  super(t, a, r), this.name = "EngineError";
53
53
  }
54
54
  }
55
- class g extends l {
55
+ class m extends i {
56
56
  body;
57
57
  constructor(t, a, r, n) {
58
58
  super(t, a, n), this.name = "FetchError", this.body = r;
59
59
  }
60
60
  }
61
- class p extends l {
61
+ class b extends i {
62
62
  componentName;
63
63
  info;
64
64
  constructor(t, a, r, n, s) {
65
65
  super(t, a, s), this.name = "VueHandledError", this.info = r, this.componentName = n;
66
66
  }
67
67
  }
68
- class O extends l {
68
+ class O extends i {
69
69
  constructor(t, a, r) {
70
70
  super(t, a, r), this.name = "WindowHandledRuntimeError";
71
71
  }
72
72
  }
73
- class R extends l {
73
+ class R extends i {
74
74
  constructor(t, a, r) {
75
75
  super(t, a, r), this.name = "WindowHandledPromiseRejectionError";
76
76
  }
@@ -82,7 +82,7 @@ class $ extends u {
82
82
  }
83
83
  async function A(e, t, a) {
84
84
  const r = `${t} Response status '${e.status}${e.statusText ? ` - ${e.statusText}` : ""}' received.`, n = await e.text();
85
- return new g(r, a, n);
85
+ return new m(r, a, n);
86
86
  }
87
87
  function F(e) {
88
88
  return e.map((t) => t.message).join(" ");
@@ -102,9 +102,9 @@ function k(e) {
102
102
  for (; r && !t.has(r); ) {
103
103
  t.add(r);
104
104
  let n;
105
- if (r instanceof g)
105
+ if (r instanceof m)
106
106
  n = { body: r.body, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
107
- else if (r instanceof p)
107
+ else if (r instanceof b)
108
108
  n = { componentName: r.componentName, info: r.info, locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
109
109
  else if (r instanceof u)
110
110
  n = { locator: r.locator, message: r.message, name: r.name, stack: r.stack }, r = r.cause;
@@ -116,7 +116,7 @@ function k(e) {
116
116
  }
117
117
  return a;
118
118
  }
119
- const m = "en-US", c = {}, B = (e) => {
119
+ const g = "en-US", c = {}, B = (e) => {
120
120
  switch (e) {
121
121
  case "Edm.Binary":
122
122
  return "unknown";
@@ -165,7 +165,7 @@ const m = "en-US", c = {}, B = (e) => {
165
165
  const t = e.lastIndexOf(".");
166
166
  if (t > -1) return e.substring(t + 1);
167
167
  }
168
- }, o = (e, t = 2, a = t, r = m) => {
168
+ }, o = (e, t = 2, a = t, r = g) => {
169
169
  if (e == null) return "";
170
170
  const n = `${r}decimal${t}.${a}`;
171
171
  let s = c[n];
@@ -177,7 +177,7 @@ const m = "en-US", c = {}, B = (e) => {
177
177
  style: "decimal",
178
178
  useGrouping: !0
179
179
  }), c[n] = s), s.format(e);
180
- }, j = (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`, U = (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`, V = (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 = m) => {
180
+ }, j = (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`, U = (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`, G = (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) => {
181
181
  if (e == null) return "";
182
182
  const a = `${t}decimal0.0`;
183
183
  let r = c[a];
@@ -189,7 +189,7 @@ const m = "en-US", c = {}, B = (e) => {
189
189
  style: "decimal",
190
190
  useGrouping: !0
191
191
  }), c[a] = r), r.format(e);
192
- }, W = (e) => {
192
+ }, V = (e) => {
193
193
  switch (e) {
194
194
  case "csv":
195
195
  return "text/csv";
@@ -203,7 +203,7 @@ const m = "en-US", c = {}, B = (e) => {
203
203
  default:
204
204
  return "application/octet-stream";
205
205
  }
206
- }, b = [
206
+ }, p = [
207
207
  { id: "dtv", label: { "en-gb": "Delimited Text" } },
208
208
  { id: "e/e", label: { "en-gb": "Entity/Event" } },
209
209
  { id: "jsonArray", label: { "en-gb": "JSON Array" } },
@@ -211,22 +211,22 @@ const m = "en-US", c = {}, B = (e) => {
211
211
  { id: "xls", label: { "en-gb": "XLS" } },
212
212
  { id: "xlsx", label: { "en-gb": "XLSX" } },
213
213
  { id: "xml", label: { "en-gb": "XML" } }
214
- ], G = (e = i) => {
214
+ ], W = (e = l) => {
215
215
  const t = [];
216
- for (const a of b) t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
216
+ for (const a of p) t.push({ ...a, label: a.label[e] || a.label[l] || a.id });
217
217
  return t;
218
- }, h = [
218
+ }, f = [
219
219
  { id: `
220
220
  `, label: { "en-gb": "Newline" } },
221
221
  { id: "\r", label: { "en-gb": "Carriage Return" } },
222
222
  { id: `\r
223
223
  `, label: { "en-gb": "Carriage Return/Newline" } }
224
- ], P = (e = i) => {
224
+ ], P = (e = l) => {
225
225
  const t = [];
226
- for (const a of h)
227
- t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
226
+ for (const a of f)
227
+ t.push({ ...a, label: a.label[e] || a.label[l] || a.id });
228
228
  return t;
229
- }, f = [
229
+ }, y = [
230
230
  { id: ":", label: { "en-gb": "Colon" } },
231
231
  { id: ",", label: { "en-gb": "Comma" } },
232
232
  { id: "!", label: { "en-gb": "Exclamation Mark" } },
@@ -238,12 +238,12 @@ const m = "en-US", c = {}, B = (e) => {
238
238
  { id: "_", label: { "en-gb": "Underscore" } },
239
239
  { id: "0x1F", label: { "en-gb": "Unit Separator" } },
240
240
  { id: "|", label: { "en-gb": "Vertical Bar" } }
241
- ], X = (e = i) => {
241
+ ], X = (e = l) => {
242
242
  const t = [];
243
- for (const a of f)
244
- t.push({ ...a, label: a.label[e] || a.label[i] || a.id });
243
+ for (const a of y)
244
+ t.push({ ...a, label: a.label[e] || a.label[l] || a.id });
245
245
  return t;
246
- }, y = [
246
+ }, E = [
247
247
  { id: "alpha", color: "red", label: { "en-gb": "alpha" } },
248
248
  { id: "beta", color: "amber", label: { "en-gb": "beta" } },
249
249
  { id: "generalAvailability", color: "green", label: { "en-gb": "" } },
@@ -253,21 +253,21 @@ const m = "en-US", c = {}, B = (e) => {
253
253
  { id: "releaseCandidate", color: "green", label: { "en-gb": "release-candidate" } },
254
254
  { id: "unavailable", color: "other", label: { "en-gb": "unavailable" } },
255
255
  { id: "underReview", color: "other", label: { "en-gb": "under-review" } }
256
- ], z = (e, t = i) => {
257
- const a = y.find((r) => r.id === e);
258
- return a ? { ...a, label: a.label[t] || a.label[i] || e } : { id: e, color: "other", label: e };
259
- }, i = "en-gb";
256
+ ], z = (e, t = l) => {
257
+ const a = E.find((r) => r.id === e);
258
+ return a ? { ...a, label: a.label[t] || a.label[l] || e } : { id: e, color: "other", label: e };
259
+ }, l = "en-gb";
260
260
  export {
261
- v as APIError,
262
- l as ApplicationError,
263
- E as CONNECTOR_DESTINATION_OPERATIONS,
261
+ T as APIError,
262
+ i as ApplicationError,
263
+ h as CONNECTOR_DESTINATION_OPERATIONS,
264
264
  I as CONNECTOR_SOURCE_OPERATIONS,
265
- i as DEFAULT_LOCALE_CODE,
265
+ l as DEFAULT_LOCALE_CODE,
266
266
  w as DefaultTimestamp,
267
- C as EngineError,
268
- g as FetchError,
267
+ v as EngineError,
268
+ m as FetchError,
269
269
  $ as OperationalError,
270
- p as VueError,
270
+ b as VueError,
271
271
  R as WindowPromiseRejectionError,
272
272
  O as WindowRuntimeError,
273
273
  A as buildFetchError,
@@ -277,19 +277,19 @@ export {
277
277
  M as extractExtensionFromPath,
278
278
  L as extractNameFromPath,
279
279
  o as formatNumberAsDecimalNumber,
280
- V as formatNumberAsDuration,
280
+ G as formatNumberAsDuration,
281
281
  j as formatNumberAsSize,
282
282
  U as formatNumberAsStorageSize,
283
283
  d as formatNumberAsWholeNumber,
284
284
  z as getComponentStatus,
285
285
  N as getCurrentTimestamp,
286
- G as getDataFormats,
286
+ W as getDataFormats,
287
287
  P as getRecordDelimiters,
288
288
  X as getValueDelimiters,
289
- W as lookupMimeTypeForExtension,
289
+ V as lookupMimeTypeForExtension,
290
290
  _ as normalizeToError,
291
291
  D as presentationViewTypeMap,
292
292
  k as serialiseError,
293
293
  x as useCytoscapeJS,
294
- T as useDataTable
294
+ C as useDataTable
295
295
  };
@@ -3,119 +3,104 @@ export interface PresentationConfig extends ComponentConfig {
3
3
  content: string;
4
4
  order: number;
5
5
  }
6
+ export type PresentationCategoryId = 'cartesianChart' | 'chordDiagram' | 'periodFlowBoundariesChart' | 'polarChart' | 'rangeChart' | 'sankeyDiagram' | 'streamGraph' | 'valueTable';
6
7
  export type PresentationVisualConfig = {
7
- content: PresentationVisualContentConfig;
8
- views: PresentationVisualViewConfig[];
9
- };
10
- export type PresentationVisualContentConfig = {
11
- title?: {
12
- text: string;
13
- };
14
- data: {
15
- label?: {
8
+ content: {
9
+ title?: {
16
10
  text: string;
17
11
  };
18
- dimension: {
12
+ data: {
19
13
  label?: {
20
14
  text: string;
21
15
  };
22
- values: {
16
+ dimension: {
23
17
  label?: {
24
18
  text: string;
25
19
  };
20
+ values: {
21
+ label?: {
22
+ text: string;
23
+ };
24
+ }[];
25
+ };
26
+ measures: {
27
+ id: string;
28
+ name: string;
29
+ values: number[][];
26
30
  }[];
27
31
  };
28
- measures: {
29
- id: string;
30
- name: string;
31
- values: number[][];
32
- }[];
33
32
  };
33
+ views: PresentationVisualViewConfig[];
34
34
  };
35
35
  export interface PresentationVisualViewConfig {
36
- categoryId: 'cartesian' | 'chordDiagram' | 'periodFlowBoundaries' | 'polar' | 'range' | 'sankeyDiagram' | 'streamgraph' | 'values';
36
+ categoryId: PresentationCategoryId;
37
37
  default?: boolean;
38
38
  }
39
- export interface PresentationVisualCartesianViewConfig extends PresentationVisualViewConfig {
40
- categoryId: 'cartesian';
39
+ export interface PresentationVisualCartesianChartViewConfig extends PresentationVisualViewConfig {
40
+ categoryId: 'cartesianChart';
41
41
  typeId: 'areaLine' | 'areaSpline' | 'bar' | 'column' | 'line' | 'pyramid' | 'spline';
42
42
  }
43
43
  export interface PresentationVisualChordDiagramViewConfig extends PresentationVisualViewConfig {
44
44
  categoryId: 'chordDiagram';
45
45
  }
46
- export interface PresentationVisualPeriodFlowBoundariesViewConfig extends PresentationVisualViewConfig {
47
- categoryId: 'periodFlowBoundaries';
46
+ export interface PresentationVisualPeriodFlowBoundariesChartViewConfig extends PresentationVisualViewConfig {
47
+ categoryId: 'periodFlowBoundariesChart';
48
48
  }
49
- export interface PresentationVisualPolarViewConfig extends PresentationVisualViewConfig {
50
- categoryId: 'polar';
49
+ export interface PresentationVisualPolarChartViewConfig extends PresentationVisualViewConfig {
50
+ categoryId: 'polarChart';
51
51
  typeId: 'area' | 'column' | 'line';
52
52
  }
53
- export interface PresentationVisualRangeViewConfig extends PresentationVisualViewConfig {
54
- categoryId: 'range';
53
+ export interface PresentationVisualRangeChartViewConfig extends PresentationVisualViewConfig {
54
+ categoryId: 'rangeChart';
55
55
  typeId: 'area' | 'bar' | 'column';
56
56
  }
57
57
  export interface PresentationVisualSankeyDiagramViewConfig extends PresentationVisualViewConfig {
58
58
  categoryId: 'sankeyDiagram';
59
59
  }
60
- export interface PresentationVisualStreamgraphViewConfig extends PresentationVisualViewConfig {
61
- categoryId: 'streamgraph';
60
+ export interface PresentationVisualStreamGraphViewConfig extends PresentationVisualViewConfig {
61
+ categoryId: 'streamGraph';
62
+ }
63
+ export interface PresentationVisualValueTableViewConfig extends PresentationVisualViewConfig {
64
+ categoryId: 'valueTable';
62
65
  }
63
- export interface PresentationVisualValuesViewConfig extends PresentationVisualViewConfig {
64
- categoryId: 'values';
66
+ export interface PresentationVisualViewType {
67
+ categoryId: PresentationCategoryId;
65
68
  }
66
- export type PresentationVisualViewType = PresentationVisualCartesianViewType | PresentationVisualChordViewType | PresentationVisualPeriodFLowBoundariesViewType | PresentationVisualPolarViewType | PresentationVisualRangeViewType | PresentationVisualSankeyDiagramViewType | PresentationVisualStreamgraphViewType | PresentationVisualValuesViewType;
67
- export type PresentationVisualCartesianViewType = {
68
- categoryId: 'cartesian';
69
+ export interface PresentationVisualCartesianChartViewType extends PresentationVisualViewType {
70
+ categoryId: 'cartesianChart';
69
71
  typeId: 'areaLine' | 'areaSpline' | 'bar' | 'column' | 'line' | 'pyramid' | 'spline';
70
72
  label: Record<string, string>;
71
- options: {
72
- highchartsType: 'area' | 'bar' | 'column' | 'line';
73
- inverted?: boolean;
74
- };
75
- };
76
- export type PresentationVisualChordViewType = {
73
+ }
74
+ export interface PresentationVisualChordDiagramViewType extends PresentationVisualViewType {
77
75
  categoryId: 'chordDiagram';
78
76
  label: Record<string, string>;
79
- options: {};
80
- };
81
- export type PresentationVisualPeriodFLowBoundariesViewType = {
82
- categoryId: 'periodFlowBoundaries';
77
+ }
78
+ export interface PresentationVisualPeriodFlowBoundariesChartViewType extends PresentationVisualViewType {
79
+ categoryId: 'periodFlowBoundariesChart';
83
80
  label: Record<string, string>;
84
- options: {};
85
- };
86
- export type PresentationVisualPolarViewType = {
87
- categoryId: 'polar';
81
+ }
82
+ export interface PresentationVisualPolarChartViewType extends PresentationVisualViewType {
83
+ categoryId: 'polarChart';
88
84
  typeId: 'area' | 'column' | 'line';
89
85
  label: Record<string, string>;
90
- options: {
91
- highchartsType: 'area' | 'column' | 'line';
92
- inverted?: boolean;
93
- };
94
- };
95
- export type PresentationVisualRangeViewType = {
96
- categoryId: 'range';
86
+ }
87
+ export interface PresentationVisualRangeChartViewType extends PresentationVisualViewType {
88
+ categoryId: 'rangeChart';
97
89
  typeId: 'area' | 'bar' | 'column';
98
90
  label: Record<string, string>;
99
- options: {
100
- highchartsType: 'arearange' | 'columnrange';
101
- inverted?: boolean;
102
- };
103
- };
104
- export type PresentationVisualSankeyDiagramViewType = {
91
+ }
92
+ export interface PresentationVisualSankeyDiagramViewType extends PresentationVisualViewType {
105
93
  categoryId: 'sankeyDiagram';
106
94
  label: Record<string, string>;
107
- options: {};
108
- };
109
- export type PresentationVisualStreamgraphViewType = {
110
- categoryId: 'streamgraph';
95
+ }
96
+ export interface PresentationVisualStreamGraphViewType extends PresentationVisualViewType {
97
+ categoryId: 'streamGraph';
111
98
  label: Record<string, string>;
112
- options: {};
113
- };
114
- export type PresentationVisualValuesViewType = {
115
- categoryId: 'values';
99
+ }
100
+ export interface PresentationVisualValueTableViewType extends PresentationVisualViewType {
101
+ categoryId: 'valueTable';
116
102
  label: Record<string, string>;
117
- options: {};
118
- };
103
+ }
119
104
  export interface PresentationView {
120
105
  resize: () => void;
121
106
  vendorId: string;
@@ -45,8 +45,8 @@ export type { EventQueryConfig, EventQueryLocalisedConfig } from './component/ev
45
45
  export type { Informer, InformerConfig, InformerLocalisedConfig, InformerTools } from './component/informer';
46
46
  export type { Presenter, PresenterConfig, PresenterLocalisedConfig } from './component/presenter';
47
47
  export type { PresentationConfig, PresentationView } from './component/presenter/presentation';
48
- export type { PresentationVisualConfig, PresentationVisualContentConfig, PresentationVisualViewConfig, PresentationVisualCartesianViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesViewConfig, PresentationVisualPolarViewConfig, PresentationVisualRangeViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamgraphViewConfig, PresentationVisualValuesViewConfig } from './component/presenter/presentation';
49
- export type { PresentationVisualViewType, PresentationVisualCartesianViewType, PresentationVisualChordViewType, PresentationVisualPeriodFLowBoundariesViewType, PresentationVisualPolarViewType, PresentationVisualRangeViewType, PresentationVisualSankeyDiagramViewType, PresentationVisualStreamgraphViewType, PresentationVisualValuesViewType } from './component/presenter/presentation';
48
+ export type { PresentationVisualConfig, PresentationVisualViewConfig, PresentationVisualCartesianChartViewConfig, PresentationVisualChordDiagramViewConfig, PresentationVisualPeriodFlowBoundariesChartViewConfig, PresentationVisualPolarChartViewConfig, PresentationVisualRangeChartViewConfig, PresentationVisualSankeyDiagramViewConfig, PresentationVisualStreamGraphViewConfig, PresentationVisualValueTableViewConfig } from './component/presenter/presentation';
49
+ export type { PresentationVisualViewType, PresentationVisualCartesianChartViewType, PresentationVisualChordDiagramViewType, PresentationVisualPeriodFlowBoundariesChartViewType, PresentationVisualPolarChartViewType, PresentationVisualRangeChartViewType, PresentationVisualSankeyDiagramViewType, PresentationVisualStreamGraphViewType, PresentationVisualValueTableViewType } from './component/presenter/presentation';
50
50
  export interface ContextOperationSettings {
51
51
  accountId?: string;
52
52
  appCheckToken?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@datapos/datapos-shared",
3
- "version": "0.3.223",
3
+ "version": "0.3.224",
4
4
  "description": "A TypeScript library containing common declarations and utilities used across other Data Positioning repositories.",
5
5
  "license": "MIT",
6
6
  "private": false,