@luzmo/embed 9.1.0 → 10.1.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 +19 -0
- package/MIGRATIONS.md +6 -0
- package/index.cjs +76 -45
- package/index.dashboard-analyst.cjs +9874 -0
- package/index.dashboard-analyst.js +9866 -0
- package/index.dashboard-next.cjs +6635 -0
- package/index.dashboard-next.js +6622 -0
- package/index.js +74 -45
- package/index.rn.cjs +21 -2
- package/index.rn.js +20 -2
- package/index.shared.cjs +21 -2
- package/index.shared.js +20 -2
- package/luzmo-dashboard-analyst.min.js +176206 -0
- package/luzmo-dashboard-next.min.js +159871 -0
- package/luzmo-embed.min.js +200 -171
- package/package.json +27 -3
- package/src/index.common.d.ts +1 -0
- package/src/index.d.ts +6 -0
- package/src/index.dashboard-analyst.d.ts +4 -0
- package/src/index.dashboard-next.d.ts +1 -0
- package/src/index.internal.d.ts +3 -0
- package/src/lib/dashboard/dashboard-base.d.ts +1 -1
- package/src/lib/dashboard-next/agent/dashboard-agent-controller.d.ts +28 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-feedback-api.d.ts +6 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-feedback-controller.d.ts +20 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-history-api.d.ts +17 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-history-controller.d.ts +40 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-history.d.ts +11 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-history.styles.d.ts +1 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-panel.d.ts +10 -0
- package/src/lib/dashboard-next/agent/dashboard-agent-panel.styles.d.ts +1 -0
- package/src/lib/dashboard-next/dashboard-analyst-component.d.ts +36 -0
- package/src/lib/dashboard-next/dashboard-analyst-component.styles.d.ts +1 -0
- package/src/lib/dashboard-next/dashboard-configured-element.d.ts +31 -0
- package/src/lib/dashboard-next/dashboard-next-component.d.ts +86 -0
- package/src/lib/dashboard-next/dashboard-next-component.styles.d.ts +1 -0
- package/src/lib/dashboard-next/data/dashboard-api.d.ts +9 -0
- package/src/lib/dashboard-next/data/dashboard-custom-charts.d.ts +18 -0
- package/src/lib/dashboard-next/data/dashboard-errors.d.ts +5 -0
- package/src/lib/dashboard-next/data/dashboard-loading-controller.d.ts +21 -0
- package/src/lib/dashboard-next/data/dashboard-metadata-controller.d.ts +25 -0
- package/src/lib/dashboard-next/data/dashboard-permissions-api.d.ts +14 -0
- package/src/lib/dashboard-next/data/dashboard-renderer-controller.d.ts +30 -0
- package/src/lib/dashboard-next/data/dashboard-variant-management-controller.d.ts +30 -0
- package/src/lib/dashboard-next/data/dashboard-variants-api.d.ts +30 -0
- package/src/lib/dashboard-next/data/dashboard-variants-controller.d.ts +38 -0
- package/src/lib/dashboard-next/data/load-dashboard-definition.d.ts +21 -0
- package/src/lib/dashboard-next/data/load-dashboard-layout.d.ts +4 -0
- package/src/lib/dashboard-next/grid/dashboard-grid-layout-controller.d.ts +23 -0
- package/src/lib/dashboard-next/grid/dashboard-layout-skeleton.d.ts +2 -0
- package/src/lib/dashboard-next/grid/dashboard-layout-skeleton.styles.d.ts +1 -0
- package/src/lib/dashboard-next/grid/dashboard-next-grid.d.ts +62 -0
- package/src/lib/dashboard-next/grid/dashboard-next-grid.styles.d.ts +1 -0
- package/src/lib/dashboard-next/grid/dashboard-next-viz-item.d.ts +26 -0
- package/src/lib/dashboard-next/grid/dashboard-skeleton-motion-controller.d.ts +15 -0
- package/src/lib/dashboard-next/grid/render-dashboard-chart.d.ts +22 -0
- package/src/lib/dashboard-next/localization/dashboard-next-translations.d.ts +134 -0
- package/src/lib/dashboard-next/localization/format-dashboard-relative-date.d.ts +1 -0
- package/src/lib/dashboard-next/localization/resolve-dashboard-next-translations.d.ts +6 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-config.d.ts +20 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-settings-controller.d.ts +45 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-settings.d.ts +14 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-settings.styles.d.ts +1 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-chart-type-conversion.d.ts +11 -0
- package/src/lib/dashboard-next/settings/dashboard-chart-settings-context.d.ts +30 -0
- package/src/lib/dashboard-next/settings/dashboard-chart-settings-context.styles.d.ts +1 -0
- package/src/lib/dashboard-next/settings/dashboard-editor-controller.d.ts +32 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-content.d.ts +7 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-controller.d.ts +54 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-popover.d.ts +17 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-popover.styles.d.ts +1 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-positioning.d.ts +1 -0
- package/src/lib/dashboard-next/settings/dashboard-settings.test-utils.d.ts +19 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-metadata.d.ts +11 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-settings-controller.d.ts +42 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-settings.d.ts +20 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-settings.styles.d.ts +1 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-slots.d.ts +3 -0
- package/src/lib/dashboard-next/settings/filters/dashboard-filter-settings-controller.d.ts +19 -0
- package/src/lib/dashboard-next/settings/filters/dashboard-filter-settings.d.ts +9 -0
- package/src/lib/dashboard-next/settings/filters/dashboard-filter-settings.styles.d.ts +1 -0
- package/src/lib/dashboard-next/state/config/dashboard-chart-catalog.d.ts +11 -0
- package/src/lib/dashboard-next/state/config/dashboard-chart-names-controller.d.ts +9 -0
- package/src/lib/dashboard-next/state/config/dashboard-chart-types.d.ts +47 -0
- package/src/lib/dashboard-next/state/config/dashboard-config-store.d.ts +33 -0
- package/src/lib/dashboard-next/state/content/dashboard-agent-draft.d.ts +28 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-controller.d.ts +57 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-selectors.d.ts +7 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-state.d.ts +61 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-store.d.ts +22 -0
- package/src/lib/dashboard-next/state/content/dashboard-option-changes.d.ts +9 -0
- package/src/lib/dashboard-next/state/dashboard-analyst-stores.d.ts +40 -0
- package/src/lib/dashboard-next/state/dashboard-stores.d.ts +13 -0
- package/src/lib/dashboard-next/state/dashboard-workspace.d.ts +33 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-agent-history-state.d.ts +21 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-analyst-runtime-store.d.ts +43 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-editor-state.d.ts +38 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-runtime-state.d.ts +47 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-runtime-store.d.ts +22 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-variants-state.d.ts +31 -0
- package/src/lib/dashboard-next/toolbar/dashboard-add-chart-controller.d.ts +20 -0
- package/src/lib/dashboard-next/toolbar/dashboard-add-chart-menu.d.ts +19 -0
- package/src/lib/dashboard-next/toolbar/dashboard-navigation-controller.d.ts +32 -0
- package/src/lib/dashboard-next/toolbar/dashboard-next-toolbar.d.ts +35 -0
- package/src/lib/dashboard-next/toolbar/dashboard-next-toolbar.styles.d.ts +1 -0
- package/src/lib/dashboard-next/toolbar/dashboard-picker.d.ts +36 -0
- package/src/lib/dashboard-next/toolbar/dashboard-picker.styles.d.ts +1 -0
- package/src/lib/dashboard-next/toolbar/dashboard-preview-thumbnail.d.ts +2 -0
- package/src/lib/dashboard-next/toolbar/dashboard-question-dashboards.d.ts +7 -0
- package/src/lib/dashboard-next/toolbar/dashboard-question-mode.styles.d.ts +1 -0
- package/src/lib/dashboard-next/toolbar/dashboard-variant-delete.d.ts +15 -0
- package/src/lib/dashboard-next/toolbar/dashboard-variant-delete.styles.d.ts +1 -0
- package/src/lib/dashboard-next/toolbar/dashboard-variant-rename-controller.d.ts +18 -0
- package/src/lib/dashboard-next/views/dashboard-view-controller.d.ts +13 -0
- package/src/lib/dashboard-next/views/dashboard-view-layout.d.ts +12 -0
- package/src/lib/dashboard-next/views/dashboard-views.d.ts +48 -0
- package/src/lib/iq-components/luzmo-iq-answer.d.ts +1 -1
- package/src/lib/iq-components/luzmo-iq-chat.d.ts +1 -1
- package/src/lib/shared/helpers/normalize-viz-item-slots.d.ts +2 -0
- package/src/lib/shared/models/dashboard-definition.model.d.ts +34 -0
- package/src/lib/shared/models/events.model.d.ts +9 -8
- package/src/lib/shared/models/index.d.ts +2 -0
- package/src/lib/shared/models/viz-item-service-port.model.d.ts +24 -0
- package/src/lib/viz-item/viz-item.base.d.ts +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,25 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [10.1.0] - 2026-11-26
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- `@luzmo/dashboard-contents-types` is now `2.2.1` (was `2.2.0`). It corrects translated slot labels, including dates, OHLC open and close, and pyramid chart bins.
|
|
10
|
+
- Use `CustomEvent<Payload>` to type a custom chart event. Omitting the type argument preserves the standard event payload type.
|
|
11
|
+
|
|
12
|
+
## [10.0.0] - 2026-11-19
|
|
13
|
+
|
|
14
|
+
### Changed
|
|
15
|
+
|
|
16
|
+
- `@luzmo/dashboard-contents-types` is now `2.2.0` (was `2.1.0`). It brings localized slot labels in English, French, Dutch, German and Spanish, corrected radar color slot types and improved chart option visibility. This package re-exports its types.
|
|
17
|
+
- Breaking: `<luzmo-embed-viz-item>` no longer accepts `querySource` or the `query-source` attribute. Use `dashboardId` and `itemId` to embed a saved chart.
|
|
18
|
+
|
|
19
|
+
### Fixed
|
|
20
|
+
|
|
21
|
+
- CDN bundles use the same published dashboard contents types version as the npm package, including its slot translations and chart configuration fixes.
|
|
22
|
+
- Saved dashboard charts preserve their saved options when runtime option overrides are updated or cleared.
|
|
23
|
+
|
|
5
24
|
## [9.1.0] - 2026-11-11
|
|
6
25
|
|
|
7
26
|
### Fixed
|
package/MIGRATIONS.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# Luzmo embed migrations
|
|
2
2
|
|
|
3
|
+
## [9.X.X] -> [10.0.0] - 2026-11-18
|
|
4
|
+
|
|
5
|
+
### Breaking changes
|
|
6
|
+
|
|
7
|
+
- Remove `querySource` and the `query-source` attribute from `<luzmo-embed-viz-item>` integrations. Public viz items no longer accept an override for the query source. Continue to use `dashboardId` and `itemId` to embed a saved chart.
|
|
8
|
+
|
|
3
9
|
## [5.X.X] -> [6.0.0] - 2024-07-11
|
|
4
10
|
|
|
5
11
|
### Breaking changes
|
package/index.cjs
CHANGED
|
@@ -28,6 +28,7 @@ var __decorateClass = (decorators, target, key, kind) => {
|
|
|
28
28
|
// libs/embed-libs/embed/src/index.ts
|
|
29
29
|
var index_exports = {};
|
|
30
30
|
__export(index_exports, {
|
|
31
|
+
DEFAULT_CHART_TYPES: () => defaultChartTypes,
|
|
31
32
|
LuzmoEmbedDashboard: () => LuzmoEmbedDashboard,
|
|
32
33
|
LuzmoEmbedVizItem: () => LuzmoEmbedVizItem,
|
|
33
34
|
LuzmoIQEmbedAnswerComponent: () => LuzmoIQEmbedAnswerComponent,
|
|
@@ -38,6 +39,7 @@ __export(index_exports, {
|
|
|
38
39
|
getCachedJSONSchemas: () => getCachedJSONSchemas,
|
|
39
40
|
getJSONSchemaUrl: () => getJSONSchemaUrl,
|
|
40
41
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
42
|
+
normalizeVizItemSlots: () => normalizeVizItemSlots,
|
|
41
43
|
preloadDashboard: () => preloadDashboard,
|
|
42
44
|
preloadIQ: () => preloadIQ,
|
|
43
45
|
preloadVizItem: () => preloadVizItem,
|
|
@@ -331,6 +333,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
331
333
|
return v.toString(16);
|
|
332
334
|
});
|
|
333
335
|
|
|
336
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
337
|
+
function normalizeVizItemSlots(slots) {
|
|
338
|
+
return slots.map((slot) => ({
|
|
339
|
+
...slot,
|
|
340
|
+
content: slot.content.map((content) => ({
|
|
341
|
+
...content,
|
|
342
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
343
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
344
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
345
|
+
...content.aggregationWeight,
|
|
346
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
347
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
348
|
+
} } : {}
|
|
349
|
+
}))
|
|
350
|
+
}));
|
|
351
|
+
}
|
|
352
|
+
|
|
334
353
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
335
354
|
var createIframeUrl = (dashboardContent) => {
|
|
336
355
|
const searchString = [];
|
|
@@ -1333,6 +1352,7 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1333
1352
|
slots: "slots",
|
|
1334
1353
|
inlineData: "inline-data",
|
|
1335
1354
|
options: "options",
|
|
1355
|
+
definition: "definition",
|
|
1336
1356
|
appServer: "app-server",
|
|
1337
1357
|
apiHost: "api-host",
|
|
1338
1358
|
authKey: "auth-key",
|
|
@@ -1342,7 +1362,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1342
1362
|
filters: "filters",
|
|
1343
1363
|
dashboardId: "dashboard-id",
|
|
1344
1364
|
screenMode: "screen-mode",
|
|
1345
|
-
querySource: "query-source",
|
|
1346
1365
|
itemId: "item-id",
|
|
1347
1366
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1348
1367
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1455,6 +1474,14 @@ function preloadIQ(appServer = "https://app.luzmo.com") {
|
|
|
1455
1474
|
});
|
|
1456
1475
|
}
|
|
1457
1476
|
|
|
1477
|
+
// libs/embed-libs/embed/src/lib/dashboard-next/state/config/dashboard-chart-types.ts
|
|
1478
|
+
var dashboardChartTypeGroups = [
|
|
1479
|
+
{ group: "charts", types: ["bar-chart", "column-chart", "line-chart", "area-chart", "combination-chart", "scatter-plot", "donut-chart", "treemap-chart"] },
|
|
1480
|
+
{ group: "numbers-tables", types: ["kpi", "conditional-number", "regular-table", "pivot-table"] },
|
|
1481
|
+
{ group: "filters", types: ["date-filter", "date-comparison-filter", "dropdown-filter", "slicer-filter", "search-filter", "slider-filter"] }
|
|
1482
|
+
];
|
|
1483
|
+
var defaultChartTypes = Object.freeze(dashboardChartTypeGroups.flatMap(({ types }) => types));
|
|
1484
|
+
|
|
1458
1485
|
// libs/embed-libs/embed/src/index.ts
|
|
1459
1486
|
var import_lit6 = require("lit");
|
|
1460
1487
|
|
|
@@ -1464,7 +1491,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
1464
1491
|
var import_style_map = require("lit/directives/style-map.js");
|
|
1465
1492
|
|
|
1466
1493
|
// libs/embed-libs/embed/package.json
|
|
1467
|
-
var version = "
|
|
1494
|
+
var version = "10.1.0";
|
|
1468
1495
|
|
|
1469
1496
|
// libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
|
|
1470
1497
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -2826,22 +2853,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2826
2853
|
this.libVersion = version + "-wc-luzmo";
|
|
2827
2854
|
this.postInitCallQueue = [];
|
|
2828
2855
|
}
|
|
2829
|
-
static {
|
|
2830
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
2831
|
-
this.styles = import_lit3.css`
|
|
2832
|
-
:host {
|
|
2833
|
-
display: block;
|
|
2834
|
-
width: 100%;
|
|
2835
|
-
height: 100%;
|
|
2836
|
-
}
|
|
2837
|
-
|
|
2838
|
-
luzmo-embed-viz-item {
|
|
2839
|
-
width: 100%;
|
|
2840
|
-
height: 1000%;
|
|
2841
|
-
display: block;
|
|
2842
|
-
}
|
|
2843
|
-
`;
|
|
2844
|
-
}
|
|
2845
2856
|
createRenderRoot() {
|
|
2846
2857
|
if (!this.style.display) {
|
|
2847
2858
|
this.style.display = "block";
|
|
@@ -2908,13 +2919,22 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2908
2919
|
async firstUpdated(_changedProperties) {
|
|
2909
2920
|
super.firstUpdated(_changedProperties);
|
|
2910
2921
|
if (this.canInitializeVizItem()) {
|
|
2911
|
-
await
|
|
2922
|
+
if (!await this.loadVizItem()) {
|
|
2923
|
+
return;
|
|
2924
|
+
}
|
|
2912
2925
|
this.createAndAppendElement();
|
|
2913
2926
|
}
|
|
2914
2927
|
}
|
|
2928
|
+
async loadVizItem() {
|
|
2929
|
+
await loadLibrary(this.appServer, vizItemRemote);
|
|
2930
|
+
return true;
|
|
2931
|
+
}
|
|
2932
|
+
createVizItemElement() {
|
|
2933
|
+
return document.createElement("chart-component");
|
|
2934
|
+
}
|
|
2915
2935
|
createAndAppendElement() {
|
|
2916
2936
|
if (!this.chartElement) {
|
|
2917
|
-
this.chartElement =
|
|
2937
|
+
this.chartElement = this.createVizItemElement();
|
|
2918
2938
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
2919
2939
|
this.chartElement.style.height = "100%";
|
|
2920
2940
|
this.chartElement.style.width = "100%";
|
|
@@ -2985,7 +3005,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2985
3005
|
if (propertyName === "inlineData" && (value === void 0 || value === null)) {
|
|
2986
3006
|
this.inlineData = void 0;
|
|
2987
3007
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2988
|
-
} else if (
|
|
3008
|
+
} else if (propertyName === "screenMode" && value == null) {
|
|
2989
3009
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2990
3010
|
} else {
|
|
2991
3011
|
const attributeValue = typeof value === "object" ? JSON.stringify(value) : value?.toString() ?? value;
|
|
@@ -3001,7 +3021,9 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
3001
3021
|
}
|
|
3002
3022
|
} else {
|
|
3003
3023
|
if (this.canInitializeVizItem()) {
|
|
3004
|
-
await
|
|
3024
|
+
if (!await this.loadVizItem()) {
|
|
3025
|
+
return;
|
|
3026
|
+
}
|
|
3005
3027
|
this.createAndAppendElement();
|
|
3006
3028
|
}
|
|
3007
3029
|
}
|
|
@@ -3010,6 +3032,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
3010
3032
|
return import_lit3.html``;
|
|
3011
3033
|
}
|
|
3012
3034
|
};
|
|
3035
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3036
|
+
LuzmoBaseVizItem.styles = import_lit3.css`
|
|
3037
|
+
:host {
|
|
3038
|
+
display: block;
|
|
3039
|
+
width: 100%;
|
|
3040
|
+
height: 100%;
|
|
3041
|
+
}
|
|
3042
|
+
|
|
3043
|
+
luzmo-embed-viz-item {
|
|
3044
|
+
width: 100%;
|
|
3045
|
+
height: 1000%;
|
|
3046
|
+
display: block;
|
|
3047
|
+
}
|
|
3048
|
+
`;
|
|
3013
3049
|
__decorateClass([
|
|
3014
3050
|
(0, import_decorators2.property)()
|
|
3015
3051
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -3063,9 +3099,6 @@ __decorateClass([
|
|
|
3063
3099
|
__decorateClass([
|
|
3064
3100
|
(0, import_decorators2.property)({ attribute: "screen-mode" })
|
|
3065
3101
|
], LuzmoBaseVizItem.prototype, "screenMode", 2);
|
|
3066
|
-
__decorateClass([
|
|
3067
|
-
(0, import_decorators2.property)({ attribute: "query-source" })
|
|
3068
|
-
], LuzmoBaseVizItem.prototype, "querySource", 2);
|
|
3069
3102
|
__decorateClass([
|
|
3070
3103
|
(0, import_decorators2.property)()
|
|
3071
3104
|
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
@@ -3121,16 +3154,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
3121
3154
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
3122
3155
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
3123
3156
|
}
|
|
3124
|
-
static {
|
|
3125
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3126
|
-
this.styles = import_lit4.css`
|
|
3127
|
-
:host {
|
|
3128
|
-
display: block;
|
|
3129
|
-
width: 100%;
|
|
3130
|
-
height: 100%;
|
|
3131
|
-
}
|
|
3132
|
-
`;
|
|
3133
|
-
}
|
|
3134
3157
|
createRenderRoot() {
|
|
3135
3158
|
return this;
|
|
3136
3159
|
}
|
|
@@ -3208,6 +3231,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
3208
3231
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
3209
3232
|
}
|
|
3210
3233
|
};
|
|
3234
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3235
|
+
LuzmoIQEmbedChatComponent.styles = import_lit4.css`
|
|
3236
|
+
:host {
|
|
3237
|
+
display: block;
|
|
3238
|
+
width: 100%;
|
|
3239
|
+
height: 100%;
|
|
3240
|
+
}
|
|
3241
|
+
`;
|
|
3211
3242
|
__decorateClass([
|
|
3212
3243
|
(0, import_decorators3.property)()
|
|
3213
3244
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -3284,16 +3315,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
3284
3315
|
this.libVersion = version + "-wc-luzmo";
|
|
3285
3316
|
this.remoteEntryServer = "http://localhost:4202";
|
|
3286
3317
|
}
|
|
3287
|
-
static {
|
|
3288
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3289
|
-
this.styles = import_lit5.css`
|
|
3290
|
-
:host {
|
|
3291
|
-
display: block;
|
|
3292
|
-
width: 100%;
|
|
3293
|
-
height: 100%;
|
|
3294
|
-
}
|
|
3295
|
-
`;
|
|
3296
|
-
}
|
|
3297
3318
|
createRenderRoot() {
|
|
3298
3319
|
return this;
|
|
3299
3320
|
}
|
|
@@ -3344,6 +3365,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
3344
3365
|
return import_lit5.html` `;
|
|
3345
3366
|
}
|
|
3346
3367
|
};
|
|
3368
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3369
|
+
LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
|
|
3370
|
+
:host {
|
|
3371
|
+
display: block;
|
|
3372
|
+
width: 100%;
|
|
3373
|
+
height: 100%;
|
|
3374
|
+
}
|
|
3375
|
+
`;
|
|
3347
3376
|
__decorateClass([
|
|
3348
3377
|
(0, import_decorators4.property)()
|
|
3349
3378
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
|
@@ -3440,6 +3469,7 @@ var luzmoRefParserOptions = {
|
|
|
3440
3469
|
import_lit6.LitElement.disableWarning?.("change-in-update");
|
|
3441
3470
|
// Annotate the CommonJS export names for ESM import in node:
|
|
3442
3471
|
0 && (module.exports = {
|
|
3472
|
+
DEFAULT_CHART_TYPES,
|
|
3443
3473
|
LuzmoEmbedDashboard,
|
|
3444
3474
|
LuzmoEmbedVizItem,
|
|
3445
3475
|
LuzmoIQEmbedAnswerComponent,
|
|
@@ -3450,6 +3480,7 @@ import_lit6.LitElement.disableWarning?.("change-in-update");
|
|
|
3450
3480
|
getCachedJSONSchemas,
|
|
3451
3481
|
getJSONSchemaUrl,
|
|
3452
3482
|
luzmoRefParserOptions,
|
|
3483
|
+
normalizeVizItemSlots,
|
|
3453
3484
|
preloadDashboard,
|
|
3454
3485
|
preloadIQ,
|
|
3455
3486
|
preloadVizItem,
|