@luzmo/embed 6.1.2-beta.2 → 6.1.2-beta.4

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.
Files changed (209) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/index.cjs +6420 -5112
  3. package/index.d.ts +3 -3
  4. package/index.js +6418 -5110
  5. package/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
  6. package/{src/lib/ai-component/luzmo-ai-chat.d.ts → lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -2
  7. package/lib/viz-item/viz-item.base.d.ts +3 -4
  8. package/luzmo-embed.min.js +32177 -37610
  9. package/package.json +3 -5
  10. package/src/index.d.ts +3 -3
  11. package/src/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
  12. package/{lib/ai-component/luzmo-ai-chat.d.ts → src/lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -2
  13. package/src/lib/viz-item/viz-item.base.d.ts +3 -4
  14. package/libs/dashboard-contents-types/index.d.ts +0 -2
  15. package/libs/dashboard-contents-types/json-schemas.d.ts +0 -42178
  16. package/libs/dashboard-contents-types/src/index.d.ts +0 -28
  17. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -331
  18. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
  19. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
  20. package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
  21. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
  22. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
  23. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
  24. package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
  25. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
  26. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
  27. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
  28. package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
  29. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
  30. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
  31. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
  32. package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
  33. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
  34. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
  35. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
  36. package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
  37. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
  38. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
  39. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
  40. package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
  41. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
  42. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
  43. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
  44. package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
  45. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
  46. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
  47. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
  48. package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
  49. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
  50. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
  51. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
  52. package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
  53. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
  54. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
  55. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
  56. package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
  57. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -147
  58. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
  59. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
  60. package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
  61. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
  62. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
  63. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
  64. package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
  65. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -84
  66. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
  67. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
  68. package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
  69. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
  70. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
  71. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
  72. package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
  73. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
  74. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
  75. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
  76. package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
  77. package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
  78. package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
  79. package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
  80. package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
  81. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
  82. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
  83. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
  84. package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
  85. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
  86. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
  87. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
  88. package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
  89. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
  90. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
  91. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
  92. package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
  93. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
  94. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
  95. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
  96. package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
  97. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
  98. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
  99. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
  100. package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
  101. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
  102. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
  103. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
  104. package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
  105. package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
  106. package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
  107. package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
  108. package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
  109. package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
  110. package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -29
  111. package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
  112. package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
  113. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
  114. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
  115. package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
  116. package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
  117. package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
  118. package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
  119. package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
  120. package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
  121. package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
  122. package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -122
  123. package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
  124. package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
  125. package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -5
  126. package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
  127. package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
  128. package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
  129. package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -316
  130. package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
  131. package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
  132. package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
  133. package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
  134. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
  135. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
  136. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
  137. package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
  138. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
  139. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
  140. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
  141. package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
  142. package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
  143. package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
  144. package/libs/dashboard-contents-types/src/options.d.ts +0 -25
  145. package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
  146. package/libs/embed-libs/embed/src/index.d.ts +0 -7
  147. package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-answer.d.ts +0 -23
  148. package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-chat.d.ts +0 -24
  149. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
  150. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
  151. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
  152. package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
  153. package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
  154. package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
  155. package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -73
  156. package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -34
  157. package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
  158. package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
  159. package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
  160. package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
  161. package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
  162. package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
  163. package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
  164. package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
  165. package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
  166. package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
  167. package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
  168. package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
  169. package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
  170. package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
  171. package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
  172. package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
  173. package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
  174. package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
  175. package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
  176. package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
  177. package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
  178. package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
  179. package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
  180. package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
  181. package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
  182. package/libs/embed-libs/shared-embed/src/lib/models/ai-components.model.d.ts +0 -135
  183. package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
  184. package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
  185. package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
  186. package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
  187. package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
  188. package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -45
  189. package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -22
  190. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
  191. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
  192. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
  193. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
  194. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
  195. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
  196. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
  197. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
  198. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
  199. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
  200. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
  201. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
  202. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
  203. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
  204. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
  205. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
  206. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
  207. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
  208. package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
  209. package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
@@ -1,135 +0,0 @@
1
- import { Filter, ItemType } from '@luzmo/ngx-embed';
2
- import type { ThemeConfig } from '@luzmo/dashboard-contents-types';
3
- declare interface ConnectedPosition {
4
- originX: 'start' | 'center' | 'end';
5
- originY: 'top' | 'center' | 'bottom';
6
- overlayX: 'start' | 'center' | 'end';
7
- overlayY: 'top' | 'center' | 'bottom';
8
- weight?: number;
9
- offsetX?: number;
10
- offsetY?: number;
11
- panelClass?: string | string[];
12
- }
13
- type ChartFeedback = {
14
- aichart_id?: string;
15
- based_on_message_id?: string;
16
- corrected_chart: Chart;
17
- created_at: string;
18
- id: string;
19
- message_id?: string;
20
- rating: number;
21
- type: 'user';
22
- updated_at: string;
23
- user_id: string;
24
- };
25
- type Chart = {
26
- aichartId?: string;
27
- filters?: Filter[];
28
- feedback?: ChartFeedback;
29
- name: string;
30
- options?: {
31
- display?: {
32
- title?: boolean;
33
- legend?: boolean;
34
- categoryLabels?: boolean;
35
- };
36
- interactivity?: any;
37
- theme?: string | ThemeConfig;
38
- mode?: string;
39
- sort?: any;
40
- };
41
- slots: any[];
42
- type: ItemType;
43
- setInitialOptions?: (options: any) => any;
44
- cleanupOptions?: (options: any) => any;
45
- };
46
- type ColumnType = 'numeric' | 'datetime' | 'hierarchy' | 'spatial';
47
- type Column = {
48
- id: string;
49
- name: Record<string, string>;
50
- description: Record<string, string> | null;
51
- type: ColumnType;
52
- subtype: string | null;
53
- format?: string;
54
- idx: string;
55
- securableFormula?: {
56
- formula_id: string;
57
- securable_id: string;
58
- };
59
- isFormula?: boolean;
60
- };
61
- type Formula = {
62
- id: string;
63
- name: Record<string, string>;
64
- type: ColumnType;
65
- subtype: string | null;
66
- format?: string;
67
- idx: string;
68
- securableFormula?: {
69
- formula_id: string;
70
- securable_id: string;
71
- };
72
- isFormula?: boolean;
73
- };
74
- type Dataset = {
75
- id: string;
76
- name: Record<string, string>;
77
- description: Record<string, string> | null;
78
- columns: Column[];
79
- formulas: Formula[];
80
- };
81
- export type Message = {
82
- type?: 'humanMessage' | 'systemMessage' | 'chartAnswer';
83
- message?: string;
84
- question?: string;
85
- chart?: Chart;
86
- datasets?: Dataset[];
87
- default?: boolean;
88
- messageId?: string | number;
89
- };
90
- export interface AIChatDisplayOptions {
91
- chatWelcomeMessages?: Message[];
92
- chatContainerHeaderTitle?: string;
93
- showConversationId?: boolean;
94
- showDisclaimer?: boolean;
95
- disclaimerText?: string;
96
- display?: string;
97
- language?: string;
98
- timezone?: string;
99
- suggestions?: Suggestion[];
100
- showChart?: boolean;
101
- showTextSummary?: boolean;
102
- showInteractions?: boolean;
103
- showNextActions?: boolean;
104
- showSuggestions?: boolean;
105
- showWelcomeChat?: boolean;
106
- showFeedback?: boolean;
107
- showConfiguration?: boolean;
108
- chatBubbleOverlayPosition?: 'topRight' | 'topLeft' | 'topCenter' | 'bottomRight' | 'bottomLeft' | 'bottomCenter' | 'leftCenter' | 'rightCenter';
109
- chatBubbleVerticalOffset?: number;
110
- chatBubbleHorizontalOffset?: number;
111
- positions?: ConnectedPosition[];
112
- theme?: ThemeConfig;
113
- }
114
- export interface AIAnswerDisplayOptions {
115
- language?: AIChatDisplayOptions['language'];
116
- showChart?: AIChatDisplayOptions['showChart'];
117
- showTextSummary?: AIChatDisplayOptions['showTextSummary'];
118
- showInteractions?: AIChatDisplayOptions['showInteractions'];
119
- showNextBestActions?: AIChatDisplayOptions['showNextActions'];
120
- showFeedback?: AIChatDisplayOptions['showFeedback'];
121
- showConfiguration?: AIChatDisplayOptions['showConfiguration'];
122
- theme?: AIChatDisplayOptions['theme'];
123
- }
124
- export interface AIAnswerMessage {
125
- type: Extract<Message['type'], 'systemMessage' | 'chartAnswer'>;
126
- chart: Chart;
127
- message?: string;
128
- question?: string;
129
- }
130
- export interface Suggestion {
131
- title: string;
132
- chartType: string;
133
- columnIds: number[];
134
- }
135
- export {};
@@ -1,103 +0,0 @@
1
- import { FilterGroup } from '@luzmo/dashboard-contents-types';
2
- export type ScreenMode = 'mobile' | 'tablet' | 'desktop' | 'largeScreen' | 'fixed' | 'auto';
3
- export type DashboardDimensions = Record<Exclude<ScreenMode, 'auto'>, [
4
- number,
5
- number,
6
- string
7
- ]>;
8
- export type CommonReturnType = {
9
- dashboardId?: string;
10
- dashboardSlug?: string;
11
- integrationId?: string;
12
- itemId?: string;
13
- language?: string;
14
- name?: string;
15
- requestId?: string;
16
- screenMode?: ScreenMode;
17
- type?: string;
18
- error?: boolean;
19
- msg?: string;
20
- };
21
- export type ExportDashboard = {
22
- type: 'export';
23
- } & CommonReturnType;
24
- export type AccessibleDashboard = {
25
- accessibleBy?: {
26
- model?: 'User' | 'Group' | 'Integration';
27
- id?: string;
28
- name?: string;
29
- }[];
30
- accessRights?: {
31
- flagRead?: boolean;
32
- flagUse?: boolean;
33
- flagModify?: boolean;
34
- flagOwn?: boolean;
35
- };
36
- id?: string;
37
- modifiedAt?: string;
38
- name?: string;
39
- slug?: string | null;
40
- tags: string[];
41
- };
42
- export type ItemData = any[];
43
- export type DashboardEditMode = 'editFull' | 'editLimited' | 'view';
44
- export type SetEditMode = {
45
- type?: 'setEditMode';
46
- editMode?: DashboardEditMode;
47
- } & CommonReturnType;
48
- export type SetSelectedData = {
49
- filters?: FilterGroup[];
50
- } & CommonReturnType;
51
- export type SetPreview = {
52
- type: 'setPreview';
53
- preview?: boolean;
54
- } & CommonReturnType;
55
- export type AddFilters = {
56
- type: 'AddFilters';
57
- origin: 'itemFilter';
58
- item: string;
59
- filters: FilterGroup[];
60
- };
61
- export type DashboardPromises = Record<string, {
62
- resolve: (value?: unknown | PromiseLike<unknown>) => void;
63
- reject: (reason: any) => void;
64
- }>;
65
- export type BrowserCheckKey = 'svg' | 'flexbox' | 'postMessage';
66
- export interface DashboardInputs {
67
- appServer?: string;
68
- apiHost?: string;
69
- itemId?: string;
70
- mainColor?: string;
71
- accentColor?: string;
72
- language?: string;
73
- qeVersion?: number;
74
- editMode?: DashboardEditMode;
75
- screenMode?: ScreenMode;
76
- switchScreenModeOnResize?: boolean;
77
- dashboardId?: string;
78
- dashboardSlug?: string;
79
- itemDimensions?: {
80
- width: number | 'auto';
81
- height: number | 'auto';
82
- };
83
- timezoneId?: string;
84
- loaderBackground?: string;
85
- loaderFontColor?: string;
86
- loaderSpinnerColor?: string;
87
- loaderSpinnerBackground?: string;
88
- authKey?: string;
89
- authToken?: string;
90
- experimental?: boolean;
91
- }
92
- export interface DashboardContentParams extends Exclude<DashboardInputs, 'authKey' | 'authToken' | 'loaderBackground' | 'loaderFontColor' | 'loaderSpinnerColor' | 'loaderSpinnerBackground'> {
93
- key?: DashboardInputs['authKey'];
94
- token?: DashboardInputs['authToken'];
95
- itemEmbedding?: boolean;
96
- loaderBackground?: DashboardInputs['loaderBackground'];
97
- loaderFontColor?: DashboardInputs['loaderFontColor'];
98
- loaderSpinnerColor?: DashboardInputs['loaderSpinnerColor'];
99
- loaderSpinnerBackground?: DashboardInputs['loaderSpinnerBackground'];
100
- error?: boolean;
101
- container?: string;
102
- contextId?: string;
103
- }
@@ -1,45 +0,0 @@
1
- import { FilterGroup } from '@luzmo/dashboard-contents-types';
2
- import { ExportType } from '../methods/export-dashboard';
3
- import { AccessibleDashboard, BrowserCheckKey, DashboardContentParams, DashboardDimensions, DashboardEditMode, DashboardInputs, DashboardPromises, ExportDashboard, ItemData, ScreenMode, SetEditMode, SetSelectedData, SetPreview, AddFilters } from './common.model';
4
- import { IframeStyles } from './styles.model';
5
- import { CombinedSelectedDataInput } from './viz-items';
6
- export interface CommonLuzmoDashboard extends DashboardInputs {
7
- libVersion?: string;
8
- promises?: DashboardPromises;
9
- params?: DashboardContentParams;
10
- iframeLoaded?: boolean;
11
- loaderSize?: number;
12
- borderWidth?: number;
13
- minHeight?: number;
14
- iframeWidth?: string;
15
- iframeHeight?: string;
16
- error?: boolean;
17
- browserNotSupported?: BrowserCheckKey[];
18
- dimensions?: DashboardDimensions;
19
- currentScreenMode?: ScreenMode;
20
- iframeStyle?: IframeStyles;
21
- currentAuthKey?: string;
22
- currentAuthToken?: string;
23
- }
24
- export interface NgxLuzmoDashboard extends CommonLuzmoDashboard {
25
- dashboardReference?: HTMLElement;
26
- }
27
- export interface ES6LuzmoDashboard extends CommonLuzmoDashboard {
28
- }
29
- export interface VueLuzmoDashboard extends CommonLuzmoDashboard {
30
- }
31
- export type LuzmoDashboard = NgxLuzmoDashboard | ES6LuzmoDashboard | VueLuzmoDashboard;
32
- export interface LuzmoElement extends HTMLElement {
33
- getDashboards(): Promise<LuzmoDashboard[]>;
34
- getFilters(): Promise<FilterGroup[]>;
35
- exportDashboard(format?: ExportType): Promise<ExportDashboard>;
36
- reloadDashboard(): Promise<void>;
37
- getData(itemId: string): Promise<ItemData>;
38
- refreshData(itemId?: string): Promise<void>;
39
- getAccessibleDashboards(): Promise<AccessibleDashboard[]>;
40
- setAuthorization(key: string, token: string): Promise<void>;
41
- setEditMode(editMode: DashboardEditMode): Promise<SetEditMode>;
42
- setPreview(preview: boolean): Promise<SetPreview>;
43
- setSelectedData<K extends CombinedSelectedDataInput>(itemId: string, filters: K): Promise<SetSelectedData>;
44
- addFilters(itemId: string, filters: FilterGroup[]): Promise<AddFilters>;
45
- }
@@ -1,73 +0,0 @@
1
- import { FilterGroup, FilterOrigin } from '@luzmo/dashboard-contents-types';
2
- import { DashboardDimensions, ScreenMode } from './common.model';
3
- interface EventDataBase {
4
- dashboardId?: string;
5
- dashboardSlug?: string;
6
- integrationId?: string;
7
- language?: string;
8
- name?: string;
9
- screenMode?: ScreenMode;
10
- type?: string;
11
- }
12
- interface LoadEventData extends EventDataBase {
13
- type: 'load';
14
- dimensions: DashboardDimensions;
15
- }
16
- interface ChangedFiltersEventData extends EventDataBase {
17
- type: 'changedFilters';
18
- changed: FilterGroup[];
19
- filters: FilterGroup[];
20
- itemId: string;
21
- origin: FilterOrigin;
22
- }
23
- interface ItemsRenderedEventData extends EventDataBase {
24
- type: 'chartsRendered';
25
- }
26
- interface CustomEventData extends EventDataBase {
27
- itemId: string;
28
- data: {
29
- event: string;
30
- language: string;
31
- [key: string]: unknown;
32
- };
33
- }
34
- export interface LoadEvent {
35
- data: LoadEventData;
36
- }
37
- export interface ChangedFiltersEvent {
38
- data: ChangedFiltersEventData;
39
- }
40
- export interface CustomEvent {
41
- data: CustomEventData;
42
- }
43
- export interface ItemsRenderedEvent {
44
- data: ItemsRenderedEventData;
45
- }
46
- interface ExportedEventData extends EventDataBase {
47
- type: 'exported';
48
- }
49
- export interface ExportedEvent {
50
- data: ExportedEventData;
51
- }
52
- type DashboardAction = 'addColumnToSlot' | 'addFormulaToSlot' | 'removeColumnFromSlot' | 'removeItem' | 'addItem' | 'cloneItem' | 'addItemFilter' | 'updateItemFilter' | 'removeItemFilter' | 'addDashboardFilter' | 'removeDashboardFilter' | 'updateDashboardFilter' | 'addParameter' | 'updateParameter' | 'removeParameter' | 'openDatasetDetail' | 'linkDatasets' | 'authorizationExpired';
53
- interface DashboardActionEventData extends EventDataBase {
54
- type: 'dashboardAction';
55
- action: DashboardAction;
56
- dropType?: 'add' | 'replace';
57
- item?: {
58
- id: string;
59
- type: string;
60
- };
61
- column?: {
62
- id: string;
63
- name: {
64
- [k: string]: string | void;
65
- };
66
- type: string;
67
- datasetId: string;
68
- };
69
- }
70
- export interface DashboardActionEvent {
71
- data: DashboardActionEventData;
72
- }
73
- export {};
@@ -1,17 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- export type AvailableSlots = 'category' | 'x-axis' | 'y-axis' | 'dimension' | 'slidermetric' | 'time' | 'levels' | 'geo' | 'coordinates';
3
- export type StringOrNumber = string | number;
4
- export type ParametersInput = StringOrNumber[] | StringOrNumber;
5
- export type SelectedDataIn = {
6
- expression?: FilterExpression;
7
- parameters?: [
8
- {
9
- slot?: AvailableSlots;
10
- level?: number;
11
- decimals?: number;
12
- },
13
- ParametersInput
14
- ];
15
- properties?: Record<string, StringOrNumber | unknown>;
16
- };
17
- export type SelectedDataInput = Partial<Record<FilterOperators, (SelectedDataIn | SelectedDataInput)[]>>;
@@ -1,32 +0,0 @@
1
- export interface IframeStyles {
2
- width?: string;
3
- opacity?: number;
4
- height?: string;
5
- }
6
- export interface ContainerLoaderStyles {
7
- display?: string;
8
- height?: string;
9
- }
10
- export interface PlStyles {
11
- 'border-top'?: string;
12
- 'border-right'?: string;
13
- 'border-left'?: string;
14
- 'border-bottom'?: string;
15
- width?: string;
16
- height?: string;
17
- }
18
- export interface LcStyles {
19
- padding?: string;
20
- }
21
- export interface LoaderStyles {
22
- background?: string;
23
- width?: string;
24
- height?: string;
25
- 'min-height'?: string;
26
- }
27
- export interface ContainerStyles {
28
- background?: string;
29
- width?: string;
30
- height?: string;
31
- display?: string;
32
- }
@@ -1,45 +0,0 @@
1
- import { FilterGroup, FilterOrigin } from '@luzmo/dashboard-contents-types';
2
- import { ExportType } from '../methods/export-dashboard';
3
- import { VizItemOptions } from './viz-item.model';
4
- type VizItemPostMessageMetadata = {
5
- dashboardId?: string;
6
- itemId?: string;
7
- language?: string;
8
- type: VizItemPostMessageType;
9
- contextId?: string;
10
- options?: VizItemOptions;
11
- };
12
- export type VizItemPostMessageLoadEvent = VizItemPostMessageMetadata & {
13
- type: 'load';
14
- };
15
- export type VizItemPostMessageRenderedEvent = VizItemPostMessageMetadata & {
16
- type: 'rendered';
17
- };
18
- export type VizItemPostMessageExportedEvent = VizItemPostMessageMetadata & {
19
- type: 'exported';
20
- exportType: ExportType;
21
- };
22
- export type VizItemPostMessageChangedFiltersEvent = VizItemPostMessageMetadata & {
23
- type: 'changedFilters';
24
- changed: FilterGroup[];
25
- filters: FilterGroup[];
26
- item: string;
27
- origin: FilterOrigin;
28
- };
29
- export type VizItemPostMessageCustomEventEvent = VizItemPostMessageMetadata & {
30
- type: 'customEvent';
31
- data?: {
32
- event: string;
33
- language: string;
34
- [key: string]: unknown;
35
- };
36
- };
37
- type VizItemPostMessageEventMap = {
38
- 'load': VizItemPostMessageLoadEvent;
39
- 'rendered': VizItemPostMessageRenderedEvent;
40
- 'exported': VizItemPostMessageExportedEvent;
41
- 'changedFilters': VizItemPostMessageChangedFiltersEvent;
42
- 'customEvent': VizItemPostMessageCustomEventEvent;
43
- };
44
- type VizItemPostMessageType = keyof VizItemPostMessageEventMap;
45
- export {};
@@ -1,22 +0,0 @@
1
- import type { Options, ThemeConfig } from '@luzmo/dashboard-contents-types';
2
- export declare const libraryTypeToWebComponentTypeMapping: Record<string, string>;
3
- export declare const libraryAcceptedParametersList: string[];
4
- export type CanFilter = string[] | 'all';
5
- export type VizItemCanFilter = CanFilter;
6
- type ChartLoader = {
7
- background: string;
8
- fontColor: string;
9
- locale: string;
10
- mode: string;
11
- msg: string;
12
- spinnerBackground: string;
13
- spinnerColor: string;
14
- showBranded: boolean;
15
- };
16
- export type VizItemOptions = Options & {
17
- theme?: string | ThemeConfig;
18
- locale?: string;
19
- loader?: ChartLoader;
20
- timezoneId?: string;
21
- };
22
- export {};
@@ -1,13 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
3
- type AreaChartFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? in ?' | '? >= ?' | '? <= ?' | '? < ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'x-axis'>;
8
- },
9
- ParametersInput
10
- ];
11
- };
12
- export type AreaChartSelectedDataInput = Partial<Record<FilterOperators, (AreaChartFilterIn | AreaChartSelectedDataInput)[]>>;
13
- export {};
@@ -1,24 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
3
- type BarchartFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? between ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'y-axis'>;
8
- },
9
- ParametersInput
10
- ];
11
- };
12
- type BarchartFilterIn2 = SelectedDataIn & {
13
- expression: Extract<FilterExpression, '? in ?'>;
14
- parameters: [
15
- {
16
- slot: Extract<AvailableSlots, 'y-axis'>;
17
- },
18
- string[]
19
- ];
20
- };
21
- type BarchartFilterInput1 = Partial<Record<FilterOperators, (BarchartFilterIn | BarchartFilterInput1)[]>>;
22
- type BarchartFilterInput2 = Partial<Record<FilterOperators, (BarchartFilterIn2 | BarchartFilterInput2)[]>>;
23
- export type BarChartSelectedDataInput = BarchartFilterInput1 | BarchartFilterInput2;
24
- export {};
@@ -1,13 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, StringOrNumber } from '../filters.model';
3
- type ChoroplethFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'geo'>;
8
- },
9
- StringOrNumber[]
10
- ];
11
- };
12
- export type ChoroplethSelectedDataInput = Partial<Record<FilterOperators, (ChoroplethFilterIn | ChoroplethSelectedDataInput)[]>>;
13
- export {};
@@ -1,2 +0,0 @@
1
- import { SunburstSelectedDataInput } from './sunburst.model';
2
- export type CirclepackSelectedDataInput = SunburstSelectedDataInput;
@@ -1,24 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
3
- type ColumnchartFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? between ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'y-axis'>;
8
- },
9
- ParametersInput
10
- ];
11
- };
12
- type ColumnchartFilterIn2 = SelectedDataIn & {
13
- expression: Extract<FilterExpression, '? in ?'>;
14
- parameters: [
15
- {
16
- slot: Extract<AvailableSlots, 'y-axis'>;
17
- },
18
- string[]
19
- ];
20
- };
21
- type ColumnchartFilterInput1 = Partial<Record<FilterOperators, (ColumnchartFilterIn | ColumnchartFilterInput1)[]>>;
22
- type ColumnchartFilterInput2 = Partial<Record<FilterOperators, (ColumnchartFilterIn2 | ColumnchartFilterInput2)[]>>;
23
- export type ColumnChartSelectedDataInput = ColumnchartFilterInput1 | ColumnchartFilterInput2;
24
- export {};
@@ -1,13 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn } from '../filters.model';
3
- type DatetimeFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? >= ?' | '? < ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'time'>;
8
- },
9
- string[]
10
- ];
11
- };
12
- export type DatetimeSelectedDataInput = Partial<Record<FilterOperators, (DatetimeFilterIn | DatetimeSelectedDataInput)[]>>;
13
- export {};
@@ -1,2 +0,0 @@
1
- import { PieChartSelectedDataInput } from './piechart.model';
2
- export type DonutChartSelectedDataInput = PieChartSelectedDataInput;
@@ -1,13 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
3
- type DropdownFilterFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? between ?' | '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'dimension'>;
8
- },
9
- ParametersInput
10
- ];
11
- };
12
- export type DropdownFilterSelectedDataInput = Partial<Record<FilterOperators, (DropdownFilterFilterIn | DropdownFilterSelectedDataInput)[]>>;
13
- export {};
@@ -1,36 +0,0 @@
1
- import { SelectedDataInput } from '../filters.model';
2
- import { AreaChartSelectedDataInput } from './areachart.model';
3
- import { BarChartSelectedDataInput } from './barchart.model';
4
- import { ChoroplethSelectedDataInput } from './choroplethmap.model';
5
- import { CirclepackSelectedDataInput } from './circlepack.model';
6
- import { ColumnChartSelectedDataInput } from './columnchart.model';
7
- import { DatetimeSelectedDataInput } from './datetime.model';
8
- import { DonutChartSelectedDataInput } from './donutchart.model';
9
- import { DropdownFilterSelectedDataInput } from './dropdownfilter.model';
10
- import { LinechartSelectedDataInput } from './linechart.model';
11
- import { ParallelCoordinatesPlotSelectedDataInput } from './parallelcoordinatesplot.model';
12
- import { PieChartSelectedDataInput } from './piechart.model';
13
- import { ScatterplotSelectedDataInput } from './scatterplot.model';
14
- import { SlicerSelectedDataInput } from './slicer.model';
15
- import { SliderSelectedDataInput } from './slider.model';
16
- import { StripPlotSelectedDataInput } from './stripplot.model';
17
- import { SunburstSelectedDataInput } from './sunburst.model';
18
- import { TreemapSelectedDataInput } from './treemap.model';
19
- export * from './barchart.model';
20
- export * from './columnchart.model';
21
- export * from './datetime.model';
22
- export * from './slider.model';
23
- export * from './dropdownfilter.model';
24
- export * from './areachart.model';
25
- export * from './slicer.model';
26
- export * from './scatterplot.model';
27
- export * from './piechart.model';
28
- export * from './linechart.model';
29
- export * from './choroplethmap.model';
30
- export * from './treemap.model';
31
- export * from './donutchart.model';
32
- export * from './sunburst.model';
33
- export * from './circlepack.model';
34
- export * from './parallelcoordinatesplot.model';
35
- export * from './stripplot.model';
36
- export type CombinedSelectedDataInput = SelectedDataInput | BarChartSelectedDataInput | ColumnChartSelectedDataInput | SliderSelectedDataInput | DropdownFilterSelectedDataInput | DatetimeSelectedDataInput | AreaChartSelectedDataInput | SlicerSelectedDataInput | LinechartSelectedDataInput | ScatterplotSelectedDataInput | PieChartSelectedDataInput | ChoroplethSelectedDataInput | TreemapSelectedDataInput | DonutChartSelectedDataInput | SunburstSelectedDataInput | CirclepackSelectedDataInput | ParallelCoordinatesPlotSelectedDataInput | StripPlotSelectedDataInput;
@@ -1,36 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, StringOrNumber } from '../filters.model';
3
- type LinechartFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? >= ?' | '? < ?' | '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'x-axis'>;
8
- },
9
- StringOrNumber[]
10
- ];
11
- };
12
- type LinechartFilterIn2 = SelectedDataIn & {
13
- expression: Extract<FilterExpression, '? >= ?' | '? < ?'>;
14
- parameters: [
15
- {
16
- slot: Extract<AvailableSlots, 'x-axis'>;
17
- },
18
- [
19
- StringOrNumber
20
- ]
21
- ];
22
- };
23
- type LinechartFilterIn3 = SelectedDataIn & {
24
- expression: Extract<FilterExpression, '? in ?'>;
25
- parameters: [
26
- {
27
- slot: Extract<AvailableSlots, 'x-axis'>;
28
- },
29
- string[]
30
- ];
31
- };
32
- type LinechartFilterInput1 = Partial<Record<FilterOperators, (LinechartFilterIn | LinechartFilterInput1)[]>>;
33
- type LinechartFilterInput2 = Partial<Record<FilterOperators, (LinechartFilterIn2 | LinechartFilterInput2)[]>>;
34
- type LinechartFilterInput3 = Partial<Record<FilterOperators, (LinechartFilterIn3 | LinechartFilterInput3)[]>>;
35
- export type LinechartSelectedDataInput = LinechartFilterInput1 | LinechartFilterInput2 | LinechartFilterInput3;
36
- export {};