@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.
- package/dist/component/component.d.ts +10 -1
- package/dist/component/component.js +150 -22
- package/dist/intelliweave-wordpress.zip +0 -0
- package/dist/node/node.d.ts +12 -1
- package/dist/node/node.js +7 -7
- package/dist/react/react.d.ts +7 -1
- package/dist/react/react.js +151 -23
- package/dist/script-tag/script-tag.js +152 -24
- package/dist/webpack/index.d.ts +16 -1
- package/dist/webpack/index.js +151 -23
- package/package.json +1 -1
package/dist/webpack/index.d.ts
CHANGED
|
@@ -386,7 +386,7 @@ interface KnowledgeBaseItem {
|
|
|
386
386
|
/** If true, this item will always be returned from all search results. */
|
|
387
387
|
isContext?: boolean;
|
|
388
388
|
/** If true, this item will not be visible to the AI. */
|
|
389
|
-
disabled?: boolean;
|
|
389
|
+
disabled?: boolean | ((ai: IntelliWeave) => boolean);
|
|
390
390
|
/** List of parameters for an action function. Can either use IW's format, or a JSON Schema object. */
|
|
391
391
|
parameters?: KnowledgeBaseActionParameterSchema;
|
|
392
392
|
/**
|
|
@@ -708,6 +708,8 @@ interface WebWeaverGPTConfig {
|
|
|
708
708
|
textColor?: string;
|
|
709
709
|
/** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
|
|
710
710
|
displayMode?: 'closed' | 'open';
|
|
711
|
+
/** Layout preset: 'widget' (default) or 'fullscreen' */
|
|
712
|
+
layout?: 'widget' | 'fullscreen';
|
|
711
713
|
/** Positioning mode: 'fixed' (default - floats on page) or 'container' (fills parent container) */
|
|
712
714
|
positioningMode?: 'fixed' | 'container';
|
|
713
715
|
/** Horizontal position: 'left' or 'right' (default: 'right') - only used when positioningMode is 'fixed' */
|
|
@@ -1609,11 +1611,18 @@ declare class WebWeaverEmbed extends BaseComponent {
|
|
|
1609
1611
|
private _lastBackground?;
|
|
1610
1612
|
private _lastTextColor?;
|
|
1611
1613
|
private _lastDisplayMode?;
|
|
1614
|
+
private _lastLayout?;
|
|
1615
|
+
private _lastPersonaName?;
|
|
1616
|
+
private _lastHeaderLogo?;
|
|
1612
1617
|
private _lastPositioningMode?;
|
|
1613
1618
|
private _lastPositionX?;
|
|
1614
1619
|
private _lastPositionY?;
|
|
1615
1620
|
private _lastOffsetX?;
|
|
1616
1621
|
private _lastOffsetY?;
|
|
1622
|
+
/** Apply persona-based color variants as CSS variables */
|
|
1623
|
+
private applyPersonaColorVariants;
|
|
1624
|
+
/** Parse a color string to RGB (supports hex and rgb/rgba) */
|
|
1625
|
+
private parseColorToRGB;
|
|
1617
1626
|
/** Apply UI styles from config and attributes, prioritizing attributes */
|
|
1618
1627
|
private applyConfigStylesAndAttributes;
|
|
1619
1628
|
/** Called on update */
|
|
@@ -1669,6 +1678,8 @@ interface IntelliWeaveGlobalConfig {
|
|
|
1669
1678
|
backgroundColor?: string;
|
|
1670
1679
|
/** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
|
|
1671
1680
|
displayMode?: 'closed' | 'open';
|
|
1681
|
+
/** Layout preset: 'widget' (default) or 'fullscreen' */
|
|
1682
|
+
layout?: 'widget' | 'fullscreen';
|
|
1672
1683
|
/** Positioning mode: 'fixed' (default - floats on page) or 'container' (fills parent container) */
|
|
1673
1684
|
positioningMode?: 'fixed' | 'container';
|
|
1674
1685
|
/** Horizontal position: 'left' or 'right' (default: 'right') - only used when positioningMode is 'fixed' */
|
|
@@ -2012,6 +2023,10 @@ declare const WebWeaverUI: (props: {
|
|
|
2012
2023
|
hubAPI?: string;
|
|
2013
2024
|
/** Display mode: 'closed' (default - starts minimized) or 'open' (always open) */
|
|
2014
2025
|
displayMode?: "closed" | "open";
|
|
2026
|
+
/** Layout preset: 'widget' (default) or 'fullscreen' */
|
|
2027
|
+
layout?: "widget" | "fullscreen";
|
|
2028
|
+
/** Fullscreen header: 'show' (default) or 'hidden' */
|
|
2029
|
+
header?: "show" | "hidden";
|
|
2015
2030
|
/** Positioning mode: 'fixed' (default - floats on page) or 'container' (fills parent container) */
|
|
2016
2031
|
positioningMode?: "fixed" | "container";
|
|
2017
2032
|
/** Horizontal position: 'left' or 'right' (default: 'right') - only used when positioningMode is 'fixed' */
|