@luzmo/embed 9.1.0-es2021 → 10.0.0
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 +20 -0
- package/MIGRATIONS.md +7 -0
- package/README.md +53 -4
- package/index.cjs +71 -39
- package/index.dashboard-next.cjs +6291 -0
- package/index.dashboard-next.js +6259 -0
- package/index.js +70 -39
- package/index.rn.cjs +19 -2
- package/index.rn.js +18 -2
- package/index.shared.cjs +19 -2
- package/index.shared.js +18 -2
- package/luzmo-dashboard-next.min.js +157860 -0
- package/luzmo-embed.min.js +196 -165
- package/package.json +16 -9
- package/src/index.common.d.ts +1 -0
- package/src/index.d.ts +3 -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/dashboard-next-component.d.ts +76 -0
- package/src/lib/dashboard-next/data/dashboard-api.d.ts +9 -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 +4 -0
- package/src/lib/dashboard-next/data/dashboard-publishing-api.d.ts +5 -0
- package/src/lib/dashboard-next/data/dashboard-renderer-controller.d.ts +25 -0
- package/src/lib/dashboard-next/data/dashboard-variant-management-controller.d.ts +30 -0
- package/src/lib/dashboard-next/data/dashboard-variant-rename-controller.d.ts +18 -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 +47 -0
- package/src/lib/dashboard-next/data/load-dashboard-definition.d.ts +20 -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 +3 -0
- package/src/lib/dashboard-next/grid/dashboard-next-grid.d.ts +56 -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 +21 -0
- package/src/lib/dashboard-next/localization/dashboard-next-translations.d.ts +89 -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 +63 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-settings-controller.d.ts +34 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-appearance-settings.d.ts +12 -0
- package/src/lib/dashboard-next/settings/appearance/dashboard-chart-type-conversion.d.ts +6 -0
- package/src/lib/dashboard-next/settings/dashboard-chart-settings-context.d.ts +31 -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 +6 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-controller.d.ts +43 -0
- package/src/lib/dashboard-next/settings/dashboard-settings-popover.d.ts +13 -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 +41 -0
- package/src/lib/dashboard-next/settings/data/dashboard-data-settings.d.ts +15 -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/state/config/dashboard-config-store.d.ts +28 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-controller.d.ts +47 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-selectors.d.ts +6 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-state.d.ts +46 -0
- package/src/lib/dashboard-next/state/content/dashboard-content-store.d.ts +18 -0
- package/src/lib/dashboard-next/state/content/dashboard-option-changes.d.ts +9 -0
- package/src/lib/dashboard-next/state/dashboard-stores.d.ts +12 -0
- package/src/lib/dashboard-next/state/runtime/dashboard-editor-state.d.ts +34 -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 +42 -0
- package/src/lib/dashboard-next/toolbar/dashboard-next-toolbar.d.ts +36 -0
- package/src/lib/dashboard-next/toolbar/dashboard-picker.d.ts +36 -0
- package/src/lib/dashboard-next/toolbar/dashboard-toolbar-theme.d.ts +13 -0
- package/src/lib/dashboard-next/toolbar/dashboard-variant-delete.d.ts +15 -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 +3 -0
- package/src/lib/dashboard-next/views/dashboard-views.d.ts +44 -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/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,26 @@
|
|
|
2
2
|
|
|
3
3
|
All notable changes to this project are documented in this file.
|
|
4
4
|
|
|
5
|
+
## [10.0.0] - 2026-11-19
|
|
6
|
+
|
|
7
|
+
### Changed
|
|
8
|
+
|
|
9
|
+
- Dashboard Next uses Analytics Components Kit `2.5.0` and Lucero `2.10.0`, allowing ACK and the application to share the installed Embed 10 version.
|
|
10
|
+
- `@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.
|
|
11
|
+
- Breaking: `<luzmo-embed-viz-item>` no longer accepts `querySource` or the `query-source` attribute. Use `dashboardId` and `itemId` to embed a saved chart.
|
|
12
|
+
|
|
13
|
+
### Added
|
|
14
|
+
|
|
15
|
+
- Experimental `<luzmo-dashboard-next>` through the separate `@luzmo/embed/dashboard-next` entry and `luzmo-dashboard-next.min.js` CDN bundle. It supports view and edit modes, chart data/filter/appearance settings, undo and redo, saving dashboard variants and switching between them. It is opt-in and does not replace `<luzmo-embed-dashboard>`; its API and behavior may change without notice.
|
|
16
|
+
- Dashboard Next editor labels in English, French, Dutch, German and Spanish, with `editorLanguage`, `customTranslations` and `editableAppearanceOptions` properties. Chart content language remains independent through `language`.
|
|
17
|
+
- Experimental `normalizeVizItemSlots` helper and `DashboardDefinition`, `DashboardDefinitionItem`, `DashboardDefinitionView`, `VizItemDefinition`, `VizItemServiceObserver`, `VizItemServiceSource` and `VizItemServicePort` types for dashboard and chart integrations, exported from `@luzmo/embed`.
|
|
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
|
+
- Dashboard Next declares its runtime color, positioning and utility dependencies so the npm entry can be bundled outside the monorepo.
|
|
23
|
+
- Saved dashboard charts preserve their saved options when runtime option overrides are updated or cleared.
|
|
24
|
+
|
|
5
25
|
## [9.1.0] - 2026-11-11
|
|
6
26
|
|
|
7
27
|
### Fixed
|
package/MIGRATIONS.md
CHANGED
|
@@ -1,5 +1,12 @@
|
|
|
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
|
+
- Dashboard Next is a separate experimental opt-in. Existing `<luzmo-embed-dashboard>` integrations do not need to migrate to it; import `@luzmo/embed/dashboard-next` only when adopting `<luzmo-dashboard-next>`.
|
|
9
|
+
|
|
3
10
|
## [5.X.X] -> [6.0.0] - 2024-07-11
|
|
4
11
|
|
|
5
12
|
### Breaking changes
|
package/README.md
CHANGED
|
@@ -7,10 +7,11 @@ A modern [Web Component](https://developer.mozilla.org/en-US/docs/Web/Web_Compon
|
|
|
7
7
|
1. [Installation instructions](#installation-instructions)
|
|
8
8
|
2. [Luzmo Embed Viz Item](#luzmo-embed-viz-item)
|
|
9
9
|
3. [Luzmo Embed Dashboard](#luzmo-embed-dashboard)
|
|
10
|
-
4. [
|
|
11
|
-
5. [
|
|
12
|
-
6. [
|
|
13
|
-
7. [
|
|
10
|
+
4. [Experimental Dashboard Next](#experimental-dashboard-next)
|
|
11
|
+
5. [Luzmo IQ Components](#luzmo-iq-components)
|
|
12
|
+
6. [Changelog](#changelog)
|
|
13
|
+
7. [Migrations](#migrations)
|
|
14
|
+
8. [Quick links](#quick-links)
|
|
14
15
|
|
|
15
16
|
## Installation instructions
|
|
16
17
|
|
|
@@ -42,6 +43,54 @@ OR
|
|
|
42
43
|
<script type="module" src="./node_modules/@luzmo/embed/index.js"></script>
|
|
43
44
|
```
|
|
44
45
|
|
|
46
|
+
## Experimental Dashboard Next
|
|
47
|
+
|
|
48
|
+
Dashboard Next is an opt-in dashboard web component with view and edit modes, chart settings, undo and redo, and saved dashboard variants. Its API and behavior may change without notice. Importing the normal `@luzmo/embed` entry does not load or register it.
|
|
49
|
+
|
|
50
|
+
```js
|
|
51
|
+
import '@luzmo/embed/dashboard-next';
|
|
52
|
+
```
|
|
53
|
+
|
|
54
|
+
```html
|
|
55
|
+
<luzmo-dashboard-next
|
|
56
|
+
style="display: block; width: 100%; height: 600px"
|
|
57
|
+
dashboard-id="YOUR_DASHBOARD_ID"
|
|
58
|
+
auth-key="YOUR_AUTH_KEY"
|
|
59
|
+
auth-token="YOUR_AUTH_TOKEN"></luzmo-dashboard-next>
|
|
60
|
+
```
|
|
61
|
+
|
|
62
|
+
Give the component an explicit width and height, as in the example above.
|
|
63
|
+
|
|
64
|
+
For a script-tag integration, load the separate bundle instead:
|
|
65
|
+
|
|
66
|
+
```html
|
|
67
|
+
<script src="https://cdn.luzmo.com/js/luzmo-embed/10.0.0/luzmo-dashboard-next.min.js"></script>
|
|
68
|
+
```
|
|
69
|
+
|
|
70
|
+
### Properties: luzmo-dashboard-next
|
|
71
|
+
|
|
72
|
+
| JavaScript property | HTML attribute | Description |
|
|
73
|
+
| --------------------------- | ----------------------------- | ------------------------------------------------------------------------------------------------------------------- |
|
|
74
|
+
| `dashboardId` | `dashboard-id` | Dashboard to load. |
|
|
75
|
+
| `authKey` | `auth-key` | Embed authorization key. |
|
|
76
|
+
| `authToken` | `auth-token` | Embed authorization token. |
|
|
77
|
+
| `appServer` | `app-server` | Luzmo application URL; defaults to `https://app.luzmo.com`. |
|
|
78
|
+
| `apiHost` | `api-host` | Luzmo API URL; defaults to `https://api.luzmo.com`. |
|
|
79
|
+
| `mode` | `mode` | `view` or `edit`; defaults to `view`. Editing and saving require the corresponding dashboard permissions. |
|
|
80
|
+
| `allowModeSwitch` | `allow-mode-switch` | Show the control for switching between view and edit modes; defaults to `false`. |
|
|
81
|
+
| `disableDashboardSwitching` | `disable-dashboard-switching` | Disable switching between saved dashboard variants; defaults to `false`. |
|
|
82
|
+
| `screenMode` | `screen-mode` | `auto`, `desktop`, `tablet`, `mobile`, `largeScreen` or `fixed`; defaults to `auto`. |
|
|
83
|
+
| `editorLanguage` | `editor-language` | Editor language: English, French, Dutch, German or Spanish (`en`, `fr`, `nl`, `de`, `es`); defaults to `en`. |
|
|
84
|
+
| `language` | `language` | Chart content language; defaults to `en`, independently of the editor language. |
|
|
85
|
+
| `customTranslations` | `custom-translations` | Optional editor label overrides. Set the object as a JavaScript property. |
|
|
86
|
+
| `editableAppearanceOptions` | `editable-appearance-options` | Optional map of chart types to the appearance option paths users may edit. Set the object as a JavaScript property. |
|
|
87
|
+
|
|
88
|
+
Set Boolean properties from JavaScript, or include the HTML attribute to enable them. Omit the attribute to disable them.
|
|
89
|
+
|
|
90
|
+
`reloadDashboard()` reloads the dashboard. Listen for `mode-changed` to receive `{ mode, previousMode }` in the event's `detail`.
|
|
91
|
+
|
|
92
|
+
The Angular, React, Vue and React Native dashboard wrappers continue to use their existing dashboard components; this release does not replace them with Dashboard Next.
|
|
93
|
+
|
|
45
94
|
## Luzmo Embed Viz Item
|
|
46
95
|
|
|
47
96
|
### For a more comprehensive documentation visit [Luzmo Developer Docs - Flex](https://developer.luzmo.com/guide/flex--introduction)
|
package/index.cjs
CHANGED
|
@@ -38,6 +38,7 @@ __export(index_exports, {
|
|
|
38
38
|
getCachedJSONSchemas: () => getCachedJSONSchemas,
|
|
39
39
|
getJSONSchemaUrl: () => getJSONSchemaUrl,
|
|
40
40
|
luzmoRefParserOptions: () => luzmoRefParserOptions,
|
|
41
|
+
normalizeVizItemSlots: () => normalizeVizItemSlots,
|
|
41
42
|
preloadDashboard: () => preloadDashboard,
|
|
42
43
|
preloadIQ: () => preloadIQ,
|
|
43
44
|
preloadVizItem: () => preloadVizItem,
|
|
@@ -331,6 +332,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
331
332
|
return v.toString(16);
|
|
332
333
|
});
|
|
333
334
|
|
|
335
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
336
|
+
function normalizeVizItemSlots(slots) {
|
|
337
|
+
return slots.map((slot) => ({
|
|
338
|
+
...slot,
|
|
339
|
+
content: slot.content.map((content) => ({
|
|
340
|
+
...content,
|
|
341
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
342
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
343
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
344
|
+
...content.aggregationWeight,
|
|
345
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
346
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
347
|
+
} } : {}
|
|
348
|
+
}))
|
|
349
|
+
}));
|
|
350
|
+
}
|
|
351
|
+
|
|
334
352
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
335
353
|
var createIframeUrl = (dashboardContent) => {
|
|
336
354
|
const searchString = [];
|
|
@@ -1342,7 +1360,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1342
1360
|
filters: "filters",
|
|
1343
1361
|
dashboardId: "dashboard-id",
|
|
1344
1362
|
screenMode: "screen-mode",
|
|
1345
|
-
querySource: "query-source",
|
|
1346
1363
|
itemId: "item-id",
|
|
1347
1364
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1348
1365
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1464,7 +1481,7 @@ var import_decorators = require("lit/decorators.js");
|
|
|
1464
1481
|
var import_style_map = require("lit/directives/style-map.js");
|
|
1465
1482
|
|
|
1466
1483
|
// libs/embed-libs/embed/package.json
|
|
1467
|
-
var version = "
|
|
1484
|
+
var version = "10.0.0";
|
|
1468
1485
|
|
|
1469
1486
|
// libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
|
|
1470
1487
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -2826,6 +2843,22 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2826
2843
|
this.libVersion = version + "-wc-luzmo";
|
|
2827
2844
|
this.postInitCallQueue = [];
|
|
2828
2845
|
}
|
|
2846
|
+
static {
|
|
2847
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
2848
|
+
this.styles = import_lit3.css`
|
|
2849
|
+
:host {
|
|
2850
|
+
display: block;
|
|
2851
|
+
width: 100%;
|
|
2852
|
+
height: 100%;
|
|
2853
|
+
}
|
|
2854
|
+
|
|
2855
|
+
luzmo-embed-viz-item {
|
|
2856
|
+
width: 100%;
|
|
2857
|
+
height: 1000%;
|
|
2858
|
+
display: block;
|
|
2859
|
+
}
|
|
2860
|
+
`;
|
|
2861
|
+
}
|
|
2829
2862
|
createRenderRoot() {
|
|
2830
2863
|
if (!this.style.display) {
|
|
2831
2864
|
this.style.display = "block";
|
|
@@ -2892,13 +2925,22 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2892
2925
|
async firstUpdated(_changedProperties) {
|
|
2893
2926
|
super.firstUpdated(_changedProperties);
|
|
2894
2927
|
if (this.canInitializeVizItem()) {
|
|
2895
|
-
await
|
|
2928
|
+
if (!await this.loadVizItem()) {
|
|
2929
|
+
return;
|
|
2930
|
+
}
|
|
2896
2931
|
this.createAndAppendElement();
|
|
2897
2932
|
}
|
|
2898
2933
|
}
|
|
2934
|
+
async loadVizItem() {
|
|
2935
|
+
await loadLibrary(this.appServer, vizItemRemote);
|
|
2936
|
+
return true;
|
|
2937
|
+
}
|
|
2938
|
+
createVizItemElement() {
|
|
2939
|
+
return document.createElement("chart-component");
|
|
2940
|
+
}
|
|
2899
2941
|
createAndAppendElement() {
|
|
2900
2942
|
if (!this.chartElement) {
|
|
2901
|
-
this.chartElement =
|
|
2943
|
+
this.chartElement = this.createVizItemElement();
|
|
2902
2944
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
2903
2945
|
this.chartElement.style.height = "100%";
|
|
2904
2946
|
this.chartElement.style.width = "100%";
|
|
@@ -2969,7 +3011,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2969
3011
|
if (propertyName === "inlineData" && (value === void 0 || value === null)) {
|
|
2970
3012
|
this.inlineData = void 0;
|
|
2971
3013
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2972
|
-
} else if (
|
|
3014
|
+
} else if (propertyName === "screenMode" && value == null) {
|
|
2973
3015
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2974
3016
|
} else {
|
|
2975
3017
|
const attributeValue = typeof value === "object" ? JSON.stringify(value) : value?.toString() ?? value;
|
|
@@ -2985,7 +3027,9 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2985
3027
|
}
|
|
2986
3028
|
} else {
|
|
2987
3029
|
if (this.canInitializeVizItem()) {
|
|
2988
|
-
await
|
|
3030
|
+
if (!await this.loadVizItem()) {
|
|
3031
|
+
return;
|
|
3032
|
+
}
|
|
2989
3033
|
this.createAndAppendElement();
|
|
2990
3034
|
}
|
|
2991
3035
|
}
|
|
@@ -2994,20 +3038,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
|
|
|
2994
3038
|
return import_lit3.html``;
|
|
2995
3039
|
}
|
|
2996
3040
|
};
|
|
2997
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
2998
|
-
LuzmoBaseVizItem.styles = import_lit3.css`
|
|
2999
|
-
:host {
|
|
3000
|
-
display: block;
|
|
3001
|
-
width: 100%;
|
|
3002
|
-
height: 100%;
|
|
3003
|
-
}
|
|
3004
|
-
|
|
3005
|
-
luzmo-embed-viz-item {
|
|
3006
|
-
width: 100%;
|
|
3007
|
-
height: 1000%;
|
|
3008
|
-
display: block;
|
|
3009
|
-
}
|
|
3010
|
-
`;
|
|
3011
3041
|
__decorateClass([
|
|
3012
3042
|
(0, import_decorators2.property)()
|
|
3013
3043
|
], LuzmoBaseVizItem.prototype, "appServer", 2);
|
|
@@ -3061,9 +3091,6 @@ __decorateClass([
|
|
|
3061
3091
|
__decorateClass([
|
|
3062
3092
|
(0, import_decorators2.property)({ attribute: "screen-mode" })
|
|
3063
3093
|
], LuzmoBaseVizItem.prototype, "screenMode", 2);
|
|
3064
|
-
__decorateClass([
|
|
3065
|
-
(0, import_decorators2.property)({ attribute: "query-source" })
|
|
3066
|
-
], LuzmoBaseVizItem.prototype, "querySource", 2);
|
|
3067
3094
|
__decorateClass([
|
|
3068
3095
|
(0, import_decorators2.property)()
|
|
3069
3096
|
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
@@ -3119,6 +3146,16 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
3119
3146
|
this.remoteEntryServer = "http://localhost:4202/";
|
|
3120
3147
|
this.aydHost = "https://ayd.luzmo.com/";
|
|
3121
3148
|
}
|
|
3149
|
+
static {
|
|
3150
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3151
|
+
this.styles = import_lit4.css`
|
|
3152
|
+
:host {
|
|
3153
|
+
display: block;
|
|
3154
|
+
width: 100%;
|
|
3155
|
+
height: 100%;
|
|
3156
|
+
}
|
|
3157
|
+
`;
|
|
3158
|
+
}
|
|
3122
3159
|
createRenderRoot() {
|
|
3123
3160
|
return this;
|
|
3124
3161
|
}
|
|
@@ -3196,14 +3233,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
|
|
|
3196
3233
|
observer.observe(embedChat, { childList: true, subtree: true });
|
|
3197
3234
|
}
|
|
3198
3235
|
};
|
|
3199
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3200
|
-
LuzmoIQEmbedChatComponent.styles = import_lit4.css`
|
|
3201
|
-
:host {
|
|
3202
|
-
display: block;
|
|
3203
|
-
width: 100%;
|
|
3204
|
-
height: 100%;
|
|
3205
|
-
}
|
|
3206
|
-
`;
|
|
3207
3236
|
__decorateClass([
|
|
3208
3237
|
(0, import_decorators3.property)()
|
|
3209
3238
|
], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
|
|
@@ -3280,6 +3309,16 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
3280
3309
|
this.libVersion = version + "-wc-luzmo";
|
|
3281
3310
|
this.remoteEntryServer = "http://localhost:4202";
|
|
3282
3311
|
}
|
|
3312
|
+
static {
|
|
3313
|
+
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3314
|
+
this.styles = import_lit5.css`
|
|
3315
|
+
:host {
|
|
3316
|
+
display: block;
|
|
3317
|
+
width: 100%;
|
|
3318
|
+
height: 100%;
|
|
3319
|
+
}
|
|
3320
|
+
`;
|
|
3321
|
+
}
|
|
3283
3322
|
createRenderRoot() {
|
|
3284
3323
|
return this;
|
|
3285
3324
|
}
|
|
@@ -3330,14 +3369,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
|
|
|
3330
3369
|
return import_lit5.html` `;
|
|
3331
3370
|
}
|
|
3332
3371
|
};
|
|
3333
|
-
// Static styles to set host display to block, else it is not shown at all for some reason.
|
|
3334
|
-
LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
|
|
3335
|
-
:host {
|
|
3336
|
-
display: block;
|
|
3337
|
-
width: 100%;
|
|
3338
|
-
height: 100%;
|
|
3339
|
-
}
|
|
3340
|
-
`;
|
|
3341
3372
|
__decorateClass([
|
|
3342
3373
|
(0, import_decorators4.property)()
|
|
3343
3374
|
], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
|
|
@@ -3444,6 +3475,7 @@ import_lit6.LitElement.disableWarning?.("change-in-update");
|
|
|
3444
3475
|
getCachedJSONSchemas,
|
|
3445
3476
|
getJSONSchemaUrl,
|
|
3446
3477
|
luzmoRefParserOptions,
|
|
3478
|
+
normalizeVizItemSlots,
|
|
3447
3479
|
preloadDashboard,
|
|
3448
3480
|
preloadIQ,
|
|
3449
3481
|
preloadVizItem,
|