@luzmo/dashboard-contents-types 1.0.17 → 1.0.18
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/CHANGELOG.md +107 -0
- package/LICENSE +15 -0
- package/README.md +132 -0
- package/assets/json-schemas/area-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/area-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/area-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bar-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/bar-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/bar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/box-plot-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/box-plot-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/box-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/bubble-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/bubble-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/bubble-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/bullet-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/bullet-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/bullet-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/choropleth-map-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/choropleth-map-slots.schema.json.d.ts +15 -15
- package/assets/json-schemas/choropleth-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/circle-pack-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/circle-pack-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/circle-pack-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/circular-gauge-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/circular-gauge-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/circular-gauge.schema.json.d.ts +3 -3
- package/assets/json-schemas/column-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/column-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/column-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/combination-chart-options.schema.json.d.ts +96 -73
- package/assets/json-schemas/combination-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/combination-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/conditional-number-options.schema.json.d.ts +806 -0
- package/assets/json-schemas/conditional-number-slots.schema.json.d.ts +482 -0
- package/assets/json-schemas/conditional-number.schema.json.d.ts +23 -0
- package/assets/json-schemas/date-filter-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/date-filter-slots.schema.json.d.ts +5 -5
- package/assets/json-schemas/date-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/donut-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/donut-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/donut-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/dropdown-filter-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/dropdown-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/dropdown-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/evolution-number-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/evolution-number-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/evolution-number.schema.json.d.ts +3 -3
- package/assets/json-schemas/funnel-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/funnel-chart-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/funnel-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-map-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/heat-map-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/heat-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/heat-table-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/heat-table-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/heat-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/hexbin-map-options.schema.json.d.ts +18 -2
- package/assets/json-schemas/hexbin-map-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/hexbin-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/image-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/image.schema.json.d.ts +2 -2
- package/assets/json-schemas/line-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/line-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/line-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/marker-map-options.schema.json.d.ts +96 -73
- package/assets/json-schemas/marker-map-slots.schema.json.d.ts +12 -12
- package/assets/json-schemas/marker-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/ohlc-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/ohlc-chart-slots.schema.json.d.ts +26 -26
- package/assets/json-schemas/ohlc-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/options.schema.json.d.ts +46 -43
- package/assets/json-schemas/parallel-coordinates-plot-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/parallel-coordinates-plot-slots.schema.json.d.ts +13 -13
- package/assets/json-schemas/parallel-coordinates-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/pivot-table-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/pivot-table-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/pivot-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/pyramid-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/pyramid-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/pyramid-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/radar-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/radar-chart-slots.schema.json.d.ts +18 -18
- package/assets/json-schemas/radar-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/regular-table-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/regular-table-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/regular-table.schema.json.d.ts +3 -3
- package/assets/json-schemas/route-map-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/route-map-slots.schema.json.d.ts +19 -19
- package/assets/json-schemas/route-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/sankey-diagram-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/sankey-diagram-slots.schema.json.d.ts +22 -22
- package/assets/json-schemas/sankey-diagram.schema.json.d.ts +3 -3
- package/assets/json-schemas/scatter-plot-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/scatter-plot-slots.schema.json.d.ts +26 -26
- package/assets/json-schemas/scatter-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/search-filter-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/search-filter-slots.schema.json.d.ts +10 -10
- package/assets/json-schemas/search-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slicer-filter-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/slicer-filter-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/slicer-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slider-filter-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/slider-filter-slots.schema.json.d.ts +8 -8
- package/assets/json-schemas/slider-filter.schema.json.d.ts +3 -3
- package/assets/json-schemas/slots.schema.json.d.ts +43 -40
- package/assets/json-schemas/speedometer-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/speedometer-chart-slots.schema.json.d.ts +22 -18
- package/assets/json-schemas/speedometer-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/spike-map-options.schema.json.d.ts +96 -73
- package/assets/json-schemas/spike-map-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/spike-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/strip-plot-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/strip-plot-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/strip-plot.schema.json.d.ts +3 -3
- package/assets/json-schemas/sunburst-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/sunburst-chart-slots.schema.json.d.ts +14 -14
- package/assets/json-schemas/sunburst-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/symbol-map-options.schema.json.d.ts +96 -73
- package/assets/json-schemas/symbol-map-slots.schema.json.d.ts +15 -15
- package/assets/json-schemas/symbol-map.schema.json.d.ts +3 -3
- package/assets/json-schemas/text-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/text.schema.json.d.ts +2 -2
- package/assets/json-schemas/treemap-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/treemap-chart-slots.schema.json.d.ts +27 -23
- package/assets/json-schemas/treemap-chart.schema.json.d.ts +3 -3
- package/assets/json-schemas/video-options.schema.json.d.ts +1 -1
- package/assets/json-schemas/video.schema.json.d.ts +2 -2
- package/assets/json-schemas/viz-item-type.schema.json.d.ts +1 -2
- package/assets/json-schemas/wordcloud-chart-options.schema.json.d.ts +14 -1
- package/assets/json-schemas/wordcloud-chart-slots.schema.json.d.ts +16 -16
- package/assets/json-schemas/wordcloud-chart.schema.json.d.ts +3 -3
- package/index.js +35 -388
- package/index.mjs +553 -63562
- package/json-schemas.d.ts +1490 -310
- package/json-schemas.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/index.d.ts +0 -1
- package/src/index.d.ts.map +1 -1
- package/src/lib/area-chart/area-chart-options.d.ts +34 -254
- package/src/lib/area-chart/area-chart-options.d.ts.map +1 -1
- package/src/lib/bar-chart/bar-chart-options.d.ts +28 -132
- package/src/lib/bar-chart/bar-chart-options.d.ts.map +1 -1
- package/src/lib/box-plot/box-plot-options.d.ts +28 -138
- package/src/lib/box-plot/box-plot-options.d.ts.map +1 -1
- package/src/lib/bubble-chart/bubble-chart-options.d.ts +2 -2
- package/src/lib/bubble-chart/bubble-chart-options.d.ts.map +1 -1
- package/src/lib/bullet-chart/bullet-chart-options.d.ts +2 -2
- package/src/lib/bullet-chart/bullet-chart-options.d.ts.map +1 -1
- package/src/lib/choropleth-map/choropleth-map-options.d.ts +2 -2
- package/src/lib/choropleth-map/choropleth-map-options.d.ts.map +1 -1
- package/src/lib/circle-pack-chart/circle-pack-chart-options.d.ts +1 -1
- package/src/lib/circle-pack-chart/circle-pack-chart-options.d.ts.map +1 -1
- package/src/lib/circular-gauge/circular-gauge-options.d.ts +2 -2
- package/src/lib/circular-gauge/circular-gauge-options.d.ts.map +1 -1
- package/src/lib/column-chart/column-chart-options.d.ts +28 -129
- package/src/lib/column-chart/column-chart-options.d.ts.map +1 -1
- package/src/lib/combination-chart/combination-chart-options.d.ts +39 -203
- package/src/lib/combination-chart/combination-chart-options.d.ts.map +1 -1
- package/src/lib/conditional-number/conditional-number-options.d.ts +4 -3
- package/src/lib/conditional-number/conditional-number-options.d.ts.map +1 -1
- package/src/lib/donut-chart/donut-chart-options.d.ts +2 -2
- package/src/lib/donut-chart/donut-chart-options.d.ts.map +1 -1
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts +2 -2
- package/src/lib/dropdown-filter/dropdown-filter-options.d.ts.map +1 -1
- package/src/lib/evolution-number/evolution-number-options.d.ts +7 -22
- package/src/lib/evolution-number/evolution-number-options.d.ts.map +1 -1
- package/src/lib/funnel-chart/funnel-chart-options.d.ts +2 -2
- package/src/lib/funnel-chart/funnel-chart-options.d.ts.map +1 -1
- package/src/lib/heat-map/heat-map-options.d.ts +1 -1
- package/src/lib/heat-map/heat-map-options.d.ts.map +1 -1
- package/src/lib/heat-table/heat-table-options.d.ts +21 -57
- package/src/lib/heat-table/heat-table-options.d.ts.map +1 -1
- package/src/lib/hexbin-map/hexbin-map-options.d.ts +9 -7
- package/src/lib/hexbin-map/hexbin-map-options.d.ts.map +1 -1
- package/src/lib/line-chart/line-chart-options.d.ts +34 -253
- package/src/lib/line-chart/line-chart-options.d.ts.map +1 -1
- package/src/lib/marker-map/marker-map-options.d.ts +4 -4
- package/src/lib/marker-map/marker-map-options.d.ts.map +1 -1
- package/src/lib/ohlc-chart/ohlc-chart-options.d.ts +25 -111
- package/src/lib/ohlc-chart/ohlc-chart-options.d.ts.map +1 -1
- package/src/lib/parallel-coordinates-plot/parallel-coordinates-plot-options.d.ts +1 -1
- package/src/lib/parallel-coordinates-plot/parallel-coordinates-plot-options.d.ts.map +1 -1
- package/src/lib/pyramid-chart/pyramid-chart-options.d.ts +28 -70
- package/src/lib/pyramid-chart/pyramid-chart-options.d.ts.map +1 -1
- package/src/lib/radar-chart/radar-chart-options.d.ts +2 -7
- package/src/lib/radar-chart/radar-chart-options.d.ts.map +1 -1
- package/src/lib/route-map/route-map-options.d.ts +4 -4
- package/src/lib/route-map/route-map-options.d.ts.map +1 -1
- package/src/lib/scatter-plot/scatter-plot-options.d.ts +35 -123
- package/src/lib/scatter-plot/scatter-plot-options.d.ts.map +1 -1
- package/src/lib/search-filter/search-filter-options.d.ts +2 -2
- package/src/lib/search-filter/search-filter-options.d.ts.map +1 -1
- package/src/lib/shared/axes.d.ts +220 -0
- package/src/lib/shared/axes.d.ts.map +1 -1
- package/src/lib/shared/common.d.ts +1 -28
- package/src/lib/shared/common.d.ts.map +1 -1
- package/src/lib/shared/drop-object-view-options.d.ts +2 -1
- package/src/lib/shared/drop-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/formula.d.ts +1 -1
- package/src/lib/shared/formula.d.ts.map +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/interactivity-measure-dimension-picker.d.ts +6 -0
- package/src/lib/shared/interactivity-measure-dimension-picker.d.ts.map +1 -1
- package/src/lib/shared/interpolation.d.ts +7 -0
- package/src/lib/shared/interpolation.d.ts.map +1 -1
- package/src/lib/shared/item-filter-group.d.ts +2 -0
- package/src/lib/shared/item-filter-group.d.ts.map +1 -1
- package/src/lib/shared/map-object-view-options.d.ts +2 -1
- package/src/lib/shared/map-object-view-options.d.ts.map +1 -1
- package/src/lib/shared/missing-value.d.ts +29 -0
- package/src/lib/shared/missing-value.d.ts.map +1 -0
- package/src/lib/shared/period-over-period.d.ts +21 -0
- package/src/lib/shared/period-over-period.d.ts.map +1 -1
- package/src/lib/shared/query.d.ts +3 -0
- package/src/lib/shared/query.d.ts.map +1 -1
- package/src/lib/shared/slots.d.ts +6 -11
- package/src/lib/shared/slots.d.ts.map +1 -1
- package/src/lib/speedometer-chart/speedometer-chart-options.d.ts +1 -1
- package/src/lib/speedometer-chart/speedometer-chart-options.d.ts.map +1 -1
- package/src/lib/spike-map/spike-map-options.d.ts +10 -10
- package/src/lib/spike-map/spike-map-options.d.ts.map +1 -1
- package/src/lib/strip-plot/strip-plot-options.d.ts +2 -2
- package/src/lib/strip-plot/strip-plot-options.d.ts.map +1 -1
- package/src/lib/sunburst-chart/sunburst-chart-options.d.ts +2 -2
- package/src/lib/sunburst-chart/sunburst-chart-options.d.ts.map +1 -1
- package/src/lib/symbol-map/symbol-map-options.d.ts +9 -9
- package/src/lib/symbol-map/symbol-map-options.d.ts.map +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.d.ts +1 -1
- package/src/lib/treemap-chart/treemap-chart-options.d.ts.map +1 -1
- package/vite.config.d.ts.map +1 -1
- package/src/lib/line-chart-forecast/index.d.ts +0 -2
- package/src/lib/line-chart-forecast/index.d.ts.map +0 -1
- package/src/lib/line-chart-forecast/line-chart-forecast-slots.config.d.ts +0 -3
- package/src/lib/line-chart-forecast/line-chart-forecast-slots.config.d.ts.map +0 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
import { ItemThemeConfig } from '../shared';
|
|
2
|
-
import { MissingValueViewOptions } from '../shared/common';
|
|
1
|
+
import { Interpolation, ItemThemeConfig } from '../shared';
|
|
3
2
|
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
4
3
|
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
5
4
|
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
6
5
|
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
7
6
|
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
8
7
|
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
9
|
-
|
|
8
|
+
import { MissingValueViewOptions } from '../shared/missing-value';
|
|
9
|
+
export interface EvolutionNumberViewOptions extends Omit<DropObjectViewOptions, 'interactivity' | 'title' | 'display' | 'theme'>, InfoTooltipViewOptions, EvolutionNumberInteractivityViewOptions, MissingValueViewOptions {
|
|
10
10
|
/**
|
|
11
11
|
* Theme configuration
|
|
12
12
|
*/
|
|
@@ -35,7 +35,7 @@ export interface EvolutionNumberViewOptions extends Omit<DropObjectViewOptions,
|
|
|
35
35
|
* Evolution graph interpolation
|
|
36
36
|
* @default "linear"
|
|
37
37
|
*/
|
|
38
|
-
evolutionGraphInterpolation?:
|
|
38
|
+
evolutionGraphInterpolation?: Interpolation;
|
|
39
39
|
/**
|
|
40
40
|
* Evolution graph opacity
|
|
41
41
|
* @default 35
|
|
@@ -169,21 +169,6 @@ export interface EvolutionNumberViewOptions extends Omit<DropObjectViewOptions,
|
|
|
169
169
|
* @examples ["8e15ed25-bd9d-4f84-b839-8b219b97b0a2"]
|
|
170
170
|
*/
|
|
171
171
|
uploadedImage?: string;
|
|
172
|
-
/**
|
|
173
|
-
* Fill missing days. Describes how missing date periods in the data are handled in the chart.
|
|
174
|
-
*/
|
|
175
|
-
missingValue?: {
|
|
176
|
-
/**
|
|
177
|
-
* Type of the missing value. The possible values are "No" (don't fill missing date periods), "Break line when null values" (line is interrupted between two date periods with a missing period in between) or a manual value (line is drawn as a manual value between two date periods with a missing period in between, default: 0).
|
|
178
|
-
* @default "no"
|
|
179
|
-
*/
|
|
180
|
-
type?: NonNullable<MissingValueViewOptions['missingValue']>['type'];
|
|
181
|
-
/**
|
|
182
|
-
* The manual value of the missing value, it's applied when the type is "manual"
|
|
183
|
-
* @default 0
|
|
184
|
-
*/
|
|
185
|
-
value?: NonNullable<MissingValueViewOptions['missingValue']>['value'];
|
|
186
|
-
};
|
|
187
172
|
}
|
|
188
173
|
interface EvolutionNumberInteractivityViewOptions extends InteractivityMeasureDimensionPickerViewOptions, InteractivityCustomEventsViewOptions, InteractivityGoToUrlViewOptions, InteractivityExportViewOptions {
|
|
189
174
|
/**
|
|
@@ -204,18 +189,18 @@ interface EvolutionNumberInteractivityViewOptions extends InteractivityMeasureDi
|
|
|
204
189
|
* Go to URL interactivity option
|
|
205
190
|
* @default { "target": "_blank", "url": null }
|
|
206
191
|
*/
|
|
207
|
-
urlConfig?: NonNullable<
|
|
192
|
+
urlConfig?: NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig'];
|
|
208
193
|
/**
|
|
209
194
|
* Available export types interactivity option
|
|
210
195
|
* @default ["xlsx", "csv", "png"]
|
|
211
196
|
* @TJS-ignore
|
|
212
197
|
*/
|
|
213
|
-
availableExportTypes?: NonNullable<
|
|
198
|
+
availableExportTypes?: NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes'];
|
|
214
199
|
/**
|
|
215
200
|
* Export types interactivity option. The export button appears when hovering the chart. If the empty array is provided, the export button is not shown.
|
|
216
201
|
* @default ["xlsx", "csv", "png"]
|
|
217
202
|
*/
|
|
218
|
-
exportTypes?: NonNullable<
|
|
203
|
+
exportTypes?: NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes'];
|
|
219
204
|
};
|
|
220
205
|
}
|
|
221
206
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"evolution-number-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,
|
|
1
|
+
{"version":3,"file":"evolution-number-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AAC3D,OAAO,EAAE,qBAAqB,EAAE,MAAM,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,EAC9C,oCAAoC,EACpC,+BAA+B,EAC/B,8BAA8B;IAC9B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC;QAChI;;;WAGG;QACH,YAAY,CAAC,EAAE,WAAW,CAAC,oCAAoC,CAAC,eAAe,CAAC,CAAC,CAAC,cAAc,CAAC,CAAC;QAClG;;;WAGG;QACH,SAAS,CAAC,EAAE,WAAW,CAAC,+BAA+B,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;QACvF;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;QAC5G;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;KAC3F,CAAC;CACH"}
|
|
@@ -42,12 +42,12 @@ interface FunnelChartDisplayViewOptions extends DisplayLegendViewOptions, Displa
|
|
|
42
42
|
/**
|
|
43
43
|
* General display options of the Funnel chart
|
|
44
44
|
*/
|
|
45
|
-
display
|
|
45
|
+
display?: {
|
|
46
46
|
/**
|
|
47
47
|
* Show or hide the title
|
|
48
48
|
* @default true
|
|
49
49
|
*/
|
|
50
|
-
title
|
|
50
|
+
title?: NonNullable<DisplayTitleViewOptions['display']>['title'];
|
|
51
51
|
/**
|
|
52
52
|
* Show or hide the legend
|
|
53
53
|
* @default true
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"funnel-chart-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,KAAK,EAAE,gB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wBAAwB,EACxB,uBAAuB;IACvB;;OAEG;IACH,OAAO,EAAE;
|
|
1
|
+
{"version":3,"file":"funnel-chart-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sCAAsC,EAAE,eAAe,EAAE,MAAM,WAAW,CAAC;AACpF,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,kBAAkB,CAAC;AACzD,OAAO,EAAE,qBAAqB,EAAE,MAAM,oCAAoC,CAAC;AAC3E,OAAO,EAAE,sBAAsB,EAAE,MAAM,gCAAgC,CAAC;AACxE,OAAO,EAAE,oCAAoC,EAAE,MAAM,uCAAuC,CAAC;AAC7F,OAAO,EAAE,qCAAqC,EAAE,MAAM,wCAAwC,CAAC;AAC/F,OAAO,EAAE,iCAAiC,EAAE,MAAM,mCAAmC,CAAC;AACtF,OAAO,EAAE,8BAA8B,EAAE,MAAM,gCAAgC,CAAC;AAChF,OAAO,EAAE,+BAA+B,EAAE,MAAM,mCAAmC,CAAC;AACpF,OAAO,EAAE,8CAA8C,EAAE,MAAM,kDAAkD,CAAC;AAClH,OAAO,EAAE,wBAAwB,EAAE,iBAAiB,EAAE,MAAM,kBAAkB,CAAC;AAC/E,OAAO,EAAE,eAAe,EAAE,MAAM,gBAAgB,CAAC;AACjD,OAAO,EAAE,uBAAuB,EAAE,gBAAgB,EAAE,MAAM,iBAAiB,CAAC;AAE5E,MAAM,WAAW,sBAAuB,SACtC,IAAI,CAAC,qBAAqB,EAAE,SAAS,GAAG,eAAe,GAAG,OAAO,CAAC,EAClE,sBAAsB,EACtB,iBAAiB,EACjB,gBAAgB,EAChB,gBAAgB,EAChB,eAAe,EACf,6BAA6B,EAC7B,mCAAmC;IAEnC;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC,CAAC;IAEtC,IAAI,CAAC,EAAE,SAAS,GAAG,cAAc,GA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AAC,CAAC;QACzF;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC1F;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC;QAChI;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,sCAAsC,CAAC,eAAe,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC;QACxF;;;WAGG;QACH,SAAS,CAAC,EAAE,WAAW,CAAC,+BAA+B,CAAC,eAAe,CAAC,CAAC,CAAC,WAAW,CAAC,CAAC;KACxF,CAAC;CACH"}
|
|
@@ -22,7 +22,7 @@ interface HeatMapInteractivity {
|
|
|
22
22
|
measureDimensionPicker?: NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker'];
|
|
23
23
|
};
|
|
24
24
|
}
|
|
25
|
-
export interface HeatMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit'>, InfoTooltipViewOptions, TitleViewOptions, HeatMapInteractivity {
|
|
25
|
+
export interface HeatMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit' | 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, HeatMapInteractivity {
|
|
26
26
|
/**
|
|
27
27
|
* Theme configuration
|
|
28
28
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heat-map-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/heat-map/heat-map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,8BAA8B,EAC9B,8CAA8C,EAC9C,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,UAAU,oBAAoB;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;QAC5G;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC1F;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC;KACjI,CAAC;CACH;AAED,MAAM,WAAW,kBAAmB,SAClC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,CAAC,
|
|
1
|
+
{"version":3,"file":"heat-map-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/heat-map/heat-map-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,uBAAuB,EACvB,sBAAsB,EACtB,8BAA8B,EAC9B,8CAA8C,EAC9C,eAAe,EACf,gBAAgB,EAChB,oBAAoB,EACpB,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,UAAU,oBAAoB;IAC5B;;OAEG;IACH,aAAa,CAAC,EAAE;QACd;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;QAC5G;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC1F;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC;KACjI,CAAC;CACH;AAED,MAAM,WAAW,kBAAmB,SAClC,IAAI,CAAC,oBAAoB,EAAE,SAAS,GAAG,OAAO,GAAG,OAAO,GAAG,eAAe,CAAC,EAC3E,sBAAsB,EACtB,gBAAgB,EAChB,oBAAoB;IACpB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,MAAM,GAAG,QAAQ,GAAG,QAAQ,CAAC,CAAC;IAC5D;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,UAAU,CAAC,EAAE,OAAO,CAAC;QACrB;;;WAGG;QACH,KAAK,CAAC,EAAE,WAAW,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;KAClE,CAAC;IACF;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;OAIG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB;;;;OAIG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;OAIG;IACH,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;OAGG;IACH,IAAI,CAAC,EAAE,QAAQ,GAAG,KAAK,CAAC;IACxB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,EAAE,CAAC;IAClB;;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"}
|
|
@@ -1,64 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
export interface HeatTableViewOptions extends Omit<DropObjectViewOptions, 'theme' | 'display'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, LimitViewOptions, HeatTableInteractivityViewOptions {
|
|
1
|
+
import { AxesAxisXValue, AxesAxisYValue, AxesViewOptions, DisplayTitleViewOptions, DropObjectViewOptions, InfoTooltipViewOptions, InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityFilterOnSelectViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions, ItemThemeConfig, LimitViewOptions, ManualValuesRange, OrderDirection, TitleViewOptions } from '../shared';
|
|
2
|
+
export interface HeatTableViewOptions extends Omit<DropObjectViewOptions, 'theme' | 'display' | 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, DisplayTitleViewOptions, LimitViewOptions, HeatTableInteractivityViewOptions, HeatTableAxesViewOptions {
|
|
3
3
|
/**
|
|
4
4
|
* Theme configuration
|
|
5
5
|
*/
|
|
6
6
|
theme?: Omit<ItemThemeConfig, 'legend'>;
|
|
7
|
-
/**
|
|
8
|
-
* Axis labels configuration
|
|
9
|
-
*/
|
|
10
|
-
axislabels?: {
|
|
11
|
-
x?: {
|
|
12
|
-
/**
|
|
13
|
-
* Display the x-axis labels
|
|
14
|
-
* @default false
|
|
15
|
-
*/
|
|
16
|
-
enabled: boolean;
|
|
17
|
-
/**
|
|
18
|
-
* Position of the x-axis labels
|
|
19
|
-
* @default "center"
|
|
20
|
-
*/
|
|
21
|
-
position: XAxisLabelPosition;
|
|
22
|
-
};
|
|
23
|
-
y?: {
|
|
24
|
-
/**
|
|
25
|
-
* Display the y-axis labels
|
|
26
|
-
* @default false
|
|
27
|
-
*/
|
|
28
|
-
enabled: boolean;
|
|
29
|
-
/**
|
|
30
|
-
* Position of the y-axis labels
|
|
31
|
-
* @default "middle"
|
|
32
|
-
*/
|
|
33
|
-
position: YAxisLabelPosition;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
36
|
-
axis?: {
|
|
37
|
-
x?: {
|
|
38
|
-
/**
|
|
39
|
-
* Color of the x-axis
|
|
40
|
-
* @examples ["#00ff00", "red"]
|
|
41
|
-
*/
|
|
42
|
-
color?: string;
|
|
43
|
-
/**
|
|
44
|
-
* Ticks mode for the x-axis
|
|
45
|
-
* @default "ticks"
|
|
46
|
-
*/
|
|
47
|
-
ticksMode?: AxisTicksMode;
|
|
48
|
-
};
|
|
49
|
-
y?: {
|
|
50
|
-
/**
|
|
51
|
-
* Color of the y-axis
|
|
52
|
-
* @examples ["#00ff00", "red"]
|
|
53
|
-
*/
|
|
54
|
-
color?: string;
|
|
55
|
-
/**
|
|
56
|
-
* Ticks mode for the y-axis
|
|
57
|
-
* @default "ticks"
|
|
58
|
-
*/
|
|
59
|
-
ticksMode?: AxisTicksMode;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
7
|
/**
|
|
63
8
|
* Classification of the heat table
|
|
64
9
|
* @default "quantile"
|
|
@@ -183,5 +128,24 @@ interface HeatTableInteractivityViewOptions extends InteractivityCustomEventsVie
|
|
|
183
128
|
urlConfig?: NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig'];
|
|
184
129
|
};
|
|
185
130
|
}
|
|
131
|
+
interface HeatTableAxesViewOptions {
|
|
132
|
+
/**
|
|
133
|
+
* Axes labels options
|
|
134
|
+
*/
|
|
135
|
+
axislabels?: Pick<NonNullable<AxesViewOptions['axislabels']>, 'x' | 'y'>;
|
|
136
|
+
/**
|
|
137
|
+
* Axes options
|
|
138
|
+
*/
|
|
139
|
+
axis?: {
|
|
140
|
+
/**
|
|
141
|
+
* X-axis options
|
|
142
|
+
*/
|
|
143
|
+
x?: Pick<AxesAxisXValue, 'color' | 'ticksMode'>;
|
|
144
|
+
/**
|
|
145
|
+
* Y-axis options
|
|
146
|
+
*/
|
|
147
|
+
y?: Pick<AxesAxisYValue, 'color' | 'ticksMode'>;
|
|
148
|
+
};
|
|
149
|
+
}
|
|
186
150
|
export {};
|
|
187
151
|
//# sourceMappingURL=heat-table-options.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"heat-table-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/heat-table/heat-table-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,
|
|
1
|
+
{"version":3,"file":"heat-table-options.d.ts","sourceRoot":"","sources":["../../../../../../libs/dashboard-contents-types/src/lib/heat-table/heat-table-options.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,cAAc,EACd,cAAc,EACd,eAAe,EACf,uBAAuB,EACvB,qBAAqB,EACrB,sBAAsB,EACtB,oCAAoC,EACpC,qCAAqC,EACrC,8BAA8B,EAC9B,sCAAsC,EACtC,+BAA+B,EAC/B,8CAA8C,EAC9C,eAAe,EACf,gBAAgB,EAChB,iBAAiB,EACjB,cAAc,EACd,gBAAgB,EACjB,MAAM,WAAW,CAAC;AAEnB,MAAM,WAAW,oBAAqB,SACpC,IAAI,CAAC,qBAAqB,EAAE,OAAO,GAAG,SAAS,GAAG,eAAe,CAAC,EAClE,sBAAsB,EACtB,gBAAgB,EAChB,uBAAuB,EACvB,gBAAgB,EAChB,iCAAiC,EACjC,wBAAwB;IACxB;;OAEG;IACH,KAAK,CAAC,EAAE,IAAI,CAAC,eAAe,EAAE,QAAQ,CAAC,CAAC;IACxC;;;OAGG;IACH,cAAc,CAAC,EAAE,UAAU,GAAG,UAAU,GAAG,YAAY,CAAC;IACxD;;;;OAIG;IACH,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;OAGG;IACH,UAAU,CAAC,EAAE,YAAY,GAAG,WAAW,GAAG,QAAQ,CAAC;IACnD,SAAS,CAAC,EAAE;QACV;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;QACjB;;;WAGG;QACH,QAAQ,CAAC,EAAE,MAAM,CAAC;QAClB;;;WAGG;QACH,OAAO,CAAC,EAAE,MAAM,CAAC;KAClB,CAAC;IACF,MAAM,CAAC,EAAE;QACP;;;WAGG;QACH,OAAO,CAAC,EAAE,OAAO,CAAC;KACnB,CAAC;IACF;;;OAGG;IACH,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,IAAI,CAAC,EAAE;QACL,CAAC,CAAC,EAAE;YACF;;;eAGG;YACH,EAA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C,CAAC;KACxF,CAAC;CACH;AAED,UAAU,wBAAwB;IAChC;;OAEG;IACH,UAAU,CAAC,EAAE,IAAI,CAAC,WAAW,CAAC,eAAe,CAAC,YAAY,CAAC,CAAC,EAAE,GAAG,GAAG,GAAG,CAAC,CAAC;IACzE;;OAEG;IACH,IAAI,CAAC,EAAE;QACL;;WAEG;QACH,CAAC,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC;QAChD;;WAEG;QACH,CAAC,CAAC,EAAE,IAAI,CAAC,cAAc,EAAE,OAAO,GAAG,WAAW,CAAC,CAAC;KACjD,CAAC;CACH"}
|
|
@@ -19,32 +19,32 @@ interface HexbinMapInteractivity {
|
|
|
19
19
|
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
20
20
|
* @default null
|
|
21
21
|
*/
|
|
22
|
-
customTooltip?: NonNullable<
|
|
22
|
+
customTooltip?: NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip'];
|
|
23
23
|
/**
|
|
24
24
|
* An array of measure dimension picker configurations
|
|
25
25
|
* @default [[]]
|
|
26
26
|
*/
|
|
27
|
-
measureDimensionPicker?: NonNullable<
|
|
27
|
+
measureDimensionPicker?: NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker'];
|
|
28
28
|
};
|
|
29
29
|
}
|
|
30
30
|
interface HexbinMapDisplayViewOptions {
|
|
31
31
|
/**
|
|
32
32
|
* Display options for the Hexbin map
|
|
33
33
|
*/
|
|
34
|
-
display
|
|
34
|
+
display?: {
|
|
35
35
|
/**
|
|
36
36
|
* Show or hide the title
|
|
37
37
|
* @default true
|
|
38
38
|
*/
|
|
39
|
-
title
|
|
39
|
+
title?: NonNullable<DisplayTitleViewOptions['display']>['title'];
|
|
40
40
|
/**
|
|
41
41
|
* Show or hide the legend
|
|
42
42
|
* @default true
|
|
43
43
|
*/
|
|
44
|
-
legend?: NonNullable<
|
|
44
|
+
legend?: NonNullable<DisplayLegendViewOptions['display']>['legend'];
|
|
45
45
|
};
|
|
46
46
|
}
|
|
47
|
-
export interface HexbinMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit'>, HexbinMapDisplayViewOptions, TitleViewOptions, LegendViewOptions, InfoTooltipViewOptions, HexbinMapInteractivity {
|
|
47
|
+
export interface HexbinMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'theme' | 'limit' | 'interactivity'>, HexbinMapDisplayViewOptions, TitleViewOptions, LegendViewOptions, InfoTooltipViewOptions, HexbinMapInteractivity {
|
|
48
48
|
/**
|
|
49
49
|
* Theme configuration
|
|
50
50
|
*/
|
|
@@ -63,7 +63,9 @@ export interface HexbinMapViewOptions extends Omit<MapObjectViewOptions, 'displa
|
|
|
63
63
|
* Value
|
|
64
64
|
* @TJS-ignore
|
|
65
65
|
*/
|
|
66
|
-
value?: (d:
|
|
66
|
+
value?: (d: {
|
|
67
|
+
length: number;
|
|
68
|
+
}) => number;
|
|
67
69
|
/**
|
|
68
70
|
* Radius
|
|
69
71
|
* @default
|
|
@@ -1 +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;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;QAC5G;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC1F;;;WAGG;QACH,aAAa,CAAC,EAAE,WAAW,CAAC,
|
|
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;;;;WAIG;QACH,oBAAoB,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,sBAAsB,CAAC,CAAC;QAC5G;;;WAGG;QACH,WAAW,CAAC,EAAE,WAAW,CAAC,8BAA8B,CAAC,eAAe,CAAC,CAAC,CAAC,aAAa,CAAC,CAAC;QAC1F;;;WAGG;QACH,aAAa,CAAC,EAAE,WAAW,CAAC,qCAAqC,CAAC,eAAe,CAAC,CAAC,CAAC,eAAe,CAAC,CAAC;QACrG;;;WAGG;QACH,sBAAsB,CAAC,EAAE,WAAW,CAAC,8CAA8C,CAAC,eAAe,CAAC,CAAC,CAAC,wBAAwB,CAAC,CAAC;KACjI,CAAC;CACH;AAED,UAAU,2BAA2B;IACnC;;OAEG;IACH,OAAO,CAAC,EAAE;QACR;;;WAGG;QACH,KAAK,CAAC,EAAE,WAAW,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC,CAAC,OAAO,CAAC,CAAC;QACjE;;;WAGG;QACH,MAAM,CAAC,EAAE,WAAW,CAAC,wBAAwB,CAAC,SAAS,CAAC,CAAC,CAAC,QAAQ,CAA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
1
|
-
import { DropObjectViewOptions, InteractivityBrushViewOptions, ItemThemeConfig } from '../shared';
|
|
2
|
-
import {
|
|
3
|
-
import { AxisTicksMode, AxisTicksStyle, Guidelines, LimitViewOptions, MissingValueViewOptions, NullBreakViewOptions } from '../shared/common';
|
|
1
|
+
import { AxesAxisXValue, AxesAxisY2Value, AxesAxisYValue, AxesViewOptions, DropObjectViewOptions, InteractivityBrushViewOptions, InterpolationViewOptions, ItemThemeConfig, NullBreakViewOptions } from '../shared';
|
|
2
|
+
import { Guidelines, LimitViewOptions } from '../shared/common';
|
|
4
3
|
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
5
4
|
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
6
5
|
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
7
6
|
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
8
7
|
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
9
8
|
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
10
|
-
import { Interpolation } from '../shared/interpolation';
|
|
11
9
|
import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
|
|
10
|
+
import { MissingValueViewOptions } from '../shared/missing-value';
|
|
12
11
|
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
13
|
-
export interface LineChartViewOptions extends Omit<DropObjectViewOptions, 'display' | 'interactivity' | 'theme'>, TitleViewOptions, InfoTooltipViewOptions, NullBreakViewOptions, LegendViewOptions, LimitViewOptions, LineChartDisplayViewOptions, LineChartInteractivityViewOptions {
|
|
12
|
+
export interface LineChartViewOptions extends Omit<DropObjectViewOptions, 'display' | 'interactivity' | 'theme'>, TitleViewOptions, InfoTooltipViewOptions, NullBreakViewOptions, LegendViewOptions, LimitViewOptions, LineChartDisplayViewOptions, LineChartInteractivityViewOptions, LineChartAxesViewOptions, InterpolationViewOptions, MissingValueViewOptions {
|
|
14
13
|
/**
|
|
15
14
|
* Theme configuration
|
|
16
15
|
*/
|
|
@@ -25,237 +24,6 @@ export interface LineChartViewOptions extends Omit<DropObjectViewOptions, 'displ
|
|
|
25
24
|
* @TJS-ignore
|
|
26
25
|
*/
|
|
27
26
|
startWithSubType?: LineChartSubtype;
|
|
28
|
-
/**
|
|
29
|
-
* Interpolation options
|
|
30
|
-
* @default "linear"
|
|
31
|
-
*/
|
|
32
|
-
interpolation?: Interpolation;
|
|
33
|
-
/**
|
|
34
|
-
* Chart grid options
|
|
35
|
-
*/
|
|
36
|
-
grid?: {
|
|
37
|
-
/**
|
|
38
|
-
* X-axis grid options
|
|
39
|
-
*/
|
|
40
|
-
x?: {
|
|
41
|
-
/**
|
|
42
|
-
* Show or hide the X-axis grid
|
|
43
|
-
* @default false
|
|
44
|
-
*/
|
|
45
|
-
enabled: boolean;
|
|
46
|
-
/**
|
|
47
|
-
* Style of the X-axis grid
|
|
48
|
-
*/
|
|
49
|
-
style?: AxisGridlinesStyle;
|
|
50
|
-
/**
|
|
51
|
-
* Opacity of the X-axis grid
|
|
52
|
-
* @examples [1, 0.5, 0.1]
|
|
53
|
-
*/
|
|
54
|
-
opacity?: number;
|
|
55
|
-
};
|
|
56
|
-
/**
|
|
57
|
-
* Y-axis grid options
|
|
58
|
-
*/
|
|
59
|
-
y?: {
|
|
60
|
-
/**
|
|
61
|
-
* Show or hide the Y-axis grid
|
|
62
|
-
* @default false
|
|
63
|
-
*/
|
|
64
|
-
enabled: boolean;
|
|
65
|
-
/**
|
|
66
|
-
* Style of the Y-axis grid
|
|
67
|
-
*/
|
|
68
|
-
style?: AxisGridlinesStyle;
|
|
69
|
-
/**
|
|
70
|
-
* Opacity of the Y-axis grid
|
|
71
|
-
* @examples [1, 0.5, 0.1]
|
|
72
|
-
*/
|
|
73
|
-
opacity?: number;
|
|
74
|
-
};
|
|
75
|
-
/**
|
|
76
|
-
* Y2-axis grid options
|
|
77
|
-
*/
|
|
78
|
-
y2?: {
|
|
79
|
-
/**
|
|
80
|
-
* Show or hide the Y2-axis grid
|
|
81
|
-
* @default false
|
|
82
|
-
*/
|
|
83
|
-
enabled: boolean;
|
|
84
|
-
/**
|
|
85
|
-
* Style of the Y2-axis grid
|
|
86
|
-
*/
|
|
87
|
-
style?: AxisGridlinesStyle;
|
|
88
|
-
/**
|
|
89
|
-
* Opacity of the Y2-axis grid
|
|
90
|
-
* @examples [1, 0.5, 0.1]
|
|
91
|
-
*/
|
|
92
|
-
opacity?: number;
|
|
93
|
-
};
|
|
94
|
-
};
|
|
95
|
-
/**
|
|
96
|
-
* Axes labels options
|
|
97
|
-
*/
|
|
98
|
-
axislabels?: {
|
|
99
|
-
/**
|
|
100
|
-
* X-axis label options
|
|
101
|
-
*/
|
|
102
|
-
x?: {
|
|
103
|
-
/**
|
|
104
|
-
* Show or hide the X-axis labels
|
|
105
|
-
* @default false
|
|
106
|
-
*/
|
|
107
|
-
enabled: boolean;
|
|
108
|
-
/**
|
|
109
|
-
* Position of the X-axis labels
|
|
110
|
-
* @default "center"
|
|
111
|
-
*/
|
|
112
|
-
position: XAxisLabelPosition;
|
|
113
|
-
};
|
|
114
|
-
/**
|
|
115
|
-
* Y-axis label options
|
|
116
|
-
*/
|
|
117
|
-
y?: {
|
|
118
|
-
/**
|
|
119
|
-
* Show or hide the Y-axis labels
|
|
120
|
-
* @default false
|
|
121
|
-
*/
|
|
122
|
-
enabled: boolean;
|
|
123
|
-
/**
|
|
124
|
-
* Position of the Y-axis labels
|
|
125
|
-
* @default "middle"
|
|
126
|
-
*/
|
|
127
|
-
position: YAxisLabelPosition;
|
|
128
|
-
};
|
|
129
|
-
/**
|
|
130
|
-
* Y2-axis label options
|
|
131
|
-
*/
|
|
132
|
-
y2?: {
|
|
133
|
-
/**
|
|
134
|
-
* Show or hide the Y2-axis labels
|
|
135
|
-
* @default false
|
|
136
|
-
*/
|
|
137
|
-
enabled: boolean;
|
|
138
|
-
/**
|
|
139
|
-
* Position of the Y2-axis labels
|
|
140
|
-
* @default "middle"
|
|
141
|
-
*/
|
|
142
|
-
position: YAxisLabelPosition;
|
|
143
|
-
};
|
|
144
|
-
};
|
|
145
|
-
/**
|
|
146
|
-
* Axes options
|
|
147
|
-
*/
|
|
148
|
-
axis?: {
|
|
149
|
-
/**
|
|
150
|
-
* X-axis options
|
|
151
|
-
*/
|
|
152
|
-
x?: {
|
|
153
|
-
/**
|
|
154
|
-
* X-axis color
|
|
155
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
156
|
-
*/
|
|
157
|
-
color?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Ticks mode of the X-axis
|
|
160
|
-
* @default "ticks"
|
|
161
|
-
*/
|
|
162
|
-
ticksMode?: AxisTicksMode;
|
|
163
|
-
/**
|
|
164
|
-
* Ticks style of the X-axis
|
|
165
|
-
*/
|
|
166
|
-
ticksStyle?: AxisTicksStyle;
|
|
167
|
-
};
|
|
168
|
-
/**
|
|
169
|
-
* Y-axis options
|
|
170
|
-
*/
|
|
171
|
-
y?: {
|
|
172
|
-
/**
|
|
173
|
-
* Y-axis color
|
|
174
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
175
|
-
*/
|
|
176
|
-
color?: string;
|
|
177
|
-
/**
|
|
178
|
-
* Manual axes range of the Y-axis
|
|
179
|
-
* @MaxItems 2
|
|
180
|
-
*/
|
|
181
|
-
manualAxesRange?: ManualAxesRange;
|
|
182
|
-
/**
|
|
183
|
-
* Scale type of the Y-axis
|
|
184
|
-
* @default "linear"
|
|
185
|
-
*/
|
|
186
|
-
scale?: AxisScaleType;
|
|
187
|
-
/**
|
|
188
|
-
* Scale log base of the Y-axis
|
|
189
|
-
* @examples [2, 10]
|
|
190
|
-
*/
|
|
191
|
-
scaleLogBase?: number;
|
|
192
|
-
/**
|
|
193
|
-
* Ticks density of the Y-axis
|
|
194
|
-
*/
|
|
195
|
-
ticksDensity?: AxisTicksDensity;
|
|
196
|
-
/**
|
|
197
|
-
* Ticks mode of the Y-axis
|
|
198
|
-
* @default "ticks"
|
|
199
|
-
*/
|
|
200
|
-
ticksMode?: AxisTicksMode;
|
|
201
|
-
/**
|
|
202
|
-
* Measure axis type of the Y-axis
|
|
203
|
-
* @default "default"
|
|
204
|
-
*/
|
|
205
|
-
type?: LineChartMeasureAxisType;
|
|
206
|
-
};
|
|
207
|
-
/**
|
|
208
|
-
* Y-axis options
|
|
209
|
-
* Requires two measures to be specified for y2 to work.
|
|
210
|
-
*/
|
|
211
|
-
y2?: {
|
|
212
|
-
/**
|
|
213
|
-
* Is Y2-axis is active
|
|
214
|
-
* Requires two measured to be specified for this to work.
|
|
215
|
-
* @default false
|
|
216
|
-
*/
|
|
217
|
-
active?: boolean;
|
|
218
|
-
/**
|
|
219
|
-
* Y2-axis color
|
|
220
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
221
|
-
*/
|
|
222
|
-
color?: string;
|
|
223
|
-
/**
|
|
224
|
-
* Manual axes range of the Y2-axis
|
|
225
|
-
* @MaxItems 2
|
|
226
|
-
*/
|
|
227
|
-
manualAxesRange?: ManualAxesRange;
|
|
228
|
-
/**
|
|
229
|
-
* Indexes of the measures that are displayed on the Y2-axis
|
|
230
|
-
* @default [1]
|
|
231
|
-
*/
|
|
232
|
-
measureIndexes?: number[];
|
|
233
|
-
/**
|
|
234
|
-
* Scale type of the Y2-axis
|
|
235
|
-
* @default "linear"
|
|
236
|
-
*/
|
|
237
|
-
scale?: AxisScaleType;
|
|
238
|
-
/**
|
|
239
|
-
* Scale log base of the Y2-axis
|
|
240
|
-
* @examples [2, 10]
|
|
241
|
-
*/
|
|
242
|
-
scaleLogBase?: number;
|
|
243
|
-
/**
|
|
244
|
-
* Ticks density of the Y2-axis
|
|
245
|
-
*/
|
|
246
|
-
ticksDensity?: AxisTicksDensity;
|
|
247
|
-
/**
|
|
248
|
-
* Ticks mode of the Y2-axis
|
|
249
|
-
* @default "ticks"
|
|
250
|
-
*/
|
|
251
|
-
ticksMode?: AxisTicksMode;
|
|
252
|
-
/**
|
|
253
|
-
* Measure axis type of the Y2-axis
|
|
254
|
-
* @default "default"
|
|
255
|
-
*/
|
|
256
|
-
type?: LineChartMeasureAxisType;
|
|
257
|
-
};
|
|
258
|
-
};
|
|
259
27
|
/**
|
|
260
28
|
* Lines options
|
|
261
29
|
*/
|
|
@@ -294,32 +62,17 @@ export interface LineChartViewOptions extends Omit<DropObjectViewOptions, 'displ
|
|
|
294
62
|
* Guidelines options
|
|
295
63
|
*/
|
|
296
64
|
guidelines?: Guidelines;
|
|
297
|
-
/**
|
|
298
|
-
* Fill missing milliseconds. Describes how missing date periods in the data are handled in the chart.
|
|
299
|
-
*/
|
|
300
|
-
missingValue?: {
|
|
301
|
-
/**
|
|
302
|
-
* Type of the missing value. The possible values are "No" (don't fill missing date periods), "Break line when null values" (line is interrupted between two date periods with a missing period in between) or a manual value (line is drawn as a manual value between two date periods with a missing period in between, default: 0).
|
|
303
|
-
* @default "no"
|
|
304
|
-
*/
|
|
305
|
-
type?: NonNullable<MissingValueViewOptions['missingValue']>['type'];
|
|
306
|
-
/**
|
|
307
|
-
* The manual value of the missing value, it's applied when the type is "manual"
|
|
308
|
-
* @default 0
|
|
309
|
-
*/
|
|
310
|
-
value?: NonNullable<MissingValueViewOptions['missingValue']>['value'];
|
|
311
|
-
};
|
|
312
65
|
}
|
|
313
66
|
interface LineChartDisplayViewOptions extends DisplayTitleViewOptions, DisplayLegendViewOptions {
|
|
314
67
|
/**
|
|
315
68
|
* General display options of the Line chart: title, legend
|
|
316
69
|
*/
|
|
317
|
-
display
|
|
70
|
+
display?: {
|
|
318
71
|
/**
|
|
319
72
|
* Show or hide the title
|
|
320
73
|
* @default true
|
|
321
74
|
*/
|
|
322
|
-
title
|
|
75
|
+
title?: NonNullable<DisplayTitleViewOptions['display']>['title'];
|
|
323
76
|
/**
|
|
324
77
|
* Show or hide the legend
|
|
325
78
|
* @default true
|
|
@@ -370,6 +123,34 @@ interface LineChartInteractivityViewOptions extends InteractivityBrushViewOption
|
|
|
370
123
|
brush?: NonNullable<InteractivityBrushViewOptions['interactivity']>['brush'];
|
|
371
124
|
};
|
|
372
125
|
}
|
|
126
|
+
interface LineChartAxesViewOptions {
|
|
127
|
+
/**
|
|
128
|
+
* Chart grid options
|
|
129
|
+
*/
|
|
130
|
+
grid?: NonNullable<AxesViewOptions['grid']>;
|
|
131
|
+
/**
|
|
132
|
+
* Axes labels options
|
|
133
|
+
*/
|
|
134
|
+
axislabels?: NonNullable<AxesViewOptions['axislabels']>;
|
|
135
|
+
/**
|
|
136
|
+
* Axes options
|
|
137
|
+
*/
|
|
138
|
+
axis?: {
|
|
139
|
+
/**
|
|
140
|
+
* X-axis options
|
|
141
|
+
*/
|
|
142
|
+
x?: Pick<AxesAxisXValue, 'color' | 'ticksMode' | 'ticksStyle'>;
|
|
143
|
+
/**
|
|
144
|
+
* Y-axis options
|
|
145
|
+
*/
|
|
146
|
+
y?: Pick<AxesAxisYValue, 'color' | 'manualAxesRange' | 'scale' | 'scaleLogBase' | 'ticksDensity' | 'ticksMode' | 'type'>;
|
|
147
|
+
/**
|
|
148
|
+
* Y-axis options
|
|
149
|
+
* Requires two measures to be specified for y2 to work.
|
|
150
|
+
*/
|
|
151
|
+
y2?: Pick<AxesAxisY2Value, 'active' | 'color' | 'manualAxesRange' | 'measureIndexes' | 'scale' | 'scaleLogBase' | 'ticksDensity' | 'ticksMode' | 'type'>;
|
|
152
|
+
};
|
|
153
|
+
}
|
|
373
154
|
export type LineChartSubtype = 'line' | 'line-group';
|
|
374
155
|
export type LineChartMeasureAxisType = 'default' | 'manual' | 'variable';
|
|
375
156
|
export {};
|