@syntrologie/adapt-chatbot 2.8.0-canary.591 → 2.8.0-canary.593

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.
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  AdaptiveChipsStrip,
3
3
  SuggestionChipSchema
4
- } from "./chunk-DSR56LAR.js";
5
- import "./chunk-XE37MAXW.js";
4
+ } from "./chunk-RICYMHGV.js";
5
+ import "./chunk-34ETVAIO.js";
6
6
  import "./chunk-LY5AGXVD.js";
7
7
  export {
8
8
  AdaptiveChipsStrip,
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  ChatAssistantLitMountable,
3
3
  renderFallbackHtml
4
- } from "./chunk-GZ2ETIKC.js";
5
- import "./chunk-V4SBHTEF.js";
4
+ } from "./chunk-JHREVEN7.js";
5
+ import "./chunk-TRX3KRBO.js";
6
6
  import "./chunk-EWPPVPJ4.js";
7
7
  import "./chunk-GN7Z5IVP.js";
8
- import "./chunk-XE37MAXW.js";
8
+ import "./chunk-34ETVAIO.js";
9
9
  import "./chunk-LY5AGXVD.js";
10
10
  export {
11
11
  ChatAssistantLitMountable,
@@ -4610,6 +4610,20 @@ var TILE_MOUNTED_EVENT = "element.tile_mounted";
4610
4610
  var TILE_PATCHED_EVENT = "element.tile_patched";
4611
4611
  var TILE_UNMOUNTED_EVENT = "element.tile_unmounted";
4612
4612
  var TILE_REPLAY_REQUEST_EVENT = "element.tile_replay_request";
4613
+ function parseTileLayout(raw) {
4614
+ if (!raw || typeof raw !== "object" || Array.isArray(raw))
4615
+ return void 0;
4616
+ const r = raw;
4617
+ if (r.group !== void 0 && r.group !== null && typeof r.group !== "string")
4618
+ return void 0;
4619
+ if (r.lead !== void 0 && r.lead !== null && typeof r.lead !== "boolean")
4620
+ return void 0;
4621
+ const group = typeof r.group === "string" ? r.group.trim() : "";
4622
+ const lead = r.lead === true;
4623
+ if (!group && !lead)
4624
+ return void 0;
4625
+ return group ? { group, lead } : { lead };
4626
+ }
4613
4627
 
4614
4628
  export {
4615
4629
  TELEMETRY_DOM_EVENT,
@@ -4624,7 +4638,8 @@ export {
4624
4638
  TILE_MOUNTED_EVENT,
4625
4639
  TILE_PATCHED_EVENT,
4626
4640
  TILE_UNMOUNTED_EVENT,
4627
- TILE_REPLAY_REQUEST_EVENT
4641
+ TILE_REPLAY_REQUEST_EVENT,
4642
+ parseTileLayout
4628
4643
  };
4629
4644
  /*! Bundled license information:
4630
4645
 
@@ -4654,4 +4669,4 @@ export {
4654
4669
  * SPDX-License-Identifier: BSD-3-Clause
4655
4670
  *)
4656
4671
  */
4657
- //# sourceMappingURL=chunk-XE37MAXW.js.map
4672
+ //# sourceMappingURL=chunk-34ETVAIO.js.map