@luzmo/embed 6.1.3 → 6.1.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (200) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/index.cjs +2269 -4665
  3. package/index.d.ts +1 -1
  4. package/index.js +2269 -4665
  5. package/lib/viz-item/viz-item.base.d.ts +3 -3
  6. package/luzmo-embed.min.js +2269 -4665
  7. package/package.json +3 -3
  8. package/libs/dashboard-contents-types/index.d.ts +0 -2
  9. package/libs/dashboard-contents-types/json-schemas.d.ts +0 -44023
  10. package/libs/dashboard-contents-types/src/index.d.ts +0 -28
  11. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -331
  12. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
  13. package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
  14. package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
  15. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
  16. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
  17. package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
  18. package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
  19. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
  20. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
  21. package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
  22. package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
  23. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
  24. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
  25. package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
  26. package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
  27. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
  28. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
  29. package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
  30. package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
  31. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
  32. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
  33. package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
  34. package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
  35. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
  36. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
  37. package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
  38. package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
  39. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
  40. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
  41. package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
  42. package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
  43. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
  44. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
  45. package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
  46. package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
  47. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
  48. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
  49. package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
  50. package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
  51. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -147
  52. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
  53. package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
  54. package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
  55. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
  56. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
  57. package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
  58. package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
  59. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -84
  60. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
  61. package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
  62. package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
  63. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
  64. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
  65. package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
  66. package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
  67. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
  68. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
  69. package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
  70. package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
  71. package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
  72. package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
  73. package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
  74. package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
  75. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
  76. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
  77. package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
  78. package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
  79. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
  80. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
  81. package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
  82. package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
  83. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
  84. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
  85. package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
  86. package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
  87. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
  88. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
  89. package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
  90. package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
  91. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
  92. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
  93. package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
  94. package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
  95. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
  96. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
  97. package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
  98. package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
  99. package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
  100. package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
  101. package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
  102. package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
  103. package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
  104. package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -29
  105. package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
  106. package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
  107. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
  108. package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
  109. package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
  110. package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
  111. package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
  112. package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
  113. package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
  114. package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
  115. package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
  116. package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -174
  117. package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
  118. package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
  119. package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -5
  120. package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
  121. package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
  122. package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
  123. package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -372
  124. package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
  125. package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
  126. package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
  127. package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
  128. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
  129. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
  130. package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
  131. package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
  132. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
  133. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
  134. package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
  135. package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
  136. package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
  137. package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
  138. package/libs/dashboard-contents-types/src/options.d.ts +0 -25
  139. package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
  140. package/libs/embed-libs/embed/src/index.d.ts +0 -5
  141. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
  142. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
  143. package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
  144. package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
  145. package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
  146. package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
  147. package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -72
  148. package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -33
  149. package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
  150. package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
  151. package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
  152. package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
  153. package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
  154. package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
  155. package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
  156. package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
  157. package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
  158. package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
  159. package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
  160. package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
  161. package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
  162. package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
  163. package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
  164. package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
  165. package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
  166. package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
  167. package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
  168. package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
  169. package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
  170. package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
  171. package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
  172. package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
  173. package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
  174. package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
  175. package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
  176. package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
  177. package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
  178. package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
  179. package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -45
  180. package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -22
  181. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
  182. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
  183. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
  184. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
  185. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
  186. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
  187. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
  188. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
  189. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
  190. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
  191. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
  192. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
  193. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
  194. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
  195. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
  196. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
  197. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
  198. package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
  199. package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
  200. package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
@@ -1,53 +0,0 @@
1
- import { ObjectViewOptions } from '../shared/object-view-options';
2
- import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
3
- export interface TextViewOptions extends Omit<ObjectViewOptions, 'display'>, TitleViewOptions, TextViewDisplayOptions {
4
- /**
5
- * Content of the text item. The key is the language code and the value is the content in that language.
6
- * @examples [{"en": "<h1>Hello World</h1>", "de": "<h1>Hallo Welt</h1>"}]
7
- * @TJS-type object
8
- */
9
- html?: Record<string, string>;
10
- /**
11
- * Padding of the text item
12
- */
13
- padding?: {
14
- /**
15
- * Left padding of the text item in pixels
16
- * @default 24
17
- */
18
- left?: number;
19
- /**
20
- * Right padding of the text item in pixels
21
- * @default 24
22
- */
23
- right?: number;
24
- /**
25
- * Top padding of the text item in pixels
26
- * @default 30
27
- */
28
- top?: number;
29
- /**
30
- * Bottom padding of the text item in pixels
31
- * @default 30
32
- */
33
- bottom?: number;
34
- };
35
- }
36
- interface TextViewDisplayOptions extends DisplayTitleViewOptions {
37
- /**
38
- * Display options of the text item
39
- */
40
- display?: {
41
- /**
42
- * Show or hide the title
43
- * @default true
44
- */
45
- title?: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
46
- /**
47
- * Hides the scrollbar of the text item
48
- * @default false
49
- */
50
- hideScrollbar?: boolean;
51
- };
52
- }
53
- export {};
@@ -1,16 +0,0 @@
1
- import { VizItemType } from '../shared/common';
2
- import { TextViewOptions } from './text-options';
3
- /**
4
- * Text item
5
- */
6
- export interface Text {
7
- /**
8
- * Type of the item
9
- */
10
- type: Extract<VizItemType, 'text'>;
11
- /**
12
- * Options of the Text item
13
- * @$ref ./text-options.schema.json/
14
- */
15
- options: TextViewOptions;
16
- }
@@ -1,25 +0,0 @@
1
- import { AreaChartViewOptions } from './lib/area-chart';
2
- import { BoxPlotViewOptions } from './lib/box-plot';
3
- import { BarChartViewOptions } from './lib/bar-chart';
4
- import { BubbleChartViewOptions } from './lib/bubble-chart';
5
- import { BulletChartViewOptions } from './lib/bullet-chart';
6
- import { ChoroplethMapViewOptions } from './lib/choropleth-map';
7
- import { CircularGaugeViewOptions } from './lib/circular-gauge';
8
- import { ColumnChartViewOptions } from './lib/column-chart';
9
- import { CombinationChartViewOptions } from './lib/combination-chart';
10
- import { ConditionalNumberViewOptions } from './lib/conditional-number';
11
- import { DateFilterViewOptions } from './lib/date-filter';
12
- import { DonutChartViewOptions } from './lib/donut-chart';
13
- import { DropdownFilterViewOptions } from './lib/dropdown-filter';
14
- import { EvolutionNumberViewOptions } from './lib/evolution-number';
15
- import { FunnelChartViewOptions } from './lib/funnel-chart';
16
- import { ImageViewOptions } from './lib/image';
17
- import { LineChartViewOptions } from './lib/line-chart';
18
- import { PivotTableViewOptions } from './lib/pivot-table';
19
- import { RegularTableViewOptions } from './lib/regular-table';
20
- import { SankeyDiagramViewOptions } from './lib/sankey-diagram';
21
- import { ScatterPlotViewOptions } from './lib/scatter-plot';
22
- import { SlicerFilterViewOptions } from './lib/slicer-filter';
23
- import { SliderFilterViewOptions } from './lib/slider-filter';
24
- import { TextViewOptions } from './lib/text';
25
- export type Options = AreaChartViewOptions | BarChartViewOptions | BoxPlotViewOptions | BubbleChartViewOptions | BulletChartViewOptions | ChoroplethMapViewOptions | CircularGaugeViewOptions | ColumnChartViewOptions | CombinationChartViewOptions | ConditionalNumberViewOptions | DateFilterViewOptions | DonutChartViewOptions | DropdownFilterViewOptions | EvolutionNumberViewOptions | FunnelChartViewOptions | ImageViewOptions | LineChartViewOptions | PivotTableViewOptions | RegularTableViewOptions | SankeyDiagramViewOptions | ScatterPlotViewOptions | SlicerFilterViewOptions | SliderFilterViewOptions | TextViewOptions;
@@ -1,24 +0,0 @@
1
- import { AreaChartSlots } from './lib/area-chart';
2
- import { BarChartSlots } from './lib/bar-chart';
3
- import { BoxPlotSlots } from './lib/box-plot';
4
- import { BubbleChartSlots } from './lib/bubble-chart';
5
- import { BulletChartSlots } from './lib/bullet-chart';
6
- import { ChoroplethMapSlots } from './lib/choropleth-map';
7
- import { CircularGaugeSlots } from './lib/circular-gauge';
8
- import { ColumnChartSlots } from './lib/column-chart';
9
- import { CombinationChartSlots } from './lib/combination-chart';
10
- import { ConditionalNumberSlots } from './lib/conditional-number';
11
- import { DateFilterSlots } from './lib/date-filter';
12
- import { DonutChartSlots } from './lib/donut-chart';
13
- import { DropdownFilterSlots } from './lib/dropdown-filter';
14
- import { EvolutionNumberSlots } from './lib/evolution-number';
15
- import { FunnelChartSlots } from './lib/funnel-chart';
16
- import { LineChartSlots } from './lib/line-chart';
17
- import { PivotTableSlots } from './lib/pivot-table';
18
- import { RegularTableSlots } from './lib/regular-table';
19
- import { SankeyDiagramSlots } from './lib/sankey-diagram';
20
- import { ScatterPlotSlots } from './lib/scatter-plot';
21
- import { SlicerFilterSlots } from './lib/slicer-filter';
22
- import { SliderFilterSlots } from './lib/slider-filter';
23
- export type Slots = AreaChartSlots | BarChartSlots | BoxPlotSlots | BubbleChartSlots | BulletChartSlots | ChoroplethMapSlots | CircularGaugeSlots | ColumnChartSlots | CombinationChartSlots | ConditionalNumberSlots | DateFilterSlots | DonutChartSlots | DropdownFilterSlots | EvolutionNumberSlots | FunnelChartSlots | LineChartSlots | PivotTableSlots | RegularTableSlots | SankeyDiagramSlots | ScatterPlotSlots | SlicerFilterSlots | SliderFilterSlots;
24
- export type VizItemSlots = Slots;
@@ -1,5 +0,0 @@
1
- export * from '@luzmo/dashboard-contents-types';
2
- export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemOptions, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent } from '@luzmo/shared-embed';
3
- export { selectedDataUtils } from '@luzmo/shared-embed';
4
- export * from './lib/dashboard-component/dashboard-component';
5
- export * from './lib/viz-item/viz-item-component';
@@ -1,98 +0,0 @@
1
- import * as SharedLib from '@luzmo/shared-embed';
2
- import { LitElement, PropertyValues, TemplateResult } from 'lit';
3
- import { LuzmoElement, CombinedSelectedDataInput } from '@luzmo/shared-embed';
4
- import type { FilterGroup } from '@luzmo/dashboard-contents-types';
5
- /**
6
- * Luzmo Dashboard
7
- * Base component isn't registered in customEvents registry so that it can be reused.
8
- */
9
- export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6LuzmoDashboard {
10
- container: HTMLElement;
11
- luzmoEmbedContainer: HTMLElement;
12
- iframe: HTMLIFrameElement;
13
- dashboardId?: SharedLib.DashboardInputs['dashboardId'];
14
- dashboardSlug?: SharedLib.DashboardInputs['dashboardSlug'];
15
- itemId?: SharedLib.DashboardInputs['itemId'];
16
- language: SharedLib.DashboardInputs['language'];
17
- qeVersion: SharedLib.DashboardInputs['qeVersion'];
18
- screenMode: SharedLib.DashboardInputs['screenMode'];
19
- switchScreenModeOnResize: boolean;
20
- editMode: SharedLib.DashboardInputs['editMode'];
21
- mainColor?: SharedLib.DashboardInputs['mainColor'];
22
- accentColor?: SharedLib.DashboardInputs['accentColor'];
23
- authToken?: SharedLib.DashboardInputs['authToken'];
24
- authKey?: SharedLib.DashboardInputs['authKey'];
25
- loaderBackground?: SharedLib.DashboardInputs['loaderBackground'];
26
- loaderFontColor?: SharedLib.DashboardInputs['loaderFontColor'];
27
- loaderSpinnerColor?: SharedLib.DashboardInputs['loaderSpinnerColor'];
28
- loaderSpinnerBackground?: SharedLib.DashboardInputs['loaderSpinnerBackground'];
29
- appServer?: SharedLib.DashboardInputs['appServer'];
30
- timezoneId?: SharedLib.DashboardInputs['timezoneId'];
31
- apiHost?: SharedLib.DashboardInputs['apiHost'];
32
- itemDimensions: SharedLib.DashboardInputs['itemDimensions'];
33
- experimental: boolean;
34
- _containerId: string;
35
- _iframeId: string;
36
- params: SharedLib.DashboardContentParams;
37
- _iframeUrl?: string;
38
- iframeLoaded: boolean;
39
- promises: SharedLib.DashboardPromises;
40
- iframeStyle: SharedLib.IframeStyles;
41
- _containerStyle: SharedLib.ContainerStyles;
42
- _loaderStyle: SharedLib.LoaderStyles;
43
- _lcStyle: SharedLib.LcStyles;
44
- _loadingCircleStyle: SharedLib.PlStyles;
45
- _containerLoaderStyle: SharedLib.ContainerLoaderStyles;
46
- _loaderMsg: string;
47
- containerWidth?: number;
48
- dimensions?: SharedLib.DashboardDimensions;
49
- currentScreenMode?: SharedLib.ScreenMode;
50
- _itemEmbedding: boolean;
51
- browserError: boolean;
52
- browserErrorMsg: string;
53
- dashboardError: boolean;
54
- browserNotSupported: any[];
55
- libVersion: string;
56
- protected isLibraryLoaded: boolean;
57
- protected dashboardReference: LuzmoElement;
58
- currentAuthKey: string;
59
- currentAuthToken: string;
60
- isInitCalled: boolean;
61
- private attributesMap;
62
- _loadTimeoutHandle?: number;
63
- _onResize: () => void;
64
- loaderSize: number;
65
- borderWidth: number;
66
- minHeight: number;
67
- iframeHeight?: string;
68
- iframeWidth?: string;
69
- _resizeObserver: ResizeObserver;
70
- constructor();
71
- connectedCallback(): void;
72
- disconnectedCallback(): void;
73
- firstUpdated(): void;
74
- initComponent(): void;
75
- setAllAttributes(): void;
76
- updated(changedProperties: PropertyValues): void;
77
- _setOptions(): SharedLib.DashboardContentParams;
78
- _updateIframeUrl(): void;
79
- _setupLoader(): void;
80
- _displayError(): void;
81
- _calculateDimAfterDashboardLoaded(): void;
82
- _loaderStyles(): void;
83
- static get styles(): import("lit").CSSResult[];
84
- render(): TemplateResult;
85
- getDashboards(): Promise<LuzmoDashboard[]>;
86
- getData(itemId: string): Promise<SharedLib.ItemData>;
87
- getFilters(): Promise<FilterGroup[]>;
88
- setSelectedData<K extends CombinedSelectedDataInput>(itemId: string, filters: K): Promise<SharedLib.SetSelectedData>;
89
- setAuthorization(key: string, token: string): Promise<void>;
90
- refreshData(itemId?: string): Promise<void>;
91
- reloadDashboard(): Promise<void>;
92
- exportDashboard(format?: SharedLib.ExportType): Promise<SharedLib.ExportDashboard>;
93
- getAccessibleDashboards(): Promise<SharedLib.AccessibleDashboard[]>;
94
- addFilters(itemId: string, filters: FilterGroup[]): Promise<SharedLib.AddFilters>;
95
- setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
96
- setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
97
- getIsViewMode(): boolean;
98
- }
@@ -1,8 +0,0 @@
1
- import { LuzmoDashboard } from './dashboard-base';
2
- /**!
3
- * @element luzmo-embed-dashboard
4
- * @description Exposed by @luzmo/embed lib to everyone.
5
- *
6
- */
7
- export declare class LuzmoEmbedDashboard extends LuzmoDashboard {
8
- }
@@ -1 +0,0 @@
1
- export declare const dashboardStyles: import("lit").CSSResult;
@@ -1 +0,0 @@
1
- export declare const _setEventHandler: () => void;
@@ -1,6 +0,0 @@
1
- import { LuzmoDashboard } from './dashboard-component/dashboard-base';
2
- declare class LuzmoService {
3
- _components: LuzmoDashboard[];
4
- }
5
- declare const _default: LuzmoService;
6
- export default _default;
@@ -1,4 +0,0 @@
1
- import { LuzmoBaseVizItem } from './viz-item.base';
2
- export type { LuzmoVizItemComponentInterface } from './viz-item.base';
3
- export declare class LuzmoEmbedVizItem extends LuzmoBaseVizItem {
4
- }
@@ -1,72 +0,0 @@
1
- import { LitElement, PropertyValues } from 'lit';
2
- import * as SharedLib from '@luzmo/shared-embed';
3
- import type { VizItemType, VizItemSlots, FilterGroup } from '@luzmo/dashboard-contents-types';
4
- /**
5
- * The version of the dashboard contents that is linked to the current library.
6
- *
7
- * If custom options/slots/etc. are passed to the component, the library assumes that
8
- * they are using this dashboard contents version. Then custom options/slots/etc.
9
- * together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
10
- * and if needed the migration will be applied on the dashboard app level.
11
- */
12
- export declare const dashboardContentsVersion = "0.1.89";
13
- type FunctionCall = [(...args: any) => any, any[]];
14
- interface LuzmoVizItemComponentInterface extends HTMLElement {
15
- options?: SharedLib.VizItemOptions;
16
- type?: VizItemType;
17
- appServer?: string;
18
- apiHost?: string;
19
- slots?: VizItemSlots;
20
- canFilter?: string[] | 'all';
21
- filters?: FilterGroup[];
22
- contextId?: string;
23
- authKey?: string;
24
- authToken?: string;
25
- dashboardId?: string;
26
- itemId?: string;
27
- getFilters: () => FilterGroup[];
28
- export: () => void;
29
- refreshData: () => void;
30
- getData: () => SharedLib.ItemData;
31
- setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
32
- setAuthorization: (key: string, token: string) => void;
33
- }
34
- export type { LuzmoVizItemComponentInterface };
35
- export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
36
- appServer?: string;
37
- apiHost?: string;
38
- slots?: VizItemSlots;
39
- options?: SharedLib.VizItemOptions;
40
- type?: VizItemType;
41
- authKey?: string;
42
- authToken?: string;
43
- version?: string;
44
- contextId?: string;
45
- canFilter?: SharedLib.CanFilter;
46
- filters?: FilterGroup[];
47
- dashboardId?: string;
48
- itemId?: string;
49
- selectedData: SharedLib.SelectedDataInput;
50
- dashboardContentsVersion?: string;
51
- libVersion?: string;
52
- chartElement: HTMLElement & Partial<LuzmoVizItemComponentInterface> & {
53
- setSelectedData?: (itemId?: string, filters?: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
54
- };
55
- postInitCallQueue: FunctionCall[];
56
- static styles: import("lit").CSSResult;
57
- constructor();
58
- protected createRenderRoot(): HTMLElement | DocumentFragment;
59
- canInitializeVizItem(): boolean;
60
- getFilters(): FilterGroup[];
61
- export(): void;
62
- getData(): any;
63
- refreshData(): void;
64
- setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;
65
- setAuthorization(key: string, token: string): void;
66
- attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
67
- protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
68
- private createAndAppendElement;
69
- private updateVizItemProperties;
70
- updated(changedProperties: PropertyValues): Promise<void>;
71
- protected render(): unknown;
72
- }
@@ -1,33 +0,0 @@
1
- export * from './lib/helpers/browser-check';
2
- export * from './lib/helpers/default-parameters';
3
- export * from './lib/helpers/error';
4
- export * from './lib/helpers/extents';
5
- export * from './lib/helpers/translations';
6
- export * from './lib/helpers/utils';
7
- export * from './lib/helpers/iframe-url';
8
- export * from './lib/helpers/get-loader';
9
- export * from './lib/helpers/promise-dispatch';
10
- export * from './lib/helpers/styles';
11
- export * from './lib/helpers/update-iframe-url';
12
- export * from './lib/helpers/set-selected-data-utils';
13
- export * from './lib/methods/export-dashboard';
14
- export * from './lib/methods/get-accessible-dashboards';
15
- export * from './lib/methods/get-data';
16
- export * from './lib/methods/get-filters';
17
- export * from './lib/methods/refresh-data';
18
- export * from './lib/methods/reload-dashboard';
19
- export * from './lib/methods/set-authorization';
20
- export * from './lib/methods/set-edit-mode';
21
- export * from './lib/methods/set-selected-data';
22
- export * from './lib/methods/set-preview';
23
- export * from './lib/service/calculate-dimensions';
24
- export * from './lib/service/extend-and-validate';
25
- export * from './lib/models/common.model';
26
- export * from './lib/models/dashboard.model';
27
- export * from './lib/models/events.model';
28
- export * from './lib/models/styles.model';
29
- export * from './lib/models/filters.model';
30
- export * from './lib/models/viz-item.model';
31
- export * from './lib/models/viz-item-post-message.model';
32
- export * from './lib/models/viz-items';
33
- export * from './lib/constants/class-constants';
@@ -1,2 +0,0 @@
1
- export * from './index.common';
2
- export * from './lib/helpers/remote-federation';
@@ -1 +0,0 @@
1
- export declare const luzmoEmbedContainerClass = "luzmo-embed-container";
@@ -1,2 +0,0 @@
1
- import { CommonLuzmoDashboard } from '../models/dashboard.model';
2
- export declare const _browserCheck: (dashboardComponent: CommonLuzmoDashboard) => void;
@@ -1,2 +0,0 @@
1
- import { DashboardContentParams } from '../models/common.model';
2
- export declare const DEFAULT_PARAMETERS: DashboardContentParams;
@@ -1,5 +0,0 @@
1
- export declare const _handleError: (errorMessage: string, parameters?: {
2
- dashboardId?: string;
3
- dashboardSlug?: string;
4
- container?: string;
5
- }) => void;
@@ -1,7 +0,0 @@
1
- import { ScreenMode } from '../models/common.model';
2
- export interface ScreenModeExtents {
3
- mode: Exclude<ScreenMode, 'auto'>;
4
- height?: number;
5
- width: number[];
6
- }
7
- export declare const EXTENTS: ScreenModeExtents[];
@@ -1,5 +0,0 @@
1
- import { CommonLuzmoDashboard } from '../models/dashboard.model';
2
- export declare const getLoader: (dashboardComponent: CommonLuzmoDashboard) => {
3
- loadingMsg: string;
4
- errorMsg: string;
5
- };
@@ -1 +0,0 @@
1
- export declare const createIframeUrl: (dashboardContent: any) => string;
@@ -1,3 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- export declare function resolvePromise<T extends LuzmoDashboard>(dashboardComponent: T, requestId: string, data: unknown): void;
3
- export declare function rejectPromise<T extends LuzmoDashboard>(dashboardComponent: T, requestId: string, data: unknown): void;
@@ -1,16 +0,0 @@
1
- type RemoteMap = {
2
- [remoteName: string]: {
3
- url?: string;
4
- format?: string;
5
- from?: string;
6
- module?: any;
7
- inited?: boolean;
8
- lib?: any;
9
- };
10
- };
11
- type ComponentNames = 'DashboardApp';
12
- export declare const remotesMap: RemoteMap;
13
- export declare function __federationMethodWrapDefault(module: any, need?: boolean): any;
14
- export declare function __federationMethodGetRemote(remoteName: string, componentName: string): Promise<any>;
15
- export declare function loadLibrary(appServer: string, componentName?: ComponentNames): Promise<any>;
16
- export {};
@@ -1,7 +0,0 @@
1
- import { SelectedDataInput, AvailableSlots } from '../models/filters.model';
2
- export declare const selectedDataUtils: {
3
- merge(...filters: SelectedDataInput[]): SelectedDataInput;
4
- isIn(slot: AvailableSlots, values: string[] | number[], otherOptions?: any): SelectedDataInput;
5
- between(slot: AvailableSlots, values: [string | number, string | number], otherOptions?: any): SelectedDataInput;
6
- range(slot: AvailableSlots, values: [string | number, string | number], otherOptions?: any): SelectedDataInput;
7
- };
@@ -1,8 +0,0 @@
1
- import { ContainerLoaderStyles, ContainerStyles, IframeStyles, LcStyles, LoaderStyles, PlStyles } from '../models/styles.model';
2
- import { CommonLuzmoDashboard } from '../models/dashboard.model';
3
- export declare function containerStyles(dashboardComponent: CommonLuzmoDashboard): ContainerStyles;
4
- export declare function containerLoaderStyles(dashboardComponent: CommonLuzmoDashboard): ContainerLoaderStyles;
5
- export declare function loaderStyles(dashboardComponent: CommonLuzmoDashboard): LoaderStyles;
6
- export declare function plStyles(dashboardComponent: CommonLuzmoDashboard): PlStyles;
7
- export declare function lcStyles(dashboardComponent: CommonLuzmoDashboard): LcStyles;
8
- export declare function calculateIframeStyles(dashboardComponent: CommonLuzmoDashboard): IframeStyles;
@@ -1,18 +0,0 @@
1
- export declare const TRANSLATIONS: {
2
- initializing: {
3
- en: string;
4
- nl: string;
5
- fr: string;
6
- };
7
- errorDashboard: {
8
- en: string;
9
- nl: string;
10
- fr: string;
11
- };
12
- errorItem: {
13
- en: string;
14
- nl: string;
15
- fr: string;
16
- };
17
- };
18
- export default TRANSLATIONS;
@@ -1 +0,0 @@
1
- export declare const updateIframeUrl: (iframe: HTMLIFrameElement, iframeUrl?: string) => void;
@@ -1,27 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- export declare const addTrailingSlash: (serverUrl?: string) => string;
3
- export declare const removeTrailingSlash: (serverUrl?: string) => string;
4
- export declare const formatDashboardList: (dashboards: any[], integrationId: string, user: any, dashboardComponent: LuzmoDashboard) => {
5
- accessibleBy: {
6
- id: string;
7
- name: string;
8
- model: 'User' | 'Group' | 'Integration';
9
- }[];
10
- accessRights: {
11
- flagRead?: boolean;
12
- flagUse?: boolean;
13
- flagModify?: boolean;
14
- flagOwn?: boolean;
15
- };
16
- id: string;
17
- modifiedAt: string;
18
- name: string;
19
- slug: string;
20
- tags: string[];
21
- }[];
22
- export declare const VERSION = "0.0.0-unknown-luzmo";
23
- export declare const sanitizeUrl: (url: string) => string;
24
- export declare const cloneDeep: (obj: unknown) => any;
25
- export declare const defaultsDeep: <T extends object>(target: T, defaults: T) => T;
26
- export declare const s4: () => string;
27
- export declare const uuidv4: () => string;
@@ -1,4 +0,0 @@
1
- import { ExportDashboard } from '../models/common.model';
2
- import { LuzmoDashboard } from '../models/dashboard.model';
3
- export type ExportType = 'png' | 'pdf';
4
- export declare const exportDashboard: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, format?: ExportType) => Promise<ExportDashboard>;
@@ -1,3 +0,0 @@
1
- import { AccessibleDashboard } from '../models/common.model';
2
- import { LuzmoDashboard } from '../models/dashboard.model';
3
- export declare const getAccessibleDashboards: <T extends LuzmoDashboard>(dashboardComponent: T) => Promise<AccessibleDashboard[]>;
@@ -1,3 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- import { ItemData } from '../models/common.model';
3
- export declare const getData: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, itemId: string) => Promise<ItemData>;
@@ -1,3 +0,0 @@
1
- import { FilterGroup } from '@luzmo/dashboard-contents-types';
2
- import { LuzmoDashboard } from '../models/dashboard.model';
3
- export declare const getFilters: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement) => Promise<FilterGroup[]>;
@@ -1,2 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- export declare const refreshData: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, itemId?: string) => Promise<void>;
@@ -1,2 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- export declare const reloadDashboard: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement) => Promise<void>;
@@ -1,2 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- export declare const setAuthorization: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, key: string, token: string) => Promise<void>;
@@ -1,3 +0,0 @@
1
- import { DashboardEditMode, SetEditMode } from '../models/common.model';
2
- import { LuzmoDashboard } from '../models/dashboard.model';
3
- export declare const setEditMode: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, editMode?: DashboardEditMode) => Promise<SetEditMode>;
@@ -1,3 +0,0 @@
1
- import { LuzmoDashboard } from '../models/dashboard.model';
2
- import { SetPreview } from '../models/common.model';
3
- export declare const setPreview: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, preview: boolean) => Promise<SetPreview>;
@@ -1,4 +0,0 @@
1
- import { SetSelectedData } from '../models/common.model';
2
- import { LuzmoDashboard } from '../models/dashboard.model';
3
- import { SelectedDataInput } from '../models/filters.model';
4
- export declare const setSelectedData: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, itemId: string, filters: SelectedDataInput) => Promise<SetSelectedData>;