@luzmo/embed 9.1.0 → 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 +35 -9
- package/index.dashboard-next.cjs +6291 -0
- package/index.dashboard-next.js +6259 -0
- package/index.js +34 -9
- 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 +160 -135
- package/package.json +15 -2
- 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/index.js
CHANGED
|
@@ -295,6 +295,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
295
295
|
return v.toString(16);
|
|
296
296
|
});
|
|
297
297
|
|
|
298
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
299
|
+
function normalizeVizItemSlots(slots) {
|
|
300
|
+
return slots.map((slot) => ({
|
|
301
|
+
...slot,
|
|
302
|
+
content: slot.content.map((content) => ({
|
|
303
|
+
...content,
|
|
304
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
305
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
306
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
307
|
+
...content.aggregationWeight,
|
|
308
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
309
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
310
|
+
} } : {}
|
|
311
|
+
}))
|
|
312
|
+
}));
|
|
313
|
+
}
|
|
314
|
+
|
|
298
315
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
299
316
|
var createIframeUrl = (dashboardContent) => {
|
|
300
317
|
const searchString = [];
|
|
@@ -1306,7 +1323,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1306
1323
|
filters: "filters",
|
|
1307
1324
|
dashboardId: "dashboard-id",
|
|
1308
1325
|
screenMode: "screen-mode",
|
|
1309
|
-
querySource: "query-source",
|
|
1310
1326
|
itemId: "item-id",
|
|
1311
1327
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1312
1328
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1428,7 +1444,7 @@ import { property, query, state } from "lit/decorators.js";
|
|
|
1428
1444
|
import { styleMap } from "lit/directives/style-map.js";
|
|
1429
1445
|
|
|
1430
1446
|
// libs/embed-libs/embed/package.json
|
|
1431
|
-
var version = "
|
|
1447
|
+
var version = "10.0.0";
|
|
1432
1448
|
|
|
1433
1449
|
// libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
|
|
1434
1450
|
function buildEmbedErrorDetail(errorMsg) {
|
|
@@ -2874,13 +2890,22 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
2874
2890
|
async firstUpdated(_changedProperties) {
|
|
2875
2891
|
super.firstUpdated(_changedProperties);
|
|
2876
2892
|
if (this.canInitializeVizItem()) {
|
|
2877
|
-
await
|
|
2893
|
+
if (!await this.loadVizItem()) {
|
|
2894
|
+
return;
|
|
2895
|
+
}
|
|
2878
2896
|
this.createAndAppendElement();
|
|
2879
2897
|
}
|
|
2880
2898
|
}
|
|
2899
|
+
async loadVizItem() {
|
|
2900
|
+
await loadLibrary(this.appServer, vizItemRemote);
|
|
2901
|
+
return true;
|
|
2902
|
+
}
|
|
2903
|
+
createVizItemElement() {
|
|
2904
|
+
return document.createElement("chart-component");
|
|
2905
|
+
}
|
|
2881
2906
|
createAndAppendElement() {
|
|
2882
2907
|
if (!this.chartElement) {
|
|
2883
|
-
this.chartElement =
|
|
2908
|
+
this.chartElement = this.createVizItemElement();
|
|
2884
2909
|
this.chartElement.setAttribute("embedding-mode", "chart");
|
|
2885
2910
|
this.chartElement.style.height = "100%";
|
|
2886
2911
|
this.chartElement.style.width = "100%";
|
|
@@ -2951,7 +2976,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
2951
2976
|
if (propertyName === "inlineData" && (value === void 0 || value === null)) {
|
|
2952
2977
|
this.inlineData = void 0;
|
|
2953
2978
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2954
|
-
} else if (
|
|
2979
|
+
} else if (propertyName === "screenMode" && value == null) {
|
|
2955
2980
|
this.chartElement.removeAttribute(mappedAttributeName);
|
|
2956
2981
|
} else {
|
|
2957
2982
|
const attributeValue = typeof value === "object" ? JSON.stringify(value) : value?.toString() ?? value;
|
|
@@ -2967,7 +2992,9 @@ var LuzmoBaseVizItem = class extends LitElement2 {
|
|
|
2967
2992
|
}
|
|
2968
2993
|
} else {
|
|
2969
2994
|
if (this.canInitializeVizItem()) {
|
|
2970
|
-
await
|
|
2995
|
+
if (!await this.loadVizItem()) {
|
|
2996
|
+
return;
|
|
2997
|
+
}
|
|
2971
2998
|
this.createAndAppendElement();
|
|
2972
2999
|
}
|
|
2973
3000
|
}
|
|
@@ -3029,9 +3056,6 @@ __decorateClass([
|
|
|
3029
3056
|
__decorateClass([
|
|
3030
3057
|
property2({ attribute: "screen-mode" })
|
|
3031
3058
|
], LuzmoBaseVizItem.prototype, "screenMode", 2);
|
|
3032
|
-
__decorateClass([
|
|
3033
|
-
property2({ attribute: "query-source" })
|
|
3034
|
-
], LuzmoBaseVizItem.prototype, "querySource", 2);
|
|
3035
3059
|
__decorateClass([
|
|
3036
3060
|
property2()
|
|
3037
3061
|
], LuzmoBaseVizItem.prototype, "itemId", 2);
|
|
@@ -3415,6 +3439,7 @@ export {
|
|
|
3415
3439
|
getCachedJSONSchemas,
|
|
3416
3440
|
getJSONSchemaUrl,
|
|
3417
3441
|
luzmoRefParserOptions,
|
|
3442
|
+
normalizeVizItemSlots,
|
|
3418
3443
|
preloadDashboard,
|
|
3419
3444
|
preloadIQ,
|
|
3420
3445
|
preloadVizItem,
|
package/index.rn.cjs
CHANGED
|
@@ -48,6 +48,7 @@ __export(index_rn_exports, {
|
|
|
48
48
|
libraryTypeToWebComponentTypeMapping: () => libraryTypeToWebComponentTypeMapping,
|
|
49
49
|
loaderStyles: () => loaderStyles,
|
|
50
50
|
luzmoEmbedContainerClass: () => luzmoEmbedContainerClass,
|
|
51
|
+
normalizeVizItemSlots: () => normalizeVizItemSlots,
|
|
51
52
|
plStyles: () => plStyles,
|
|
52
53
|
refreshData: () => refreshData,
|
|
53
54
|
rejectPromise: () => rejectPromise,
|
|
@@ -355,6 +356,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
355
356
|
return v.toString(16);
|
|
356
357
|
});
|
|
357
358
|
|
|
359
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
360
|
+
function normalizeVizItemSlots(slots) {
|
|
361
|
+
return slots.map((slot) => ({
|
|
362
|
+
...slot,
|
|
363
|
+
content: slot.content.map((content) => ({
|
|
364
|
+
...content,
|
|
365
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
366
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
367
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
368
|
+
...content.aggregationWeight,
|
|
369
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
370
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
371
|
+
} } : {}
|
|
372
|
+
}))
|
|
373
|
+
}));
|
|
374
|
+
}
|
|
375
|
+
|
|
358
376
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
359
377
|
var createIframeUrl = (dashboardContent) => {
|
|
360
378
|
const searchString = [];
|
|
@@ -1366,7 +1384,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1366
1384
|
filters: "filters",
|
|
1367
1385
|
dashboardId: "dashboard-id",
|
|
1368
1386
|
screenMode: "screen-mode",
|
|
1369
|
-
querySource: "query-source",
|
|
1370
1387
|
itemId: "item-id",
|
|
1371
1388
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1372
1389
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1387,7 +1404,6 @@ var libraryAcceptedParametersList = [
|
|
|
1387
1404
|
"itemId",
|
|
1388
1405
|
"dashboardId",
|
|
1389
1406
|
"screenMode",
|
|
1390
|
-
"querySource",
|
|
1391
1407
|
"aiMessageAssetId",
|
|
1392
1408
|
"libVersion"
|
|
1393
1409
|
];
|
|
@@ -1424,6 +1440,7 @@ var luzmoEmbedContainerClass = "luzmo-embed-container";
|
|
|
1424
1440
|
libraryTypeToWebComponentTypeMapping,
|
|
1425
1441
|
loaderStyles,
|
|
1426
1442
|
luzmoEmbedContainerClass,
|
|
1443
|
+
normalizeVizItemSlots,
|
|
1427
1444
|
plStyles,
|
|
1428
1445
|
refreshData,
|
|
1429
1446
|
rejectPromise,
|
package/index.rn.js
CHANGED
|
@@ -286,6 +286,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
286
286
|
return v.toString(16);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
290
|
+
function normalizeVizItemSlots(slots) {
|
|
291
|
+
return slots.map((slot) => ({
|
|
292
|
+
...slot,
|
|
293
|
+
content: slot.content.map((content) => ({
|
|
294
|
+
...content,
|
|
295
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
296
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
297
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
298
|
+
...content.aggregationWeight,
|
|
299
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
300
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
301
|
+
} } : {}
|
|
302
|
+
}))
|
|
303
|
+
}));
|
|
304
|
+
}
|
|
305
|
+
|
|
289
306
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
290
307
|
var createIframeUrl = (dashboardContent) => {
|
|
291
308
|
const searchString = [];
|
|
@@ -1297,7 +1314,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1297
1314
|
filters: "filters",
|
|
1298
1315
|
dashboardId: "dashboard-id",
|
|
1299
1316
|
screenMode: "screen-mode",
|
|
1300
|
-
querySource: "query-source",
|
|
1301
1317
|
itemId: "item-id",
|
|
1302
1318
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1303
1319
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1318,7 +1334,6 @@ var libraryAcceptedParametersList = [
|
|
|
1318
1334
|
"itemId",
|
|
1319
1335
|
"dashboardId",
|
|
1320
1336
|
"screenMode",
|
|
1321
|
-
"querySource",
|
|
1322
1337
|
"aiMessageAssetId",
|
|
1323
1338
|
"libVersion"
|
|
1324
1339
|
];
|
|
@@ -1354,6 +1369,7 @@ export {
|
|
|
1354
1369
|
libraryTypeToWebComponentTypeMapping,
|
|
1355
1370
|
loaderStyles,
|
|
1356
1371
|
luzmoEmbedContainerClass,
|
|
1372
|
+
normalizeVizItemSlots,
|
|
1357
1373
|
plStyles,
|
|
1358
1374
|
refreshData,
|
|
1359
1375
|
rejectPromise,
|
package/index.shared.cjs
CHANGED
|
@@ -49,6 +49,7 @@ __export(index_shared_exports, {
|
|
|
49
49
|
loadLibrary: () => loadLibrary,
|
|
50
50
|
loaderStyles: () => loaderStyles,
|
|
51
51
|
luzmoEmbedContainerClass: () => luzmoEmbedContainerClass,
|
|
52
|
+
normalizeVizItemSlots: () => normalizeVizItemSlots,
|
|
52
53
|
plStyles: () => plStyles,
|
|
53
54
|
preloadDashboard: () => preloadDashboard,
|
|
54
55
|
preloadIQ: () => preloadIQ,
|
|
@@ -359,6 +360,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
359
360
|
return v.toString(16);
|
|
360
361
|
});
|
|
361
362
|
|
|
363
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
364
|
+
function normalizeVizItemSlots(slots) {
|
|
365
|
+
return slots.map((slot) => ({
|
|
366
|
+
...slot,
|
|
367
|
+
content: slot.content.map((content) => ({
|
|
368
|
+
...content,
|
|
369
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
370
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
371
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
372
|
+
...content.aggregationWeight,
|
|
373
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
374
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
375
|
+
} } : {}
|
|
376
|
+
}))
|
|
377
|
+
}));
|
|
378
|
+
}
|
|
379
|
+
|
|
362
380
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
363
381
|
var createIframeUrl = (dashboardContent) => {
|
|
364
382
|
const searchString = [];
|
|
@@ -1370,7 +1388,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1370
1388
|
filters: "filters",
|
|
1371
1389
|
dashboardId: "dashboard-id",
|
|
1372
1390
|
screenMode: "screen-mode",
|
|
1373
|
-
querySource: "query-source",
|
|
1374
1391
|
itemId: "item-id",
|
|
1375
1392
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1376
1393
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1391,7 +1408,6 @@ var libraryAcceptedParametersList = [
|
|
|
1391
1408
|
"itemId",
|
|
1392
1409
|
"dashboardId",
|
|
1393
1410
|
"screenMode",
|
|
1394
|
-
"querySource",
|
|
1395
1411
|
"aiMessageAssetId",
|
|
1396
1412
|
"libVersion"
|
|
1397
1413
|
];
|
|
@@ -1532,6 +1548,7 @@ function preloadIQ(appServer = "https://app.luzmo.com") {
|
|
|
1532
1548
|
loadLibrary,
|
|
1533
1549
|
loaderStyles,
|
|
1534
1550
|
luzmoEmbedContainerClass,
|
|
1551
|
+
normalizeVizItemSlots,
|
|
1535
1552
|
plStyles,
|
|
1536
1553
|
preloadDashboard,
|
|
1537
1554
|
preloadIQ,
|
package/index.shared.js
CHANGED
|
@@ -286,6 +286,23 @@ var uuidv4 = () => "xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replaceAll(/[xy]/g, fu
|
|
|
286
286
|
return v.toString(16);
|
|
287
287
|
});
|
|
288
288
|
|
|
289
|
+
// libs/embed-libs/embed/src/lib/shared/helpers/normalize-viz-item-slots.ts
|
|
290
|
+
function normalizeVizItemSlots(slots) {
|
|
291
|
+
return slots.map((slot) => ({
|
|
292
|
+
...slot,
|
|
293
|
+
content: slot.content.map((content) => ({
|
|
294
|
+
...content,
|
|
295
|
+
...content.columnId === void 0 ? {} : { column: content.columnId },
|
|
296
|
+
...content.datasetId === void 0 ? {} : { set: content.datasetId },
|
|
297
|
+
...content.aggregationWeight ? { aggregationWeight: {
|
|
298
|
+
...content.aggregationWeight,
|
|
299
|
+
set: content.aggregationWeight.datasetId ?? content.aggregationWeight.set,
|
|
300
|
+
column: content.aggregationWeight.columnId ?? content.aggregationWeight.column
|
|
301
|
+
} } : {}
|
|
302
|
+
}))
|
|
303
|
+
}));
|
|
304
|
+
}
|
|
305
|
+
|
|
289
306
|
// libs/embed-libs/embed/src/lib/shared/helpers/iframe-url.ts
|
|
290
307
|
var createIframeUrl = (dashboardContent) => {
|
|
291
308
|
const searchString = [];
|
|
@@ -1297,7 +1314,6 @@ var libraryTypeToWebComponentTypeMapping = {
|
|
|
1297
1314
|
filters: "filters",
|
|
1298
1315
|
dashboardId: "dashboard-id",
|
|
1299
1316
|
screenMode: "screen-mode",
|
|
1300
|
-
querySource: "query-source",
|
|
1301
1317
|
itemId: "item-id",
|
|
1302
1318
|
aiMessageAssetId: "ai-message-asset-id",
|
|
1303
1319
|
dashboardContentsVersion: "dashboard-contents-version",
|
|
@@ -1318,7 +1334,6 @@ var libraryAcceptedParametersList = [
|
|
|
1318
1334
|
"itemId",
|
|
1319
1335
|
"dashboardId",
|
|
1320
1336
|
"screenMode",
|
|
1321
|
-
"querySource",
|
|
1322
1337
|
"aiMessageAssetId",
|
|
1323
1338
|
"libVersion"
|
|
1324
1339
|
];
|
|
@@ -1458,6 +1473,7 @@ export {
|
|
|
1458
1473
|
loadLibrary,
|
|
1459
1474
|
loaderStyles,
|
|
1460
1475
|
luzmoEmbedContainerClass,
|
|
1476
|
+
normalizeVizItemSlots,
|
|
1461
1477
|
plStyles,
|
|
1462
1478
|
preloadDashboard,
|
|
1463
1479
|
preloadIQ,
|