@luzmo/embed 6.1.2-beta.3 → 6.1.2-beta.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/index.cjs +6422 -5114
- package/index.d.ts +3 -3
- package/index.js +6420 -5112
- package/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
- package/{src/lib/ai-component/luzmo-ai-chat.d.ts → lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -3
- package/lib/viz-item/viz-item.base.d.ts +3 -4
- package/luzmo-embed.min.js +32179 -37612
- package/package.json +3 -5
- package/src/index.d.ts +3 -3
- package/src/lib/{ai-component/luzmo-ai-answer.d.ts → luzmo-iq-components/luzmo-iq-answer.d.ts} +3 -3
- package/{lib/ai-component/luzmo-ai-chat.d.ts → src/lib/luzmo-iq-components/luzmo-iq-chat.d.ts} +2 -3
- package/src/lib/viz-item/viz-item.base.d.ts +3 -4
- package/libs/dashboard-contents-types/index.d.ts +0 -2
- package/libs/dashboard-contents-types/json-schemas.d.ts +0 -42178
- package/libs/dashboard-contents-types/src/index.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-options.d.ts +0 -331
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/area-chart/area-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/area-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart-options.d.ts +0 -258
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bar-chart/bar-chart.slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/bar-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-options.d.ts +0 -310
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot-slots.d.ts +0 -30
- package/libs/dashboard-contents-types/src/lib/box-plot/box-plot.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/box-plot/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-options.d.ts +0 -98
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart-slots.d.ts +0 -41
- package/libs/dashboard-contents-types/src/lib/bubble-chart/bubble-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bubble-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-options.d.ts +0 -99
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart-slots.d.ts +0 -40
- package/libs/dashboard-contents-types/src/lib/bullet-chart/bullet-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/bullet-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-options.d.ts +0 -138
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map-slots.d.ts +0 -41
- package/libs/dashboard-contents-types/src/lib/choropleth-map/choropleth-map.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/choropleth-map/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-options.d.ts +0 -122
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/circular-gauge/circular-gauge.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/circular-gauge/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-options.d.ts +0 -259
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/column-chart/column-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/column-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-options.d.ts +0 -344
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/combination-chart/combination-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/combination-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-options.d.ts +0 -94
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/conditional-number/conditional-number.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/conditional-number/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-options.d.ts +0 -147
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter-slots.d.ts +0 -18
- package/libs/dashboard-contents-types/src/lib/date-filter/date-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/date-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-options.d.ts +0 -131
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/donut-chart/donut-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/donut-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-options.d.ts +0 -84
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/dropdown-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/dropdown-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-options.d.ts +0 -200
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/evolution-number/evolution-number.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/evolution-number/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-options.d.ts +0 -110
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart-slots.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/funnel-chart/funnel-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/funnel-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/image/image-options.d.ts +0 -63
- package/libs/dashboard-contents-types/src/lib/image/image.d.ts +0 -16
- package/libs/dashboard-contents-types/src/lib/image/index.d.ts +0 -2
- package/libs/dashboard-contents-types/src/lib/line-chart/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-options.d.ts +0 -354
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart-slots.d.ts +0 -39
- package/libs/dashboard-contents-types/src/lib/line-chart/line-chart.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/pivot-table/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-options.d.ts +0 -206
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table-slots.d.ts +0 -37
- package/libs/dashboard-contents-types/src/lib/pivot-table/pivot-table.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/regular-table/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-options.d.ts +0 -124
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/regular-table/regular-table.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-options.d.ts +0 -123
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram-slots.d.ts +0 -50
- package/libs/dashboard-contents-types/src/lib/sankey-diagram/sankey-diagram.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/scatter-plot/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-options.d.ts +0 -213
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot-slots.d.ts +0 -61
- package/libs/dashboard-contents-types/src/lib/scatter-plot/scatter-plot.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/search-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-options.d.ts +0 -56
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/search-filter/search-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/shared/axes.d.ts +0 -35
- package/libs/dashboard-contents-types/src/lib/shared/axis-view-options.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/shared/common.d.ts +0 -103
- package/libs/dashboard-contents-types/src/lib/shared/drop-object-view-options.d.ts +0 -14
- package/libs/dashboard-contents-types/src/lib/shared/filters.d.ts +0 -32
- package/libs/dashboard-contents-types/src/lib/shared/formula.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/shared/index.d.ts +0 -29
- package/libs/dashboard-contents-types/src/lib/shared/info-tooltip-options.d.ts +0 -24
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-brush.d.ts +0 -11
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-events.d.ts +0 -61
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-custom-tooltip.d.ts +0 -13
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-drilldown.d.ts +0 -81
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-export.d.ts +0 -24
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-filter.d.ts +0 -11
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-go-to-url.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts +0 -66
- package/libs/dashboard-contents-types/src/lib/shared/interactivity-target.d.ts +0 -1
- package/libs/dashboard-contents-types/src/lib/shared/interpolation.d.ts +0 -4
- package/libs/dashboard-contents-types/src/lib/shared/item-filter-group.d.ts +0 -122
- package/libs/dashboard-contents-types/src/lib/shared/legend.d.ts +0 -31
- package/libs/dashboard-contents-types/src/lib/shared/map-object-view-options.d.ts +0 -37
- package/libs/dashboard-contents-types/src/lib/shared/object-view-options.d.ts +0 -5
- package/libs/dashboard-contents-types/src/lib/shared/placeholder.d.ts +0 -10
- package/libs/dashboard-contents-types/src/lib/shared/query.d.ts +0 -25
- package/libs/dashboard-contents-types/src/lib/shared/ranges.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/shared/slots.d.ts +0 -316
- package/libs/dashboard-contents-types/src/lib/shared/sort.d.ts +0 -64
- package/libs/dashboard-contents-types/src/lib/shared/theme.d.ts +0 -271
- package/libs/dashboard-contents-types/src/lib/shared/title.d.ts +0 -18
- package/libs/dashboard-contents-types/src/lib/slicer-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-options.d.ts +0 -205
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter-slots.d.ts +0 -28
- package/libs/dashboard-contents-types/src/lib/slicer-filter/slicer-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/slider-filter/index.d.ts +0 -3
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-options.d.ts +0 -22
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter-slots.d.ts +0 -17
- package/libs/dashboard-contents-types/src/lib/slider-filter/slider-filter.d.ts +0 -23
- package/libs/dashboard-contents-types/src/lib/text/index.d.ts +0 -2
- package/libs/dashboard-contents-types/src/lib/text/text-options.d.ts +0 -53
- package/libs/dashboard-contents-types/src/lib/text/text.d.ts +0 -16
- package/libs/dashboard-contents-types/src/options.d.ts +0 -25
- package/libs/dashboard-contents-types/src/slots.d.ts +0 -24
- package/libs/embed-libs/embed/src/index.d.ts +0 -7
- package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-answer.d.ts +0 -23
- package/libs/embed-libs/embed/src/lib/ai-component/luzmo-ai-chat.d.ts +0 -24
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-base.d.ts +0 -98
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-component.d.ts +0 -8
- package/libs/embed-libs/embed/src/lib/dashboard-component/dashboard-styles.d.ts +0 -1
- package/libs/embed-libs/embed/src/lib/helper/event-bus-handler.d.ts +0 -1
- package/libs/embed-libs/embed/src/lib/luzmo-service.d.ts +0 -6
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item-component.d.ts +0 -4
- package/libs/embed-libs/embed/src/lib/viz-item/viz-item.base.d.ts +0 -73
- package/libs/embed-libs/shared-embed/src/index.common.d.ts +0 -34
- package/libs/embed-libs/shared-embed/src/index.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/constants/class-constants.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/browser-check.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/helpers/default-parameters.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/helpers/error.d.ts +0 -5
- package/libs/embed-libs/shared-embed/src/lib/helpers/extents.d.ts +0 -7
- package/libs/embed-libs/shared-embed/src/lib/helpers/get-loader.d.ts +0 -5
- package/libs/embed-libs/shared-embed/src/lib/helpers/iframe-url.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/promise-dispatch.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/helpers/remote-federation.d.ts +0 -16
- package/libs/embed-libs/shared-embed/src/lib/helpers/set-selected-data-utils.d.ts +0 -7
- package/libs/embed-libs/shared-embed/src/lib/helpers/styles.d.ts +0 -8
- package/libs/embed-libs/shared-embed/src/lib/helpers/translations.d.ts +0 -18
- package/libs/embed-libs/shared-embed/src/lib/helpers/update-iframe-url.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/helpers/utils.d.ts +0 -27
- package/libs/embed-libs/shared-embed/src/lib/methods/export-dashboard.d.ts +0 -4
- package/libs/embed-libs/shared-embed/src/lib/methods/get-accessible-dashboards.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/get-data.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/get-filters.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/refresh-data.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/reload-dashboard.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/set-authorization.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/methods/set-edit-mode.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/set-preview.d.ts +0 -3
- package/libs/embed-libs/shared-embed/src/lib/methods/set-selected-data.d.ts +0 -4
- package/libs/embed-libs/shared-embed/src/lib/models/ai-components.model.d.ts +0 -135
- package/libs/embed-libs/shared-embed/src/lib/models/common.model.d.ts +0 -103
- package/libs/embed-libs/shared-embed/src/lib/models/dashboard.model.d.ts +0 -45
- package/libs/embed-libs/shared-embed/src/lib/models/events.model.d.ts +0 -73
- package/libs/embed-libs/shared-embed/src/lib/models/filters.model.d.ts +0 -17
- package/libs/embed-libs/shared-embed/src/lib/models/styles.model.d.ts +0 -32
- package/libs/embed-libs/shared-embed/src/lib/models/viz-item-post-message.model.d.ts +0 -45
- package/libs/embed-libs/shared-embed/src/lib/models/viz-item.model.d.ts +0 -22
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/areachart.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/barchart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/choroplethmap.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/circlepack.model.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/columnchart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/datetime.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/donutchart.model.d.ts +0 -2
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/dropdownfilter.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/index.d.ts +0 -36
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/linechart.model.d.ts +0 -36
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/parallelcoordinatesplot.model.d.ts +0 -14
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/piechart.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/scatterplot.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slicer.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/slider.model.d.ts +0 -13
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/stripplot.model.d.ts +0 -15
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/sunburst.model.d.ts +0 -14
- package/libs/embed-libs/shared-embed/src/lib/models/viz-items/treemap.model.d.ts +0 -24
- package/libs/embed-libs/shared-embed/src/lib/service/calculate-dimensions.d.ts +0 -1
- package/libs/embed-libs/shared-embed/src/lib/service/extend-and-validate.d.ts +0 -2
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import type { LimitViewOptions } from '../shared/common';
|
|
2
|
-
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
3
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
4
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
5
|
-
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
6
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
7
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
8
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
9
|
-
import { ManualValuesRange } from '../shared/ranges';
|
|
10
|
-
import { SortViewOptions } from '../shared/sort';
|
|
11
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
12
|
-
export interface BulletChartViewOptions extends Omit<DropObjectViewOptions, 'display' | 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, LimitViewOptions, SortViewOptions, BulletChartDisplayViewOptions, BulletChartInteractivityViewOptions {
|
|
13
|
-
/**
|
|
14
|
-
* Manual values
|
|
15
|
-
* @default [[]]
|
|
16
|
-
*/
|
|
17
|
-
manualValues?: BulletChartManualValue[];
|
|
18
|
-
}
|
|
19
|
-
interface BulletChartDisplayViewOptions extends DisplayTitleViewOptions {
|
|
20
|
-
/**
|
|
21
|
-
* General display options of the Bullet chart: title, legend and mode option
|
|
22
|
-
*/
|
|
23
|
-
display: {
|
|
24
|
-
/**
|
|
25
|
-
* Show or hide the title
|
|
26
|
-
* @default true
|
|
27
|
-
*/
|
|
28
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
29
|
-
/**
|
|
30
|
-
* Show or hide the bullet subtitles
|
|
31
|
-
* @default false
|
|
32
|
-
*/
|
|
33
|
-
bulletSubtitles?: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* Show or hide the ranges
|
|
36
|
-
* @default true
|
|
37
|
-
*/
|
|
38
|
-
ranges?: boolean;
|
|
39
|
-
};
|
|
40
|
-
}
|
|
41
|
-
interface BulletChartInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
42
|
-
/**
|
|
43
|
-
* Interactivity options
|
|
44
|
-
*/
|
|
45
|
-
interactivity?: {
|
|
46
|
-
/**
|
|
47
|
-
* Available export types interactivity option
|
|
48
|
-
* @default ["xlsx", "csv", "png"]
|
|
49
|
-
*/
|
|
50
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
51
|
-
/**
|
|
52
|
-
* Custom events interactivity option
|
|
53
|
-
* @default null
|
|
54
|
-
*/
|
|
55
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
56
|
-
/**
|
|
57
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
58
|
-
* @default null
|
|
59
|
-
*/
|
|
60
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
61
|
-
/**
|
|
62
|
-
* Export types interactivity option
|
|
63
|
-
* @default ["xlsx", "csv", "png"]
|
|
64
|
-
*/
|
|
65
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
66
|
-
/**
|
|
67
|
-
* An array of measure dimension picker configurations
|
|
68
|
-
* @default [[]]
|
|
69
|
-
*/
|
|
70
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
71
|
-
/**
|
|
72
|
-
* Go to URL interactivity option
|
|
73
|
-
* @default { "target": "_blank", "url": null }
|
|
74
|
-
*/
|
|
75
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
76
|
-
};
|
|
77
|
-
}
|
|
78
|
-
export interface BulletChartManualValue {
|
|
79
|
-
id?: string;
|
|
80
|
-
/**
|
|
81
|
-
* @TJS-type object
|
|
82
|
-
* @examples [{ "en": "Revenue" }]
|
|
83
|
-
*/
|
|
84
|
-
title?: Record<string, string>;
|
|
85
|
-
/**
|
|
86
|
-
* @TJS-type object
|
|
87
|
-
* @examples [{ "en": "Total Revenue" }]
|
|
88
|
-
*/
|
|
89
|
-
subtitle?: Record<string, string>;
|
|
90
|
-
/**
|
|
91
|
-
* Manual target value
|
|
92
|
-
*/
|
|
93
|
-
target?: number;
|
|
94
|
-
/**
|
|
95
|
-
* Manual value ranges
|
|
96
|
-
*/
|
|
97
|
-
ranges?: ManualValuesRange[];
|
|
98
|
-
}
|
|
99
|
-
export {};
|
|
@@ -1,40 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Measure slot definition of the bullet chart.
|
|
4
|
-
*/
|
|
5
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'measure';
|
|
7
|
-
/**
|
|
8
|
-
* Measure slot definition
|
|
9
|
-
* @maxItems 1
|
|
10
|
-
*/
|
|
11
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Category slot definition of the bullet chart.
|
|
15
|
-
*/
|
|
16
|
-
interface CategorySlot extends DashboardContentVizItemSlot {
|
|
17
|
-
name: 'category';
|
|
18
|
-
/**
|
|
19
|
-
* Category slot definition
|
|
20
|
-
* @maxItems 1
|
|
21
|
-
*/
|
|
22
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
23
|
-
}
|
|
24
|
-
/**
|
|
25
|
-
* Legend slot definition of the bullet chart.
|
|
26
|
-
*/
|
|
27
|
-
interface TargetSlot extends DashboardContentVizItemSlot {
|
|
28
|
-
name: 'target';
|
|
29
|
-
/**
|
|
30
|
-
* Legend slot definition
|
|
31
|
-
* @maxItems 1
|
|
32
|
-
*/
|
|
33
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
34
|
-
}
|
|
35
|
-
/**
|
|
36
|
-
* Data definition of the Bullet chart
|
|
37
|
-
* @maxItems 3
|
|
38
|
-
*/
|
|
39
|
-
export type BulletChartSlots = (MeasureSlot | CategorySlot | TargetSlot)[];
|
|
40
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { BulletChartViewOptions } from './bullet-chart-options';
|
|
3
|
-
import { BulletChartSlots } from './bullet-chart-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Bullet chart item
|
|
6
|
-
*/
|
|
7
|
-
export interface BulletChart {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'bullet-chart'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the bullet chart item
|
|
14
|
-
* @$ref ./bullet-chart-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: BulletChartViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Bullet chart
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./bullet-chart-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: BulletChartSlots;
|
|
23
|
-
}
|
|
@@ -1,138 +0,0 @@
|
|
|
1
|
-
import { InteractivityFilterOnSelectViewOptions } from '../shared';
|
|
2
|
-
import type { LimitViewOptions } from '../shared/common';
|
|
3
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
4
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
5
|
-
import { InteractivityCustomTooltipViewOptions } from '../shared/interactivity-custom-tooltip';
|
|
6
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
7
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
8
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
9
|
-
import { DisplayLegendViewOptions, LegendViewOptions } from '../shared/legend';
|
|
10
|
-
import { MapObjectViewOptions } from '../shared/map-object-view-options';
|
|
11
|
-
import { ManualValuesRange } from '../shared/ranges';
|
|
12
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
13
|
-
export interface ChoroplethMapViewOptions extends Omit<MapObjectViewOptions, 'display' | 'interactivity'>, InfoTooltipViewOptions, LegendViewOptions, TitleViewOptions, LimitViewOptions, ChoroplethMapDisplayViewOptions, ChoroplethMapInteractivityViewOptions {
|
|
14
|
-
/**
|
|
15
|
-
* Manual values configuration
|
|
16
|
-
* @default [[]]
|
|
17
|
-
*/
|
|
18
|
-
manualValues?: {
|
|
19
|
-
ranges?: ManualValuesRange[];
|
|
20
|
-
};
|
|
21
|
-
/**
|
|
22
|
-
* Classification options: quantile, interval, continuous or manual
|
|
23
|
-
* @default "quantile"
|
|
24
|
-
*/
|
|
25
|
-
classification?: 'quantile' | 'interval' | 'continuous' | 'manual';
|
|
26
|
-
/**
|
|
27
|
-
* Number of classes
|
|
28
|
-
* @default 5
|
|
29
|
-
*/
|
|
30
|
-
numberClasses?: number;
|
|
31
|
-
/**
|
|
32
|
-
* Opacity of the map
|
|
33
|
-
* @default .85
|
|
34
|
-
*/
|
|
35
|
-
opacity?: number;
|
|
36
|
-
/**
|
|
37
|
-
* Stroke color of the map
|
|
38
|
-
* @examples ["#000000"]
|
|
39
|
-
* @default "rgba(0,0,0,.3)"
|
|
40
|
-
*/
|
|
41
|
-
strokeColor?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Set classes on the colors
|
|
44
|
-
* @default "PuBu"
|
|
45
|
-
*/
|
|
46
|
-
colorsClass?: string;
|
|
47
|
-
/**
|
|
48
|
-
* Configure tooltip
|
|
49
|
-
*/
|
|
50
|
-
tooltip?: {
|
|
51
|
-
/**
|
|
52
|
-
* Show all values
|
|
53
|
-
* @default true
|
|
54
|
-
*/
|
|
55
|
-
allValues?: boolean;
|
|
56
|
-
/**
|
|
57
|
-
* Show percentages
|
|
58
|
-
* @default true
|
|
59
|
-
*/
|
|
60
|
-
percentages?: boolean;
|
|
61
|
-
};
|
|
62
|
-
/**
|
|
63
|
-
* Highlight options
|
|
64
|
-
*/
|
|
65
|
-
highlights?: {
|
|
66
|
-
/**
|
|
67
|
-
* enable or disable highlight
|
|
68
|
-
* @default true
|
|
69
|
-
*/
|
|
70
|
-
active?: boolean;
|
|
71
|
-
/**
|
|
72
|
-
* If enabled, color of the highlight
|
|
73
|
-
* @examples ["#000000"]
|
|
74
|
-
* @default "rgb(255,255,255)"
|
|
75
|
-
*/
|
|
76
|
-
color?: string;
|
|
77
|
-
};
|
|
78
|
-
}
|
|
79
|
-
interface ChoroplethMapDisplayViewOptions extends DisplayLegendViewOptions, DisplayTitleViewOptions {
|
|
80
|
-
/**
|
|
81
|
-
* General display options of the Choropleth map: title, legend and mode option
|
|
82
|
-
*/
|
|
83
|
-
display: {
|
|
84
|
-
/**
|
|
85
|
-
* Show or hide the title
|
|
86
|
-
* @default true
|
|
87
|
-
*/
|
|
88
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
89
|
-
/**
|
|
90
|
-
* Show or hide the legend
|
|
91
|
-
* @default true
|
|
92
|
-
*/
|
|
93
|
-
legend?: NonNullable<NonNullable<DisplayLegendViewOptions['display']>['legend']>;
|
|
94
|
-
};
|
|
95
|
-
}
|
|
96
|
-
interface ChoroplethMapInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityCustomTooltipViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityFilterOnSelectViewOptions {
|
|
97
|
-
/**
|
|
98
|
-
* Interactivity options
|
|
99
|
-
*/
|
|
100
|
-
interactivity?: {
|
|
101
|
-
/**
|
|
102
|
-
* Available export types interactivity option
|
|
103
|
-
* @default ["xlsx", "csv", "png"]
|
|
104
|
-
*/
|
|
105
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
106
|
-
/**
|
|
107
|
-
* Custom events interactivity option
|
|
108
|
-
* @default null
|
|
109
|
-
*/
|
|
110
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
111
|
-
/**
|
|
112
|
-
* Custom tooltip interactivity option, in format {locale: "tooltip"}, for example, {en: "Total Revenue"}
|
|
113
|
-
* @default null
|
|
114
|
-
*/
|
|
115
|
-
customTooltip?: NonNullable<NonNullable<InteractivityCustomTooltipViewOptions['interactivity']>['customTooltip']>;
|
|
116
|
-
/**
|
|
117
|
-
* Export types interactivity option
|
|
118
|
-
* @default ["xlsx", "csv", "png"]
|
|
119
|
-
*/
|
|
120
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
121
|
-
/**
|
|
122
|
-
* An array of measure dimension picker configurations
|
|
123
|
-
* @default [[]]
|
|
124
|
-
*/
|
|
125
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
126
|
-
/**
|
|
127
|
-
* Filter on select interactivity option
|
|
128
|
-
* @default true
|
|
129
|
-
*/
|
|
130
|
-
select?: NonNullable<NonNullable<InteractivityFilterOnSelectViewOptions['interactivity']>['select']>;
|
|
131
|
-
/**
|
|
132
|
-
* Go to URL interactivity option
|
|
133
|
-
* @default { "target": "_blank", "url": null }
|
|
134
|
-
*/
|
|
135
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
136
|
-
};
|
|
137
|
-
}
|
|
138
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, DateTimeSlotContent, NumericSlotContent, HierarchySlotContent, SpatialSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Geo slot definition of the choropleth map. This is the required slot.
|
|
4
|
-
* This slot can only accept a Geo content type column.
|
|
5
|
-
*/
|
|
6
|
-
interface GeoSlot extends DashboardContentVizItemSlot {
|
|
7
|
-
name: 'geo';
|
|
8
|
-
/**
|
|
9
|
-
* Geo slot definition
|
|
10
|
-
* @maxItems 1
|
|
11
|
-
*/
|
|
12
|
-
content: SpatialSlotContent[];
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* Measure slot definition of the Choropleth map.
|
|
16
|
-
*/
|
|
17
|
-
interface MeasureSlot extends DashboardContentVizItemSlot {
|
|
18
|
-
name: 'measure';
|
|
19
|
-
/**
|
|
20
|
-
* Measure slot definition
|
|
21
|
-
* @maxItems 1
|
|
22
|
-
*/
|
|
23
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Category slot definition of the Choropleth map.
|
|
27
|
-
*/
|
|
28
|
-
interface CategorySlot extends DashboardContentVizItemSlot {
|
|
29
|
-
name: 'category';
|
|
30
|
-
/**
|
|
31
|
-
* Category slot definition
|
|
32
|
-
* @maxItems 1
|
|
33
|
-
*/
|
|
34
|
-
content: (HierarchySlotContent | DateTimeSlotContent)[];
|
|
35
|
-
}
|
|
36
|
-
/**
|
|
37
|
-
* Data definition of the Choropleth map
|
|
38
|
-
* @maxItems 3
|
|
39
|
-
*/
|
|
40
|
-
export type ChoroplethMapSlots = (GeoSlot | MeasureSlot | CategorySlot)[];
|
|
41
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { ChoroplethMapViewOptions } from './choropleth-map-options';
|
|
3
|
-
import { ChoroplethMapSlots } from './choropleth-map-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Choropleth map item
|
|
6
|
-
*/
|
|
7
|
-
export interface ChoroplethMap {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'choropleth-map'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the choropleth map item
|
|
14
|
-
* @$ref ./choropleth-map-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: ChoroplethMapViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the Choropleth map
|
|
19
|
-
* @maxItems 3
|
|
20
|
-
* @$ref ./choropleth-map-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: ChoroplethMapSlots;
|
|
23
|
-
}
|
|
@@ -1,122 +0,0 @@
|
|
|
1
|
-
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
2
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
3
|
-
import { InteractivityCustomEventsViewOptions } from '../shared/interactivity-custom-events';
|
|
4
|
-
import { InteractivityExportViewOptions } from '../shared/interactivity-export';
|
|
5
|
-
import { InteractivityGoToUrlViewOptions } from '../shared/interactivity-go-to-url';
|
|
6
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared/interactivity-measure-dimension-picker';
|
|
7
|
-
import { ManualValuesRange } from '../shared/ranges';
|
|
8
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
9
|
-
export interface CircularGaugeViewOptions extends Omit<DropObjectViewOptions, 'interactivity' | 'display'>, InfoTooltipViewOptions, TitleViewOptions, CircularGaugeInteractivityViewOptions, CircularGaugeDisplayViewOptions {
|
|
10
|
-
/**
|
|
11
|
-
* Mode of the Circular Gauge: normal, percentage or difference
|
|
12
|
-
* @default "normal"
|
|
13
|
-
*/
|
|
14
|
-
mode?: 'normal' | 'percentage' | 'difference';
|
|
15
|
-
/**
|
|
16
|
-
* Circle configuration of the Circular Gauge
|
|
17
|
-
*/
|
|
18
|
-
circle?: {
|
|
19
|
-
/**
|
|
20
|
-
* Width of the circle
|
|
21
|
-
* @default 10
|
|
22
|
-
*/
|
|
23
|
-
width?: number;
|
|
24
|
-
/**
|
|
25
|
-
* Degrees of the circle
|
|
26
|
-
* @default 360
|
|
27
|
-
*/
|
|
28
|
-
degrees?: 180 | 240 | 270 | 360;
|
|
29
|
-
/**
|
|
30
|
-
* Color of the circle
|
|
31
|
-
*/
|
|
32
|
-
color?: string;
|
|
33
|
-
/**
|
|
34
|
-
* Background color of the circle
|
|
35
|
-
* @default "rgba(0,0,0,.1)"
|
|
36
|
-
*/
|
|
37
|
-
background?: string;
|
|
38
|
-
/**
|
|
39
|
-
* Line cap of the circle
|
|
40
|
-
* @default "round"
|
|
41
|
-
*/
|
|
42
|
-
lineCap?: 'round';
|
|
43
|
-
/**
|
|
44
|
-
* Flip the circle
|
|
45
|
-
* @default true
|
|
46
|
-
*/
|
|
47
|
-
flip?: boolean;
|
|
48
|
-
};
|
|
49
|
-
/**
|
|
50
|
-
* Manual values configuration of the Circular Gauge
|
|
51
|
-
* @default {}
|
|
52
|
-
*/
|
|
53
|
-
manualValues?: {
|
|
54
|
-
conditional?: ManualValuesRange[];
|
|
55
|
-
target?: number;
|
|
56
|
-
};
|
|
57
|
-
}
|
|
58
|
-
interface CircularGaugeDisplayViewOptions extends DisplayTitleViewOptions {
|
|
59
|
-
/**
|
|
60
|
-
* General display options of the Circular gauge: title, legend and mode option
|
|
61
|
-
*/
|
|
62
|
-
display: {
|
|
63
|
-
/**
|
|
64
|
-
* Show or hide the title
|
|
65
|
-
* @default true
|
|
66
|
-
*/
|
|
67
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
68
|
-
/**
|
|
69
|
-
* Show or hide the gauge value
|
|
70
|
-
* @default true
|
|
71
|
-
*/
|
|
72
|
-
gaugeValue?: boolean;
|
|
73
|
-
/**
|
|
74
|
-
* Show or hide the gauge label
|
|
75
|
-
* @default true
|
|
76
|
-
*/
|
|
77
|
-
gaugeLabel?: boolean;
|
|
78
|
-
/**
|
|
79
|
-
* Show or hide the label
|
|
80
|
-
* @default false
|
|
81
|
-
*/
|
|
82
|
-
label?: boolean;
|
|
83
|
-
/**
|
|
84
|
-
* Show or hide the value
|
|
85
|
-
* @default false
|
|
86
|
-
*/
|
|
87
|
-
value?: boolean;
|
|
88
|
-
};
|
|
89
|
-
}
|
|
90
|
-
interface CircularGaugeInteractivityViewOptions extends InteractivityCustomEventsViewOptions, InteractivityExportViewOptions, InteractivityGoToUrlViewOptions, InteractivityMeasureDimensionPickerViewOptions {
|
|
91
|
-
/**
|
|
92
|
-
* Interactivity options
|
|
93
|
-
*/
|
|
94
|
-
interactivity?: {
|
|
95
|
-
/**
|
|
96
|
-
* Available export types interactivity option
|
|
97
|
-
* @default ["xlsx", "csv", "png"]
|
|
98
|
-
*/
|
|
99
|
-
availableExportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['availableExportTypes']>;
|
|
100
|
-
/**
|
|
101
|
-
* Custom events interactivity option
|
|
102
|
-
* @default null
|
|
103
|
-
*/
|
|
104
|
-
customEvents?: NonNullable<NonNullable<InteractivityCustomEventsViewOptions['interactivity']>['customEvents']>;
|
|
105
|
-
/**
|
|
106
|
-
* Export types interactivity option
|
|
107
|
-
* @default ["xlsx", "csv", "png"]
|
|
108
|
-
*/
|
|
109
|
-
exportTypes?: NonNullable<NonNullable<InteractivityExportViewOptions['interactivity']>['exportTypes']>;
|
|
110
|
-
/**
|
|
111
|
-
* An array of measure dimension picker configurations
|
|
112
|
-
* @default [[]]
|
|
113
|
-
*/
|
|
114
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
115
|
-
/**
|
|
116
|
-
* Go to URL interactivity option
|
|
117
|
-
* @default { "target": "_blank", "url": null }
|
|
118
|
-
*/
|
|
119
|
-
urlConfig?: NonNullable<NonNullable<InteractivityGoToUrlViewOptions['interactivity']>['urlConfig']>;
|
|
120
|
-
};
|
|
121
|
-
}
|
|
122
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, HierarchySlotContent, NumericSlotContent, DateTimeSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Target slot definition of the circular gauge.
|
|
4
|
-
*/
|
|
5
|
-
interface TargetSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'target';
|
|
7
|
-
/**
|
|
8
|
-
* Target slot definition
|
|
9
|
-
* @maxItems 1
|
|
10
|
-
*/
|
|
11
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
* Measure slot definition of the circular gauge. This is a required slot.
|
|
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 Circular gauge
|
|
26
|
-
* @maxItems 2
|
|
27
|
-
*/
|
|
28
|
-
export type CircularGaugeSlots = (TargetSlot | MeasureSlot)[];
|
|
29
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { CircularGaugeViewOptions } from './circular-gauge-options';
|
|
3
|
-
import { CircularGaugeSlots } from './circular-gauge-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Circular gauge item
|
|
6
|
-
*/
|
|
7
|
-
export interface CircularGauge {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'circular-gauge'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the circular gauge item
|
|
14
|
-
* @$ref ./circular-gauge-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: CircularGaugeViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the circular gauge
|
|
19
|
-
* @maxItems 2
|
|
20
|
-
* @$ref ./circular-gauge-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: CircularGaugeSlots;
|
|
23
|
-
}
|