@luzmo/embed 6.1.2-beta.3 → 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,25 +0,0 @@
|
|
|
1
|
-
import { AreaChartViewOptions } from './lib/area-chart';
|
|
2
|
-
import { BoxPlotViewOptions } from './lib/box-plot';
|
|
3
|
-
import { BarChartViewOptions } from './lib/bar-chart';
|
|
4
|
-
import { BubbleChartViewOptions } from './lib/bubble-chart';
|
|
5
|
-
import { BulletChartViewOptions } from './lib/bullet-chart';
|
|
6
|
-
import { ChoroplethMapViewOptions } from './lib/choropleth-map';
|
|
7
|
-
import { CircularGaugeViewOptions } from './lib/circular-gauge';
|
|
8
|
-
import { ColumnChartViewOptions } from './lib/column-chart';
|
|
9
|
-
import { CombinationChartViewOptions } from './lib/combination-chart';
|
|
10
|
-
import { ConditionalNumberViewOptions } from './lib/conditional-number';
|
|
11
|
-
import { DateFilterViewOptions } from './lib/date-filter';
|
|
12
|
-
import { DonutChartViewOptions } from './lib/donut-chart';
|
|
13
|
-
import { DropdownFilterViewOptions } from './lib/dropdown-filter';
|
|
14
|
-
import { EvolutionNumberViewOptions } from './lib/evolution-number';
|
|
15
|
-
import { FunnelChartViewOptions } from './lib/funnel-chart';
|
|
16
|
-
import { ImageViewOptions } from './lib/image';
|
|
17
|
-
import { LineChartViewOptions } from './lib/line-chart';
|
|
18
|
-
import { PivotTableViewOptions } from './lib/pivot-table';
|
|
19
|
-
import { RegularTableViewOptions } from './lib/regular-table';
|
|
20
|
-
import { SankeyDiagramViewOptions } from './lib/sankey-diagram';
|
|
21
|
-
import { ScatterPlotViewOptions } from './lib/scatter-plot';
|
|
22
|
-
import { SlicerFilterViewOptions } from './lib/slicer-filter';
|
|
23
|
-
import { SliderFilterViewOptions } from './lib/slider-filter';
|
|
24
|
-
import { TextViewOptions } from './lib/text';
|
|
25
|
-
export type Options = AreaChartViewOptions | BarChartViewOptions | BoxPlotViewOptions | BubbleChartViewOptions | BulletChartViewOptions | ChoroplethMapViewOptions | CircularGaugeViewOptions | ColumnChartViewOptions | CombinationChartViewOptions | ConditionalNumberViewOptions | DateFilterViewOptions | DonutChartViewOptions | DropdownFilterViewOptions | EvolutionNumberViewOptions | FunnelChartViewOptions | ImageViewOptions | LineChartViewOptions | PivotTableViewOptions | RegularTableViewOptions | SankeyDiagramViewOptions | ScatterPlotViewOptions | SlicerFilterViewOptions | SliderFilterViewOptions | TextViewOptions;
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { AreaChartSlots } from './lib/area-chart';
|
|
2
|
-
import { BarChartSlots } from './lib/bar-chart';
|
|
3
|
-
import { BoxPlotSlots } from './lib/box-plot';
|
|
4
|
-
import { BubbleChartSlots } from './lib/bubble-chart';
|
|
5
|
-
import { BulletChartSlots } from './lib/bullet-chart';
|
|
6
|
-
import { ChoroplethMapSlots } from './lib/choropleth-map';
|
|
7
|
-
import { CircularGaugeSlots } from './lib/circular-gauge';
|
|
8
|
-
import { ColumnChartSlots } from './lib/column-chart';
|
|
9
|
-
import { CombinationChartSlots } from './lib/combination-chart';
|
|
10
|
-
import { ConditionalNumberSlots } from './lib/conditional-number';
|
|
11
|
-
import { DateFilterSlots } from './lib/date-filter';
|
|
12
|
-
import { DonutChartSlots } from './lib/donut-chart';
|
|
13
|
-
import { DropdownFilterSlots } from './lib/dropdown-filter';
|
|
14
|
-
import { EvolutionNumberSlots } from './lib/evolution-number';
|
|
15
|
-
import { FunnelChartSlots } from './lib/funnel-chart';
|
|
16
|
-
import { LineChartSlots } from './lib/line-chart';
|
|
17
|
-
import { PivotTableSlots } from './lib/pivot-table';
|
|
18
|
-
import { RegularTableSlots } from './lib/regular-table';
|
|
19
|
-
import { SankeyDiagramSlots } from './lib/sankey-diagram';
|
|
20
|
-
import { ScatterPlotSlots } from './lib/scatter-plot';
|
|
21
|
-
import { SlicerFilterSlots } from './lib/slicer-filter';
|
|
22
|
-
import { SliderFilterSlots } from './lib/slider-filter';
|
|
23
|
-
export type Slots = AreaChartSlots | BarChartSlots | BoxPlotSlots | BubbleChartSlots | BulletChartSlots | ChoroplethMapSlots | CircularGaugeSlots | ColumnChartSlots | CombinationChartSlots | ConditionalNumberSlots | DateFilterSlots | DonutChartSlots | DropdownFilterSlots | EvolutionNumberSlots | FunnelChartSlots | LineChartSlots | PivotTableSlots | RegularTableSlots | SankeyDiagramSlots | ScatterPlotSlots | SlicerFilterSlots | SliderFilterSlots;
|
|
24
|
-
export type VizItemSlots = Slots;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
export * from '@luzmo/dashboard-contents-types';
|
|
2
|
-
export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, VizItemOptions, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent, AIChatDisplayOptions, AIAnswerMessage, AIAnswerDisplayOptions } from '@luzmo/shared-embed';
|
|
3
|
-
export { selectedDataUtils } from '@luzmo/shared-embed';
|
|
4
|
-
export * from './lib/dashboard-component/dashboard-component';
|
|
5
|
-
export * from './lib/viz-item/viz-item-component';
|
|
6
|
-
export * from './lib/ai-component/luzmo-ai-chat';
|
|
7
|
-
export * from './lib/ai-component/luzmo-ai-answer';
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class LuzmoEmbedAIAnswerComponent extends LitElement {
|
|
4
|
-
appServer?: string;
|
|
5
|
-
apiHost?: string;
|
|
6
|
-
options?: SharedLib.AIAnswerDisplayOptions;
|
|
7
|
-
aiEndPoint?: string;
|
|
8
|
-
authKey?: string;
|
|
9
|
-
authToken?: string;
|
|
10
|
-
messages: SharedLib.AIAnswerMessage[];
|
|
11
|
-
version?: string;
|
|
12
|
-
libVersion?: string;
|
|
13
|
-
remoteEntryServer: string;
|
|
14
|
-
chartElement: HTMLElement;
|
|
15
|
-
static styles: import("lit").CSSResult;
|
|
16
|
-
constructor();
|
|
17
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
18
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
19
|
-
private createAndAppendElement;
|
|
20
|
-
private updateVizItemProperties;
|
|
21
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
22
|
-
protected render(): unknown;
|
|
23
|
-
}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
export declare class LuzmoEmbedAIChatComponent extends LitElement {
|
|
4
|
-
appServer?: string;
|
|
5
|
-
apiHost?: string;
|
|
6
|
-
options?: SharedLib.AIChatDisplayOptions;
|
|
7
|
-
datasets?: string[];
|
|
8
|
-
aiEndpoint?: string;
|
|
9
|
-
authKey?: string;
|
|
10
|
-
authToken?: string;
|
|
11
|
-
version?: string;
|
|
12
|
-
libVersion?: string;
|
|
13
|
-
remoteEntryServer: string;
|
|
14
|
-
aydHost: string;
|
|
15
|
-
chartElement: HTMLElement;
|
|
16
|
-
static styles: import("lit").CSSResult;
|
|
17
|
-
constructor();
|
|
18
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
19
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
20
|
-
private createAndAppendElement;
|
|
21
|
-
private updateVizItemProperties;
|
|
22
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
23
|
-
protected render(): unknown;
|
|
24
|
-
}
|
|
@@ -1,98 +0,0 @@
|
|
|
1
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
2
|
-
import { LitElement, PropertyValues, TemplateResult } from 'lit';
|
|
3
|
-
import { LuzmoElement, CombinedSelectedDataInput } from '@luzmo/shared-embed';
|
|
4
|
-
import type { FilterGroup } from '@luzmo/dashboard-contents-types';
|
|
5
|
-
/**
|
|
6
|
-
* Luzmo Dashboard
|
|
7
|
-
* Base component isn't registered in customEvents registry so that it can be reused.
|
|
8
|
-
*/
|
|
9
|
-
export declare class LuzmoDashboard extends LitElement implements SharedLib.ES6LuzmoDashboard {
|
|
10
|
-
container: HTMLElement;
|
|
11
|
-
luzmoEmbedContainer: HTMLElement;
|
|
12
|
-
iframe: HTMLIFrameElement;
|
|
13
|
-
dashboardId?: SharedLib.DashboardInputs['dashboardId'];
|
|
14
|
-
dashboardSlug?: SharedLib.DashboardInputs['dashboardSlug'];
|
|
15
|
-
itemId?: SharedLib.DashboardInputs['itemId'];
|
|
16
|
-
language: SharedLib.DashboardInputs['language'];
|
|
17
|
-
qeVersion: SharedLib.DashboardInputs['qeVersion'];
|
|
18
|
-
screenMode: SharedLib.DashboardInputs['screenMode'];
|
|
19
|
-
switchScreenModeOnResize: boolean;
|
|
20
|
-
editMode: SharedLib.DashboardInputs['editMode'];
|
|
21
|
-
mainColor?: SharedLib.DashboardInputs['mainColor'];
|
|
22
|
-
accentColor?: SharedLib.DashboardInputs['accentColor'];
|
|
23
|
-
authToken?: SharedLib.DashboardInputs['authToken'];
|
|
24
|
-
authKey?: SharedLib.DashboardInputs['authKey'];
|
|
25
|
-
loaderBackground?: SharedLib.DashboardInputs['loaderBackground'];
|
|
26
|
-
loaderFontColor?: SharedLib.DashboardInputs['loaderFontColor'];
|
|
27
|
-
loaderSpinnerColor?: SharedLib.DashboardInputs['loaderSpinnerColor'];
|
|
28
|
-
loaderSpinnerBackground?: SharedLib.DashboardInputs['loaderSpinnerBackground'];
|
|
29
|
-
appServer?: SharedLib.DashboardInputs['appServer'];
|
|
30
|
-
timezoneId?: SharedLib.DashboardInputs['timezoneId'];
|
|
31
|
-
apiHost?: SharedLib.DashboardInputs['apiHost'];
|
|
32
|
-
itemDimensions: SharedLib.DashboardInputs['itemDimensions'];
|
|
33
|
-
experimental: boolean;
|
|
34
|
-
_containerId: string;
|
|
35
|
-
_iframeId: string;
|
|
36
|
-
params: SharedLib.DashboardContentParams;
|
|
37
|
-
_iframeUrl?: string;
|
|
38
|
-
iframeLoaded: boolean;
|
|
39
|
-
promises: SharedLib.DashboardPromises;
|
|
40
|
-
iframeStyle: SharedLib.IframeStyles;
|
|
41
|
-
_containerStyle: SharedLib.ContainerStyles;
|
|
42
|
-
_loaderStyle: SharedLib.LoaderStyles;
|
|
43
|
-
_lcStyle: SharedLib.LcStyles;
|
|
44
|
-
_loadingCircleStyle: SharedLib.PlStyles;
|
|
45
|
-
_containerLoaderStyle: SharedLib.ContainerLoaderStyles;
|
|
46
|
-
_loaderMsg: string;
|
|
47
|
-
containerWidth?: number;
|
|
48
|
-
dimensions?: SharedLib.DashboardDimensions;
|
|
49
|
-
currentScreenMode?: SharedLib.ScreenMode;
|
|
50
|
-
_itemEmbedding: boolean;
|
|
51
|
-
browserError: boolean;
|
|
52
|
-
browserErrorMsg: string;
|
|
53
|
-
dashboardError: boolean;
|
|
54
|
-
browserNotSupported: any[];
|
|
55
|
-
libVersion: string;
|
|
56
|
-
protected isLibraryLoaded: boolean;
|
|
57
|
-
protected dashboardReference: LuzmoElement;
|
|
58
|
-
currentAuthKey: string;
|
|
59
|
-
currentAuthToken: string;
|
|
60
|
-
isInitCalled: boolean;
|
|
61
|
-
private attributesMap;
|
|
62
|
-
_loadTimeoutHandle?: number;
|
|
63
|
-
_onResize: () => void;
|
|
64
|
-
loaderSize: number;
|
|
65
|
-
borderWidth: number;
|
|
66
|
-
minHeight: number;
|
|
67
|
-
iframeHeight?: string;
|
|
68
|
-
iframeWidth?: string;
|
|
69
|
-
_resizeObserver: ResizeObserver;
|
|
70
|
-
constructor();
|
|
71
|
-
connectedCallback(): void;
|
|
72
|
-
disconnectedCallback(): void;
|
|
73
|
-
firstUpdated(): void;
|
|
74
|
-
initComponent(): void;
|
|
75
|
-
setAllAttributes(): void;
|
|
76
|
-
updated(changedProperties: PropertyValues): void;
|
|
77
|
-
_setOptions(): SharedLib.DashboardContentParams;
|
|
78
|
-
_updateIframeUrl(): void;
|
|
79
|
-
_setupLoader(): void;
|
|
80
|
-
_displayError(): void;
|
|
81
|
-
_calculateDimAfterDashboardLoaded(): void;
|
|
82
|
-
_loaderStyles(): void;
|
|
83
|
-
static get styles(): import("lit").CSSResult[];
|
|
84
|
-
render(): TemplateResult;
|
|
85
|
-
getDashboards(): Promise<LuzmoDashboard[]>;
|
|
86
|
-
getData(itemId: string): Promise<SharedLib.ItemData>;
|
|
87
|
-
getFilters(): Promise<FilterGroup[]>;
|
|
88
|
-
setSelectedData<K extends CombinedSelectedDataInput>(itemId: string, filters: K): Promise<SharedLib.SetSelectedData>;
|
|
89
|
-
setAuthorization(key: string, token: string): Promise<void>;
|
|
90
|
-
refreshData(itemId?: string): Promise<void>;
|
|
91
|
-
reloadDashboard(): Promise<void>;
|
|
92
|
-
exportDashboard(format?: SharedLib.ExportType): Promise<SharedLib.ExportDashboard>;
|
|
93
|
-
getAccessibleDashboards(): Promise<SharedLib.AccessibleDashboard[]>;
|
|
94
|
-
addFilters(itemId: string, filters: FilterGroup[]): Promise<SharedLib.AddFilters>;
|
|
95
|
-
setEditMode(editMode?: SharedLib.DashboardEditMode): Promise<SharedLib.SetEditMode>;
|
|
96
|
-
setPreview(preview: boolean): Promise<SharedLib.SetPreview>;
|
|
97
|
-
getIsViewMode(): boolean;
|
|
98
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const dashboardStyles: import("lit").CSSResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const _setEventHandler: () => void;
|
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
|
-
import type { VizItemType, VizItemSlots, FilterGroup } from '@luzmo/dashboard-contents-types';
|
|
4
|
-
/**
|
|
5
|
-
* The version of the dashboard contents that is linked to the current library.
|
|
6
|
-
*
|
|
7
|
-
* If custom options/slots/etc. are passed to the component, the library assumes that
|
|
8
|
-
* they are using this dashboard contents version. Then custom options/slots/etc.
|
|
9
|
-
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.mjs)
|
|
10
|
-
* and if needed the migration will be applied on the dashboard app level.
|
|
11
|
-
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.89";
|
|
13
|
-
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
|
-
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
|
-
options?: SharedLib.VizItemOptions;
|
|
16
|
-
type?: VizItemType;
|
|
17
|
-
appServer?: string;
|
|
18
|
-
apiHost?: string;
|
|
19
|
-
slots?: VizItemSlots;
|
|
20
|
-
canFilter?: string[] | 'all';
|
|
21
|
-
filters?: FilterGroup[];
|
|
22
|
-
contextId?: string;
|
|
23
|
-
authKey?: string;
|
|
24
|
-
authToken?: string;
|
|
25
|
-
dashboardId?: string;
|
|
26
|
-
itemId?: string;
|
|
27
|
-
getFilters: () => FilterGroup[];
|
|
28
|
-
export: () => void;
|
|
29
|
-
refreshData: () => void;
|
|
30
|
-
getData: () => SharedLib.ItemData;
|
|
31
|
-
setSelectedData: (selectedDataInput: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
32
|
-
setAuthorization: (key: string, token: string) => void;
|
|
33
|
-
}
|
|
34
|
-
export type { LuzmoVizItemComponentInterface };
|
|
35
|
-
export declare class LuzmoBaseVizItem extends LitElement implements LuzmoVizItemComponentInterface {
|
|
36
|
-
appServer?: string;
|
|
37
|
-
apiHost?: string;
|
|
38
|
-
slots?: VizItemSlots;
|
|
39
|
-
options?: SharedLib.VizItemOptions;
|
|
40
|
-
type?: VizItemType;
|
|
41
|
-
authKey?: string;
|
|
42
|
-
authToken?: string;
|
|
43
|
-
version?: string;
|
|
44
|
-
contextId?: string;
|
|
45
|
-
canFilter?: SharedLib.CanFilter;
|
|
46
|
-
filters?: FilterGroup[];
|
|
47
|
-
dashboardId?: string;
|
|
48
|
-
itemId?: string;
|
|
49
|
-
selectedData: SharedLib.SelectedDataInput;
|
|
50
|
-
dashboardContentsVersion?: string;
|
|
51
|
-
libVersion?: string;
|
|
52
|
-
chartElement: HTMLElement & Partial<LuzmoVizItemComponentInterface> & {
|
|
53
|
-
setSelectedData?: (itemId?: string, filters?: SharedLib.SelectedDataInput) => SharedLib.SetSelectedData;
|
|
54
|
-
};
|
|
55
|
-
postInitCallQueue: FunctionCall[];
|
|
56
|
-
static styles: import("lit").CSSResult;
|
|
57
|
-
constructor();
|
|
58
|
-
protected createRenderRoot(): HTMLElement | DocumentFragment;
|
|
59
|
-
canInitializeVizItem(): boolean;
|
|
60
|
-
getFilters(): FilterGroup[];
|
|
61
|
-
export(): void;
|
|
62
|
-
getData(): any;
|
|
63
|
-
refreshData(): void;
|
|
64
|
-
setSelectedData(selectedDataInput: SharedLib.SelectedDataInput): SharedLib.SetSelectedData;
|
|
65
|
-
setAuthorization(key: string, token: string): void;
|
|
66
|
-
attributeChangedCallback(name: string, _old: string | null, value: string | null): void;
|
|
67
|
-
protected firstUpdated(_changedProperties: PropertyValues): Promise<void>;
|
|
68
|
-
private createAndAppendElement;
|
|
69
|
-
private updateVizItemProperties;
|
|
70
|
-
updated(changedProperties: PropertyValues): Promise<void>;
|
|
71
|
-
private parseAndValidate;
|
|
72
|
-
protected render(): unknown;
|
|
73
|
-
}
|
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
export * from './lib/helpers/browser-check';
|
|
2
|
-
export * from './lib/helpers/default-parameters';
|
|
3
|
-
export * from './lib/helpers/error';
|
|
4
|
-
export * from './lib/helpers/extents';
|
|
5
|
-
export * from './lib/helpers/translations';
|
|
6
|
-
export * from './lib/helpers/utils';
|
|
7
|
-
export * from './lib/helpers/iframe-url';
|
|
8
|
-
export * from './lib/helpers/get-loader';
|
|
9
|
-
export * from './lib/helpers/promise-dispatch';
|
|
10
|
-
export * from './lib/helpers/styles';
|
|
11
|
-
export * from './lib/helpers/update-iframe-url';
|
|
12
|
-
export * from './lib/helpers/set-selected-data-utils';
|
|
13
|
-
export * from './lib/methods/export-dashboard';
|
|
14
|
-
export * from './lib/methods/get-accessible-dashboards';
|
|
15
|
-
export * from './lib/methods/get-data';
|
|
16
|
-
export * from './lib/methods/get-filters';
|
|
17
|
-
export * from './lib/methods/refresh-data';
|
|
18
|
-
export * from './lib/methods/reload-dashboard';
|
|
19
|
-
export * from './lib/methods/set-authorization';
|
|
20
|
-
export * from './lib/methods/set-edit-mode';
|
|
21
|
-
export * from './lib/methods/set-selected-data';
|
|
22
|
-
export * from './lib/methods/set-preview';
|
|
23
|
-
export * from './lib/service/calculate-dimensions';
|
|
24
|
-
export * from './lib/service/extend-and-validate';
|
|
25
|
-
export * from './lib/models/common.model';
|
|
26
|
-
export * from './lib/models/dashboard.model';
|
|
27
|
-
export * from './lib/models/events.model';
|
|
28
|
-
export * from './lib/models/styles.model';
|
|
29
|
-
export * from './lib/models/filters.model';
|
|
30
|
-
export * from './lib/models/viz-item.model';
|
|
31
|
-
export * from './lib/models/viz-item-post-message.model';
|
|
32
|
-
export * from './lib/models/ai-components.model';
|
|
33
|
-
export * from './lib/models/viz-items';
|
|
34
|
-
export * from './lib/constants/class-constants';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const luzmoEmbedContainerClass = "luzmo-embed-container";
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const createIframeUrl: (dashboardContent: any) => string;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { LuzmoDashboard } from '../models/dashboard.model';
|
|
2
|
-
export declare function resolvePromise<T extends LuzmoDashboard>(dashboardComponent: T, requestId: string, data: unknown): void;
|
|
3
|
-
export declare function rejectPromise<T extends LuzmoDashboard>(dashboardComponent: T, requestId: string, data: unknown): void;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
type RemoteMap = {
|
|
2
|
-
[remoteName: string]: {
|
|
3
|
-
url?: string;
|
|
4
|
-
format?: string;
|
|
5
|
-
from?: string;
|
|
6
|
-
module?: any;
|
|
7
|
-
inited?: boolean;
|
|
8
|
-
lib?: any;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
type ComponentNames = 'DashboardApp' | 'Component';
|
|
12
|
-
export declare const remotesMap: RemoteMap;
|
|
13
|
-
export declare function __federationMethodWrapDefault(module: any, need?: boolean): any;
|
|
14
|
-
export declare function __federationMethodGetRemote(remoteName: string, componentName: string): Promise<any>;
|
|
15
|
-
export declare function loadLibrary(appServer: string, componentName?: ComponentNames): Promise<any>;
|
|
16
|
-
export {};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { SelectedDataInput, AvailableSlots } from '../models/filters.model';
|
|
2
|
-
export declare const selectedDataUtils: {
|
|
3
|
-
merge(...filters: SelectedDataInput[]): SelectedDataInput;
|
|
4
|
-
isIn(slot: AvailableSlots, values: string[] | number[], otherOptions?: any): SelectedDataInput;
|
|
5
|
-
between(slot: AvailableSlots, values: [string | number, string | number], otherOptions?: any): SelectedDataInput;
|
|
6
|
-
range(slot: AvailableSlots, values: [string | number, string | number], otherOptions?: any): SelectedDataInput;
|
|
7
|
-
};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ContainerLoaderStyles, ContainerStyles, IframeStyles, LcStyles, LoaderStyles, PlStyles } from '../models/styles.model';
|
|
2
|
-
import { CommonLuzmoDashboard } from '../models/dashboard.model';
|
|
3
|
-
export declare function containerStyles(dashboardComponent: CommonLuzmoDashboard): ContainerStyles;
|
|
4
|
-
export declare function containerLoaderStyles(dashboardComponent: CommonLuzmoDashboard): ContainerLoaderStyles;
|
|
5
|
-
export declare function loaderStyles(dashboardComponent: CommonLuzmoDashboard): LoaderStyles;
|
|
6
|
-
export declare function plStyles(dashboardComponent: CommonLuzmoDashboard): PlStyles;
|
|
7
|
-
export declare function lcStyles(dashboardComponent: CommonLuzmoDashboard): LcStyles;
|
|
8
|
-
export declare function calculateIframeStyles(dashboardComponent: CommonLuzmoDashboard): IframeStyles;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
export declare const TRANSLATIONS: {
|
|
2
|
-
initializing: {
|
|
3
|
-
en: string;
|
|
4
|
-
nl: string;
|
|
5
|
-
fr: string;
|
|
6
|
-
};
|
|
7
|
-
errorDashboard: {
|
|
8
|
-
en: string;
|
|
9
|
-
nl: string;
|
|
10
|
-
fr: string;
|
|
11
|
-
};
|
|
12
|
-
errorItem: {
|
|
13
|
-
en: string;
|
|
14
|
-
nl: string;
|
|
15
|
-
fr: string;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export default TRANSLATIONS;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const updateIframeUrl: (iframe: HTMLIFrameElement, iframeUrl?: string) => void;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { LuzmoDashboard } from '../models/dashboard.model';
|
|
2
|
-
export declare const addTrailingSlash: (serverUrl?: string) => string;
|
|
3
|
-
export declare const removeTrailingSlash: (serverUrl?: string) => string;
|
|
4
|
-
export declare const formatDashboardList: (dashboards: any[], integrationId: string, user: any, dashboardComponent: LuzmoDashboard) => {
|
|
5
|
-
accessibleBy: {
|
|
6
|
-
id: string;
|
|
7
|
-
name: string;
|
|
8
|
-
model: 'User' | 'Group' | 'Integration';
|
|
9
|
-
}[];
|
|
10
|
-
accessRights: {
|
|
11
|
-
flagRead?: boolean;
|
|
12
|
-
flagUse?: boolean;
|
|
13
|
-
flagModify?: boolean;
|
|
14
|
-
flagOwn?: boolean;
|
|
15
|
-
};
|
|
16
|
-
id: string;
|
|
17
|
-
modifiedAt: string;
|
|
18
|
-
name: string;
|
|
19
|
-
slug: string;
|
|
20
|
-
tags: string[];
|
|
21
|
-
}[];
|
|
22
|
-
export declare const VERSION = "0.0.0-unknown-luzmo";
|
|
23
|
-
export declare const sanitizeUrl: (url: string) => string;
|
|
24
|
-
export declare const cloneDeep: (obj: unknown) => any;
|
|
25
|
-
export declare const defaultsDeep: <T extends object>(target: T, defaults: T) => T;
|
|
26
|
-
export declare const s4: () => string;
|
|
27
|
-
export declare const uuidv4: () => string;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ExportDashboard } from '../models/common.model';
|
|
2
|
-
import { LuzmoDashboard } from '../models/dashboard.model';
|
|
3
|
-
export type ExportType = 'png' | 'pdf';
|
|
4
|
-
export declare const exportDashboard: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, format?: ExportType) => Promise<ExportDashboard>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { DashboardEditMode, SetEditMode } from '../models/common.model';
|
|
2
|
-
import { LuzmoDashboard } from '../models/dashboard.model';
|
|
3
|
-
export declare const setEditMode: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, editMode?: DashboardEditMode) => Promise<SetEditMode>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { SetSelectedData } from '../models/common.model';
|
|
2
|
-
import { LuzmoDashboard } from '../models/dashboard.model';
|
|
3
|
-
import { SelectedDataInput } from '../models/filters.model';
|
|
4
|
-
export declare const setSelectedData: <T extends LuzmoDashboard>(dashboardComponent: T, iframe: HTMLIFrameElement, itemId: string, filters: SelectedDataInput) => Promise<SetSelectedData>;
|