@luzmo/dashboard-contents-types 1.0.2 → 1.0.4-beta.0
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.
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +20 -10
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +226 -27
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +11 -11
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +3 -3
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +8 -9
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +9 -9
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +1472 -0
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/heat-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +1588 -0
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/image-options.schema.json.d.ts +7 -2
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +1486 -0
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +566 -0
- package/assets/json-schemas/marker-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/options.schema.json.d.ts +49 -25
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +10 -11
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +6 -6
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map-options.schema.json.d.ts +1506 -0
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +627 -0
- package/assets/json-schemas/route-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +1050 -0
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +484 -0
- package/assets/json-schemas/search-filter.schema.json.d.ts +23 -0
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +9 -10
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +5 -5
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +44 -23
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +1686 -0
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +598 -0
- package/assets/json-schemas/spike-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +1567 -0
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +595 -0
- package/assets/json-schemas/symbol-map.schema.json.d.ts +23 -0
- package/assets/json-schemas/text-options.schema.json.d.ts +8 -8
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/video-options.schema.json.d.ts +318 -0
- package/assets/json-schemas/video.schema.json.d.ts +19 -0
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -1
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +3428 -0
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +543 -0
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +23 -0
- package/index.d.ts +1 -1
- package/index.d.ts.map +1 -1
- package/index.js +248 -70
- package/index.mjs +25636 -6337
- package/json-schemas.d.ts +17363 -2624
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +9 -0
- package/src/index.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +3 -0
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +17 -12
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
- package/src/lib/heat-map/heat-map-options.d.ts +103 -0
- package/src/lib/heat-map/heat-map-options.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map-slots.d.ts +29 -0
- package/src/lib/heat-map/heat-map-slots.d.ts.map +1 -0
- package/src/lib/heat-map/heat-map.d.ts +23 -0
- package/src/lib/heat-map/heat-map.d.ts.map +1 -0
- package/src/lib/heat-map/index.d.ts +3 -0
- package/src/lib/heat-map/index.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts +116 -0
- package/src/lib/hexbin-map/hexbin-map-options.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts +29 -0
- package/src/lib/hexbin-map/hexbin-map-slots.d.ts.map +1 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts +23 -0
- package/src/lib/hexbin-map/hexbin-map.d.ts.map +1 -0
- package/src/lib/hexbin-map/index.d.ts +3 -0
- package/src/lib/hexbin-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/index.d.ts +3 -0
- package/src/lib/marker-map/index.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-options.d.ts +61 -0
- package/src/lib/marker-map/marker-map-options.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map-slots.d.ts +29 -0
- package/src/lib/marker-map/marker-map-slots.d.ts.map +1 -0
- package/src/lib/marker-map/marker-map.d.ts +23 -0
- package/src/lib/marker-map/marker-map.d.ts.map +1 -0
- package/src/lib/route-map/index.d.ts +3 -0
- package/src/lib/route-map/index.d.ts.map +1 -0
- package/src/lib/route-map/route-map-options.d.ts +94 -0
- package/src/lib/route-map/route-map-options.d.ts.map +1 -0
- package/src/lib/route-map/route-map-slots.d.ts +51 -0
- package/src/lib/route-map/route-map-slots.d.ts.map +1 -0
- package/src/lib/route-map/route-map.d.ts +23 -0
- package/src/lib/route-map/route-map.d.ts.map +1 -0
- package/src/lib/search-filter/search-filter-options.d.ts +6 -0
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +1 -1
- package/src/lib/shared/index.d.ts +1 -0
- package/src/lib/shared/index.d.ts.map +1 -1
- package/src/lib/shared/iq-components.d.ts +95 -0
- package/src/lib/shared/iq-components.d.ts.map +1 -0
- package/src/lib/shared/map-object-view-options.d.ts +100 -1
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/ranges.d.ts +1 -1
- package/src/lib/shared/slots.d.ts +82 -16
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/shared/theme.d.ts +1 -2
- package/src/lib/shared/theme.d.ts.map +1 -1
- package/src/lib/shared/title.d.ts +1 -1
- package/src/lib/shared/viz-item.d.ts +5 -0
- package/src/lib/shared/viz-item.d.ts.map +1 -1
- package/src/lib/spike-map/index.d.ts +3 -0
- package/src/lib/spike-map/index.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-options.d.ts +126 -0
- package/src/lib/spike-map/spike-map-options.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map-slots.d.ts +40 -0
- package/src/lib/spike-map/spike-map-slots.d.ts.map +1 -0
- package/src/lib/spike-map/spike-map.d.ts +23 -0
- package/src/lib/spike-map/spike-map.d.ts.map +1 -0
- package/src/lib/symbol-map/index.d.ts +3 -0
- package/src/lib/symbol-map/index.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts +93 -0
- package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts +40 -0
- package/src/lib/symbol-map/symbol-map-slots.d.ts.map +1 -0
- package/src/lib/symbol-map/symbol-map.d.ts +23 -0
- package/src/lib/symbol-map/symbol-map.d.ts.map +1 -0
- package/src/lib/video/index.d.ts +2 -0
- package/src/lib/video/index.d.ts.map +1 -0
- package/src/lib/video/video-options.d.ts +86 -0
- package/src/lib/video/video-options.d.ts.map +1 -0
- package/src/lib/video/video.d.ts +16 -0
- package/src/lib/video/video.d.ts.map +1 -0
- package/src/lib/visual-item/index.d.ts +1 -0
- package/src/lib/visual-item/index.d.ts.map +1 -0
- package/src/lib/visual-item/visual-item.d.ts +28 -0
- package/src/lib/visual-item/visual-item.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/index.d.ts +3 -0
- package/src/lib/wordcloud-chart/index.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts +117 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-options.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts +41 -0
- package/src/lib/wordcloud-chart/wordcloud-chart-slots.d.ts.map +1 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts +23 -0
- package/src/lib/wordcloud-chart/wordcloud-chart.d.ts.map +1 -0
- package/src/options.d.ts +10 -1
- package/src/options.d.ts.map +1 -1
- package/src/slots.d.ts +9 -1
- package/src/slots.d.ts.map +1 -1
- package/vite.config.d.ts.map +1 -1
- package/CHANGELOG.md +0 -17
- package/README.md +0 -154
|
@@ -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 @@
|
|
|
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 @@
|
|
|
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 @@
|
|
|
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"}
|
|
@@ -10,6 +10,7 @@ export interface SearchFilterViewOptions extends Omit<DropObjectViewOptions, 'di
|
|
|
10
10
|
theme?: Omit<ItemThemeConfig, 'colors' | 'axis' | 'legend' | 'tooltip'>;
|
|
11
11
|
/**
|
|
12
12
|
* Whether to auto apply filters or add the apply button
|
|
13
|
+
* @default false
|
|
13
14
|
*/
|
|
14
15
|
applyFiltersWithButton?: boolean;
|
|
15
16
|
/**
|
|
@@ -18,10 +19,12 @@ export interface SearchFilterViewOptions extends Omit<DropObjectViewOptions, 'di
|
|
|
18
19
|
padding?: {
|
|
19
20
|
/**
|
|
20
21
|
* Update left padding of the Search filter
|
|
22
|
+
* @default 16
|
|
21
23
|
*/
|
|
22
24
|
left?: number;
|
|
23
25
|
/**
|
|
24
26
|
* Update right padding of the Search filter
|
|
27
|
+
* @default 16
|
|
25
28
|
*/
|
|
26
29
|
right?: number;
|
|
27
30
|
};
|
|
@@ -33,14 +36,17 @@ interface SearchFilterDisplayViewOptions extends DisplayTitleViewOptions {
|
|
|
33
36
|
display: {
|
|
34
37
|
/**
|
|
35
38
|
* Show or hide the title
|
|
39
|
+
* @default false
|
|
36
40
|
*/
|
|
37
41
|
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
38
42
|
/**
|
|
39
43
|
* Show or hide the label of the Search filter
|
|
44
|
+
* @default true
|
|
40
45
|
*/
|
|
41
46
|
label?: boolean;
|
|
42
47
|
/**
|
|
43
48
|
* Show or hide the placeholder
|
|
49
|
+
* @default true
|
|
44
50
|
*/
|
|
45
51
|
placeholder?: boolean;
|
|
46
52
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"search-filter-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8CAA8C,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,MAAM,WAAW,uBAAwB,SACvC,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,eAAe,GAAG,OAAO,CAAC,EAClE,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,8BAA8B,EAC9B,oCAAoC;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAC;IAExE
|
|
1
|
+
{"version":3,"file":"search-filter-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,8CAA8C,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC5F,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,sBAAsB,EAAE,MAAM,uBAAuB,CAAC;AAC/D,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,MAAM,WAAW,uBAAwB,SACvC,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,eAAe,GAAG,OAAO,CAAC,EAClE,sBAAsB,EACtB,gBAAgB,EAChB,sBAAsB,EACtB,8BAA8B,EAC9B,oCAAoC;IAEpC;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,GAAG,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC,CAAC;IAExE;;;OAGG;IACH,sBAAsB,CAAC,EAAE,OAAO,CAAC;IACjC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,IAAI,CAAC,EAAE,MAAM,CAAC;QACd;;;WAGG;QACH,KAAK,CAAC,EAAE,MAAM,CAAC;KAChB,CAAC;CACH;AAED,UAAU,8BAA+B,SACvC,uBAAuB;IACvB;;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,KAAK,CAAC,EAAE,OAAO,CAAC;QAChB;;;WAGG;QACH,WAAW,CAAC,EAAE,OAAO,CAAC;KACvB,CAAC;CACH;AAED,UAAU,oCAAqC,SAAQ,8CAA8C;IACnG;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC,CAAC;KAC9I,CAAC;CACH"}
|
|
@@ -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
|
*/
|
|
@@ -14,6 +14,7 @@ export * from './interactivity-go-to-url';
|
|
|
14
14
|
export * from './interactivity-measure-dimension-picker';
|
|
15
15
|
export * from './interactivity-target';
|
|
16
16
|
export * from './interpolation';
|
|
17
|
+
export * from './iq-components';
|
|
17
18
|
export * from './item-filter-group';
|
|
18
19
|
export * from './legend';
|
|
19
20
|
export * from './map-object-view-options';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0CAA0C,CAAC;AACzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/shared/index.ts"],"names":[],"mappings":"AAAA,cAAc,QAAQ,CAAC;AACvB,cAAc,UAAU,CAAC;AACzB,cAAc,4BAA4B,CAAC;AAC3C,cAAc,WAAW,CAAC;AAC1B,cAAc,WAAW,CAAC;AAC1B,cAAc,wBAAwB,CAAC;AACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,gCAAgC,CAAC;AAC/C,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0CAA0C,CAAC;AACzD,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,UAAU,CAAC;AACzB,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC;AACxB,cAAc,UAAU,CAAC;AACzB,cAAc,SAAS,CAAC;AACxB,cAAc,QAAQ,CAAC;AACvB,cAAc,SAAS,CAAC;AACxB,cAAc,SAAS,CAAC;AACxB,cAAc,YAAY,CAAC"}
|