@genesislcap/ai-assistant 15.100.0 → 15.101.0
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/custom-elements.json +8647 -8647
- package/dist/dts/react.d.ts +20 -20
- package/dist/react.cjs +36 -36
- package/dist/react.mjs +34 -34
- package/package.json +17 -17
package/dist/dts/react.d.ts
CHANGED
|
@@ -121,6 +121,16 @@ export declare const AutopilotHandBack: React.ForwardRefExoticComponent<
|
|
|
121
121
|
>;
|
|
122
122
|
export type AutopilotHandBackRef = AutopilotHandBackWC;
|
|
123
123
|
|
|
124
|
+
export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
|
|
125
|
+
React.PropsWithChildren<
|
|
126
|
+
Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
|
|
127
|
+
HTMLWCProps & {
|
|
128
|
+
onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
|
|
129
|
+
}
|
|
130
|
+
> & React.RefAttributes<GenesisWriteReviewWC>
|
|
131
|
+
>;
|
|
132
|
+
export type GenesisWriteReviewRef = GenesisWriteReviewWC;
|
|
133
|
+
|
|
124
134
|
export declare const AiActivityHalo: React.ForwardRefExoticComponent<
|
|
125
135
|
React.PropsWithChildren<
|
|
126
136
|
Omit<PublicOf<AiActivityHaloWC>, 'children' | 'style'> &
|
|
@@ -130,6 +140,16 @@ export declare const AiActivityHalo: React.ForwardRefExoticComponent<
|
|
|
130
140
|
>;
|
|
131
141
|
export type AiActivityHaloRef = AiActivityHaloWC;
|
|
132
142
|
|
|
143
|
+
export declare const AgentPicker: React.ForwardRefExoticComponent<
|
|
144
|
+
React.PropsWithChildren<
|
|
145
|
+
Omit<PublicOf<AgentPickerWC>, 'children' | 'style'> &
|
|
146
|
+
HTMLWCProps & {
|
|
147
|
+
onAgentPinned?: (event: CustomEvent<string | null>) => void;
|
|
148
|
+
}
|
|
149
|
+
> & React.RefAttributes<AgentPickerWC>
|
|
150
|
+
>;
|
|
151
|
+
export type AgentPickerRef = AgentPickerWC;
|
|
152
|
+
|
|
133
153
|
export declare const AiChatBubble: React.ForwardRefExoticComponent<
|
|
134
154
|
React.PropsWithChildren<
|
|
135
155
|
Omit<PublicOf<AiChatBubbleWC>, 'children' | 'style'> &
|
|
@@ -187,24 +207,4 @@ export declare const FoundationAiPopoutManager: React.ForwardRefExoticComponent<
|
|
|
187
207
|
>;
|
|
188
208
|
export type FoundationAiPopoutManagerRef = FoundationAiPopoutManagerWC;
|
|
189
209
|
|
|
190
|
-
export declare const GenesisWriteReview: React.ForwardRefExoticComponent<
|
|
191
|
-
React.PropsWithChildren<
|
|
192
|
-
Omit<PublicOf<GenesisWriteReviewWC>, 'children' | 'style'> &
|
|
193
|
-
HTMLWCProps & {
|
|
194
|
-
onInteractionCompleted?: (event: CustomEvent<GenesisWriteReviewCompletedEventDetail>) => void;
|
|
195
|
-
}
|
|
196
|
-
> & React.RefAttributes<GenesisWriteReviewWC>
|
|
197
|
-
>;
|
|
198
|
-
export type GenesisWriteReviewRef = GenesisWriteReviewWC;
|
|
199
|
-
|
|
200
|
-
export declare const AgentPicker: React.ForwardRefExoticComponent<
|
|
201
|
-
React.PropsWithChildren<
|
|
202
|
-
Omit<PublicOf<AgentPickerWC>, 'children' | 'style'> &
|
|
203
|
-
HTMLWCProps & {
|
|
204
|
-
onAgentPinned?: (event: CustomEvent<string | null>) => void;
|
|
205
|
-
}
|
|
206
|
-
> & React.RefAttributes<AgentPickerWC>
|
|
207
|
-
>;
|
|
208
|
-
export type AgentPickerRef = AgentPickerWC;
|
|
209
|
-
|
|
210
210
|
export {};
|
package/dist/react.cjs
CHANGED
|
@@ -109,11 +109,45 @@ const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(props, ref
|
|
|
109
109
|
return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
|
|
110
110
|
});
|
|
111
111
|
|
|
112
|
+
const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
113
|
+
const { onInteractionCompleted, children, ...rest } = props;
|
|
114
|
+
const _innerRef = React.useRef(null);
|
|
115
|
+
const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
|
|
116
|
+
_onInteractionCompletedRef.current = onInteractionCompleted;
|
|
117
|
+
React.useLayoutEffect(() => {
|
|
118
|
+
const el = _innerRef.current;
|
|
119
|
+
if (!el) return;
|
|
120
|
+
const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
|
|
121
|
+
el.addEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
122
|
+
return () => {
|
|
123
|
+
el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
124
|
+
};
|
|
125
|
+
}, []);
|
|
126
|
+
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
127
|
+
});
|
|
128
|
+
|
|
112
129
|
const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
|
|
113
130
|
const { children, ...rest } = props;
|
|
114
131
|
return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
|
|
115
132
|
});
|
|
116
133
|
|
|
134
|
+
const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
|
|
135
|
+
const { onAgentPinned, children, ...rest } = props;
|
|
136
|
+
const _innerRef = React.useRef(null);
|
|
137
|
+
const _onAgentPinnedRef = React.useRef(onAgentPinned);
|
|
138
|
+
_onAgentPinnedRef.current = onAgentPinned;
|
|
139
|
+
React.useLayoutEffect(() => {
|
|
140
|
+
const el = _innerRef.current;
|
|
141
|
+
if (!el) return;
|
|
142
|
+
const _onAgentPinnedFn = (e) => _onAgentPinnedRef.current?.(e);
|
|
143
|
+
el.addEventListener('agent-pinned', _onAgentPinnedFn);
|
|
144
|
+
return () => {
|
|
145
|
+
el.removeEventListener('agent-pinned', _onAgentPinnedFn);
|
|
146
|
+
};
|
|
147
|
+
}, []);
|
|
148
|
+
return React.createElement(customElements.getName(AgentPickerWC) ?? 'foundation-ai-agent-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
149
|
+
});
|
|
150
|
+
|
|
117
151
|
const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
|
|
118
152
|
const { children, ...rest } = props;
|
|
119
153
|
return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
|
|
@@ -166,40 +200,6 @@ const FoundationAiPopoutManager = React.forwardRef(function FoundationAiPopoutMa
|
|
|
166
200
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
|
167
201
|
});
|
|
168
202
|
|
|
169
|
-
const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
170
|
-
const { onInteractionCompleted, children, ...rest } = props;
|
|
171
|
-
const _innerRef = React.useRef(null);
|
|
172
|
-
const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
|
|
173
|
-
_onInteractionCompletedRef.current = onInteractionCompleted;
|
|
174
|
-
React.useLayoutEffect(() => {
|
|
175
|
-
const el = _innerRef.current;
|
|
176
|
-
if (!el) return;
|
|
177
|
-
const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
|
|
178
|
-
el.addEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
179
|
-
return () => {
|
|
180
|
-
el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
181
|
-
};
|
|
182
|
-
}, []);
|
|
183
|
-
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
184
|
-
});
|
|
185
|
-
|
|
186
|
-
const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
|
|
187
|
-
const { onAgentPinned, children, ...rest } = props;
|
|
188
|
-
const _innerRef = React.useRef(null);
|
|
189
|
-
const _onAgentPinnedRef = React.useRef(onAgentPinned);
|
|
190
|
-
_onAgentPinnedRef.current = onAgentPinned;
|
|
191
|
-
React.useLayoutEffect(() => {
|
|
192
|
-
const el = _innerRef.current;
|
|
193
|
-
if (!el) return;
|
|
194
|
-
const _onAgentPinnedFn = (e) => _onAgentPinnedRef.current?.(e);
|
|
195
|
-
el.addEventListener('agent-pinned', _onAgentPinnedFn);
|
|
196
|
-
return () => {
|
|
197
|
-
el.removeEventListener('agent-pinned', _onAgentPinnedFn);
|
|
198
|
-
};
|
|
199
|
-
}, []);
|
|
200
|
-
return React.createElement(customElements.getName(AgentPickerWC) ?? 'foundation-ai-agent-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
201
|
-
});
|
|
202
|
-
|
|
203
203
|
module.exports = {
|
|
204
204
|
AiFlowingWavesIndicator,
|
|
205
205
|
AiHaloOverlay,
|
|
@@ -208,13 +208,13 @@ module.exports = {
|
|
|
208
208
|
FoundationAiAssistant,
|
|
209
209
|
ChatSuggestions,
|
|
210
210
|
AutopilotHandBack,
|
|
211
|
+
GenesisWriteReview,
|
|
211
212
|
AiActivityHalo,
|
|
213
|
+
AgentPicker,
|
|
212
214
|
AiChatBubble,
|
|
213
215
|
AiChatInteractionWrapper,
|
|
214
216
|
AiChatMarkdown,
|
|
215
217
|
MessageFeedback,
|
|
216
218
|
AiNotificationLevel,
|
|
217
219
|
FoundationAiPopoutManager,
|
|
218
|
-
GenesisWriteReview,
|
|
219
|
-
AgentPicker,
|
|
220
220
|
};
|
package/dist/react.mjs
CHANGED
|
@@ -107,11 +107,45 @@ export const AutopilotHandBack = React.forwardRef(function AutopilotHandBack(pro
|
|
|
107
107
|
return React.createElement(customElements.getName(AutopilotHandBackWC) ?? 'AUTOPILOT_HAND_BACK', { ...rest, ref }, children);
|
|
108
108
|
});
|
|
109
109
|
|
|
110
|
+
export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
111
|
+
const { onInteractionCompleted, children, ...rest } = props;
|
|
112
|
+
const _innerRef = React.useRef(null);
|
|
113
|
+
const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
|
|
114
|
+
_onInteractionCompletedRef.current = onInteractionCompleted;
|
|
115
|
+
React.useLayoutEffect(() => {
|
|
116
|
+
const el = _innerRef.current;
|
|
117
|
+
if (!el) return;
|
|
118
|
+
const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
|
|
119
|
+
el.addEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
120
|
+
return () => {
|
|
121
|
+
el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
122
|
+
};
|
|
123
|
+
}, []);
|
|
124
|
+
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
125
|
+
});
|
|
126
|
+
|
|
110
127
|
export const AiActivityHalo = React.forwardRef(function AiActivityHalo(props, ref) {
|
|
111
128
|
const { children, ...rest } = props;
|
|
112
129
|
return React.createElement(customElements.getName(AiActivityHaloWC) ?? 'ai-activity-halo', { ...rest, ref }, children);
|
|
113
130
|
});
|
|
114
131
|
|
|
132
|
+
export const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
|
|
133
|
+
const { onAgentPinned, children, ...rest } = props;
|
|
134
|
+
const _innerRef = React.useRef(null);
|
|
135
|
+
const _onAgentPinnedRef = React.useRef(onAgentPinned);
|
|
136
|
+
_onAgentPinnedRef.current = onAgentPinned;
|
|
137
|
+
React.useLayoutEffect(() => {
|
|
138
|
+
const el = _innerRef.current;
|
|
139
|
+
if (!el) return;
|
|
140
|
+
const _onAgentPinnedFn = (e) => _onAgentPinnedRef.current?.(e);
|
|
141
|
+
el.addEventListener('agent-pinned', _onAgentPinnedFn);
|
|
142
|
+
return () => {
|
|
143
|
+
el.removeEventListener('agent-pinned', _onAgentPinnedFn);
|
|
144
|
+
};
|
|
145
|
+
}, []);
|
|
146
|
+
return React.createElement(customElements.getName(AgentPickerWC) ?? 'foundation-ai-agent-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
147
|
+
});
|
|
148
|
+
|
|
115
149
|
export const AiChatBubble = React.forwardRef(function AiChatBubble(props, ref) {
|
|
116
150
|
const { children, ...rest } = props;
|
|
117
151
|
return React.createElement(customElements.getName(AiChatBubbleWC) ?? 'foundation-ai-chat-bubble', { ...rest, ref }, children);
|
|
@@ -163,37 +197,3 @@ export const FoundationAiPopoutManager = React.forwardRef(function FoundationAiP
|
|
|
163
197
|
const { children, ...rest } = props;
|
|
164
198
|
return React.createElement(customElements.getName(FoundationAiPopoutManagerWC) ?? 'foundation-ai-popout-manager', { ...rest, ref }, children);
|
|
165
199
|
});
|
|
166
|
-
|
|
167
|
-
export const GenesisWriteReview = React.forwardRef(function GenesisWriteReview(props, ref) {
|
|
168
|
-
const { onInteractionCompleted, children, ...rest } = props;
|
|
169
|
-
const _innerRef = React.useRef(null);
|
|
170
|
-
const _onInteractionCompletedRef = React.useRef(onInteractionCompleted);
|
|
171
|
-
_onInteractionCompletedRef.current = onInteractionCompleted;
|
|
172
|
-
React.useLayoutEffect(() => {
|
|
173
|
-
const el = _innerRef.current;
|
|
174
|
-
if (!el) return;
|
|
175
|
-
const _onInteractionCompletedFn = (e) => _onInteractionCompletedRef.current?.(e);
|
|
176
|
-
el.addEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
177
|
-
return () => {
|
|
178
|
-
el.removeEventListener('interaction-completed', _onInteractionCompletedFn);
|
|
179
|
-
};
|
|
180
|
-
}, []);
|
|
181
|
-
return React.createElement(customElements.getName(GenesisWriteReviewWC) ?? 'GENESIS_WRITE_REVIEW', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
182
|
-
});
|
|
183
|
-
|
|
184
|
-
export const AgentPicker = React.forwardRef(function AgentPicker(props, ref) {
|
|
185
|
-
const { onAgentPinned, children, ...rest } = props;
|
|
186
|
-
const _innerRef = React.useRef(null);
|
|
187
|
-
const _onAgentPinnedRef = React.useRef(onAgentPinned);
|
|
188
|
-
_onAgentPinnedRef.current = onAgentPinned;
|
|
189
|
-
React.useLayoutEffect(() => {
|
|
190
|
-
const el = _innerRef.current;
|
|
191
|
-
if (!el) return;
|
|
192
|
-
const _onAgentPinnedFn = (e) => _onAgentPinnedRef.current?.(e);
|
|
193
|
-
el.addEventListener('agent-pinned', _onAgentPinnedFn);
|
|
194
|
-
return () => {
|
|
195
|
-
el.removeEventListener('agent-pinned', _onAgentPinnedFn);
|
|
196
|
-
};
|
|
197
|
-
}, []);
|
|
198
|
-
return React.createElement(customElements.getName(AgentPickerWC) ?? 'foundation-ai-agent-picker', { ...rest, ref: _mergeRefs(_innerRef, ref) }, children);
|
|
199
|
-
});
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@genesislcap/ai-assistant",
|
|
3
3
|
"description": "Genesis AI Assistant micro-frontend",
|
|
4
|
-
"version": "15.
|
|
4
|
+
"version": "15.101.0",
|
|
5
5
|
"license": "SEE LICENSE IN license.txt",
|
|
6
6
|
"main": "dist/esm/index.js",
|
|
7
7
|
"types": "dist/dts/index.d.ts",
|
|
@@ -102,31 +102,31 @@
|
|
|
102
102
|
}
|
|
103
103
|
},
|
|
104
104
|
"devDependencies": {
|
|
105
|
-
"@genesislcap/foundation-comms": "15.
|
|
106
|
-
"@genesislcap/foundation-testing": "15.
|
|
107
|
-
"@genesislcap/genx": "15.
|
|
108
|
-
"@genesislcap/ts-builder": "15.
|
|
109
|
-
"@genesislcap/uvu-playwright-builder": "15.
|
|
110
|
-
"@genesislcap/vite-builder": "15.
|
|
111
|
-
"@genesislcap/webpack-builder": "15.
|
|
105
|
+
"@genesislcap/foundation-comms": "15.101.0",
|
|
106
|
+
"@genesislcap/foundation-testing": "15.101.0",
|
|
107
|
+
"@genesislcap/genx": "15.101.0",
|
|
108
|
+
"@genesislcap/ts-builder": "15.101.0",
|
|
109
|
+
"@genesislcap/uvu-playwright-builder": "15.101.0",
|
|
110
|
+
"@genesislcap/vite-builder": "15.101.0",
|
|
111
|
+
"@genesislcap/webpack-builder": "15.101.0",
|
|
112
112
|
"@types/dompurify": "^3.0.5",
|
|
113
113
|
"@types/marked": "^5.0.2",
|
|
114
114
|
"esbuild": "0.25.12"
|
|
115
115
|
},
|
|
116
116
|
"dependencies": {
|
|
117
|
-
"@genesislcap/foundation-ai": "15.
|
|
118
|
-
"@genesislcap/foundation-logger": "15.
|
|
119
|
-
"@genesislcap/foundation-notifications": "15.
|
|
120
|
-
"@genesislcap/foundation-redux": "15.
|
|
121
|
-
"@genesislcap/foundation-ui": "15.
|
|
122
|
-
"@genesislcap/foundation-utils": "15.
|
|
123
|
-
"@genesislcap/rapid-design-system": "15.
|
|
124
|
-
"@genesislcap/web-core": "15.
|
|
117
|
+
"@genesislcap/foundation-ai": "15.101.0",
|
|
118
|
+
"@genesislcap/foundation-logger": "15.101.0",
|
|
119
|
+
"@genesislcap/foundation-notifications": "15.101.0",
|
|
120
|
+
"@genesislcap/foundation-redux": "15.101.0",
|
|
121
|
+
"@genesislcap/foundation-ui": "15.101.0",
|
|
122
|
+
"@genesislcap/foundation-utils": "15.101.0",
|
|
123
|
+
"@genesislcap/rapid-design-system": "15.101.0",
|
|
124
|
+
"@genesislcap/web-core": "15.101.0",
|
|
125
125
|
"dompurify": "^3.3.1",
|
|
126
126
|
"marked": "^17.0.3"
|
|
127
127
|
},
|
|
128
128
|
"peerDependencies": {
|
|
129
|
-
"@genesislcap/foundation-comms": "15.
|
|
129
|
+
"@genesislcap/foundation-comms": "15.101.0"
|
|
130
130
|
},
|
|
131
131
|
"peerDependenciesMeta": {
|
|
132
132
|
"@genesislcap/foundation-comms": {
|