@luzmo/embed 6.7.2 → 6.7.3-es2021.1

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 CHANGED
@@ -2,6 +2,16 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [6.7.3] - 2026-01-22
6
+
7
+ ### Added
8
+ - Added the `authorizationExpired` event on `<luzmo-embed-viz-item>` to notify when the authorization token has expired and re-authentication is required.
9
+
10
+ ## [6.7.2] - 2025-12-17
11
+
12
+ ### Changed
13
+ - Remove extra NPM dependencies.
14
+
5
15
  ## [6.7.1] - 2025-11-12
6
16
 
7
17
  ### Changed
package/index.cjs CHANGED
@@ -62,7 +62,7 @@ var import_decorators = require("lit/decorators.js");
62
62
  var import_style_map = require("lit/directives/style-map.js");
63
63
 
64
64
  // libs/embed-libs/embed/package.json
65
- var version = "6.7.2";
65
+ var version = "6.7.3";
66
66
 
67
67
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
68
68
  var SharedLib = __toESM(require("@luzmo/shared-embed"));
@@ -1122,22 +1122,6 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1122
1122
  this.libVersion = version + "-wc-luzmo";
1123
1123
  this.postInitCallQueue = [];
1124
1124
  }
1125
- static {
1126
- // Static styles to set host display to block, else it is not shown at all for some reason.
1127
- this.styles = import_lit3.css`
1128
- :host {
1129
- display: block;
1130
- width: 100%;
1131
- height: 100%;
1132
- }
1133
-
1134
- luzmo-embed-viz-item {
1135
- width: 100%;
1136
- height: 1000%;
1137
- display: block;
1138
- }
1139
- `;
1140
- }
1141
1125
  createRenderRoot() {
1142
1126
  if (!this.style.display) {
1143
1127
  this.style.display = "block";
@@ -1211,6 +1195,7 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1211
1195
  this.chartElement.addEventListener("changedFilters", (payload) => this.dispatchEvent(new CustomEvent("changedFilters", payload)));
1212
1196
  this.chartElement.addEventListener("exported", (payload) => this.dispatchEvent(new CustomEvent("exported", payload)));
1213
1197
  this.chartElement.addEventListener("customEvent", (payload) => this.dispatchEvent(new CustomEvent("customEvent", payload)));
1198
+ this.chartElement.addEventListener("authorizationExpired", (payload) => this.dispatchEvent(new CustomEvent("authorizationExpired", payload)));
1214
1199
  this.updateVizItemProperties();
1215
1200
  this.renderRoot.append(this.chartElement);
1216
1201
  }
@@ -1247,6 +1232,20 @@ var LuzmoBaseVizItem = class extends import_lit3.LitElement {
1247
1232
  return import_lit3.html` `;
1248
1233
  }
1249
1234
  };
1235
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1236
+ LuzmoBaseVizItem.styles = import_lit3.css`
1237
+ :host {
1238
+ display: block;
1239
+ width: 100%;
1240
+ height: 100%;
1241
+ }
1242
+
1243
+ luzmo-embed-viz-item {
1244
+ width: 100%;
1245
+ height: 1000%;
1246
+ display: block;
1247
+ }
1248
+ `;
1250
1249
  __decorateClass([
1251
1250
  (0, import_decorators2.property)()
1252
1251
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1340,16 +1339,6 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1340
1339
  this.remoteEntryServer = "http://localhost:4202/";
1341
1340
  this.aydHost = "https://ayd.luzmo.com/";
1342
1341
  }
1343
- static {
1344
- // Static styles to set host display to block, else it is not shown at all for some reason.
1345
- this.styles = import_lit4.css`
1346
- :host {
1347
- display: block;
1348
- width: 100%;
1349
- height: 100%;
1350
- }
1351
- `;
1352
- }
1353
1342
  createRenderRoot() {
1354
1343
  return this;
1355
1344
  }
@@ -1418,6 +1407,14 @@ var LuzmoIQEmbedChatComponent = class extends import_lit4.LitElement {
1418
1407
  observer.observe(embedChat, { childList: true, subtree: true });
1419
1408
  }
1420
1409
  };
1410
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1411
+ LuzmoIQEmbedChatComponent.styles = import_lit4.css`
1412
+ :host {
1413
+ display: block;
1414
+ width: 100%;
1415
+ height: 100%;
1416
+ }
1417
+ `;
1421
1418
  __decorateClass([
1422
1419
  (0, import_decorators3.property)()
1423
1420
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1483,16 +1480,6 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1483
1480
  this.libVersion = version + "-wc-luzmo";
1484
1481
  this.remoteEntryServer = "http://localhost:4202";
1485
1482
  }
1486
- static {
1487
- // Static styles to set host display to block, else it is not shown at all for some reason.
1488
- this.styles = import_lit5.css`
1489
- :host {
1490
- display: block;
1491
- width: 100%;
1492
- height: 100%;
1493
- }
1494
- `;
1495
- }
1496
1483
  createRenderRoot() {
1497
1484
  return this;
1498
1485
  }
@@ -1543,6 +1530,14 @@ var LuzmoIQEmbedAnswerComponent = class extends import_lit5.LitElement {
1543
1530
  return import_lit5.html` `;
1544
1531
  }
1545
1532
  };
1533
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1534
+ LuzmoIQEmbedAnswerComponent.styles = import_lit5.css`
1535
+ :host {
1536
+ display: block;
1537
+ width: 100%;
1538
+ height: 100%;
1539
+ }
1540
+ `;
1546
1541
  __decorateClass([
1547
1542
  (0, import_decorators4.property)()
1548
1543
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
package/index.js CHANGED
@@ -23,7 +23,7 @@ import { property, query, state } from "lit/decorators.js";
23
23
  import { styleMap } from "lit/directives/style-map.js";
24
24
 
25
25
  // libs/embed-libs/embed/package.json
26
- var version = "6.7.2";
26
+ var version = "6.7.3";
27
27
 
28
28
  // libs/embed-libs/embed/src/lib/helper/event-bus-handler.ts
29
29
  import * as SharedLib from "@luzmo/shared-embed";
@@ -1083,22 +1083,6 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1083
1083
  this.libVersion = version + "-wc-luzmo";
1084
1084
  this.postInitCallQueue = [];
1085
1085
  }
1086
- static {
1087
- // Static styles to set host display to block, else it is not shown at all for some reason.
1088
- this.styles = css2`
1089
- :host {
1090
- display: block;
1091
- width: 100%;
1092
- height: 100%;
1093
- }
1094
-
1095
- luzmo-embed-viz-item {
1096
- width: 100%;
1097
- height: 1000%;
1098
- display: block;
1099
- }
1100
- `;
1101
- }
1102
1086
  createRenderRoot() {
1103
1087
  if (!this.style.display) {
1104
1088
  this.style.display = "block";
@@ -1172,6 +1156,7 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1172
1156
  this.chartElement.addEventListener("changedFilters", (payload) => this.dispatchEvent(new CustomEvent("changedFilters", payload)));
1173
1157
  this.chartElement.addEventListener("exported", (payload) => this.dispatchEvent(new CustomEvent("exported", payload)));
1174
1158
  this.chartElement.addEventListener("customEvent", (payload) => this.dispatchEvent(new CustomEvent("customEvent", payload)));
1159
+ this.chartElement.addEventListener("authorizationExpired", (payload) => this.dispatchEvent(new CustomEvent("authorizationExpired", payload)));
1175
1160
  this.updateVizItemProperties();
1176
1161
  this.renderRoot.append(this.chartElement);
1177
1162
  }
@@ -1208,6 +1193,20 @@ var LuzmoBaseVizItem = class extends LitElement2 {
1208
1193
  return html2` `;
1209
1194
  }
1210
1195
  };
1196
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1197
+ LuzmoBaseVizItem.styles = css2`
1198
+ :host {
1199
+ display: block;
1200
+ width: 100%;
1201
+ height: 100%;
1202
+ }
1203
+
1204
+ luzmo-embed-viz-item {
1205
+ width: 100%;
1206
+ height: 1000%;
1207
+ display: block;
1208
+ }
1209
+ `;
1211
1210
  __decorateClass([
1212
1211
  property2()
1213
1212
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -1301,16 +1300,6 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1301
1300
  this.remoteEntryServer = "http://localhost:4202/";
1302
1301
  this.aydHost = "https://ayd.luzmo.com/";
1303
1302
  }
1304
- static {
1305
- // Static styles to set host display to block, else it is not shown at all for some reason.
1306
- this.styles = css3`
1307
- :host {
1308
- display: block;
1309
- width: 100%;
1310
- height: 100%;
1311
- }
1312
- `;
1313
- }
1314
1303
  createRenderRoot() {
1315
1304
  return this;
1316
1305
  }
@@ -1379,6 +1368,14 @@ var LuzmoIQEmbedChatComponent = class extends LitElement3 {
1379
1368
  observer.observe(embedChat, { childList: true, subtree: true });
1380
1369
  }
1381
1370
  };
1371
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1372
+ LuzmoIQEmbedChatComponent.styles = css3`
1373
+ :host {
1374
+ display: block;
1375
+ width: 100%;
1376
+ height: 100%;
1377
+ }
1378
+ `;
1382
1379
  __decorateClass([
1383
1380
  property3()
1384
1381
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -1444,16 +1441,6 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1444
1441
  this.libVersion = version + "-wc-luzmo";
1445
1442
  this.remoteEntryServer = "http://localhost:4202";
1446
1443
  }
1447
- static {
1448
- // Static styles to set host display to block, else it is not shown at all for some reason.
1449
- this.styles = css4`
1450
- :host {
1451
- display: block;
1452
- width: 100%;
1453
- height: 100%;
1454
- }
1455
- `;
1456
- }
1457
1444
  createRenderRoot() {
1458
1445
  return this;
1459
1446
  }
@@ -1504,6 +1491,14 @@ var LuzmoIQEmbedAnswerComponent = class extends LitElement4 {
1504
1491
  return html4` `;
1505
1492
  }
1506
1493
  };
1494
+ // Static styles to set host display to block, else it is not shown at all for some reason.
1495
+ LuzmoIQEmbedAnswerComponent.styles = css4`
1496
+ :host {
1497
+ display: block;
1498
+ width: 100%;
1499
+ height: 100%;
1500
+ }
1501
+ `;
1507
1502
  __decorateClass([
1508
1503
  property4()
1509
1504
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
@@ -2013,7 +2013,7 @@ var o6 = e6(class extends i5 {
2013
2013
  });
2014
2014
 
2015
2015
  // libs/embed-libs/embed/package.json
2016
- var version = "6.7.2";
2016
+ var version = "6.7.3";
2017
2017
 
2018
2018
  // libs/embed-libs/embed/src/lib/luzmo-service.ts
2019
2019
  var LuzmoDashboardService = class {
@@ -3066,22 +3066,6 @@ var LuzmoBaseVizItem = class extends i4 {
3066
3066
  this.libVersion = version + "-wc-luzmo";
3067
3067
  this.postInitCallQueue = [];
3068
3068
  }
3069
- static {
3070
- // Static styles to set host display to block, else it is not shown at all for some reason.
3071
- this.styles = i`
3072
- :host {
3073
- display: block;
3074
- width: 100%;
3075
- height: 100%;
3076
- }
3077
-
3078
- luzmo-embed-viz-item {
3079
- width: 100%;
3080
- height: 1000%;
3081
- display: block;
3082
- }
3083
- `;
3084
- }
3085
3069
  createRenderRoot() {
3086
3070
  if (!this.style.display) {
3087
3071
  this.style.display = "block";
@@ -3155,6 +3139,7 @@ var LuzmoBaseVizItem = class extends i4 {
3155
3139
  this.chartElement.addEventListener("changedFilters", (payload) => this.dispatchEvent(new CustomEvent("changedFilters", payload)));
3156
3140
  this.chartElement.addEventListener("exported", (payload) => this.dispatchEvent(new CustomEvent("exported", payload)));
3157
3141
  this.chartElement.addEventListener("customEvent", (payload) => this.dispatchEvent(new CustomEvent("customEvent", payload)));
3142
+ this.chartElement.addEventListener("authorizationExpired", (payload) => this.dispatchEvent(new CustomEvent("authorizationExpired", payload)));
3158
3143
  this.updateVizItemProperties();
3159
3144
  this.renderRoot.append(this.chartElement);
3160
3145
  }
@@ -3191,6 +3176,20 @@ var LuzmoBaseVizItem = class extends i4 {
3191
3176
  return x` `;
3192
3177
  }
3193
3178
  };
3179
+ // Static styles to set host display to block, else it is not shown at all for some reason.
3180
+ LuzmoBaseVizItem.styles = i`
3181
+ :host {
3182
+ display: block;
3183
+ width: 100%;
3184
+ height: 100%;
3185
+ }
3186
+
3187
+ luzmo-embed-viz-item {
3188
+ width: 100%;
3189
+ height: 1000%;
3190
+ display: block;
3191
+ }
3192
+ `;
3194
3193
  __decorateClass([
3195
3194
  n4()
3196
3195
  ], LuzmoBaseVizItem.prototype, "appServer", 2);
@@ -3281,16 +3280,6 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
3281
3280
  this.remoteEntryServer = "http://localhost:4202/";
3282
3281
  this.aydHost = "https://ayd.luzmo.com/";
3283
3282
  }
3284
- static {
3285
- // Static styles to set host display to block, else it is not shown at all for some reason.
3286
- this.styles = i`
3287
- :host {
3288
- display: block;
3289
- width: 100%;
3290
- height: 100%;
3291
- }
3292
- `;
3293
- }
3294
3283
  createRenderRoot() {
3295
3284
  return this;
3296
3285
  }
@@ -3359,6 +3348,14 @@ var LuzmoIQEmbedChatComponent = class extends i4 {
3359
3348
  observer.observe(embedChat, { childList: true, subtree: true });
3360
3349
  }
3361
3350
  };
3351
+ // Static styles to set host display to block, else it is not shown at all for some reason.
3352
+ LuzmoIQEmbedChatComponent.styles = i`
3353
+ :host {
3354
+ display: block;
3355
+ width: 100%;
3356
+ height: 100%;
3357
+ }
3358
+ `;
3362
3359
  __decorateClass([
3363
3360
  n4()
3364
3361
  ], LuzmoIQEmbedChatComponent.prototype, "appServer", 2);
@@ -3421,16 +3418,6 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
3421
3418
  this.libVersion = version + "-wc-luzmo";
3422
3419
  this.remoteEntryServer = "http://localhost:4202";
3423
3420
  }
3424
- static {
3425
- // Static styles to set host display to block, else it is not shown at all for some reason.
3426
- this.styles = i`
3427
- :host {
3428
- display: block;
3429
- width: 100%;
3430
- height: 100%;
3431
- }
3432
- `;
3433
- }
3434
3421
  createRenderRoot() {
3435
3422
  return this;
3436
3423
  }
@@ -3481,6 +3468,14 @@ var LuzmoIQEmbedAnswerComponent = class extends i4 {
3481
3468
  return x` `;
3482
3469
  }
3483
3470
  };
3471
+ // Static styles to set host display to block, else it is not shown at all for some reason.
3472
+ LuzmoIQEmbedAnswerComponent.styles = i`
3473
+ :host {
3474
+ display: block;
3475
+ width: 100%;
3476
+ height: 100%;
3477
+ }
3478
+ `;
3484
3479
  __decorateClass([
3485
3480
  n4()
3486
3481
  ], LuzmoIQEmbedAnswerComponent.prototype, "appServer", 2);
package/package.json CHANGED
@@ -1,11 +1,13 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "6.7.2",
3
+ "version": "6.7.3-es2021.1",
4
4
  "dependencies": {
5
5
  "lit": "^3.3.1",
6
- "@luzmo/shared-embed": "5.6.2"
6
+ "@luzmo/shared-embed": "5.6.3"
7
7
  },
8
8
  "keywords": [
9
+ "es2021",
10
+ "safari-compatible",
9
11
  "es6",
10
12
  "web-component",
11
13
  "lit",
@@ -21,5 +23,9 @@
21
23
  ],
22
24
  "module": "./index.js",
23
25
  "types": "./src/index.d.ts",
24
- "license": "SEE LICENSE IN LICENSE"
26
+ "license": "SEE LICENSE IN LICENSE",
27
+ "description": "ES2021 build for Safari < 16.3 compatibility",
28
+ "publishConfig": {
29
+ "tag": "es2021"
30
+ }
25
31
  }
package/src/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  export type * from '@luzmo/dashboard-contents-types';
2
- export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, DashboardExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, DashboardEditMode, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent } from '@luzmo/shared-embed';
2
+ export type { LoadEvent, ChangedFiltersEvent, CustomEvent, ItemsRenderedEvent, ExportedEvent, DashboardActionEvent, SelectedDataInput, ExportType, DashboardExportType, ItemData, ExportDashboard, AccessibleDashboard, SetEditMode, SetSelectedData, DashboardEditMode, VizItemPostMessageLoadEvent, VizItemPostMessageRenderedEvent, VizItemPostMessageExportedEvent, VizItemPostMessageChangedFiltersEvent, VizItemPostMessageCustomEventEvent, VizItemPostMessageAuthorizationExpiredEvent } from '@luzmo/shared-embed';
3
3
  export { selectedDataUtils } from '@luzmo/shared-embed';
4
4
  export * from './lib/dashboard/dashboard-component';
5
5
  export * from './lib/viz-item/viz-item-component';