@luzmo/embed 6.1.2-beta.3 → 6.1.2-beta.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 (209) hide show
  1. package/CHANGELOG.md +31 -0
  2. package/index.cjs +6422 -5114
  3. package/index.d.ts +3 -3
  4. package/index.js +6420 -5112
  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 -3
  7. package/lib/viz-item/viz-item.base.d.ts +3 -4
  8. package/luzmo-embed.min.js +32179 -37612
  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 -3
  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,28 +0,0 @@
1
- export * from './lib/bar-chart';
2
- export * from './lib/column-chart';
3
- export * from './lib/line-chart';
4
- export * from './lib/text';
5
- export * from './lib/dropdown-filter';
6
- export * from './lib/evolution-number';
7
- export * from './lib/date-filter';
8
- export * from './lib/pivot-table';
9
- export * from './lib/image';
10
- export * from './lib/donut-chart';
11
- export * from './lib/regular-table';
12
- export * from './lib/slicer-filter';
13
- export * from './lib/choropleth-map';
14
- export * from './lib/bubble-chart';
15
- export * from './lib/slider-filter';
16
- export * from './lib/combination-chart';
17
- export * from './lib/area-chart';
18
- export * from './lib/box-plot';
19
- export * from './lib/circular-gauge';
20
- export * from './lib/bullet-chart';
21
- export * from './lib/scatter-plot';
22
- export * from './lib/conditional-number';
23
- export * from './lib/sankey-diagram';
24
- export * from './lib/funnel-chart';
25
- export * from './lib/search-filter';
26
- export * from './lib/shared';
27
- export * from './options';
28
- export * from './slots';
@@ -1,331 +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 type { 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 AreaChartViewOptions extends Omit<AxisObjectViewOptions, 'interactivity' | 'display'>, InfoTooltipViewOptions, LegendViewOptions, MissingValueViewOptions, NullBreakViewOptions, TitleViewOptions, LimitViewOptions, AreaChartDisplayViewOptions, AreaChartInteractivityViewOptions {
15
- /**
16
- * Mode of the Area chart: stacked, unstacked, stream or 100% stacked
17
- * @default "stacked"
18
- */
19
- mode?: 'stacked' | 'unstacked' | 'stream' | '100';
20
- /**
21
- * This option fine-tunes the 'mode' option. When it's 'area-stack' the 'mode' will become 'stacked', if it's area-unstacked the 'mode' will become 'unstacked', if it's area-stream the 'mode' will become 'stream' and if it's area-100 the 'mode' will become '100'.
22
- * @TJS-ignore
23
- */
24
- startWithSubType?: AreaChartSubtype;
25
- /**
26
- * This option set the interpolation for the area drawn: "linear" or "step-before" or "step-after" or "monotone"
27
- * @default "linear"
28
- */
29
- interpolation?: Interpolation;
30
- /**
31
- * Axes labels options
32
- */
33
- axislabels?: {
34
- /**
35
- * X-axis label options
36
- */
37
- x?: {
38
- /**
39
- * Show or hide the X-axis labels
40
- * @default false
41
- */
42
- enabled: boolean;
43
- /**
44
- * Position of the X-axis labels
45
- * @default "center"
46
- */
47
- position: XAxisLabelPosition;
48
- };
49
- /**
50
- * Y-axis label options
51
- */
52
- y?: {
53
- /**
54
- * Show or hide the Y-axis labels
55
- * @default false
56
- */
57
- enabled: boolean;
58
- /**
59
- * Position of the Y-axis labels
60
- * @default "middle"
61
- */
62
- position: YAxisLabelPosition;
63
- };
64
- /**
65
- * Another Y-axis label options
66
- */
67
- y2?: {
68
- /**
69
- * Show or hide the Y2-axis labels
70
- * @default false
71
- */
72
- enabled: boolean;
73
- /**
74
- * Position of the Y2-axis labels
75
- * @default "middle"
76
- */
77
- position: YAxisLabelPosition;
78
- };
79
- };
80
- /**
81
- * Axes options
82
- */
83
- axis?: {
84
- /**
85
- * X-axis options
86
- */
87
- x?: {
88
- /**
89
- * X-axis color
90
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
91
- */
92
- color?: string;
93
- /**
94
- * Ticks mode of the X-axis: hide, ticks, or gridlines
95
- * @default "ticks"
96
- */
97
- ticksMode?: AxisTicksMode;
98
- /**
99
- * Ticks style of the X-axis: auto or user defined
100
- */
101
- ticksStyle?: AxisTicksStyle;
102
- };
103
- /**
104
- * Y2-axis options
105
- */
106
- y?: {
107
- /**
108
- * Y-axis color
109
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
110
- */
111
- color?: string;
112
- /**
113
- * Y-axis scale type: linear or logarithmic
114
- * @default "linear"
115
- */
116
- scale?: AxisScaleType;
117
- /**
118
- * Base of the logarithmic scale. Only applies if the scale is logarithmic.
119
- * @examples [2, 10]
120
- */
121
- scaleLogBase?: number;
122
- /**
123
- * Density of the ticks on the Y-axis
124
- */
125
- ticksDensity?: AxisTicksDensity;
126
- /**
127
- * Ticks mode of the Y-axis: hide, ticks, or gridlines
128
- * @default "ticks"
129
- */
130
- ticksMode?: AxisTicksMode;
131
- /**
132
- * Set manual axes range
133
- * @examples [[0, 100]]
134
- */
135
- manualAxesRange?: ManualAxesRange;
136
- /**
137
- * Y-axis type: default, manual or variable
138
- * @default "default"
139
- */
140
- type?: AreaChartMeasureAxisType;
141
- };
142
- /**
143
- * Y2-axis options
144
- */
145
- y2?: {
146
- /**
147
- * Y2-axis color
148
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
149
- */
150
- color?: string;
151
- /**
152
- * Y-axis scale type: linear or logarithmic
153
- */
154
- scale?: AxisScaleType;
155
- /**
156
- * Base of the logarithmic scale. Only applies if the scale is logarithmic.
157
- * @examples [2, 10]
158
- */
159
- scaleLogBase?: number;
160
- /**
161
- * Density of the ticks on the Y2-axis
162
- */
163
- ticksDensity?: AxisTicksDensity;
164
- /**
165
- * Ticks mode of the Y2-axis: hide, ticks, or gridlines
166
- * @default "ticks"
167
- */
168
- ticksMode?: AxisTicksMode;
169
- /**
170
- * Set manual axes range
171
- * @examples [[0, 100]]
172
- */
173
- manualAxesRange?: ManualAxesRange;
174
- /**
175
- * Y-axis type: default, manual or variable
176
- * @default "default"
177
- */
178
- type?: AreaChartMeasureAxisType;
179
- /**
180
- * Toggle whether the Y2-axis is active
181
- * @default false
182
- */
183
- active?: boolean;
184
- /**
185
- * Array of measure indexes to be displayed on the Y2-axis
186
- * @default [1]
187
- * @examples [[1, 2]]
188
- */
189
- measureIndexes?: number[];
190
- };
191
- };
192
- /**
193
- * Chart grid options
194
- */
195
- grid?: {
196
- /**
197
- * X-axis grid options
198
- */
199
- x?: {
200
- /**
201
- * Show or hide the X-axis grid
202
- * @default false
203
- */
204
- enabled: boolean;
205
- /**
206
- * Style of the X-axis grid
207
- */
208
- style?: AxisGridlinesStyle;
209
- /**
210
- * Opacity of the X-axis grid
211
- * @examples [1, 0.5, 0.1]
212
- */
213
- opacity?: number;
214
- };
215
- /**
216
- * Y-axis grid options
217
- */
218
- y?: {
219
- /**
220
- * Show or hide the Y-axis grid
221
- * @default false
222
- */
223
- enabled: boolean;
224
- /**
225
- * Style of the Y-axis grid
226
- */
227
- style?: AxisGridlinesStyle;
228
- /**
229
- * Opacity of the Y-axis grid
230
- * @examples [1, 0.5, 0.1]
231
- */
232
- opacity?: number;
233
- };
234
- /**
235
- * Y-axis grid options
236
- */
237
- y2?: {
238
- /**
239
- * Show or hide the Y2-axis grid
240
- * @default false
241
- */
242
- enabled: boolean;
243
- /**
244
- * Style of the Y2-axis grid
245
- */
246
- style?: AxisGridlinesStyle;
247
- /**
248
- * Opacity of the Y2-axis grid
249
- * @examples [1, 0.5, 0.1]
250
- */
251
- opacity?: number;
252
- };
253
- };
254
- /**
255
- * @TJS-ignore
256
- */
257
- area?: {
258
- index?: number;
259
- };
260
- /**
261
- * Guidelines options
262
- */
263
- guidelines?: Guidelines;
264
- }
265
- interface AreaChartDisplayViewOptions extends DisplayLegendViewOptions, DisplayTitleViewOptions {
266
- /**
267
- * General display options of the Area chart: title, legend and mode option
268
- */
269
- display: {
270
- /**
271
- * Show or hide the title
272
- * @default true
273
- */
274
- title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
275
- /**
276
- * Show or hide the legend
277
- * @default true
278
- */
279
- legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
280
- /**
281
- * Show or hide the mode option
282
- * @default false
283
- */
284
- modeOption?: boolean;
285
- };
286
- }
287
- interface AreaChartInteractivityViewOptions extends InteractivityBrushViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityGoToUrlViewOptions {
288
- /**
289
- * Interactivity options
290
- */
291
- interactivity?: {
292
- /**
293
- * Available export types interactivity option
294
- * @default ["xlsx", "csv", "png"]
295
- */
296
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
297
- /**
298
- * Filter on brush interactivity option
299
- * @default true
300
- */
301
- brush?: NonNullable<NonNullable<InteractivityBrushViewOptions['interactivity']>['brush']>;
302
- /**
303
- * Custom events interactivity option
304
- * @default null
305
- */
306
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
307
- /**
308
- * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
309
- * @default null
310
- */
311
- customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
312
- /**
313
- * Export types interactivity option
314
- * @default ["xlsx", "csv", "png"]
315
- */
316
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
317
- /**
318
- * An array of measure dimension picker configurations
319
- * @default [[]]
320
- */
321
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
322
- /**
323
- * Go to URL interactivity option
324
- * @default { "target": "_blank", "url": null }
325
- */
326
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
327
- };
328
- }
329
- export type AreaChartMeasureAxisType = 'default' | 'manual' | 'variable';
330
- export type AreaChartSubtype = 'area' | 'area-stack' | 'area-100' | 'area-stream';
331
- export {};
@@ -1,39 +0,0 @@
1
- import { DashboardContentVizItemSlot, DateTimeSlotContent, HierarchySlotContent, NumericSlotContent } from '../shared/slots';
2
- /**
3
- * Category slot definition of the area chart. This defines the areas on the Y-axis.
4
- */
5
- interface XAxisSlot extends DashboardContentVizItemSlot {
6
- name: 'x-axis';
7
- /**
8
- * X-axis slot definition
9
- * @maxItems 1
10
- */
11
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
12
- }
13
- /**
14
- * Measure slot definition of the area chart. A area chart can contain any number of measures but if it contains 2 or more measures, the measures become the legend.
15
- */
16
- interface MeasureSlot extends DashboardContentVizItemSlot {
17
- name: 'measure';
18
- /**
19
- * Measure slot definition
20
- */
21
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
22
- }
23
- /**
24
- * Legend slot definition of the area chart. This defines the legend of the area chart. If 2 measures are used, the legend cannot be used.
25
- */
26
- interface LegendSlot extends DashboardContentVizItemSlot {
27
- name: 'legend';
28
- /**
29
- * Legend slot definition
30
- * @maxItems 1
31
- */
32
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
33
- }
34
- /**
35
- * Data definition of the Area chart
36
- * @maxItems 3
37
- */
38
- export type AreaChartSlots = (MeasureSlot | XAxisSlot | LegendSlot)[];
39
- export {};
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { AreaChartViewOptions } from './area-chart-options';
3
- import { AreaChartSlots } from './area-chart-slots';
4
- /**
5
- * Area chart item
6
- */
7
- export interface AreaChart {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'area-chart'>;
12
- /**
13
- * Options of the area chart item
14
- * @$ref ./area-chart-options.schema.json/
15
- */
16
- options: AreaChartViewOptions;
17
- /**
18
- * Data definition of the Area chart
19
- * @maxItems 3
20
- * @$ref ./area-chart-slots.schema.json
21
- */
22
- slots: AreaChartSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './area-chart-options';
2
- export * from './area-chart-slots';
3
- export * from './area-chart';
@@ -1,258 +0,0 @@
1
- import { InteractivityFilterOnSelectViewOptions } from '../shared';
2
- import { AxisGridlinesStyle, AxisScaleType, AxisTicksDensity, ManualAxesRange, XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
3
- import { AxisObjectViewOptions } from '../shared/axis-view-options';
4
- import { AxisTicksMode, Guidelines, LimitViewOptions, RankingViewOptions } 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 { InteractivityDrilldownViewOptions } from '../shared/interactivity-drilldown';
9
- import { InteractivityExportViewOptions } from '../shared/interactivity-export';
10
- import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
11
- import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
12
- import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
13
- import { SortViewOptions } from '../shared/sort';
14
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
15
- export interface BarChartViewOptions extends Omit<AxisObjectViewOptions, 'display' | 'interactivity'>, TitleViewOptions, LegendViewOptions, InfoTooltipViewOptions, RankingViewOptions, LimitViewOptions, SortViewOptions, BarChartDisplayViewOptions, BarChartInteractivityViewOptions {
16
- /**
17
- * Mode of the Bar chart: grouped, stacked or 100% stacked
18
- * @default "grouped"
19
- */
20
- mode?: BarChartMode;
21
- /**
22
- * If it's set fine-tunes the 'mode' option. When it's 'bar-stack' the 'mode' will become 'stacked' otherwise 'grouped'.
23
- * @TJS-ignore
24
- */
25
- startWithSubType?: BarChartSubtype;
26
- /**
27
- * Category options
28
- */
29
- categories?: {
30
- /**
31
- * Bar color by category. Only has effect if there is no legend, but there is a y-axis.
32
- * @default false
33
- */
34
- colored?: boolean;
35
- };
36
- /**
37
- * Chart grid options
38
- */
39
- grid?: {
40
- /**
41
- * X-axis grid options
42
- */
43
- x?: {
44
- /**
45
- * Show or hide the X-axis grid
46
- * @default false
47
- */
48
- enabled: boolean;
49
- /**
50
- * Style of the X-axis grid
51
- */
52
- style?: AxisGridlinesStyle;
53
- /**
54
- * Opacity of the X-axis grid
55
- * @examples [1, 0.5, 0.1]
56
- */
57
- opacity?: number;
58
- };
59
- /**
60
- * Y-axis grid options
61
- */
62
- y?: {
63
- /**
64
- * Show or hide the Y-axis grid
65
- * @default false
66
- */
67
- enabled: boolean;
68
- /**
69
- * Style of the Y-axis grid
70
- */
71
- style?: AxisGridlinesStyle;
72
- /**
73
- * Opacity of the Y-axis grid
74
- * @examples [1, 0.5, 0.1]
75
- */
76
- opacity?: number;
77
- };
78
- };
79
- /**
80
- * Axes labels options
81
- */
82
- axislabels?: {
83
- /**
84
- * X-axis label options
85
- */
86
- x?: {
87
- /**
88
- * Show or hide the X-axis labels
89
- * @default false
90
- */
91
- enabled: boolean;
92
- /**
93
- * Position of the X-axis labels
94
- * @default "center"
95
- */
96
- position: XAxisLabelPosition;
97
- };
98
- /**
99
- * Y-axis label options
100
- */
101
- y?: {
102
- /**
103
- * Show or hide the Y-axis labels
104
- * @default false
105
- */
106
- enabled: boolean;
107
- /**
108
- * Position of the Y-axis labels
109
- * @default "middle"
110
- */
111
- position: YAxisLabelPosition;
112
- };
113
- };
114
- /**
115
- * Axes options
116
- */
117
- axis?: {
118
- /**
119
- * X-axis options
120
- */
121
- x?: {
122
- /**
123
- * X-axis color
124
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
125
- */
126
- color?: string;
127
- /**
128
- * Ticks mode of the X-axis
129
- * @default "ticks"
130
- */
131
- ticksMode?: AxisTicksMode;
132
- /**
133
- * X-axis scale type
134
- * @default "linear"
135
- */
136
- scale?: AxisScaleType;
137
- /**
138
- * Base of the logarithmic scale. Only applies if the scale is logarithmic.
139
- * @examples [2, 10]
140
- */
141
- scaleLogBase?: number;
142
- /**
143
- * Density of the ticks on the X-axis
144
- */
145
- ticksDensity?: AxisTicksDensity;
146
- };
147
- /**
148
- * Y-axis options
149
- */
150
- y?: {
151
- /**
152
- * Y-axis color
153
- * @examples ["#000000", "black", "rgba(0,0,0,1)"]
154
- */
155
- color?: string;
156
- /**
157
- * Ticks mode of the Y-axis
158
- * @default "ticks"
159
- */
160
- ticksMode?: AxisTicksMode;
161
- };
162
- };
163
- /**
164
- * Bars options
165
- */
166
- bars?: {
167
- /**
168
- * Bar label options
169
- * @default "none"
170
- */
171
- label?: BarChartLabel;
172
- /**
173
- * Rounded corners of the bars
174
- * @examples [0, 5, 10]
175
- */
176
- roundedCorners?: number;
177
- };
178
- /**
179
- * Manual axis range options. Minimum and maximum value of the axis range.
180
- */
181
- manualAxesRange?: ManualAxesRange;
182
- /**
183
- * Guidelines options
184
- */
185
- guidelines?: Guidelines;
186
- }
187
- interface BarChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLegendViewOptions {
188
- /**
189
- * General display options of the Bar chart: title, legend and mode option
190
- */
191
- display?: {
192
- /**
193
- * Show or hide the title
194
- * @default true
195
- */
196
- title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
197
- /**
198
- * Show or hide the legend
199
- * @default true
200
- */
201
- legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
202
- /**
203
- * Show or hide the mode option
204
- * @default false
205
- */
206
- modeOption?: boolean;
207
- };
208
- }
209
- interface BarChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
210
- /**
211
- * Interactivity options
212
- */
213
- interactivity?: {
214
- /**
215
- * Available export types interactivity option
216
- * @default ["xlsx", "csv", "png"]
217
- */
218
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
219
- /**
220
- * Custom events interactivity option
221
- * @default null
222
- */
223
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
224
- /**
225
- * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
226
- * @default null
227
- */
228
- customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
229
- /**
230
- * Drilldown interactivity option
231
- */
232
- drilldown?: NonNullable<NonNullable<InteractivityDrilldownViewOptions['interactivity']>['drilldown']>;
233
- /**
234
- * Export types interactivity option
235
- * @default ["xlsx", "csv", "png"]
236
- */
237
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
238
- /**
239
- * An array of measure dimension picker configurations
240
- * @default [[]]
241
- */
242
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
243
- /**
244
- * Filter on select interactivity option
245
- * @default true
246
- */
247
- select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
248
- /**
249
- * Go to URL interactivity option
250
- * @default { "target": "_blank", "url": null }
251
- */
252
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
253
- };
254
- }
255
- export type BarChartMode = 'grouped' | 'stacked' | '100';
256
- export type BarChartLabel = 'none' | 'percentage' | 'percentageMax' | 'percentageCategory' | 'percentageLegend';
257
- export type BarChartSubtype = 'bar' | 'bar-stack' | 'bar-group';
258
- export {};