@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,354 +0,0 @@
1
- import { InteractivityBrushViewOptions } from '../shared';
2
- import { AxisGridlinesStyle, AxisScaleType, AxisTicksDensity, ManualAxesRange, XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
3
- import { AxisObjectViewOptions } from '../shared/axis-view-options';
4
- import { AxisTicksMode, AxisTicksStyle, Guidelines, LimitViewOptions, MissingValueViewOptions, NullBreakViewOptions } from '../shared/common';
5
- import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
6
- import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
7
- import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
8
- import { InteractivityExportViewOptions } from '../shared/interactivity-export';
9
- import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
10
- import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
11
- import { Interpolation } from '../shared/interpolation';
12
- import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
13
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
14
- export interface LineChartViewOptions extends Omit<AxisObjectViewOptions, 'display' | 'interactivity'>, TitleViewOptions, InfoTooltipViewOptions, MissingValueViewOptions, NullBreakViewOptions, LegendViewOptions, LimitViewOptions, LineChartDisplayViewOptions, LineChartInteractivityViewOptions {
15
- /**
16
- * Mode of the Line chart: grouped, color (not used anymore?)
17
- * @TJS-ignore
18
- */
19
- mode?: 'color' | 'grouped';
20
- /**
21
- * If it's set, it fine-tunes the 'mode' option. When it's 'line-group' the 'mode' will become 'grouped'.
22
- * @TJS-ignore
23
- */
24
- startWithSubType?: LineChartSubtype;
25
- /**
26
- * Interpolation options
27
- * @default "linear"
28
- */
29
- interpolation?: Interpolation;
30
- /**
31
- * Chart grid options
32
- */
33
- grid?: {
34
- /**
35
- * X-axis grid options
36
- */
37
- x?: {
38
- /**
39
- * Show or hide the X-axis grid
40
- * @default false
41
- */
42
- enabled: boolean;
43
- /**
44
- * Style of the X-axis grid
45
- */
46
- style?: AxisGridlinesStyle;
47
- /**
48
- * Opacity of the X-axis grid
49
- * @examples [1, 0.5, 0.1]
50
- */
51
- opacity?: number;
52
- };
53
- /**
54
- * Y-axis grid options
55
- */
56
- y?: {
57
- /**
58
- * Show or hide the Y-axis grid
59
- * @default false
60
- */
61
- enabled: boolean;
62
- /**
63
- * Style of the Y-axis grid
64
- */
65
- style?: AxisGridlinesStyle;
66
- /**
67
- * Opacity of the Y-axis grid
68
- * @examples [1, 0.5, 0.1]
69
- */
70
- opacity?: number;
71
- };
72
- /**
73
- * Y2-axis grid options
74
- */
75
- y2?: {
76
- /**
77
- * Show or hide the Y2-axis grid
78
- * @default false
79
- */
80
- enabled: boolean;
81
- /**
82
- * Style of the Y2-axis grid
83
- */
84
- style?: AxisGridlinesStyle;
85
- /**
86
- * Opacity of the Y2-axis grid
87
- * @examples [1, 0.5, 0.1]
88
- */
89
- opacity?: number;
90
- };
91
- };
92
- /**
93
- * Axes labels options
94
- */
95
- axislabels?: {
96
- /**
97
- * X-axis label options
98
- */
99
- x?: {
100
- /**
101
- * Show or hide the X-axis labels
102
- * @default false
103
- */
104
- enabled: boolean;
105
- /**
106
- * Position of the X-axis labels
107
- * @default "center"
108
- */
109
- position: XAxisLabelPosition;
110
- };
111
- /**
112
- * Y-axis label options
113
- */
114
- y?: {
115
- /**
116
- * Show or hide the Y-axis labels
117
- * @default false
118
- */
119
- enabled: boolean;
120
- /**
121
- * Position of the Y-axis labels
122
- * @default "middle"
123
- */
124
- position: YAxisLabelPosition;
125
- };
126
- /**
127
- * Y2-axis label options
128
- */
129
- y2?: {
130
- /**
131
- * Show or hide the Y2-axis labels
132
- * @default false
133
- */
134
- enabled: boolean;
135
- /**
136
- * Position of the Y2-axis labels
137
- * @default "middle"
138
- */
139
- position: YAxisLabelPosition;
140
- };
141
- };
142
- /**
143
- * Axes options
144
- */
145
- axis?: {
146
- /**
147
- * X-axis options
148
- */
149
- x?: {
150
- /**
151
- * X-axis color
152
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
153
- */
154
- color?: string;
155
- /**
156
- * Ticks mode of the X-axis
157
- * @default "ticks"
158
- */
159
- ticksMode?: AxisTicksMode;
160
- /**
161
- * Ticks style of the X-axis
162
- */
163
- ticksStyle?: AxisTicksStyle;
164
- };
165
- /**
166
- * Y-axis options
167
- */
168
- y?: {
169
- /**
170
- * Y-axis color
171
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
172
- */
173
- color?: string;
174
- /**
175
- * Manual axes range of the Y-axis
176
- * @MaxItems 2
177
- */
178
- manualAxesRange?: ManualAxesRange;
179
- /**
180
- * Scale type of the Y-axis
181
- * @default "linear"
182
- */
183
- scale?: AxisScaleType;
184
- /**
185
- * Scale log base of the Y-axis
186
- * @examples [2, 10]
187
- */
188
- scaleLogBase?: number;
189
- /**
190
- * Ticks density of the Y-axis
191
- */
192
- ticksDensity?: AxisTicksDensity;
193
- /**
194
- * Ticks mode of the Y-axis
195
- * @default "ticks"
196
- */
197
- ticksMode?: AxisTicksMode;
198
- /**
199
- * Measure axis type of the Y-axis
200
- * @default "default"
201
- */
202
- type?: LineChartMeasureAxisType;
203
- };
204
- /**
205
- * Y-axis options
206
- */
207
- y2?: {
208
- /**
209
- * Is Y2-axis is active
210
- * @default false
211
- */
212
- active?: boolean;
213
- /**
214
- * Y2-axis color
215
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
216
- */
217
- color?: string;
218
- /**
219
- * Manual axes range of the Y2-axis
220
- * @MaxItems 2
221
- */
222
- manualAxesRange?: ManualAxesRange;
223
- /**
224
- * Indexes of the measures that are displayed on the Y2-axis
225
- * @default [[1]]
226
- */
227
- measureIndexes?: number[];
228
- /**
229
- * Scale type of the Y2-axis
230
- * @default "linear"
231
- */
232
- scale?: AxisScaleType;
233
- /**
234
- * Scale log base of the Y2-axis
235
- * @examples [2, 10]
236
- */
237
- scaleLogBase?: number;
238
- /**
239
- * Ticks density of the Y2-axis
240
- */
241
- ticksDensity?: AxisTicksDensity;
242
- /**
243
- * Ticks mode of the Y2-axis
244
- * @default "ticks"
245
- */
246
- ticksMode?: AxisTicksMode;
247
- /**
248
- * Measure axis type of the Y2-axis
249
- * @default "default"
250
- */
251
- type?: LineChartMeasureAxisType;
252
- };
253
- };
254
- /**
255
- * Lines options
256
- */
257
- lines?: {
258
- /**
259
- * Stroke width of the lines
260
- * @default 2
261
- */
262
- strokeWidth?: number;
263
- /**
264
- * Gradient of the lines
265
- * @default true
266
- */
267
- gradient?: boolean;
268
- /**
269
- * Index of the line
270
- */
271
- index?: number;
272
- };
273
- /**
274
- * Markers options
275
- */
276
- markers?: {
277
- /**
278
- * Show or hide the markers
279
- * @default false
280
- */
281
- enabled?: boolean;
282
- /**
283
- * Size of the markers
284
- * @default 4
285
- */
286
- size?: number;
287
- };
288
- /**
289
- * Guidelines options
290
- */
291
- guidelines?: Guidelines;
292
- }
293
- interface LineChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLegendViewOptions {
294
- /**
295
- * General display options of the Line chart: title, legend
296
- */
297
- display: {
298
- /**
299
- * Show or hide the title
300
- * @default true
301
- */
302
- title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
303
- /**
304
- * Show or hide the legend
305
- * @default true
306
- */
307
- legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
308
- };
309
- }
310
- interface LineChartInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
311
- /**
312
- * Interactivity options
313
- */
314
- interactivity?: {
315
- /**
316
- * An array of measure dimension picker configurations
317
- * @default [[]]
318
- */
319
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
320
- /**
321
- * Custom events interactivity option
322
- * @default null
323
- */
324
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
325
- /**
326
- * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
327
- * @default null
328
- */
329
- customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
330
- /**
331
- * Go to URL interactivity option
332
- * @default { "target": "_blank", "url": null }
333
- */
334
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
335
- /**
336
- * Available export types interactivity option
337
- * @default ["xlsx", "csv", "png"]
338
- */
339
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
340
- /**
341
- * Export types interactivity option
342
- * @default ["xlsx", "csv", "png"]
343
- */
344
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
345
- /**
346
- * Filter on brush interactivity option
347
- * @default true
348
- */
349
- brush?: NonNullable<NonNullable<InteractivityBrushViewOptions['interactivity']>['brush']>;
350
- };
351
- }
352
- export type LineChartSubtype = 'line' | 'line-group';
353
- export type LineChartMeasureAxisType = 'default' | 'manual' | 'variable';
354
- export {};
@@ -1,39 +0,0 @@
1
- import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
2
- /**
3
- * Measure slot definition of the Line chart
4
- */
5
- interface MeasureSlot extends DashboardContentVizItemSlot {
6
- name: 'measure';
7
- /**
8
- * Measure slot definition, it can contain numeric data
9
- */
10
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
11
- }
12
- /**
13
- * Category slot definition of the Line chart
14
- */
15
- interface XAxisSlot extends DashboardContentVizItemSlot {
16
- name: 'x-axis';
17
- /**
18
- * X-axis slot definition, it can contain mixed data (numeric, categorical)
19
- * @maxItems 1
20
- */
21
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
22
- }
23
- /**
24
- * Legend slot definition of the Line chart
25
- */
26
- interface LegendSlot extends DashboardContentVizItemSlot {
27
- name: 'legend';
28
- /**
29
- * Legend slot definition, it can contain categorical data
30
- * @maxItems 1
31
- */
32
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
33
- }
34
- /**
35
- * Data definition of the Line chart
36
- * @maxItems 3
37
- */
38
- export type LineChartSlots = (MeasureSlot | XAxisSlot | LegendSlot)[];
39
- export {};
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { LineChartViewOptions } from './line-chart-options';
3
- import { LineChartSlots } from './line-chart-slots';
4
- /**
5
- * Line chart item
6
- */
7
- export interface LineChart {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'line-chart'>;
12
- /**
13
- * Options of the Line chart item
14
- * @$ref ./line-chart-options.schema.json/
15
- */
16
- options: LineChartViewOptions;
17
- /**
18
- * Data definition of the Line chart
19
- * @maxItems 3
20
- * @$ref ./line-chart-slots.schema.json
21
- */
22
- slots: LineChartSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './pivot-table-options';
2
- export * from './pivot-table-slots';
3
- export * from './pivot-table';
@@ -1,206 +0,0 @@
1
- import { InteractivityFilterOnSelectViewOptions } from '../shared';
2
- import type { LimitViewOptions, ScreenMode, SortDirection } from '../shared/common';
3
- import { DropObjectViewOptions } from '../shared/drop-object-view-options';
4
- import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
5
- import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
6
- import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
7
- import { InteractivityExportViewOptions } from '../shared/interactivity-export';
8
- import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
9
- import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
10
- import { ManualValuesRange } from '../shared/ranges';
11
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
12
- export interface PivotTableViewOptions extends Omit<DropObjectViewOptions, 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, PivotTableLimitViewOptions, PivotTableInteractivityViewOptions {
13
- /**
14
- * Table border
15
- */
16
- tableBorders?: PivotTableBorders;
17
- /**
18
- * Measure axis labels
19
- * @default "columns"
20
- */
21
- measureLabelsAxis?: PivotTableAxis;
22
- /**
23
- * Style and alignment of the table headers
24
- */
25
- headers?: {
26
- /**
27
- * Alignment of the headers
28
- */
29
- align?: 'left';
30
- /**
31
- * Background color of the header
32
- */
33
- background?: string;
34
- /**
35
- * Text color of the headers
36
- */
37
- color?: string;
38
- };
39
- /**
40
- * Row header of the pivot table
41
- */
42
- rowHeaders?: {
43
- /**
44
- * Alignment of the row header
45
- * @default "left"
46
- */
47
- align?: PivotTableTextAlign;
48
- /**
49
- * Toggle sticky row header
50
- * @default true
51
- */
52
- sticky?: boolean;
53
- };
54
- /**
55
- * Column headers of the pivot table
56
- */
57
- columnHeaders?: {
58
- /**
59
- * Alignment of the column header
60
- * @default "left"
61
- */
62
- align?: PivotTableTextAlign;
63
- };
64
- /**
65
- * Alignment and style of the values
66
- */
67
- valueCells?: {
68
- /**
69
- * Alignment of the value in the cell
70
- * @default "left"
71
- */
72
- align?: PivotTableTextAlign;
73
- /**
74
- * Toggle alternate coloring of the cell
75
- * @default true
76
- */
77
- alternate?: boolean;
78
- };
79
- /**
80
- * Wrap text in the cells
81
- * @default false
82
- */
83
- wrapText?: boolean;
84
- /**
85
- * Columns configuration
86
- * @TJS-type object
87
- * @default [[]]
88
- */
89
- columns?: PivotTableColumnOptions[];
90
- /**
91
- * Sort object, where a key is a string, and a value is a "asc" or "desc".
92
- *
93
- * @TJS-type object
94
- */
95
- rowSortsMap?: PivotTableRowSortsMap;
96
- measureSorts?: Record<PivotTableRowAxis | PivotTableColumnAxis, PivotTableMeasureSort>;
97
- /**
98
- * @TJS-type object
99
- */
100
- colWidths?: Partial<Record<ScreenMode, Record<string, number>>>;
101
- /**
102
- * Toggle expandability of the table
103
- */
104
- isExpandable?: boolean;
105
- expandStyle?: 'indent' | 'columns';
106
- rowsExpandState?: PivotTableItemExpandState;
107
- columnsExpandState?: PivotTableItemExpandState;
108
- }
109
- interface PivotTableInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityFilterOnSelectViewOptions {
110
- /**
111
- * Interactivity options
112
- */
113
- interactivity?: {
114
- /**
115
- * Available export types interactivity option
116
- * @default ["xlsx", "csv", "xlsx-raw", "csv-raw", "png"]
117
- */
118
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
119
- /**
120
- * Custom events interactivity option
121
- * @default null
122
- */
123
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
124
- /**
125
- * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
126
- * @default null
127
- */
128
- customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
129
- /**
130
- * Export types interactivity option
131
- * @default ["xlsx", "csv", "xlsx-raw", "csv-raw", "png"]
132
- */
133
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
134
- /**
135
- * An array of measure dimension picker configurations
136
- * @default [[]]
137
- */
138
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
139
- /**
140
- * Filter on select interactivity option
141
- * @default false
142
- */
143
- select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
144
- /**
145
- * Go to URL interactivity option
146
- * @default { "target": "_blank", "url": null }
147
- */
148
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
149
- };
150
- }
151
- export type PivotTableRowAxis = 'rows';
152
- export type PivotTableColumnAxis = 'columns';
153
- export type PivotTableRowSortsMap = Record<string, SortDirection>;
154
- export interface PivotTableMeasureSort {
155
- axisDataItemKey: string;
156
- axisSlotColumnId: string;
157
- measureSlotColumnId: string;
158
- direction: SortDirection;
159
- }
160
- export interface PivotTableBorders {
161
- /**
162
- * Type of the border
163
- * @default "none"
164
- */
165
- type: 'all' | 'rows' | 'columns' | 'none';
166
- /**
167
- * Width of the border
168
- * @default 1
169
- */
170
- width: number;
171
- /**
172
- * Color of the border
173
- * @default "#a5a5a5"
174
- */
175
- color: string;
176
- }
177
- export interface PivotTableColumnOptions {
178
- colorScheme?: string;
179
- nbColors?: number;
180
- classification?: 'continuous' | 'interval' | 'quantiles' | 'manual' | 'manualPerc';
181
- mode?: 'normal' | 'conditionalText' | 'conditionalBackground' | 'conditionalBadge';
182
- colorEmpty?: boolean;
183
- emptyValueColor?: string;
184
- hideDataValues?: boolean;
185
- id?: string;
186
- conditional?: ManualValuesRange[];
187
- }
188
- /**
189
- * Stores expand state for each slot axis item (column or row)
190
- * axisDataItem key -> isExpanded
191
- */
192
- export interface PivotTableItemExpandState {
193
- [axisDataItemKey: string]: true;
194
- }
195
- export type PivotTableAxis = PivotTableRowAxis | PivotTableColumnAxis;
196
- /**
197
- * Alignment of the text: left, center or right
198
- */
199
- export type PivotTableTextAlign = 'left' | 'center' | 'right';
200
- export type PivotTableLimitViewOptions = LimitViewOptions & {
201
- limit: {
202
- rows?: number;
203
- columns?: number;
204
- };
205
- };
206
- export {};
@@ -1,37 +0,0 @@
1
- import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
2
- /**
3
- * Row slot of the pivot table. This defines the rows of the pivot table. A pivot table can contain any number of rows.
4
- */
5
- interface RowSlot extends DashboardContentVizItemSlot {
6
- name: 'row';
7
- /**
8
- * Row slot definition
9
- */
10
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
11
- }
12
- /**
13
- * Column slot of the pivot table. This defines the columns of the pivot table. A pivot table can contain any number of columns.
14
- */
15
- interface ColumnSlot extends DashboardContentVizItemSlot {
16
- name: 'column';
17
- /**
18
- * Column slot definition
19
- */
20
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
21
- }
22
- /**
23
- * Measure slot of the pivot table. A pivot table can contain any number of measure.
24
- */
25
- interface MeasureSlot extends DashboardContentVizItemSlot {
26
- name: 'measure';
27
- /**
28
- * Measure slot definition
29
- */
30
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
31
- }
32
- /**
33
- * Data definition of the Pivot table
34
- * @maxItems 3
35
- */
36
- export type PivotTableSlots = (RowSlot | ColumnSlot | MeasureSlot)[];
37
- export {};
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { PivotTableViewOptions } from './pivot-table-options';
3
- import { PivotTableSlots } from './pivot-table-slots';
4
- /**
5
- * Pivot table item
6
- */
7
- export interface PivotTable {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'pivot-table'>;
12
- /**
13
- * Options of the Pivot table item
14
- * @$ref ./pivot-table-options.schema.json/
15
- */
16
- options: PivotTableViewOptions;
17
- /**
18
- * Data definition of the Pivot table chart
19
- * @maxItems 3
20
- * @$ref ./pivot-table-slots.schema.json
21
- */
22
- slots: PivotTableSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './regular-table';
2
- export * from './regular-table-slots';
3
- export * from './regular-table-options';