@luzmo/dashboard-contents-types 1.0.3 → 1.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (193) hide show
  1. package/CHANGELOG.md +6 -0
  2. package/README.md +40 -62
  3. package/assets/json-schemas/area-chart-options.schema.json.d.ts +9 -10
  4. package/assets/json-schemas/area-chart-slots.schema.json.d.ts +14 -14
  5. package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
  6. package/assets/json-schemas/bar-chart-options.schema.json.d.ts +9 -10
  7. package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +14 -14
  8. package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
  9. package/assets/json-schemas/box-plot-options.schema.json.d.ts +10 -11
  10. package/assets/json-schemas/box-plot-slots.schema.json.d.ts +8 -8
  11. package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
  12. package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +20 -10
  13. package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +14 -14
  14. package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
  15. package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +10 -11
  16. package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +14 -14
  17. package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
  18. package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +226 -27
  19. package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +11 -11
  20. package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
  21. package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +10 -11
  22. package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +10 -10
  23. package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
  24. package/assets/json-schemas/column-chart-options.schema.json.d.ts +9 -10
  25. package/assets/json-schemas/column-chart-slots.schema.json.d.ts +14 -14
  26. package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
  27. package/assets/json-schemas/combination-chart-options.schema.json.d.ts +9 -10
  28. package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +10 -10
  29. package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
  30. package/assets/json-schemas/date-filter-options.schema.json.d.ts +9 -10
  31. package/assets/json-schemas/date-filter-slots.schema.json.d.ts +3 -3
  32. package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
  33. package/assets/json-schemas/donut-chart-options.schema.json.d.ts +9 -10
  34. package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +10 -10
  35. package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
  36. package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +9 -10
  37. package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +6 -6
  38. package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
  39. package/assets/json-schemas/evolution-number-options.schema.json.d.ts +8 -9
  40. package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +8 -8
  41. package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
  42. package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +9 -10
  43. package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +9 -9
  44. package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
  45. package/assets/json-schemas/heat-map-options.schema.json.d.ts +1472 -0
  46. package/assets/json-schemas/heat-map-slots.schema.json.d.ts +566 -0
  47. package/assets/json-schemas/heat-map.schema.json.d.ts +23 -0
  48. package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1588 -0
  49. package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +566 -0
  50. package/assets/json-schemas/hexbin-map.schema.json.d.ts +23 -0
  51. package/assets/json-schemas/image-options.schema.json.d.ts +7 -2
  52. package/assets/json-schemas/image.schema.json.d.ts +2 -2
  53. package/assets/json-schemas/line-chart-options.schema.json.d.ts +9 -10
  54. package/assets/json-schemas/line-chart-slots.schema.json.d.ts +14 -14
  55. package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
  56. package/assets/json-schemas/marker-map-options.schema.json.d.ts +1486 -0
  57. package/assets/json-schemas/marker-map-slots.schema.json.d.ts +566 -0
  58. package/assets/json-schemas/marker-map.schema.json.d.ts +23 -0
  59. package/assets/json-schemas/options.schema.json.d.ts +49 -25
  60. package/assets/json-schemas/pivot-table-options.schema.json.d.ts +9 -10
  61. package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +14 -14
  62. package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
  63. package/assets/json-schemas/regular-table-options.schema.json.d.ts +10 -11
  64. package/assets/json-schemas/regular-table-slots.schema.json.d.ts +6 -6
  65. package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
  66. package/assets/json-schemas/route-map-options.schema.json.d.ts +1506 -0
  67. package/assets/json-schemas/route-map-slots.schema.json.d.ts +627 -0
  68. package/assets/json-schemas/route-map.schema.json.d.ts +23 -0
  69. package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +9 -10
  70. package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +18 -18
  71. package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
  72. package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +9 -10
  73. package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +22 -22
  74. package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
  75. package/assets/json-schemas/search-filter-options.schema.json.d.ts +9 -10
  76. package/assets/json-schemas/search-filter-slots.schema.json.d.ts +6 -6
  77. package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
  78. package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +9 -10
  79. package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +10 -10
  80. package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
  81. package/assets/json-schemas/slider-filter-options.schema.json.d.ts +9 -10
  82. package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +5 -5
  83. package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
  84. package/assets/json-schemas/slots.schema.json.d.ts +44 -23
  85. package/assets/json-schemas/spike-map-options.schema.json.d.ts +1686 -0
  86. package/assets/json-schemas/spike-map-slots.schema.json.d.ts +598 -0
  87. package/assets/json-schemas/spike-map.schema.json.d.ts +23 -0
  88. package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1567 -0
  89. package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +595 -0
  90. package/assets/json-schemas/symbol-map.schema.json.d.ts +23 -0
  91. package/assets/json-schemas/text-options.schema.json.d.ts +8 -8
  92. package/assets/json-schemas/text.schema.json.d.ts +2 -2
  93. package/assets/json-schemas/video-options.schema.json.d.ts +318 -0
  94. package/assets/json-schemas/video.schema.json.d.ts +19 -0
  95. package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
  96. package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +3428 -0
  97. package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +543 -0
  98. package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +23 -0
  99. package/index.d.ts +1 -1
  100. package/index.d.ts.map +1 -1
  101. package/index.js +231 -74
  102. package/index.mjs +24040 -6310
  103. package/json-schemas.d.ts +16081 -2533
  104. package/json-schemas.d.ts.map +1 -1
  105. package/package.json +1 -1
  106. package/src/index.d.ts +9 -0
  107. package/src/index.d.ts.map +1 -1
  108. package/src/lib/bubble-chart/bubble-chart-options.d.ts +3 -0
  109. package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
  110. package/src/lib/choropleth-map/choropleth-map-options.d.ts +17 -12
  111. package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
  112. package/src/lib/heat-map/heat-map-options.d.ts +103 -0
  113. package/src/lib/heat-map/heat-map-options.d.ts.map +1 -0
  114. package/src/lib/heat-map/heat-map-slots.d.ts +29 -0
  115. package/src/lib/heat-map/heat-map-slots.d.ts.map +1 -0
  116. package/src/lib/heat-map/heat-map.d.ts +23 -0
  117. package/src/lib/heat-map/heat-map.d.ts.map +1 -0
  118. package/src/lib/heat-map/index.d.ts +3 -0
  119. package/src/lib/heat-map/index.d.ts.map +1 -0
  120. package/src/lib/hexbin-map/hexbin-map-options.d.ts +116 -0
  121. package/src/lib/hexbin-map/hexbin-map-options.d.ts.map +1 -0
  122. package/src/lib/hexbin-map/hexbin-map-slots.d.ts +29 -0
  123. package/src/lib/hexbin-map/hexbin-map-slots.d.ts.map +1 -0
  124. package/src/lib/hexbin-map/hexbin-map.d.ts +23 -0
  125. package/src/lib/hexbin-map/hexbin-map.d.ts.map +1 -0
  126. package/src/lib/hexbin-map/index.d.ts +3 -0
  127. package/src/lib/hexbin-map/index.d.ts.map +1 -0
  128. package/src/lib/marker-map/index.d.ts +3 -0
  129. package/src/lib/marker-map/index.d.ts.map +1 -0
  130. package/src/lib/marker-map/marker-map-options.d.ts +61 -0
  131. package/src/lib/marker-map/marker-map-options.d.ts.map +1 -0
  132. package/src/lib/marker-map/marker-map-slots.d.ts +29 -0
  133. package/src/lib/marker-map/marker-map-slots.d.ts.map +1 -0
  134. package/src/lib/marker-map/marker-map.d.ts +23 -0
  135. package/src/lib/marker-map/marker-map.d.ts.map +1 -0
  136. package/src/lib/route-map/index.d.ts +3 -0
  137. package/src/lib/route-map/index.d.ts.map +1 -0
  138. package/src/lib/route-map/route-map-options.d.ts +94 -0
  139. package/src/lib/route-map/route-map-options.d.ts.map +1 -0
  140. package/src/lib/route-map/route-map-slots.d.ts +51 -0
  141. package/src/lib/route-map/route-map-slots.d.ts.map +1 -0
  142. package/src/lib/route-map/route-map.d.ts +23 -0
  143. package/src/lib/route-map/route-map.d.ts.map +1 -0
  144. package/src/lib/shared/drop-object-view-options.d.ts +1 -1
  145. package/src/lib/shared/map-object-view-options.d.ts +100 -1
  146. package/src/lib/shared/map-object-view-options.d.ts.map +1 -1
  147. package/src/lib/shared/ranges.d.ts +1 -1
  148. package/src/lib/shared/slots.d.ts +82 -16
  149. package/src/lib/shared/slots.d.ts.map +1 -1
  150. package/src/lib/shared/theme.d.ts +1 -2
  151. package/src/lib/shared/theme.d.ts.map +1 -1
  152. package/src/lib/shared/title.d.ts +1 -1
  153. package/src/lib/shared/viz-item.d.ts +5 -0
  154. package/src/lib/shared/viz-item.d.ts.map +1 -1
  155. package/src/lib/spike-map/index.d.ts +3 -0
  156. package/src/lib/spike-map/index.d.ts.map +1 -0
  157. package/src/lib/spike-map/spike-map-options.d.ts +126 -0
  158. package/src/lib/spike-map/spike-map-options.d.ts.map +1 -0
  159. package/src/lib/spike-map/spike-map-slots.d.ts +40 -0
  160. package/src/lib/spike-map/spike-map-slots.d.ts.map +1 -0
  161. package/src/lib/spike-map/spike-map.d.ts +23 -0
  162. package/src/lib/spike-map/spike-map.d.ts.map +1 -0
  163. package/src/lib/symbol-map/index.d.ts +3 -0
  164. package/src/lib/symbol-map/index.d.ts.map +1 -0
  165. package/src/lib/symbol-map/symbol-map-options.d.ts +93 -0
  166. package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -0
  167. package/src/lib/symbol-map/symbol-map-slots.d.ts +40 -0
  168. package/src/lib/symbol-map/symbol-map-slots.d.ts.map +1 -0
  169. package/src/lib/symbol-map/symbol-map.d.ts +23 -0
  170. package/src/lib/symbol-map/symbol-map.d.ts.map +1 -0
  171. package/src/lib/video/index.d.ts +2 -0
  172. package/src/lib/video/index.d.ts.map +1 -0
  173. package/src/lib/video/video-options.d.ts +86 -0
  174. package/src/lib/video/video-options.d.ts.map +1 -0
  175. package/src/lib/video/video.d.ts +16 -0
  176. package/src/lib/video/video.d.ts.map +1 -0
  177. package/src/lib/visual-item/index.d.ts +1 -0
  178. package/src/lib/visual-item/index.d.ts.map +1 -0
  179. package/src/lib/visual-item/visual-item.d.ts +28 -0
  180. package/src/lib/visual-item/visual-item.d.ts.map +1 -0
  181. package/src/lib/wordcloud-chart/index.d.ts +3 -0
  182. package/src/lib/wordcloud-chart/index.d.ts.map +1 -0
  183. package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +117 -0
  184. package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -0
  185. package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts +41 -0
  186. package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts.map +1 -0
  187. package/src/lib/wordcloud-chart/wordcloud-chart.d.ts +23 -0
  188. package/src/lib/wordcloud-chart/wordcloud-chart.d.ts.map +1 -0
  189. package/src/options.d.ts +10 -1
  190. package/src/options.d.ts.map +1 -1
  191. package/src/slots.d.ts +9 -1
  192. package/src/slots.d.ts.map +1 -1
  193. package/vite.config.d.ts.map +1 -1
@@ -0,0 +1,116 @@
1
+ import { DisplayLegendViewOptions, DisplayTitleViewOptions, InfoTooltipViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityMeasureDimensionPickerViewOptions, ItemThemeConfig, LegendViewOptions, LimitViewOptions, ManualValuesRange, MapObjectViewOptions, TitleViewOptions } from '../shared';
2
+ interface HexbinMapInteractivity {
3
+ /**
4
+ * Interactivity options
5
+ */
6
+ interactivity?: {
7
+ /**
8
+ * Available export types interactivity option
9
+ * @default ["xlsx", "csv", "png"]
10
+ */
11
+ availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
12
+ /**
13
+ * Export types interactivity option
14
+ * @default ["xlsx", "csv", "png"]
15
+ */
16
+ exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
17
+ /**
18
+ * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
19
+ * @default null
20
+ */
21
+ customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
22
+ /**
23
+ * An array of measure dimension picker configurations
24
+ * @default [[]]
25
+ */
26
+ measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
27
+ };
28
+ }
29
+ interface HexbinMapDisplayViewOptions {
30
+ /**
31
+ * Display options for the Hexbin map
32
+ */
33
+ display: {
34
+ /**
35
+ * Show or hide the title
36
+ * @default true
37
+ */
38
+ title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
39
+ /**
40
+ * Show or hide the legend
41
+ * @default true
42
+ */
43
+ legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
44
+ };
45
+ }
46
+ export interface HexbinMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit'>, HexbinMapDisplayViewOptions, TitleViewOptions, LegendViewOptions, InfoTooltipViewOptions, HexbinMapInteractivity {
47
+ /**
48
+ * Theme configuration
49
+ */
50
+ theme?: Omit<ItemThemeConfig, 'axis' | 'legend'>;
51
+ /**
52
+ * Options to enable or disable different map features
53
+ * @default { "zoom": true, "pan": true, "pitchBearing": true, "repositionOnRefresh": true }
54
+ */
55
+ enabled?: MapObjectViewOptions['enabled'];
56
+ /**
57
+ * Legend options
58
+ * @default { "size": "M", "position": "bottomLeft", "type": "bar" }
59
+ */
60
+ legend?: LegendViewOptions['legend'];
61
+ /**
62
+ * Value
63
+ * @TJS-ignore
64
+ */
65
+ value?: (d: any) => number;
66
+ /**
67
+ * Radius
68
+ * @default
69
+ */
70
+ radius?: number;
71
+ /**
72
+ * Opacity
73
+ * @default 0.85
74
+ */
75
+ opacity?: number;
76
+ /**
77
+ * Aggregation type
78
+ * @default "sum"
79
+ */
80
+ aggregationType?: 'sum' | 'mean' | 'median' | 'minimum' | 'maximum' | 'count';
81
+ /**
82
+ * Classification method
83
+ * @default "interval"
84
+ */
85
+ classification?: 'interval' | 'quantile' | 'continuous' | 'k-means';
86
+ /**
87
+ * Number of classes for classification
88
+ * @default 5
89
+ * @examples [3, 4, 5, 6, 7, 8, 9]
90
+ */
91
+ numberClasses?: number;
92
+ /**
93
+ * A color class, use "manual" to specify custom colors in the manualValues option
94
+ * @default "PuBu"
95
+ * @examples ["manual", "Spectral", "RdYlBu", "PdBu", "PiYG", "PRGn", "RdYlGn", "BrBG", "RdGy", "PuOr", "Paired", "Set1", "Set3", "OrRd", "PuBu", "BuPu", "Oranges", "BuGn", "YlOrBr", "YlGn", "Reds", "RdPu", "Greens", "YlGnBu", "Purples", "GnBu", "Greys", "YlOrRd", "PuRd", "Blues", "PuBuGn", "Spectrum", "BlueRed", "Plasma", "Viris", "Incan", "Fire", "Inferno", "Ocean", "Sunrise"]
96
+ */
97
+ colorsClass?: string;
98
+ /**
99
+ * Manually specified classification and colors
100
+ * @default { "manualValues": [] }
101
+ */
102
+ manualValues?: {
103
+ ranges?: ManualValuesRange[];
104
+ };
105
+ /**
106
+ * Show number of observations
107
+ */
108
+ limit?: {
109
+ /**
110
+ * Number of observations value
111
+ * @default 1000
112
+ */
113
+ number?: NonNullable<LimitViewOptions['limit']>['number'];
114
+ };
115
+ }
116
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hexbin-map-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/hexbin-map/hexbin-map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,wBAAwB,EACxB,uBAAuB,EACvB,sBAAsB,EACtB,qCAAqC,EACrC,8BAA8B,EAC9B,8CAA8C,EAC9C,eAAe,EACf,iBAAiB,EACjB,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,UAAU,sBAAsB;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;WAGG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;QACzH;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QACvG;;;WAGG;QACH,aAAa,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,qCAAqC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;QAClH;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC;KAC9I,CAAC;CACH;AAED,UAAU,2BAA2B;IACnC;;OAEG;IACH,OAAO,EAAE;QACP;;;WAGG;QACH,KAAK,EAAE,WAAW,CAAC,WAAW,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC,CAAC;QAC7E;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC;KAClF,CAAC;CACH;AAED,MAAM,WAAW,oBAAqB,SACpC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,EACzD,2BAA2B,EAC3B,gBAAgB,EAChB,iBAAiB,EACjB,sBAAsB,EACtB,sBAAsB;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,QAAQ,CAAC,CAAC;IACjD;;;OAGG;IACH,OAAO,CAAC,EAAE,oBAAoB,CAAC,SAAS,CAAC,CAAC;IAC1C;;;OAGG;IACH,MAAM,CAAC,EAAE,iBAAiB,CAAC,QAAQ,CAAC,CAAC;IACrC;;;OAGG;IACH,KAAK,CAAC,EAAE,CAAC,CAAC,KAAA,KAAK,MAAM,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,eAAe,CAAC,EAAE,KAAK,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,CAAC;IAC9E;;;OAGG;IACH,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,YAAY,GAAG,SAAS,CAAC;IACpE;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,YAAY,CAAC,EAAE;QACb,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC9B,CAAC;IACF;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC3D,CAAC;CACH"}
@@ -0,0 +1,29 @@
1
+ import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent, SpatialSlotContent } from '../shared';
2
+ /**
3
+ * Geo slot definition of the Hexbin Map. This is the required slot. This slot can only accept a Geo content type column.
4
+ */
5
+ interface GeoSlot extends DashboardContentVizItemSlot {
6
+ name: 'geo';
7
+ /**
8
+ * Geo slot definition
9
+ * @maxItems 1
10
+ */
11
+ content: SpatialSlotContent[];
12
+ }
13
+ /**
14
+ * Measure slot definition of the Hexbin Map
15
+ */
16
+ interface MeasureSlot extends DashboardContentVizItemSlot {
17
+ name: 'measure';
18
+ /**
19
+ * Measure slot definition
20
+ * @maxItems 1
21
+ */
22
+ content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
23
+ }
24
+ /**
25
+ * Data definition of the Heat Map
26
+ * @maxItems 2
27
+ */
28
+ export type HexbinMapSlots = (GeoSlot | MeasureSlot)[];
29
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hexbin-map-slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/hexbin-map/hexbin-map-slots.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAEnB;;GAEG;AACH,UAAU,OAAQ,SAAQ,2BAA2B;IACnD,IAAI,EAAE,KAAK,CAAC;IACZ;;;OAGG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;GAEG;AACH,UAAU,WAAY,SAAQ,2BAA2B;IACvD,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,OAAO,EAAE,CAAC,oBAAoB,GAAG,kBAAkB,GAAG,mBAAmB,CAAC,EAAE,CAAC;CAC9E;AAED;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,GAAG,WAAW,CAAC,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VizItemType } from '../shared';
2
+ import { HexbinMapViewOptions } from './hexbin-map-options';
3
+ import { HexbinMapSlots } from './hexbin-map-slots';
4
+ /**
5
+ * Hexbin Map item
6
+ */
7
+ export interface HexbinMap {
8
+ /**
9
+ * Type of the item
10
+ */
11
+ type: Extract<VizItemType, 'hexbin-map'>;
12
+ /**
13
+ * Options of the Hexbin Map item
14
+ * @$ref ./hexbin-map-options.schema.json/
15
+ */
16
+ options: HexbinMapViewOptions;
17
+ /**
18
+ * Data definition of the Hexbin Map
19
+ * @maxItems 2
20
+ * @$ref ./hexbin-map-slots.schema.json
21
+ */
22
+ slots: HexbinMapSlots;
23
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"hexbin-map.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/hexbin-map/hexbin-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IACzC;;;OAGG;IACH,OAAO,EAAE,oBAAoB,CAAC;IAC9B;;;;OAIG;IACH,KAAK,EAAE,cAAc,CAAC;CACvB"}
@@ -0,0 +1,3 @@
1
+ export * from './hexbin-map-options';
2
+ export * from './hexbin-map-slots';
3
+ export * from './hexbin-map';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/hexbin-map/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,3 @@
1
+ export * from './marker-map-options';
2
+ export * from './marker-map-slots';
3
+ export * from './marker-map';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/marker-map/index.ts"],"names":[],"mappings":"AAAA,cAAc,sBAAsB,CAAC;AACrC,cAAc,oBAAoB,CAAC;AACnC,cAAc,cAAc,CAAC"}
@@ -0,0 +1,61 @@
1
+ import { DisplayTitleViewOptions, InfoTooltipViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityMeasureDimensionPickerViewOptions, ItemThemeConfig, LimitViewOptions, MapObjectViewOptions, TitleViewOptions } from '../shared';
2
+ interface MarkerMapInteractivity {
3
+ /**
4
+ * Interactivity options
5
+ */
6
+ interactivity?: {
7
+ /**
8
+ * Export types interactivity option
9
+ * @default ["xlsx", "csv", "png"]
10
+ */
11
+ exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
12
+ /**
13
+ * Available export types interactivity option
14
+ * @default ["xlsx", "csv", "png"]
15
+ */
16
+ availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
17
+ /**
18
+ * Custom events interactivity option
19
+ * @default null
20
+ */
21
+ customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
22
+ /**
23
+ * Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
24
+ * @default null
25
+ */
26
+ customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
27
+ /**
28
+ * An array of measure dimension picker configurations
29
+ * @default [[]]
30
+ */
31
+ measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
32
+ };
33
+ }
34
+ export interface MarkerMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit'>, TitleViewOptions, InfoTooltipViewOptions, MarkerMapInteractivity {
35
+ /**
36
+ * Theme configuration
37
+ */
38
+ theme?: Omit<ItemThemeConfig, 'axis' | 'colors' | 'legend'>;
39
+ /**
40
+ * Title display option
41
+ * @default { "title": true }
42
+ */
43
+ display?: DisplayTitleViewOptions['display'];
44
+ /**
45
+ * Cluster surface
46
+ * @examples [30, 60, 90]
47
+ * @default 30
48
+ */
49
+ maxClusterRadius?: number;
50
+ /**
51
+ * Show number of observations
52
+ */
53
+ limit?: {
54
+ /**
55
+ * Number of observations value
56
+ * @default 1000
57
+ */
58
+ number?: NonNullable<LimitViewOptions['limit']>['number'];
59
+ };
60
+ }
61
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker-map-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/marker-map/marker-map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,oCAAoC,EACpC,qCAAqC,EACrC,8BAA8B,EAC9B,8CAA8C,EAC9C,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,UAAU,sBAAsB;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QACvG;;;WAGG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;QACzH;;;WAGG;QACH,YAAY,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,oCAAoC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC,CAAC;QAC/G;;;WAGG;QACH,aAAa,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,qCAAqC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC,CAAC;QAClH;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC;KAC9I,CAAC;CACH;AAED,MAAM,WAAW,oBAAqB,SACpC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,EACzD,gBAAgB,EAChB,sBAAsB,EACtB,sBAAsB;IACtB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAC5D;;;OAGG;IACH,OAAO,CAAC,EAAE,uBAAuB,CAAC,SAAS,CAAC,CAAC;IAC7C;;;;OAIG;IACH,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC3D,CAAC;CACH"}
@@ -0,0 +1,29 @@
1
+ import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent, SpatialSlotContent } from '../shared';
2
+ /**
3
+ * Geo slot definition of the Marker Map. This is the required slot. This slot can only accept a Geo content type column.
4
+ */
5
+ interface GeoSlot extends DashboardContentVizItemSlot {
6
+ name: 'geo';
7
+ /**
8
+ * Geo slot definition
9
+ * @maxItems 1
10
+ */
11
+ content: SpatialSlotContent[];
12
+ }
13
+ /**
14
+ * Measure slot definition of the Marker Map
15
+ */
16
+ interface MeasureSlot extends DashboardContentVizItemSlot {
17
+ name: 'measure';
18
+ /**
19
+ * Measure slot definition
20
+ * @maxItems 1
21
+ */
22
+ content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
23
+ }
24
+ /**
25
+ * Data definition of the Marker Map
26
+ * @maxItems 3
27
+ */
28
+ export type MarkerMapSlots = (GeoSlot | MeasureSlot)[];
29
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker-map-slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/marker-map/marker-map-slots.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAEnB;;GAEG;AACH,UAAU,OAAQ,SAAQ,2BAA2B;IACnD,IAAI,EAAE,KAAK,CAAC;IACZ;;;OAGG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;GAEG;AACH,UAAU,WAAY,SAAQ,2BAA2B;IACvD,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,OAAO,EAAE,CAAC,oBAAoB,GAAG,kBAAkB,GAAG,mBAAmB,CAAC,EAAE,CAAC;CAC9E;AAED;;;GAGG;AACH,MAAM,MAAM,cAAc,GAAG,CAAC,OAAO,GAAG,WAAW,CAAC,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VizItemType } from '../shared';
2
+ import { MarkerMapViewOptions } from './marker-map-options';
3
+ import { MarkerMapSlots } from './marker-map-slots';
4
+ /**
5
+ * Marker Map item
6
+ */
7
+ export interface MarkerMap {
8
+ /**
9
+ * Type of the item
10
+ */
11
+ type: Extract<VizItemType, 'marker-map'>;
12
+ /**
13
+ * Options of the Marker Map item
14
+ * @$ref ./marker-map-options.schema.json/
15
+ */
16
+ options: MarkerMapViewOptions;
17
+ /**
18
+ * Data definition of the Marker Map
19
+ * @maxItems 2
20
+ * @$ref ./marker-map-slots.schema.json
21
+ */
22
+ slots: MarkerMapSlots;
23
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"marker-map.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/marker-map/marker-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,oBAAoB,EAAE,MAAM,sBAAsB,CAAC;AAC5D,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAEpD;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,YAAY,CAAC,CAAC;IACzC;;;OAGG;IACH,OAAO,EAAE,oBAAoB,CAAC;IAC9B;;;;OAIG;IACH,KAAK,EAAE,cAAc,CAAC;CACvB"}
@@ -0,0 +1,3 @@
1
+ export * from './route-map-options';
2
+ export * from './route-map-slots';
3
+ export * from './route-map';
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/route-map/index.ts"],"names":[],"mappings":"AAAA,cAAc,qBAAqB,CAAC;AACpC,cAAc,mBAAmB,CAAC;AAClC,cAAc,aAAa,CAAC"}
@@ -0,0 +1,94 @@
1
+ import { InfoTooltipViewOptions, InteractivityExportViewOptions, InteractivityMeasureDimensionPickerViewOptions, ItemThemeConfig, LimitViewOptions, ManualValuesRange, MapObjectViewOptions, TitleViewOptions } from '../shared';
2
+ interface RouteMapInteractivity {
3
+ /**
4
+ * Interactivity options
5
+ */
6
+ interactivity?: {
7
+ /**
8
+ * Export types interactivity option
9
+ * @default ["xlsx", "csv", "png"]
10
+ */
11
+ exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
12
+ /**
13
+ * Available export types interactivity option
14
+ * @default ["xlsx", "csv", "png"]
15
+ */
16
+ availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
17
+ /**
18
+ * An array of measure dimension picker configurations
19
+ * @default [[]]
20
+ */
21
+ measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
22
+ };
23
+ }
24
+ interface RouteMapDisplayOptions {
25
+ /**
26
+ * Title display option
27
+ */
28
+ display?: {
29
+ /**
30
+ * Show or hide the title
31
+ * @default true
32
+ */
33
+ title?: boolean;
34
+ /**
35
+ * Show or hide the outline
36
+ * @default true
37
+ */
38
+ outline?: boolean;
39
+ };
40
+ }
41
+ export interface RouteMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit'>, RouteMapDisplayOptions, TitleViewOptions, InfoTooltipViewOptions, RouteMapInteractivity {
42
+ /**
43
+ * Theme configuration
44
+ */
45
+ theme?: Omit<ItemThemeConfig, 'axis' | 'colors' | 'legend'>;
46
+ /**
47
+ * Manually specified classification and colors
48
+ * @default { "manualValues": [] }
49
+ */
50
+ manualValues?: {
51
+ /**
52
+ * @default []
53
+ */
54
+ ranges?: ManualValuesRange[];
55
+ };
56
+ /**
57
+ * Classification method
58
+ * @default 'interval'
59
+ */
60
+ classification?: 'interval' | 'manual';
61
+ /**
62
+ * Number of classes for classification
63
+ * @default 5
64
+ * @examples [3, 4, 5, 6, 7, 8, 9]
65
+ */
66
+ numberClasses?: number;
67
+ /**
68
+ * Opacity of the route
69
+ * @default .7
70
+ */
71
+ opacity?: number;
72
+ /**
73
+ * Line weight of the route
74
+ * @default 4
75
+ */
76
+ lineWeight?: number;
77
+ /**
78
+ * A color class, use "manual" to specify custom colors in the manualValues option
79
+ * @default 'PuBu'
80
+ * @examples ["manual", "Spectral", "RdYlBu", "PdBu", "PiYG", "PRGn", "RdYlGn", "BrBG", "RdGy", "PuOr", "Paired", "Set1", "Set3", "OrRd", "PuBu", "BuPu", "Oranges", "BuGn", "YlOrBr", "YlGn", "Reds", "RdPu", "Greens", "YlGnBu", "Purples", "GnBu", "Greys", "YlOrRd", "PuRd", "Blues", "PuBuGn", "Spectrum", "BlueRed", "Plasma", "Viris", "Incan", "Fire", "Inferno", "Ocean", "Sunrise"]
81
+ */
82
+ colorsClass?: string;
83
+ /**
84
+ * Show number of observations
85
+ */
86
+ limit?: {
87
+ /**
88
+ * Number of observations value
89
+ * @default 10000
90
+ */
91
+ number?: NonNullable<LimitViewOptions['limit']>['number'];
92
+ };
93
+ }
94
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-map-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/route-map/route-map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,sBAAsB,EACtB,8BAA8B,EAC9B,8CAA8C,EAC9C,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,UAAU,qBAAqB;IAC7B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC,CAAC;QACvG;;;WAGG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC,CAAC;QACzH;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC;KAC9I,CAAC;CACH;AAED,UAAU,sBAAsB;IAC9B;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;;WAGG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;CACH;AAED,MAAM,WAAW,mBAAoB,SACnC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,EACzD,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,qBAAqB;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAC5D;;;OAGG;IACH,YAAY,CAAC,EAAE;QACb;;WAEG;QACH,MAAM,CAAC,EAAE,iBAAiB,EAAE,CAAC;KAC9B,CAAC;IACF;;;OAGG;IACH,cAAc,CAAC,EAAE,UAAU,GAAG,QAAQ,CAAC;IACvC;;;;OAIG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;OAEG;IACH,KAAK,CAAC,EAAE;QACN;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;KAC3D,CAAC;CACH"}
@@ -0,0 +1,51 @@
1
+ import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent, SpatialSlotContent } from '../shared';
2
+ /**
3
+ * Order slot definition of the Route Map
4
+ */
5
+ interface OrderSlot extends DashboardContentVizItemSlot {
6
+ name: 'order';
7
+ /**
8
+ * Order slot definition. It accepts either a numeric or date-time content.
9
+ * @maxItems 1
10
+ */
11
+ content: (NumericSlotContent | DateTimeSlotContent)[];
12
+ }
13
+ /**
14
+ * Geo slot definition of the Route Map. This is the required slot. This slot can only accept a Geo content type column.
15
+ */
16
+ interface GeoSlot extends DashboardContentVizItemSlot {
17
+ name: 'geo';
18
+ /**
19
+ * Geo slot definition
20
+ * @maxItems 1
21
+ */
22
+ content: SpatialSlotContent[];
23
+ }
24
+ /**
25
+ * Legend slot definition of the Route Map
26
+ */
27
+ interface LegendSlot extends DashboardContentVizItemSlot {
28
+ name: 'legend';
29
+ /**
30
+ * Legend slot definition
31
+ * @maxItems 1
32
+ */
33
+ content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
34
+ }
35
+ /**
36
+ * Route slot definition of the Route Map
37
+ */
38
+ interface RouteSlot extends DashboardContentVizItemSlot {
39
+ name: 'measure';
40
+ /**
41
+ * Route slot definition
42
+ * @maxItems 1
43
+ */
44
+ content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
45
+ }
46
+ /**
47
+ * Data definition of the Route Map
48
+ * @maxItems 4
49
+ */
50
+ export type RouteMapSlots = (OrderSlot | GeoSlot | LegendSlot | RouteSlot)[];
51
+ export {};
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-map-slots.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/route-map/route-map-slots.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,2BAA2B,EAC3B,oBAAoB,EACpB,kBAAkB,EAClB,mBAAmB,EACnB,kBAAkB,EACnB,MAAM,WAAW,CAAC;AAEnB;;GAEG;AACH,UAAU,SAAU,SAAQ,2BAA2B;IACrD,IAAI,EAAE,OAAO,CAAC;IACd;;;OAGG;IACH,OAAO,EAAE,CAAC,kBAAkB,GAAG,mBAAmB,CAAC,EAAE,CAAC;CACvD;AAED;;GAEG;AACH,UAAU,OAAQ,SAAQ,2BAA2B;IACnD,IAAI,EAAE,KAAK,CAAC;IACZ;;;OAGG;IACH,OAAO,EAAE,kBAAkB,EAAE,CAAC;CAC/B;AAED;;GAEG;AACH,UAAU,UAAW,SAAQ,2BAA2B;IACtD,IAAI,EAAE,QAAQ,CAAC;IACf;;;OAGG;IACH,OAAO,EAAE,CAAC,oBAAoB,GAAG,kBAAkB,GAAG,mBAAmB,CAAC,EAAE,CAAC;CAC9E;AAED;;GAEG;AACH,UAAU,SAAU,SAAQ,2BAA2B;IACrD,IAAI,EAAE,SAAS,CAAC;IAChB;;;OAGG;IACH,OAAO,EAAE,CAAC,oBAAoB,GAAG,kBAAkB,GAAG,mBAAmB,CAAC,EAAE,CAAC;CAC9E;AAED;;;GAGG;AACH,MAAM,MAAM,aAAa,GAAG,CAAC,SAAS,GAAG,OAAO,GAAG,UAAU,GAAG,SAAS,CAAC,EAAE,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { VizItemType } from '../shared';
2
+ import { RouteMapViewOptions } from './route-map-options';
3
+ import { RouteMapSlots } from './route-map-slots';
4
+ /**
5
+ * Route Map item
6
+ */
7
+ export interface RouteMap {
8
+ /**
9
+ * Type of the item
10
+ */
11
+ type: Extract<VizItemType, 'route-map'>;
12
+ /**
13
+ * Options of the Route Map item
14
+ * @$ref ./route-map-options.schema.json/
15
+ */
16
+ options: RouteMapViewOptions;
17
+ /**
18
+ * Data definition of the Route Map
19
+ * @maxItems 2
20
+ * @$ref ./route-map-slots.schema.json
21
+ */
22
+ slots: RouteMapSlots;
23
+ }
@@ -0,0 +1 @@
1
+ {"version":3,"file":"route-map.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/route-map/route-map.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,WAAW,EAAE,MAAM,WAAW,CAAC;AACxC,OAAO,EAAE,mBAAmB,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,EAAE,aAAa,EAAE,MAAM,mBAAmB,CAAC;AAElD;;GAEG;AACH,MAAM,WAAW,QAAQ;IACvB;;OAEG;IACH,IAAI,EAAE,OAAO,CAAC,WAAW,EAAE,WAAW,CAAC,CAAC;IACxC;;;OAGG;IACH,OAAO,EAAE,mBAAmB,CAAC;IAC7B;;;;OAIG;IACH,KAAK,EAAE,aAAa,CAAC;CACtB"}
@@ -1,7 +1,7 @@
1
1
  import { ObjectViewOptions } from './object-view-options';
2
2
  export interface DropObjectViewOptions extends ObjectViewOptions {
3
3
  /**
4
- * The main color for the item, if omitted the default color from the theme will be used.
4
+ * The main color for the item, if omitted the default color from the theme will be used
5
5
  * @examples ["#FF5733", "#33FF57", "#5733FF"]
6
6
  * @default ""
7
7
  */