@luzmo/embed 7.5.0-es2021 → 8.0.0-es2021
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 +91 -0
- package/README.md +2 -2
- package/index.cjs +1589 -143
- package/index.js +1583 -129
- package/index.rn.cjs +1375 -0
- package/index.rn.js +1305 -0
- package/index.shared.cjs +1486 -0
- package/index.shared.js +1412 -0
- package/luzmo-embed.min.js +197 -96
- package/package.json +22 -2
- package/src/index.common.d.ts +18 -0
- package/src/index.d.ts +3 -3
- package/src/index.rn.d.ts +1 -0
- package/src/index.shared.d.ts +2 -0
- package/src/lib/dashboard/dashboard-base.d.ts +5 -1
- package/src/lib/iq-components/luzmo-iq-answer.d.ts +1 -2
- package/src/lib/iq-components/luzmo-iq-chat.d.ts +1 -1
- package/src/lib/shared/constants/class-constants.d.ts +1 -0
- package/src/lib/shared/helpers/browser-check.d.ts +2 -0
- package/src/lib/shared/helpers/default-parameters.d.ts +2 -0
- package/src/lib/shared/helpers/error.d.ts +5 -0
- package/src/lib/shared/helpers/extents.d.ts +7 -0
- package/src/lib/shared/helpers/get-loader.d.ts +5 -0
- package/src/lib/shared/helpers/iframe-url.d.ts +1 -0
- package/src/lib/shared/helpers/promise-dispatch.d.ts +3 -0
- package/src/lib/shared/helpers/remote-federation.d.ts +56 -0
- package/src/lib/shared/helpers/set-selected-data-utils.d.ts +7 -0
- package/src/lib/shared/helpers/styles.d.ts +8 -0
- package/src/lib/shared/helpers/translations.d.ts +24 -0
- package/src/lib/shared/helpers/update-iframe-url.d.ts +1 -0
- package/src/lib/shared/helpers/utils.d.ts +27 -0
- package/src/lib/shared/methods/export-dashboard.d.ts +5 -0
- package/src/lib/shared/methods/get-accessible-dashboards.d.ts +3 -0
- package/src/lib/shared/methods/get-dashboard-context.d.ts +3 -0
- package/src/lib/shared/methods/get-data.d.ts +3 -0
- package/src/lib/shared/methods/get-filters.d.ts +3 -0
- package/src/lib/shared/methods/get-insights.d.ts +3 -0
- package/src/lib/shared/methods/index.d.ts +13 -0
- package/src/lib/shared/methods/refresh-data.d.ts +2 -0
- package/src/lib/shared/methods/reload-dashboard.d.ts +2 -0
- package/src/lib/shared/methods/send-export-email.d.ts +4 -0
- package/src/lib/shared/methods/set-authorization.d.ts +2 -0
- package/src/lib/shared/methods/set-edit-mode.d.ts +3 -0
- package/src/lib/shared/methods/set-preview.d.ts +3 -0
- package/src/lib/shared/methods/set-selected-data.d.ts +4 -0
- package/src/lib/shared/models/common.model.d.ts +105 -0
- package/src/lib/shared/models/dashboard-context.model.d.ts +50 -0
- package/src/lib/shared/models/dashboard.model.d.ts +59 -0
- package/src/lib/shared/models/embed-error-event.model.d.ts +17 -0
- package/src/lib/shared/models/events.model.d.ts +94 -0
- package/src/lib/shared/models/filter-input.model.d.ts +101 -0
- package/src/lib/shared/models/filter-output.model.d.ts +17 -0
- package/src/lib/shared/models/filters.model.d.ts +26 -0
- package/src/lib/shared/models/index.d.ts +12 -0
- package/src/lib/shared/models/styles.model.d.ts +32 -0
- package/src/lib/shared/models/translation.model.d.ts +2 -0
- package/src/lib/shared/models/viz-item-post-message.model.d.ts +56 -0
- package/src/lib/shared/models/viz-item.model.d.ts +8 -0
- package/src/lib/shared/models/viz-items/areachart.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/barchart.model.d.ts +24 -0
- package/src/lib/shared/models/viz-items/choroplethmap.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/circlepack.model.d.ts +2 -0
- package/src/lib/shared/models/viz-items/columnchart.model.d.ts +24 -0
- package/src/lib/shared/models/viz-items/datetime.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/donutchart.model.d.ts +2 -0
- package/src/lib/shared/models/viz-items/dropdownfilter.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/index.d.ts +36 -0
- package/src/lib/shared/models/viz-items/linechart.model.d.ts +36 -0
- package/src/lib/shared/models/viz-items/parallelcoordinatesplot.model.d.ts +14 -0
- package/src/lib/shared/models/viz-items/piechart.model.d.ts +24 -0
- package/src/lib/shared/models/viz-items/scatterplot.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/slicer.model.d.ts +24 -0
- package/src/lib/shared/models/viz-items/slider.model.d.ts +13 -0
- package/src/lib/shared/models/viz-items/stripplot.model.d.ts +15 -0
- package/src/lib/shared/models/viz-items/sunburst.model.d.ts +14 -0
- package/src/lib/shared/models/viz-items/treemap.model.d.ts +24 -0
- package/src/lib/shared/service/calculate-dimensions.d.ts +1 -0
- package/src/lib/shared/service/extend-and-validate.d.ts +2 -0
- package/src/lib/{helper → utils}/embed-error.utils.d.ts +1 -1
- package/src/lib/viz-item/viz-item.base.d.ts +2 -2
- /package/src/lib/{helper → utils}/event-bus-handler.d.ts +0 -0
- /package/src/lib/{helper → utils}/json-schema-utils.d.ts +0 -0
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
import { AvailableSlots, SelectedDataIn } from '../filters.model';
|
|
3
|
+
type StripPlotFilterIn = SelectedDataIn & {
|
|
4
|
+
expression: Extract<FilterExpression, '? = ?'>;
|
|
5
|
+
parameters: [
|
|
6
|
+
{
|
|
7
|
+
slot: Extract<AvailableSlots, 'y-axis'>;
|
|
8
|
+
},
|
|
9
|
+
[
|
|
10
|
+
string
|
|
11
|
+
]
|
|
12
|
+
];
|
|
13
|
+
};
|
|
14
|
+
export type StripPlotSelectedDataInput = Partial<Record<FilterOperators, (StripPlotFilterIn | StripPlotSelectedDataInput)[]>>;
|
|
15
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
|
|
3
|
+
type SunburstFilterIn = SelectedDataIn & {
|
|
4
|
+
expression: Extract<FilterExpression, '? in ?' | '? between ?'>;
|
|
5
|
+
parameters: [
|
|
6
|
+
{
|
|
7
|
+
slot: Extract<AvailableSlots, 'levels'>;
|
|
8
|
+
level: number;
|
|
9
|
+
},
|
|
10
|
+
ParametersInput
|
|
11
|
+
];
|
|
12
|
+
};
|
|
13
|
+
export type SunburstSelectedDataInput = Partial<Record<FilterOperators, (SunburstFilterIn | SunburstSelectedDataInput)[]>>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { FilterExpression, FilterOperators } from '@luzmo/dashboard-contents-types';
|
|
2
|
+
import { AvailableSlots, SelectedDataIn, ParametersInput } from '../filters.model';
|
|
3
|
+
type TreemapFilterIn = SelectedDataIn & {
|
|
4
|
+
expression: Extract<FilterExpression, '? between ?'>;
|
|
5
|
+
parameters: [
|
|
6
|
+
{
|
|
7
|
+
slot: Extract<AvailableSlots, 'category'>;
|
|
8
|
+
},
|
|
9
|
+
ParametersInput
|
|
10
|
+
];
|
|
11
|
+
};
|
|
12
|
+
type TreemapFilterIn2 = SelectedDataIn & {
|
|
13
|
+
expression: Extract<FilterExpression, '? in ?'>;
|
|
14
|
+
parameters: [
|
|
15
|
+
{
|
|
16
|
+
slot: Extract<AvailableSlots, 'category'>;
|
|
17
|
+
},
|
|
18
|
+
string[]
|
|
19
|
+
];
|
|
20
|
+
};
|
|
21
|
+
type TreemapFilterInput1 = Partial<Record<FilterOperators, (TreemapFilterIn | TreemapFilterInput1)[]>>;
|
|
22
|
+
type TreemapFilterInput2 = Partial<Record<FilterOperators, (TreemapFilterIn2 | TreemapFilterInput2)[]>>;
|
|
23
|
+
export type TreemapSelectedDataInput = TreemapFilterInput1 | TreemapFilterInput2;
|
|
24
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const _setCalculatedDimensions: (dashboardComponent: any) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { type VizItemExportType, type VizItemOptions, type VizItemSlot, type VizItemType } from '@luzmo/dashboard-contents-types';
|
|
2
|
-
import * as SharedLib from '@luzmo/shared-embed';
|
|
3
2
|
import { LitElement, type PropertyValues } from 'lit';
|
|
3
|
+
import * as SharedLib from '../../index.shared';
|
|
4
4
|
/**
|
|
5
5
|
* The version of the dashboard contents that is linked to the current library.
|
|
6
6
|
*
|
|
@@ -9,7 +9,7 @@ import { LitElement, type PropertyValues } from 'lit';
|
|
|
9
9
|
* together with this dashboard contents version are passed to the dashboard app (https://app.luzmo.com/dashboard-app/remoteEntry.js)
|
|
10
10
|
* and if needed the migration will be applied on the dashboard app level.
|
|
11
11
|
*/
|
|
12
|
-
export declare const dashboardContentsVersion = "0.1.
|
|
12
|
+
export declare const dashboardContentsVersion = "0.1.104";
|
|
13
13
|
type FunctionCall = [(...args: any) => any, any[]];
|
|
14
14
|
interface LuzmoVizItemComponentInterface extends HTMLElement {
|
|
15
15
|
options?: VizItemOptions;
|
|
File without changes
|
|
File without changes
|