@luzmo/embed 6.1.4 → 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 (199) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/index.cjs +310 -4121
  3. package/index.js +310 -4121
  4. package/luzmo-embed.min.js +310 -4121
  5. package/package.json +3 -3
  6. package/libs/dashboard-contents-types/index.d.ts +0 -2
  7. package/libs/dashboard-contents-types/json-schemas.d.ts +0 -45234
  8. package/libs/dashboard-contents-types/src/index.d.ts +0 -28
  9. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -334
  10. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
  11. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
  12. package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
  13. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
  14. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
  15. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
  16. package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
  17. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
  18. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
  19. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
  20. package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
  21. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
  22. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
  23. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
  24. package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
  25. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
  26. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
  27. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
  28. package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
  29. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
  30. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
  31. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
  32. package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
  33. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
  34. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
  35. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
  36. package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
  37. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
  38. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
  39. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
  40. package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
  41. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
  42. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
  43. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
  44. package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
  45. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
  46. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
  47. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
  48. package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
  49. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -146
  50. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
  51. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
  52. package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
  53. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
  54. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
  55. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
  56. package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
  57. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -83
  58. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
  59. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
  60. package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
  61. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
  62. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
  63. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
  64. package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
  65. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
  66. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
  67. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
  68. package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
  69. package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
  70. package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
  71. package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
  72. package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
  73. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
  74. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
  75. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
  76. package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
  77. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
  78. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
  79. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
  80. package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
  81. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
  82. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
  83. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
  84. package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
  85. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
  86. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
  87. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
  88. package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
  89. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
  90. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
  91. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
  92. package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
  93. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
  94. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
  95. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
  96. package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
  97. package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
  98. package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
  99. package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
  100. package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
  101. package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
  102. package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -30
  103. package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
  104. package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
  105. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
  106. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
  107. package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
  108. package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
  109. package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
  110. package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
  111. package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
  112. package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
  113. package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
  114. package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -174
  115. package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
  116. package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
  117. package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -6
  118. package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
  119. package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
  120. package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
  121. package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -373
  122. package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
  123. package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
  124. package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
  125. package/libs/dashboard-contents-types/src/lib/shared/viz-item.d.ts +0 -60
  126. package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
  127. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
  128. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
  129. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
  130. package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
  131. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
  132. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
  133. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
  134. package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
  135. package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
  136. package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
  137. package/libs/dashboard-contents-types/src/options.d.ts +0 -25
  138. package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
  139. package/libs/embed-libs/embed/src/index.d.ts +0 -5
  140. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
  141. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
  142. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
  143. package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
  144. package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
  145. package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
  146. package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -72
  147. package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -33
  148. package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
  149. package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
  150. package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
  151. package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
  152. package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
  153. package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
  154. package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
  155. package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
  156. package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
  157. package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
  158. package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
  159. package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
  160. package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
  161. package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
  162. package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
  163. package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
  164. package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
  165. package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
  166. package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
  167. package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
  168. package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
  169. package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
  170. package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
  171. package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
  172. package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
  173. package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
  174. package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
  175. package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
  176. package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
  177. package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
  178. package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -44
  179. package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -4
  180. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
  181. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
  182. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
  183. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
  184. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
  185. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
  186. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
  187. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
  188. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
  189. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
  190. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
  191. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
  192. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
  193. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
  194. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
  195. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
  196. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
  197. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
  198. package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
  199. package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { DropdownFilterViewOptions } from './dropdown-filter-options';
3
- import { DropdownFilterSlots } from './dropdown-filter-slots';
4
- /**
5
- * Dropdown filter item
6
- */
7
- export interface DropdownFilter {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'dropdown-filter'>;
12
- /**
13
- * Options of the dropdown filter item
14
- * @$ref ./dropdown-filter-options.schema.json/
15
- */
16
- options: DropdownFilterViewOptions;
17
- /**
18
- * Data definition of the dropdown filter
19
- * @maxItems 1
20
- * @$ref ./dropdown-filter-slots.schema.json
21
- */
22
- slots: DropdownFilterSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './dropdown-filter';
2
- export * from './dropdown-filter-options';
3
- export * from './dropdown-filter-slots';
@@ -1,200 +0,0 @@
1
- import { MissingValueViewOptions } from '../shared/common';
2
- import { DropObjectViewOptions } from '../shared/drop-object-view-options';
3
- import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
4
- import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
5
- import { InteractivityExportViewOptions } from '../shared/interactivity-export';
6
- import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
7
- import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
8
- export interface EvolutionNumberViewOptions extends Omit<DropObjectViewOptions, 'interactivity' | 'title' | 'display'>, InfoTooltipViewOptions, MissingValueViewOptions, EvolutionNumberInteractivityViewOptions {
9
- /**
10
- * It's used in the component but takes no effect if pass it as an option to a component. "showTitle" is used to show the title.
11
- * @TJS-ignore
12
- */
13
- display?: DropObjectViewOptions['display'];
14
- /**
15
- * It's used in the component but takes no effect if pass it as an option to a component. See "showTitle" description for details.
16
- * @TJS-ignore
17
- */
18
- title?: DropObjectViewOptions['title'];
19
- /**
20
- * Evolution color
21
- * @default "normal"
22
- */
23
- evolutionColor?: 'normal' | 'inverse';
24
- /**
25
- * Evolution graph display
26
- * @default "background"
27
- */
28
- evolutionGraphDisplay?: 'background' | 'none' | 'belownumber' | 'fixedbottom';
29
- /**
30
- * Evolution graph interpolation
31
- * @default "linear"
32
- */
33
- evolutionGraphInterpolation?: 'linear';
34
- /**
35
- * Evolution graph opacity
36
- * @default 35
37
- * @examples [30, 50]
38
- */
39
- evolutionGraphOpacity?: number;
40
- /**
41
- * Evolution graph type
42
- * @default "area"
43
- */
44
- evolutionGraphType?: 'area' | 'line';
45
- /**
46
- * Horizontal alignment
47
- * @default "center"
48
- */
49
- horizontalAlignment?: 'left' | 'center' | 'right';
50
- /**
51
- * Image as background
52
- * @default false
53
- */
54
- imageAsBackground?: boolean;
55
- /**
56
- * Image background fill mode
57
- * @examples ["fit", "fill", "stretch"]
58
- */
59
- imageBackgroundFillMode?: 'fit' | 'fill' | 'stretch';
60
- /**
61
- * Image background opacity
62
- * @default 50
63
- * @examples [30, 50]
64
- */
65
- imageBackgroundOpacity?: number;
66
- /**
67
- * Image color
68
- * @default "#5A5A5A"
69
- */
70
- imageColor?: string;
71
- /**
72
- * Image content. It's used when "imageMode" is "emoji" or "icon".
73
- * @default ""
74
- * @examples ["1f601", "1f602", "fa-dollar", "fa-bicycle"]
75
- */
76
- imageContent?: string;
77
- /**
78
- * Image mode
79
- * @default "icon"
80
- */
81
- imageMode?: 'icon' | 'image' | 'emoji';
82
- /**
83
- * Image position
84
- * @default "left"
85
- */
86
- imagePosition?: 'left' | 'right' | 'inlineTitleRight' | 'inlineTitleLeft';
87
- /**
88
- * Image rounded
89
- * @default false
90
- */
91
- imageRounded?: boolean;
92
- /**
93
- * Image size
94
- * @default 40
95
- */
96
- imageSize?: number;
97
- /**
98
- * Link configuration
99
- */
100
- link?: {
101
- /**
102
- * Tooltip in format {locale: "tooltip"}, for example, {en: "tooltip"}
103
- * @examples [{"en": "Tooltip"}]
104
- * @default {}
105
- * @TJS-type object
106
- */
107
- tooltip: Record<string, string>;
108
- };
109
- /**
110
- * Number font size
111
- * @examples [58, 14, 20]
112
- */
113
- numberFontSize?: number;
114
- /**
115
- * Show image
116
- * @default false
117
- */
118
- showImage?: boolean;
119
- /**
120
- * Show subtitle
121
- * @default false
122
- */
123
- showSubtitle?: boolean;
124
- /**
125
- * Show title, a value for the title is taken from a slot content's "label" option
126
- * @default true
127
- */
128
- showTitle?: boolean;
129
- /**
130
- * Tooltip in format {locale: "subtitle"}, for example, {en: "Subtitle"}
131
- * @examples [{"en": "Subtitle"}]
132
- * @default {}
133
- * @TJS-type object
134
- */
135
- subtitle?: Record<string, string>;
136
- /**
137
- * Subtitle font size
138
- * @examples [10, 14, 20]
139
- */
140
- subtitleFontSize?: number;
141
- /**
142
- * Subtitle position
143
- * @default "bottom"
144
- */
145
- subtitlePosition?: 'top' | 'bottom';
146
- /**
147
- * Title font size
148
- * @examples [10, 20, 30]
149
- */
150
- titleFontSize?: number;
151
- /**
152
- * Title position
153
- * @default "top"
154
- */
155
- titlePosition?: 'top' | 'bottom';
156
- /**
157
- * Vertical alignment
158
- * @default "middle"
159
- */
160
- verticalAlignment?: 'middle' | 'top' | 'bottom';
161
- /**
162
- * Uploaded image name (usually uuid), it's used when constructing a URL of an image, for example, "https://.../thumbnail/asset/512px/${uploadedImage}.png". It's used when "imageMode" is "image".
163
- * @default ""
164
- * @examples ["8e15ed25-bd9d-4f84-b839-8b219b97b0a2"]
165
- */
166
- uploadedImage?: string;
167
- }
168
- interface EvolutionNumberInteractivityViewOptions extends InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityGoToUrlViewOptions, InteractivityExportViewOptions {
169
- /**
170
- * Interactivity options
171
- */
172
- interactivity?: {
173
- /**
174
- * An array of measure dimension picker configurations
175
- * @default [[]]
176
- */
177
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
178
- /**
179
- * Custom events interactivity option
180
- * @default null
181
- */
182
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
183
- /**
184
- * Go to URL interactivity option
185
- * @default { "target": "_blank", "url": null }
186
- */
187
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
188
- /**
189
- * Available export types interactivity option
190
- * @default ["xlsx", "csv", "png"]
191
- */
192
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
193
- /**
194
- * Export types interactivity option
195
- * @default ["xlsx", "csv", "png"]
196
- */
197
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
198
- };
199
- }
200
- export {};
@@ -1,29 +0,0 @@
1
- import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
2
- /**
3
- * Measure slot definition of the Evolution number
4
- */
5
- interface MeasureSlot extends DashboardContentVizItemSlot {
6
- name: 'measure';
7
- /**
8
- * Measure slot definition
9
- * @maxItems 1
10
- */
11
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
12
- }
13
- /**
14
- * Evolution slot definition of the Evolution number
15
- */
16
- interface EvolutionSlot extends DashboardContentVizItemSlot {
17
- name: 'evolution';
18
- /**
19
- * Evolution slot definition
20
- * @maxItems 1
21
- */
22
- content: DateTimeSlotContent[];
23
- }
24
- /**
25
- * Data definition of the Evolution number
26
- * @maxItems 2
27
- */
28
- export type EvolutionNumberSlots = (MeasureSlot | EvolutionSlot)[];
29
- export {};
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { EvolutionNumberViewOptions } from './evolution-number-options';
3
- import { EvolutionNumberSlots } from './evolution-number-slots';
4
- /**
5
- * Evolution number item
6
- */
7
- export interface EvolutionNumber {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'evolution-number'>;
12
- /**
13
- * Options of the Evolution number item
14
- * @$ref ./evolution-number-options.schema.json/
15
- */
16
- options: EvolutionNumberViewOptions;
17
- /**
18
- * Data definition of the Evolution number
19
- * @maxItems 2
20
- * @$ref ./evolution-number-slots.schema.json
21
- */
22
- slots: EvolutionNumberSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './evolution-number';
2
- export * from './evolution-number-options';
3
- export * from './evolution-number-slots';
@@ -1,110 +0,0 @@
1
- import { InteractivityFilterOnSelectViewOptions } from '../shared';
2
- import type { LimitViewOptions } 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 { InteractivityDrilldownViewOptions } from '../shared/interactivity-drilldown';
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 { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
12
- import { SortViewOptions } from '../shared/sort';
13
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
14
- export interface FunnelChartViewOptions extends Omit<DropObjectViewOptions, 'display' | 'interactivity'>, InfoTooltipViewOptions, LegendViewOptions, TitleViewOptions, LimitViewOptions, SortViewOptions, FunnelChartDisplayViewOptions, FunnelChartInteractivityViewOptions {
15
- mode?: 'regular' | 'dynamicWidth' | 'dynamicHeight';
16
- /**
17
- * Configure the funnel
18
- */
19
- funnel?: {
20
- /**
21
- * Toggle rectangle
22
- * @default false
23
- */
24
- rectangle?: boolean;
25
- /**
26
- * Toggle absolute value
27
- * @default true
28
- */
29
- absValue?: boolean;
30
- /**
31
- * Toggle percentage
32
- * @default "hide"
33
- */
34
- perc?: 'hide' | 'ofTot' | 'ofMax';
35
- };
36
- }
37
- interface FunnelChartDisplayViewOptions extends DisplayLegendViewOptions, DisplayTitleViewOptions {
38
- /**
39
- * General display options of the Funnel chart
40
- */
41
- display: {
42
- /**
43
- * Show or hide the title
44
- * @default true
45
- */
46
- title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
47
- /**
48
- * Show or hide the legend
49
- * @default true
50
- */
51
- legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
52
- /**
53
- * Show or hide the category labels
54
- * @default true
55
- */
56
- categoryLabels?: boolean;
57
- /**
58
- * Show or hide the values
59
- * @default false
60
- */
61
- values?: boolean;
62
- };
63
- }
64
- interface FunnelChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityDrilldownViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityMeasureDimensionPickerViewOptions, InteractivityGoToUrlViewOptions {
65
- /**
66
- * Interactivity options
67
- */
68
- interactivity?: {
69
- /**
70
- * Available export types interactivity option
71
- * @default ["xlsx", "csv", "png"]
72
- */
73
- availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
74
- /**
75
- * Custom events interactivity option
76
- * @default null
77
- */
78
- customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
79
- /**
80
- * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
81
- * @default null
82
- */
83
- customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
84
- /**
85
- * Drilldown interactivity option
86
- */
87
- drilldown?: NonNullable<NonNullable<InteractivityDrilldownViewOptions['interactivity']>['drilldown']>;
88
- /**
89
- * Export types interactivity option
90
- * @default ["xlsx", "csv", "png"]
91
- */
92
- exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
93
- /**
94
- * An array of measure dimension picker configurations
95
- * @default [[]]
96
- */
97
- measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
98
- /**
99
- * Filter on select interactivity option
100
- * @default true
101
- */
102
- select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
103
- /**
104
- * Go to URL interactivity option
105
- * @default { "target": "_blank", "url": null }
106
- */
107
- urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
108
- };
109
- }
110
- export {};
@@ -1,29 +0,0 @@
1
- import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
2
- /**
3
- * Measure slot definition of the Funnel chart. This slot doesn't accept datetime type columns
4
- */
5
- interface MeasureSlot extends DashboardContentVizItemSlot {
6
- name: 'measure';
7
- /**
8
- * Measure slot definition
9
- * @maxItems 1
10
- */
11
- content: (HierarchySlotContent | NumericSlotContent)[];
12
- }
13
- /**
14
- * Category slot definition of the funnel chart.
15
- */
16
- interface CategorySlot extends DashboardContentVizItemSlot {
17
- name: 'category';
18
- /**
19
- * Category slot definition
20
- * @maxItems 1
21
- */
22
- content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
23
- }
24
- /**
25
- * Data definition of the Funnel chart
26
- * @maxItems 2
27
- */
28
- export type FunnelChartSlots = (MeasureSlot | CategorySlot)[];
29
- export {};
@@ -1,23 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { FunnelChartViewOptions } from './funnel-chart-options';
3
- import { FunnelChartSlots } from './funnel-chart-slots';
4
- /**
5
- * Funnel chart item
6
- */
7
- export interface FunnelChart {
8
- /**
9
- * Type of the item
10
- */
11
- type: Extract<VizItemType, 'funnel-chart'>;
12
- /**
13
- * Options of the funnel chart item
14
- * @$ref ./funnel-chart-options.schema.json/
15
- */
16
- options: FunnelChartViewOptions;
17
- /**
18
- * Data definition of the Funnel chart
19
- * @maxItems 2
20
- * @$ref ./funnel-chart-slots.schema.json
21
- */
22
- slots: FunnelChartSlots;
23
- }
@@ -1,3 +0,0 @@
1
- export * from './funnel-chart-options';
2
- export * from './funnel-chart-slots';
3
- export * from './funnel-chart';
@@ -1,63 +0,0 @@
1
- import { XAxisLabelPosition, YAxisLabelPosition } from '../shared/axes';
2
- import { InteractivityTarget } from '../shared/interactivity-target';
3
- import { ObjectViewOptions } from '../shared/object-view-options';
4
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
5
- export interface ImageViewOptions extends ObjectViewOptions, TitleViewOptions, DisplayTitleViewOptions {
6
- /**
7
- * Image mode: noResize, fit, fitHorizontal, fitVertical, fill, stretch
8
- * @default "fill"
9
- */
10
- mode?: 'noResize' | 'fit' | 'fitHorizontal' | 'fitVertical' | 'fill' | 'stretch';
11
- /**
12
- * An id of the uploaded image
13
- * @format uuid
14
- */
15
- image?: string;
16
- /**
17
- * An id of the Image item on the dashboard
18
- * @format uuid
19
- */
20
- imageLinkedTo?: string;
21
- /**
22
- * Horizontal and vertical alignment of the image
23
- */
24
- alignment?: {
25
- /**
26
- * Horizontal alignment of the image
27
- * @default "center"
28
- */
29
- horizontal?: XAxisLabelPosition;
30
- /**
31
- * Vertical alignment of the image
32
- * @default "middle"
33
- */
34
- vertical?: YAxisLabelPosition;
35
- };
36
- /**
37
- * Creates an image link if set
38
- */
39
- link?: {
40
- /**
41
- * URL linked to the image. The key is the language code and the value is the URL in that language.
42
- * @examples [{"en": "https://www.example-en.com", "de": "https://www.example-de.com"}]
43
- * @TJS-type object
44
- */
45
- url?: Record<string, string>;
46
- /**
47
- * Tooltip of the image. The key is the language code and the value is the tooltip in that language.
48
- * @examples [{"en": "Hello World", "de": "Hallo Welt"}]
49
- * @TJS-type object
50
- */
51
- tooltip?: Record<string, string>;
52
- /**
53
- * Target of the link: _parent, _blank, _self
54
- * @default "_self"
55
- */
56
- target?: InteractivityTarget;
57
- };
58
- /**
59
- * Image URL
60
- * @default "/assets/images/dashboard/imageobject0.jpeg"
61
- */
62
- url?: string;
63
- }
@@ -1,16 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { ImageViewOptions } from './image-options';
3
- /**
4
- * Image item
5
- */
6
- export interface Image {
7
- /**
8
- * Type of the item
9
- */
10
- type: Extract<VizItemType, 'image'>;
11
- /**
12
- * Options of the Image item
13
- * @$ref ./image-options.schema.json/
14
- */
15
- options: ImageViewOptions;
16
- }
@@ -1,2 +0,0 @@
1
- export * from './image';
2
- export * from './image-options';
@@ -1,3 +0,0 @@
1
- export * from './line-chart';
2
- export * from './line-chart-options';
3
- export * from './line-chart-slots';