@intelliweave/embedded 2.0.71 → 2.0.72-beta.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.
@@ -382,7 +382,7 @@ interface KnowledgeBaseItem {
382
382
  /** If true, this item will always be returned from all search results. */
383
383
  isContext?: boolean;
384
384
  /** If true, this item will not be visible to the AI. */
385
- disabled?: boolean;
385
+ disabled?: boolean | ((ai: IntelliWeave) => boolean);
386
386
  /** List of parameters for an action function. Can either use IW's format, or a JSON Schema object. */
387
387
  parameters?: KnowledgeBaseActionParameterSchema;
388
388
  /**
@@ -925,6 +925,8 @@ interface WebWeaverGPTConfig {
925
925
  textColor?: string;
926
926
  /** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
927
927
  displayMode?: 'closed' | 'open';
928
+ /** Layout preset: 'widget' (default) or 'fullscreen' */
929
+ layout?: 'widget' | 'fullscreen';
928
930
  /** Positioning mode: 'fixed' (default - floats on page) or 'container' (fills parent container) */
929
931
  positioningMode?: 'fixed' | 'container';
930
932
  /** Horizontal position: 'left' or 'right' (default: 'right') - only used when positioningMode is 'fixed' */
@@ -1147,11 +1149,18 @@ declare class WebWeaverEmbed extends BaseComponent {
1147
1149
  private _lastBackground?;
1148
1150
  private _lastTextColor?;
1149
1151
  private _lastDisplayMode?;
1152
+ private _lastLayout?;
1153
+ private _lastPersonaName?;
1154
+ private _lastHeaderLogo?;
1150
1155
  private _lastPositioningMode?;
1151
1156
  private _lastPositionX?;
1152
1157
  private _lastPositionY?;
1153
1158
  private _lastOffsetX?;
1154
1159
  private _lastOffsetY?;
1160
+ /** Apply persona-based color variants as CSS variables */
1161
+ private applyPersonaColorVariants;
1162
+ /** Parse a color string to RGB (supports hex and rgb/rgba) */
1163
+ private parseColorToRGB;
1155
1164
  /** Apply UI styles from config and attributes, prioritizing attributes */
1156
1165
  private applyConfigStylesAndAttributes;
1157
1166
  /** Called on update */