@luzmo/embed 10.1.0 → 10.1.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,12 @@
2
2
 
3
3
  All notable changes to this project are documented in this file.
4
4
 
5
+ ## [10.1.1] - 2026-11-27
6
+
7
+ ### Fixed
8
+
9
+ - Fixed Dashboard Agent edits being rejected when an existing chart outside the allowed chart types had a `null` custom chart ID and the Agent omitted that ID from its response.
10
+
5
11
  ## [10.1.0] - 2026-11-26
6
12
 
7
13
  ### Changed
package/index.cjs CHANGED
@@ -1491,7 +1491,7 @@ var import_decorators = require("lit/decorators.js");
1491
1491
  var import_style_map = require("lit/directives/style-map.js");
1492
1492
 
1493
1493
  // libs/embed-libs/embed/package.json
1494
- var version = "10.1.0";
1494
+ var version = "10.1.1";
1495
1495
 
1496
1496
  // libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
1497
1497
  function buildEmbedErrorDetail(errorMsg) {
@@ -1220,7 +1220,7 @@ var import_lit2 = require("lit");
1220
1220
  var import_decorators2 = require("lit/decorators.js");
1221
1221
 
1222
1222
  // libs/embed-libs/embed/package.json
1223
- var version = "10.1.0";
1223
+ var version = "10.1.1";
1224
1224
 
1225
1225
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
1226
1226
  var EXTENTS = [
@@ -6272,7 +6272,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6272
6272
  const synchronized = previousContents.syncScreenModes;
6273
6273
  if (contents.views.some((view) => {
6274
6274
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6275
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
6275
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
6276
6276
  })) {
6277
6277
  return "chart-type";
6278
6278
  }
@@ -1208,7 +1208,7 @@ import { css, html, LitElement as LitElement2 } from "lit";
1208
1208
  import { property as property2 } from "lit/decorators.js";
1209
1209
 
1210
1210
  // libs/embed-libs/embed/package.json
1211
- var version = "10.1.0";
1211
+ var version = "10.1.1";
1212
1212
 
1213
1213
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
1214
1214
  var EXTENTS = [
@@ -6260,7 +6260,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6260
6260
  const synchronized = previousContents.syncScreenModes;
6261
6261
  if (contents.views.some((view) => {
6262
6262
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6263
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
6263
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
6264
6264
  })) {
6265
6265
  return "chart-type";
6266
6266
  }
@@ -1090,7 +1090,7 @@ var import_lit = require("lit");
1090
1090
  var import_decorators = require("lit/decorators.js");
1091
1091
 
1092
1092
  // libs/embed-libs/embed/package.json
1093
- var version = "10.1.0";
1093
+ var version = "10.1.1";
1094
1094
 
1095
1095
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
1096
1096
  var EXTENTS = [
@@ -6262,7 +6262,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6262
6262
  const synchronized = previousContents.syncScreenModes;
6263
6263
  if (contents.views.some((view) => {
6264
6264
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6265
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
6265
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
6266
6266
  })) {
6267
6267
  return "chart-type";
6268
6268
  }
@@ -1078,7 +1078,7 @@ import { css, html, LitElement } from "lit";
1078
1078
  import { property } from "lit/decorators.js";
1079
1079
 
1080
1080
  // libs/embed-libs/embed/package.json
1081
- var version = "10.1.0";
1081
+ var version = "10.1.1";
1082
1082
 
1083
1083
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
1084
1084
  var EXTENTS = [
@@ -6250,7 +6250,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6250
6250
  const synchronized = previousContents.syncScreenModes;
6251
6251
  if (contents.views.some((view) => {
6252
6252
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6253
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
6253
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
6254
6254
  })) {
6255
6255
  return "chart-type";
6256
6256
  }
package/index.js CHANGED
@@ -1453,7 +1453,7 @@ import { property, query, state } from "lit/decorators.js";
1453
1453
  import { styleMap } from "lit/directives/style-map.js";
1454
1454
 
1455
1455
  // libs/embed-libs/embed/package.json
1456
- var version = "10.1.0";
1456
+ var version = "10.1.1";
1457
1457
 
1458
1458
  // libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
1459
1459
  function buildEmbedErrorDetail(errorMsg) {
@@ -124609,7 +124609,7 @@ init_lit();
124609
124609
  init_decorators();
124610
124610
 
124611
124611
  // libs/embed-libs/embed/package.json
124612
- var version = "10.1.0";
124612
+ var version = "10.1.1";
124613
124613
 
124614
124614
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
124615
124615
  var EXTENTS = [
@@ -159756,7 +159756,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
159756
159756
  const synchronized = previousContents.syncScreenModes;
159757
159757
  if (contents.views.some((view) => {
159758
159758
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
159759
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
159759
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
159760
159760
  })) {
159761
159761
  return "chart-type";
159762
159762
  }
@@ -123457,7 +123457,7 @@ init_lit();
123457
123457
  init_decorators();
123458
123458
 
123459
123459
  // libs/embed-libs/embed/package.json
123460
- var version = "10.1.0";
123460
+ var version = "10.1.1";
123461
123461
 
123462
123462
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
123463
123463
  var EXTENTS = [
@@ -158724,7 +158724,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
158724
158724
  const synchronized = previousContents.syncScreenModes;
158725
158725
  if (contents.views.some((view) => {
158726
158726
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
158727
- return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && existing.customChartId === item.customChartId));
158727
+ return view.items.some((item) => !isDashboardChartTypeAllowed(types, item.type, item.customChartId) && !previousItems.some((existing) => existing.id === item.id && existing.type === item.type && (existing.customChartId ?? null) === (item.customChartId ?? null)));
158728
158728
  })) {
158729
158729
  return "chart-type";
158730
158730
  }
@@ -6195,7 +6195,7 @@ var o6 = e6(class extends i5 {
6195
6195
  });
6196
6196
 
6197
6197
  // libs/embed-libs/embed/package.json
6198
- var version = "10.1.0";
6198
+ var version = "10.1.1";
6199
6199
 
6200
6200
  // libs/embed-libs/embed/src/lib/utils/embed-error.utils.ts
6201
6201
  function buildEmbedErrorDetail(errorMsg) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@luzmo/embed",
3
- "version": "10.1.0",
3
+ "version": "10.1.1",
4
4
  "dependencies": {
5
5
  "lit": "^3.3.1",
6
6
  "@module-federation/runtime": "^2.9.0",