@luzmo/embed 6.1.3 → 6.1.5

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 (200) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/index.cjs +2269 -4665
  3. package/index.d.ts +1 -1
  4. package/index.js +2269 -4665
  5. package/lib/viz-item/viz-item.base.d.ts +3 -3
  6. package/luzmo-embed.min.js +2269 -4665
  7. package/package.json +3 -3
  8. package/libs/dashboard-contents-types/index.d.ts +0 -2
  9. package/libs/dashboard-contents-types/json-schemas.d.ts +0 -44023
  10. package/libs/dashboard-contents-types/src/index.d.ts +0 -28
  11. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -331
  12. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
  13. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
  14. package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
  15. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
  16. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
  17. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
  18. package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
  19. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
  20. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
  21. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
  22. package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
  23. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
  24. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
  25. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
  26. package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
  27. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
  28. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
  29. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
  30. package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
  31. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
  32. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
  33. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
  34. package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
  35. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
  36. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
  37. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
  38. package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
  39. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
  40. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
  41. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
  42. package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
  43. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
  44. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
  45. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
  46. package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
  47. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
  48. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
  49. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
  50. package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
  51. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -147
  52. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
  53. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
  54. package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
  55. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
  56. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
  57. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
  58. package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
  59. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -84
  60. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
  61. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
  62. package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
  63. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
  64. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
  65. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
  66. package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
  67. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
  68. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
  69. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
  70. package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
  71. package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
  72. package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
  73. package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
  74. package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
  75. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
  76. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
  77. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
  78. package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
  79. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
  80. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
  81. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
  82. package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
  83. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
  84. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
  85. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
  86. package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
  87. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
  88. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
  89. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
  90. package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
  91. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
  92. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
  93. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
  94. package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
  95. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
  96. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
  97. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
  98. package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
  99. package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
  100. package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
  101. package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
  102. package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
  103. package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
  104. package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -29
  105. package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
  106. package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
  107. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
  108. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
  109. package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
  110. package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
  111. package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
  112. package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
  113. package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
  114. package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
  115. package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
  116. package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -174
  117. package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
  118. package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
  119. package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -5
  120. package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
  121. package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
  122. package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
  123. package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -372
  124. package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
  125. package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
  126. package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
  127. package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
  128. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
  129. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
  130. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
  131. package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
  132. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
  133. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
  134. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
  135. package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
  136. package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
  137. package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
  138. package/libs/dashboard-contents-types/src/options.d.ts +0 -25
  139. package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
  140. package/libs/embed-libs/embed/src/index.d.ts +0 -5
  141. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
  142. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
  143. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
  144. package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
  145. package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
  146. package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
  147. package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -72
  148. package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -33
  149. package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
  150. package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
  151. package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
  152. package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
  153. package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
  154. package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
  155. package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
  156. package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
  157. package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
  158. package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
  159. package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
  160. package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
  161. package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
  162. package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
  163. package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
  164. package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
  165. package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
  166. package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
  167. package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
  168. package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
  169. package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
  170. package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
  171. package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
  172. package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
  173. package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
  174. package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
  175. package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
  176. package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
  177. package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
  178. package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
  179. package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -45
  180. package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -22
  181. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
  182. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
  183. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
  184. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
  185. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
  186. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
  187. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
  188. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
  189. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
  190. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
  191. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
  192. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
  193. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
  194. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
  195. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
  196. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
  197. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
  198. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
  199. package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
  200. package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
@@ -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 {};
@@ -1,14 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, StringOrNumber } from '../filters.model';
3
- type ParallelCoordinatesPlotFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? >= ?' | '? < ?' | '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'coordinates'>;
8
- level: number;
9
- },
10
- StringOrNumber[]
11
- ];
12
- };
13
- export type ParallelCoordinatesPlotSelectedDataInput = Partial<Record<FilterOperators, (ParallelCoordinatesPlotFilterIn | ParallelCoordinatesPlotSelectedDataInput)[]>>;
14
- export {};
@@ -1,24 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput, StringOrNumber } from '../filters.model';
3
- type PiechartFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? between ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'category'>;
8
- },
9
- ParametersInput
10
- ];
11
- };
12
- type PiechartFilterIn2 = SelectedDataIn & {
13
- expression: Extract<FilterExpression, '? in ?'>;
14
- parameters: [
15
- {
16
- slot: Extract<AvailableSlots, 'category'>;
17
- },
18
- StringOrNumber[]
19
- ];
20
- };
21
- type PiechartFilterInput1 = Partial<Record<FilterOperators, (PiechartFilterIn | PiechartFilterInput1)[]>>;
22
- type PiechartFilterInput2 = Partial<Record<FilterOperators, (PiechartFilterIn2 | PiechartFilterInput2)[]>>;
23
- export type PieChartSelectedDataInput = PiechartFilterInput1 | PiechartFilterInput2;
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 ScatterplotFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? >= ?' | '? < ?' | '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'x-axis' | 'y-axis'>;
8
- },
9
- StringOrNumber[]
10
- ];
11
- };
12
- export type ScatterplotSelectedDataInput = Partial<Record<FilterOperators, (ScatterplotFilterIn | ScatterplotSelectedDataInput)[]>>;
13
- export {};
@@ -1,24 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput, StringOrNumber } from '../filters.model';
3
- type SlicerFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? in ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'dimension'>;
8
- },
9
- StringOrNumber[]
10
- ];
11
- };
12
- type SlicerFilterIn2 = SelectedDataIn & {
13
- expression: Extract<FilterExpression, '? between ?'>;
14
- parameters: [
15
- {
16
- slot: Extract<AvailableSlots, 'dimension'>;
17
- },
18
- ParametersInput
19
- ];
20
- };
21
- type SlicerFilterInput1 = Partial<Record<FilterOperators, (SlicerFilterIn | SlicerFilterInput1)[]>>;
22
- type SlicerFilterInput2 = Partial<Record<FilterOperators, (SlicerFilterIn2 | SlicerFilterInput2)[]>>;
23
- export type SlicerSelectedDataInput = SlicerFilterInput1 | SlicerFilterInput2;
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 SliderFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? >= ?' | '? < ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'slidermetric'>;
8
- },
9
- StringOrNumber[]
10
- ];
11
- };
12
- export type SliderSelectedDataInput = Partial<Record<FilterOperators, (SliderFilterIn | SliderSelectedDataInput)[]>>;
13
- export {};
@@ -1,15 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn } from '../filters.model';
3
- type StripPlotFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? = ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'y-axis'>;
8
- },
9
- [
10
- string
11
- ]
12
- ];
13
- };
14
- export type StripPlotSelectedDataInput = Partial<Record<FilterOperators, (StripPlotFilterIn | StripPlotSelectedDataInput)[]>>;
15
- export {};
@@ -1,14 +0,0 @@
1
- import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
2
- import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
3
- type SunburstFilterIn = SelectedDataIn & {
4
- expression: Extract<FilterExpression, '? in ?' | '? between ?'>;
5
- parameters: [
6
- {
7
- slot: Extract<AvailableSlots, 'levels'>;
8
- level: number;
9
- },
10
- ParametersInput
11
- ];
12
- };
13
- export type SunburstSelectedDataInput = Partial<Record<FilterOperators, (SunburstFilterIn | SunburstSelectedDataInput)[]>>;
14
- export {};