@luzmo/embed 6.1.2-beta.2 → 6.1.2-beta.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +31 -0
- package/index.cjs +6420 -5112
- package/index.d.ts +3 -3
- package/index.js +6418 -5110
- 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 -2
- package/lib/viz-item/viz-item.base.d.ts +3 -4
- package/luzmo-embed.min.js +32177 -37610
- 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 -2
- 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,56 +0,0 @@
|
|
|
1
|
-
import { InteractivityMeasureDimensionPickerViewOptions } from '../shared';
|
|
2
|
-
import { DropObjectViewOptions } from '../shared/drop-object-view-options';
|
|
3
|
-
import { InfoTooltipViewOptions } from '../shared/info-tooltip-options';
|
|
4
|
-
import { PlaceholderViewOptions } from '../shared/placeholder';
|
|
5
|
-
import { DisplayTitleViewOptions, TitleViewOptions } from '../shared/title';
|
|
6
|
-
export interface SearchFilterViewOptions extends Omit<DropObjectViewOptions, 'display' | 'interactivity'>, InfoTooltipViewOptions, TitleViewOptions, PlaceholderViewOptions, SearchFilterDisplayViewOptions, SearchFilterInteractivityViewOptions {
|
|
7
|
-
/**
|
|
8
|
-
* Whether to auto apply filters or add the apply button
|
|
9
|
-
*/
|
|
10
|
-
applyFiltersWithButton?: boolean;
|
|
11
|
-
/**
|
|
12
|
-
* Update left or right padding of the Search filter
|
|
13
|
-
*/
|
|
14
|
-
padding?: {
|
|
15
|
-
/**
|
|
16
|
-
* Update left padding of the Search filter
|
|
17
|
-
*/
|
|
18
|
-
left?: number;
|
|
19
|
-
/**
|
|
20
|
-
* Update right padding of the Search filter
|
|
21
|
-
*/
|
|
22
|
-
right?: number;
|
|
23
|
-
};
|
|
24
|
-
}
|
|
25
|
-
interface SearchFilterDisplayViewOptions extends DisplayTitleViewOptions {
|
|
26
|
-
/**
|
|
27
|
-
* General display options of the Search filter: title, label, placeholder, search and clear
|
|
28
|
-
*/
|
|
29
|
-
display: {
|
|
30
|
-
/**
|
|
31
|
-
* Show or hide the title
|
|
32
|
-
*/
|
|
33
|
-
title: NonNullable<NonNullable<DisplayTitleViewOptions['display']>['title']>;
|
|
34
|
-
/**
|
|
35
|
-
* Show or hide the label of the Search filter
|
|
36
|
-
*/
|
|
37
|
-
label?: boolean;
|
|
38
|
-
/**
|
|
39
|
-
* Show or hide the placeholder
|
|
40
|
-
*/
|
|
41
|
-
placeholder?: boolean;
|
|
42
|
-
};
|
|
43
|
-
}
|
|
44
|
-
interface SearchFilterInteractivityViewOptions extends InteractivityMeasureDimensionPickerViewOptions {
|
|
45
|
-
/**
|
|
46
|
-
* Interactivity options
|
|
47
|
-
*/
|
|
48
|
-
interactivity?: {
|
|
49
|
-
/**
|
|
50
|
-
* An array of measure dimension picker configurations
|
|
51
|
-
* @default [[]]
|
|
52
|
-
*/
|
|
53
|
-
measureDimensionPicker?: NonNullable<NonNullable<InteractivityMeasureDimensionPickerViewOptions['interactivity']>['measureDimensionPicker']>;
|
|
54
|
-
};
|
|
55
|
-
}
|
|
56
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { DashboardContentVizItemSlot, DateTimeSlotContent, HierarchySlotContent, NumericSlotContent } from '../shared/slots';
|
|
2
|
-
/**
|
|
3
|
-
* Dimension slot definition of the search filter. Dimension slot is a required slot and it can have multiple columns.
|
|
4
|
-
*/
|
|
5
|
-
interface DimensionSlot extends DashboardContentVizItemSlot {
|
|
6
|
-
name: 'dimension';
|
|
7
|
-
/**
|
|
8
|
-
* Dimension slot definition
|
|
9
|
-
*/
|
|
10
|
-
content: (HierarchySlotContent | NumericSlotContent | DateTimeSlotContent)[];
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Data definition of the Search filter
|
|
14
|
-
* @maxItems 1
|
|
15
|
-
*/
|
|
16
|
-
export type SearchFilterSlots = DimensionSlot[];
|
|
17
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { VizItemType } from '../shared/common';
|
|
2
|
-
import { SearchFilterViewOptions } from './search-filter-options';
|
|
3
|
-
import { SearchFilterSlots } from './search-filter-slots';
|
|
4
|
-
/**
|
|
5
|
-
* Search filter item
|
|
6
|
-
*/
|
|
7
|
-
export interface SearchFilter {
|
|
8
|
-
/**
|
|
9
|
-
* Type of the item
|
|
10
|
-
*/
|
|
11
|
-
type: Extract<VizItemType, 'search-filter'>;
|
|
12
|
-
/**
|
|
13
|
-
* Options of the search filter item
|
|
14
|
-
* @$ref ./search-filter-options.schema.json/
|
|
15
|
-
*/
|
|
16
|
-
options: SearchFilterViewOptions;
|
|
17
|
-
/**
|
|
18
|
-
* Data definition of the search filter
|
|
19
|
-
* @maxItems 1
|
|
20
|
-
* @$ref ./search-filter-slots.schema.json
|
|
21
|
-
*/
|
|
22
|
-
slots: SearchFilterSlots;
|
|
23
|
-
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Position of the Y-axis labels
|
|
3
|
-
*/
|
|
4
|
-
export type YAxisLabelPosition = 'top' | 'middle' | 'bottom';
|
|
5
|
-
/**
|
|
6
|
-
* Position of the X-axis labels
|
|
7
|
-
*/
|
|
8
|
-
export type XAxisLabelPosition = 'left' | 'center' | 'right';
|
|
9
|
-
/**
|
|
10
|
-
* Axis ticks density
|
|
11
|
-
*/
|
|
12
|
-
export type AxisTicksDensity = 'compact' | 'normal' | 'sparse';
|
|
13
|
-
/**
|
|
14
|
-
* Axis scale type
|
|
15
|
-
*/
|
|
16
|
-
export type AxisScaleType = 'linear' | 'logarithmic';
|
|
17
|
-
/**
|
|
18
|
-
* Axis grid lines style
|
|
19
|
-
*/
|
|
20
|
-
export type AxisGridlinesStyle = 'solid' | 'dotted' | 'dashed';
|
|
21
|
-
/**
|
|
22
|
-
* Manual axis range options. Minimum and maximum value of the axis range.
|
|
23
|
-
*/
|
|
24
|
-
export type ManualAxesRange = [
|
|
25
|
-
/**
|
|
26
|
-
* Minimum value of the axis range
|
|
27
|
-
* @examples [-15, 0, 0.1, 10, 100]
|
|
28
|
-
*/
|
|
29
|
-
number,
|
|
30
|
-
/**
|
|
31
|
-
* Maximum value of the axis range
|
|
32
|
-
* @examples [-10, 0, 0.1, 10, 100]
|
|
33
|
-
*/
|
|
34
|
-
number
|
|
35
|
-
];
|
|
@@ -1,103 +0,0 @@
|
|
|
1
|
-
import { ItemQueryRanking } from './query';
|
|
2
|
-
import { OrderDirection } from './sort';
|
|
3
|
-
export type LegendPosition = 'topLeft' | 'top' | 'topRight' | 'left' | 'middle' | 'right' | 'bottomLeft' | 'bottom' | 'bottomRight';
|
|
4
|
-
/**
|
|
5
|
-
* Axis ticks mode
|
|
6
|
-
*/
|
|
7
|
-
export type AxisTicksMode = 'hide' | 'ticks' | 'gridlines';
|
|
8
|
-
/**
|
|
9
|
-
* Axis ticks style
|
|
10
|
-
*/
|
|
11
|
-
export type AxisTicksStyle = 'auto' | 'userDefined';
|
|
12
|
-
/**
|
|
13
|
-
* Guidelines options
|
|
14
|
-
*/
|
|
15
|
-
export interface Guidelines {
|
|
16
|
-
/**
|
|
17
|
-
* An array of guidelines
|
|
18
|
-
*/
|
|
19
|
-
lines: GuidelineLine[];
|
|
20
|
-
style: GuidelineStyle;
|
|
21
|
-
}
|
|
22
|
-
export interface GuidelineLine {
|
|
23
|
-
/**
|
|
24
|
-
* Color of the guideline
|
|
25
|
-
* @examples ["#000000", "black", "rgba(0,0,0,1)"]
|
|
26
|
-
*/
|
|
27
|
-
color: string;
|
|
28
|
-
/**
|
|
29
|
-
* Value type of the guideline
|
|
30
|
-
* @default "value"
|
|
31
|
-
*/
|
|
32
|
-
type: GuidelineLineType;
|
|
33
|
-
/**
|
|
34
|
-
* Value of the guideline
|
|
35
|
-
* @examples [-10, 0, 0.1, 10, 100]
|
|
36
|
-
*/
|
|
37
|
-
value?: number;
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Style of the guidelines
|
|
41
|
-
*/
|
|
42
|
-
export interface GuidelineStyle {
|
|
43
|
-
/**
|
|
44
|
-
* Dashed/dotted definition of the guideline
|
|
45
|
-
*/
|
|
46
|
-
type: '0' | '1,2' | '3,3';
|
|
47
|
-
/**
|
|
48
|
-
* Width of the guideline
|
|
49
|
-
* @examples ["1px", "2px", "3.5px"]
|
|
50
|
-
*/
|
|
51
|
-
width: string;
|
|
52
|
-
}
|
|
53
|
-
export type GuidelineLineType = 'median' | 'value' | 'average' | 'average open' | 'average close';
|
|
54
|
-
export type NullBreakViewOptions = {
|
|
55
|
-
/**
|
|
56
|
-
* Null break options
|
|
57
|
-
* @default false
|
|
58
|
-
*/
|
|
59
|
-
nullBreak?: boolean;
|
|
60
|
-
};
|
|
61
|
-
/**
|
|
62
|
-
* Missing value options
|
|
63
|
-
*/
|
|
64
|
-
export type MissingValueViewOptions = {
|
|
65
|
-
/**
|
|
66
|
-
* Missing value configuration
|
|
67
|
-
*/
|
|
68
|
-
missingValue?: {
|
|
69
|
-
/**
|
|
70
|
-
* Type of the missing value
|
|
71
|
-
* @default "no"
|
|
72
|
-
*/
|
|
73
|
-
type?: MissingValueType;
|
|
74
|
-
/**
|
|
75
|
-
* Value of the missing value
|
|
76
|
-
*/
|
|
77
|
-
value?: number;
|
|
78
|
-
};
|
|
79
|
-
};
|
|
80
|
-
export type MissingValueType = 'no' | 'break' | 'manual';
|
|
81
|
-
export interface LimitViewOptions {
|
|
82
|
-
/**
|
|
83
|
-
* Show number of observations
|
|
84
|
-
*/
|
|
85
|
-
limit?: {
|
|
86
|
-
/**
|
|
87
|
-
* Number of observations value
|
|
88
|
-
* @default 100000
|
|
89
|
-
*/
|
|
90
|
-
number?: number;
|
|
91
|
-
};
|
|
92
|
-
}
|
|
93
|
-
/**
|
|
94
|
-
* Ranking options
|
|
95
|
-
*/
|
|
96
|
-
export interface RankingViewOptions {
|
|
97
|
-
ranking?: ItemQueryRanking;
|
|
98
|
-
}
|
|
99
|
-
export type SortDirection = OrderDirection | '';
|
|
100
|
-
export type VizItemType = 'area-chart' | 'bar-chart' | 'bubble-chart' | 'box-plot' | 'bullet-chart' | 'choropleth-map' | 'circular-gauge' | 'circle-pack-chart' | 'column-chart' | 'combination-chart' | 'date-filter' | 'donut-chart' | 'dropdown-filter' | 'dynamic-imageobject' | 'evolution-number' | 'funnel-chart' | 'heat-map' | 'heat-table' | 'hexbin-map' | 'iframeobject' | 'image' | 'line-chart' | 'line-chart-forecast' | 'marker-map' | 'conditional-number' | 'ohlc-chart' | 'parallel-coordinates-plot' | 'pivot-table' | 'pyramid-chart' | 'radar-chart' | 'regular-table' | 'route-map' | 'sankey-diagram' | 'scatter-plot' | 'search-filter' | 'slicer-filter' | 'slider-filter' | 'spacer' | 'speedometer-chart' | 'spike-map' | 'strip-plot' | 'sunburst-chart' | 'symbol-map' | 'text' | 'treemap-chart' | 'venn-diagram' | 'video' | 'wordcloud-chart';
|
|
101
|
-
export type ItemType = VizItemType;
|
|
102
|
-
export type DatetimeDisplayMode = 'default' | 'weekday_number' | 'weekday_name' | 'day_in_month' | 'day_in_year' | 'month_name' | 'month_number' | 'week_number' | 'second_in_minute' | 'minute_in_hour' | 'hour_in_day' | 'quarter_number';
|
|
103
|
-
export type ScreenMode = 'desktop' | 'tablet' | 'mobile' | 'largeScreen' | 'fixed';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { ObjectViewOptions } from './object-view-options';
|
|
2
|
-
export interface DropObjectViewOptions extends ObjectViewOptions {
|
|
3
|
-
/**
|
|
4
|
-
* The main color for the item, if omitted the default color from the theme will be used.
|
|
5
|
-
* @examples ["#FF5733", "#33FF57", "#5733FF"]
|
|
6
|
-
* @default ""
|
|
7
|
-
*/
|
|
8
|
-
color?: string;
|
|
9
|
-
/**
|
|
10
|
-
* Additional check for dataset joinability
|
|
11
|
-
* @TJS-ignore
|
|
12
|
-
*/
|
|
13
|
-
noLinkCheck?: boolean;
|
|
14
|
-
}
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
export interface FilterViewOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Filter
|
|
4
|
-
* @TJS-ignore
|
|
5
|
-
*/
|
|
6
|
-
filter?: {
|
|
7
|
-
/**
|
|
8
|
-
* Item IDs to ignore. If not provided, all other items will be filtered when something is changed on the current one.
|
|
9
|
-
* @type array
|
|
10
|
-
* @items.type string
|
|
11
|
-
* @items.format uuid
|
|
12
|
-
*/
|
|
13
|
-
ignore?: string[];
|
|
14
|
-
/**
|
|
15
|
-
* Objects
|
|
16
|
-
* @type array
|
|
17
|
-
* @items.type string
|
|
18
|
-
* @items.format uuid
|
|
19
|
-
*/
|
|
20
|
-
objects?: string[];
|
|
21
|
-
};
|
|
22
|
-
}
|
|
23
|
-
export interface FilterableByViewOptions {
|
|
24
|
-
/**
|
|
25
|
-
* Filterable by item IDs.
|
|
26
|
-
* @type array
|
|
27
|
-
* @items.type string
|
|
28
|
-
* @items.format uuid
|
|
29
|
-
* @TJS-ignore
|
|
30
|
-
*/
|
|
31
|
-
filterableBy?: string[];
|
|
32
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Currency } from './slots';
|
|
2
|
-
export type Formula = {
|
|
3
|
-
id: string;
|
|
4
|
-
/**
|
|
5
|
-
* @TJS-type object
|
|
6
|
-
*/
|
|
7
|
-
name: Record<string, string>;
|
|
8
|
-
expression: string;
|
|
9
|
-
type: FormulaType;
|
|
10
|
-
subtype: FormulaSubtype;
|
|
11
|
-
format: string;
|
|
12
|
-
informat: FormulaInformat;
|
|
13
|
-
securableFormula?: {
|
|
14
|
-
securable_id: string;
|
|
15
|
-
formula_id: string;
|
|
16
|
-
};
|
|
17
|
-
currency?: Currency;
|
|
18
|
-
securable_id?: string;
|
|
19
|
-
currency_id?: string;
|
|
20
|
-
lowestLevel?: number;
|
|
21
|
-
level?: number;
|
|
22
|
-
duration_format?: 'long' | 'short' | 'time';
|
|
23
|
-
duration_levels?: number[];
|
|
24
|
-
color?: string;
|
|
25
|
-
};
|
|
26
|
-
export type FormulaType = 'hierarchy' | 'numeric' | 'datetime';
|
|
27
|
-
export type FormulaSubtype = 'duration' | 'currency' | 'date' | 'datetime';
|
|
28
|
-
export type FormulaInformat = 'hierarchy' | 'numeric' | 'YYYY-MM-DD HH:mm:ss.SSS' | 'MM-DD-YYYY HH:mm:ss.SSS' | 'DD-MM-YYYY HH:mm:ss.SSS' | 'YYYY-MM-DD HH:mm:ss.SSS ZZ' | 'MM-DD-YYYY HH:mm:ss.SSS ZZ' | 'DD-MM-YYYY HH:mm:ss.SSS ZZ' | 'X' | 'x';
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
export * from './axes';
|
|
2
|
-
export * from './axis-view-options';
|
|
3
|
-
export * from './common';
|
|
4
|
-
export * from './drop-object-view-options';
|
|
5
|
-
export * from './filters';
|
|
6
|
-
export * from './formula';
|
|
7
|
-
export * from './info-tooltip-options';
|
|
8
|
-
export * from './info-tooltip-options';
|
|
9
|
-
export * from './interactivity-brush';
|
|
10
|
-
export * from './interactivity-custom-events';
|
|
11
|
-
export * from './interactivity-custom-tooltip';
|
|
12
|
-
export * from './interactivity-drilldown';
|
|
13
|
-
export * from './interactivity-export';
|
|
14
|
-
export * from './interactivity-filter';
|
|
15
|
-
export * from './interactivity-go-to-url';
|
|
16
|
-
export * from './interactivity-measure-dimension-picker';
|
|
17
|
-
export * from './interactivity-target';
|
|
18
|
-
export * from './interpolation';
|
|
19
|
-
export * from './legend';
|
|
20
|
-
export * from './map-object-view-options';
|
|
21
|
-
export * from './object-view-options';
|
|
22
|
-
export * from './placeholder';
|
|
23
|
-
export * from './query';
|
|
24
|
-
export * from './ranges';
|
|
25
|
-
export * from './slots';
|
|
26
|
-
export * from './sort';
|
|
27
|
-
export * from './theme';
|
|
28
|
-
export * from './title';
|
|
29
|
-
export * from './item-filter-group';
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
export type InfoTooltipPosition = 'left' | 'right';
|
|
2
|
-
export interface InfoTooltipViewOptions {
|
|
3
|
-
/**
|
|
4
|
-
* Information tooltip configuration
|
|
5
|
-
* @TJS-ignore
|
|
6
|
-
*/
|
|
7
|
-
annotate?: {
|
|
8
|
-
infoTooltip?: {
|
|
9
|
-
/**
|
|
10
|
-
* Information tooltip content in format {locale: "content"}, for example, {en: "Content"}
|
|
11
|
-
* @TJS-type object
|
|
12
|
-
*/
|
|
13
|
-
content?: Record<string, string>;
|
|
14
|
-
/**
|
|
15
|
-
* Information tooltip position
|
|
16
|
-
*/
|
|
17
|
-
position?: InfoTooltipPosition;
|
|
18
|
-
/**
|
|
19
|
-
* Is information tooltip active
|
|
20
|
-
*/
|
|
21
|
-
active?: boolean;
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,61 +0,0 @@
|
|
|
1
|
-
import { ItemQueryAggregation } from './query';
|
|
2
|
-
/**
|
|
3
|
-
* Custom event configuration
|
|
4
|
-
*/
|
|
5
|
-
export interface InteractivityCustomEvent {
|
|
6
|
-
/**
|
|
7
|
-
* Custom event name
|
|
8
|
-
*/
|
|
9
|
-
name?: string;
|
|
10
|
-
/**
|
|
11
|
-
* Label in format {locale: "label"}, for example, {en: "Total Revenue"}
|
|
12
|
-
* @TJS-type object
|
|
13
|
-
*/
|
|
14
|
-
label: Record<string, string>;
|
|
15
|
-
}
|
|
16
|
-
export interface InteractivityCustomEventExtraData {
|
|
17
|
-
/**
|
|
18
|
-
* Label
|
|
19
|
-
*/
|
|
20
|
-
label: string;
|
|
21
|
-
/**
|
|
22
|
-
* Dataset id
|
|
23
|
-
* @format uuid
|
|
24
|
-
*/
|
|
25
|
-
datasetId: string;
|
|
26
|
-
/**
|
|
27
|
-
* Column id
|
|
28
|
-
* @format uuid
|
|
29
|
-
*/
|
|
30
|
-
columnId?: string;
|
|
31
|
-
/**
|
|
32
|
-
* Formula id
|
|
33
|
-
* @format uuid
|
|
34
|
-
*/
|
|
35
|
-
formulaId?: string;
|
|
36
|
-
aggregation?: ItemQueryAggregation;
|
|
37
|
-
/**
|
|
38
|
-
* Weighted dataset id
|
|
39
|
-
* @format uuid
|
|
40
|
-
*/
|
|
41
|
-
weightedDatasetId?: string;
|
|
42
|
-
/**
|
|
43
|
-
* Weighted column id
|
|
44
|
-
* @format uuid
|
|
45
|
-
*/
|
|
46
|
-
weightedColumnId?: string;
|
|
47
|
-
}
|
|
48
|
-
export interface InteractivityCustomEventsViewOptions {
|
|
49
|
-
/**
|
|
50
|
-
* Interactivity options
|
|
51
|
-
*/
|
|
52
|
-
interactivity?: {
|
|
53
|
-
/**
|
|
54
|
-
* Custom events interactivity option
|
|
55
|
-
*/
|
|
56
|
-
customEvents?: {
|
|
57
|
-
events?: InteractivityCustomEvent[];
|
|
58
|
-
extraData?: InteractivityCustomEventExtraData[];
|
|
59
|
-
} | null;
|
|
60
|
-
};
|
|
61
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
export interface InteractivityCustomTooltipViewOptions {
|
|
2
|
-
/**
|
|
3
|
-
* Interactivity options
|
|
4
|
-
*/
|
|
5
|
-
interactivity?: {
|
|
6
|
-
/**
|
|
7
|
-
* Custom tooltip in a key-value format. The key is the language code and the value is the content in that language.
|
|
8
|
-
* @examples [{"en": "Hello World", "de": "Hallo Welt"}]
|
|
9
|
-
* @TJS-type object
|
|
10
|
-
*/
|
|
11
|
-
customTooltip?: Record<string, string> | null;
|
|
12
|
-
};
|
|
13
|
-
}
|
|
@@ -1,81 +0,0 @@
|
|
|
1
|
-
import { Column, GenericSlotContent, HierarchyLevel, SlotName } from './slots';
|
|
2
|
-
type DrilldownType = 'level' | 'other';
|
|
3
|
-
export interface DrilldownLevelType {
|
|
4
|
-
type: Extract<DrilldownType, 'level'>;
|
|
5
|
-
levels: number[];
|
|
6
|
-
active: boolean;
|
|
7
|
-
order: number;
|
|
8
|
-
}
|
|
9
|
-
export interface DrilldownOtherType {
|
|
10
|
-
/**
|
|
11
|
-
* Type of drilldown
|
|
12
|
-
*/
|
|
13
|
-
type: Extract<DrilldownType, 'other'>;
|
|
14
|
-
/**
|
|
15
|
-
* Label in format {locale: "label"}, for example, {en: "Total Revenue"}
|
|
16
|
-
* @TJS-type object
|
|
17
|
-
*/
|
|
18
|
-
label: Record<string, string>;
|
|
19
|
-
/**
|
|
20
|
-
* @TJS-type object
|
|
21
|
-
*/
|
|
22
|
-
drilldownColumn: Record<string, any>;
|
|
23
|
-
/**
|
|
24
|
-
* Is active
|
|
25
|
-
*/
|
|
26
|
-
active: boolean;
|
|
27
|
-
/**
|
|
28
|
-
* Order
|
|
29
|
-
*/
|
|
30
|
-
order: number;
|
|
31
|
-
}
|
|
32
|
-
type DrilldownValueType = DrilldownLevelType | DrilldownOtherType;
|
|
33
|
-
export interface DrilldownValue {
|
|
34
|
-
active: boolean;
|
|
35
|
-
drillPath: number;
|
|
36
|
-
/**
|
|
37
|
-
* Label in format {locale: "label"}, for example, {en: "Total Revenue"}
|
|
38
|
-
* @TJS-type object
|
|
39
|
-
*/
|
|
40
|
-
label: Record<string, string>;
|
|
41
|
-
values: DrilldownValueType[];
|
|
42
|
-
}
|
|
43
|
-
/**
|
|
44
|
-
* Drilldown interactivity option
|
|
45
|
-
*/
|
|
46
|
-
export type Drilldown = Record<SlotName, DrilldownValue[]>;
|
|
47
|
-
export type DrilldownSubLevel = {
|
|
48
|
-
id?: string;
|
|
49
|
-
name: string;
|
|
50
|
-
level: number;
|
|
51
|
-
enabled: boolean;
|
|
52
|
-
togglingDisabled: boolean;
|
|
53
|
-
};
|
|
54
|
-
export interface DrilldownColumn extends Column {
|
|
55
|
-
index?: number;
|
|
56
|
-
columnHierarchies?: HierarchyLevel[] | string[];
|
|
57
|
-
level?: number;
|
|
58
|
-
actionName?: Record<string, string>;
|
|
59
|
-
hidden?: boolean;
|
|
60
|
-
}
|
|
61
|
-
export type DrilldownConfig = {
|
|
62
|
-
label: Record<string, string>;
|
|
63
|
-
selectedColumns: DrilldownColumn[];
|
|
64
|
-
slot: GenericSlotContent & {
|
|
65
|
-
drillDownActive?: boolean;
|
|
66
|
-
name: Record<string, string>;
|
|
67
|
-
sublevels: DrilldownSubLevel[];
|
|
68
|
-
disabled: boolean;
|
|
69
|
-
levelsActive: number;
|
|
70
|
-
};
|
|
71
|
-
allColumns: DrilldownColumn[];
|
|
72
|
-
};
|
|
73
|
-
export interface InteractivityDrilldownViewOptions {
|
|
74
|
-
/**
|
|
75
|
-
* Interactivity options
|
|
76
|
-
*/
|
|
77
|
-
interactivity?: {
|
|
78
|
-
drilldown?: Drilldown;
|
|
79
|
-
};
|
|
80
|
-
}
|
|
81
|
-
export {};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Export types
|
|
3
|
-
*/
|
|
4
|
-
export type ExportType = 'xlsx' | 'csv' | 'xlsx-raw' | 'csv-raw' | 'png';
|
|
5
|
-
/**
|
|
6
|
-
* Interactivity export options
|
|
7
|
-
*/
|
|
8
|
-
export interface InteractivityExportViewOptions {
|
|
9
|
-
/**
|
|
10
|
-
* Interactivity options
|
|
11
|
-
*/
|
|
12
|
-
interactivity?: {
|
|
13
|
-
/**
|
|
14
|
-
* Available export types interactivity option
|
|
15
|
-
* @default ["xlsx", "csv", "png"]
|
|
16
|
-
*/
|
|
17
|
-
availableExportTypes?: ExportType[];
|
|
18
|
-
/**
|
|
19
|
-
* Export types interactivity option
|
|
20
|
-
* @default ["xlsx", "csv", "png"]
|
|
21
|
-
*/
|
|
22
|
-
exportTypes?: ExportType[];
|
|
23
|
-
};
|
|
24
|
-
}
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Url config for Go to URL
|
|
3
|
-
*/
|
|
4
|
-
export interface UrlConfig {
|
|
5
|
-
/**
|
|
6
|
-
* URL target
|
|
7
|
-
*/
|
|
8
|
-
target: '_parent' | '_self' | '_blank';
|
|
9
|
-
/**
|
|
10
|
-
* URL in format {locale: "url"}, for example, {en: "..."}
|
|
11
|
-
* @TJS-type object
|
|
12
|
-
*/
|
|
13
|
-
url: Record<string, string>;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* Go to URL option
|
|
17
|
-
*/
|
|
18
|
-
export interface InteractivityGoToUrlViewOptions {
|
|
19
|
-
/**
|
|
20
|
-
* Interactivity options
|
|
21
|
-
*/
|
|
22
|
-
interactivity?: {
|
|
23
|
-
/**
|
|
24
|
-
* Go to URL interactivity option
|
|
25
|
-
*/
|
|
26
|
-
urlConfig?: UrlConfig;
|
|
27
|
-
};
|
|
28
|
-
}
|
package/libs/dashboard-contents-types/src/lib/shared/interactivity-measure-dimension-picker.d.ts
DELETED
|
@@ -1,66 +0,0 @@
|
|
|
1
|
-
import { Formula } from './formula';
|
|
2
|
-
import { Column, GenericSlotContent, HierarchyLevel, Slot } from './slots';
|
|
3
|
-
export interface PickerConfigurationColumnType extends GenericSlotContent {
|
|
4
|
-
columnHierarchies?: HierarchyLevel[] | string[];
|
|
5
|
-
hidden?: boolean;
|
|
6
|
-
readonly?: boolean;
|
|
7
|
-
selected?: boolean;
|
|
8
|
-
}
|
|
9
|
-
export interface PickerConfigurationColumn extends Column {
|
|
10
|
-
columnHierarchies: HierarchyLevel[] | string[];
|
|
11
|
-
isFormula: boolean;
|
|
12
|
-
}
|
|
13
|
-
export interface PickerConfigurationFormula extends Formula {
|
|
14
|
-
isFormula: boolean;
|
|
15
|
-
}
|
|
16
|
-
/**
|
|
17
|
-
* Measure dimension picker configuration
|
|
18
|
-
*/
|
|
19
|
-
export type PickerConfiguration = {
|
|
20
|
-
slot: string;
|
|
21
|
-
description: string;
|
|
22
|
-
values: PickerConfigurationColumnType[];
|
|
23
|
-
order?: number;
|
|
24
|
-
allAvailableColumns?: {
|
|
25
|
-
/**
|
|
26
|
-
* @format uuid
|
|
27
|
-
*/
|
|
28
|
-
datasetId: string;
|
|
29
|
-
/**
|
|
30
|
-
* @TJS-type object
|
|
31
|
-
*/
|
|
32
|
-
datasetName: Record<string, string>;
|
|
33
|
-
columns: PickerConfigurationColumn[];
|
|
34
|
-
formulas: PickerConfigurationFormula[];
|
|
35
|
-
}[];
|
|
36
|
-
allowMultiple?: boolean;
|
|
37
|
-
acceptFormula: boolean;
|
|
38
|
-
};
|
|
39
|
-
export interface MeasureDimensionPickerModalData {
|
|
40
|
-
/**
|
|
41
|
-
* Current dashboard language
|
|
42
|
-
*/
|
|
43
|
-
language: string;
|
|
44
|
-
slots: {
|
|
45
|
-
name: string;
|
|
46
|
-
content: PickerConfigurationColumnType[];
|
|
47
|
-
originalContent?: PickerConfigurationColumnType[];
|
|
48
|
-
}[];
|
|
49
|
-
slotDefinitions: Slot[];
|
|
50
|
-
/**
|
|
51
|
-
* Existing picker configuration
|
|
52
|
-
*/
|
|
53
|
-
savedValues: PickerConfiguration[];
|
|
54
|
-
}
|
|
55
|
-
export type MeasureDimensionPickerModalEvent = PickerConfiguration[];
|
|
56
|
-
export interface InteractivityMeasureDimensionPickerViewOptions {
|
|
57
|
-
/**
|
|
58
|
-
* Interactivity options
|
|
59
|
-
*/
|
|
60
|
-
interactivity?: {
|
|
61
|
-
/**
|
|
62
|
-
* An array of measure dimension picker configurations
|
|
63
|
-
*/
|
|
64
|
-
measureDimensionPicker?: PickerConfiguration[];
|
|
65
|
-
};
|
|
66
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export type InteractivityTarget = '_parent' | '_self' | '_blank';
|