@luzmo/embed 10.1.0-es2021 → 10.1.1-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 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 = [
@@ -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
  }
@@ -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 = [
@@ -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
  }
@@ -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 = [
@@ -6252,7 +6252,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6252
6252
  const synchronized = previousContents.syncScreenModes;
6253
6253
  if (contents.views.some((view) => {
6254
6254
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6255
- 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));
6255
+ 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)));
6256
6256
  })) {
6257
6257
  return "chart-type";
6258
6258
  }
@@ -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 = [
@@ -6240,7 +6240,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
6240
6240
  const synchronized = previousContents.syncScreenModes;
6241
6241
  if (contents.views.some((view) => {
6242
6242
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
6243
- 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));
6243
+ 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)));
6244
6244
  })) {
6245
6245
  return "chart-type";
6246
6246
  }
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) {
@@ -124593,7 +124593,7 @@ init_lit();
124593
124593
  init_decorators();
124594
124594
 
124595
124595
  // libs/embed-libs/embed/package.json
124596
- var version = "10.1.0";
124596
+ var version = "10.1.1";
124597
124597
 
124598
124598
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
124599
124599
  var EXTENTS = [
@@ -159743,7 +159743,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
159743
159743
  const synchronized = previousContents.syncScreenModes;
159744
159744
  if (contents.views.some((view) => {
159745
159745
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
159746
- 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));
159746
+ 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)));
159747
159747
  })) {
159748
159748
  return "chart-type";
159749
159749
  }
@@ -123441,7 +123441,7 @@ init_lit();
123441
123441
  init_decorators();
123442
123442
 
123443
123443
  // libs/embed-libs/embed/package.json
123444
- var version = "10.1.0";
123444
+ var version = "10.1.1";
123445
123445
 
123446
123446
  // libs/embed-libs/embed/src/lib/shared/helpers/extents.ts
123447
123447
  var EXTENTS = [
@@ -158711,7 +158711,7 @@ function applyDashboardAgentDraft(stores, dashboard, name, expected) {
158711
158711
  const synchronized = previousContents.syncScreenModes;
158712
158712
  if (contents.views.some((view) => {
158713
158713
  const previousItems = previousContents.views.filter((candidate) => synchronized || (candidate.screenModus ?? "desktop") === (view.screenModus ?? "desktop")).flatMap((candidate) => candidate.items);
158714
- 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));
158714
+ 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)));
158715
158715
  })) {
158716
158716
  return "chart-type";
158717
158717
  }
@@ -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-es2021",
3
+ "version": "10.1.1-es2021",
4
4
  "dependencies": {
5
5
  "lit": "^3.3.1",
6
6
  "@module-federation/runtime": "^2.9.0",