pcm-agents 0.3.2 → 0.3.3
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/LICENSE +21 -21
- package/dist/cjs/{index-BFPEnLbS.js → index-RmBfqEV7.js} +4 -3
- package/dist/cjs/index-RmBfqEV7.js.map +1 -0
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/loader.cjs.js +1 -1
- package/dist/cjs/my-component.cjs.entry.js +2 -2
- package/dist/cjs/my-component.cjs.entry.js.map +1 -1
- package/dist/cjs/my-component.entry.cjs.js.map +1 -1
- package/dist/cjs/pcm-agents.cjs.js +1 -1
- package/dist/cjs/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpp-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.cjs.js.map +1 -0
- package/dist/cjs/pcm-app-chat-modal_7.cjs.entry.js +56 -53
- package/dist/cjs/pcm-app-chat-modal_7.cjs.entry.js.map +1 -1
- package/dist/cjs/pcm-chat-modal.cjs.entry.js +1 -1
- package/dist/collection/collection-manifest.json +1 -1
- package/dist/collection/components/my-component/my-component.css +3 -3
- package/dist/collection/components/my-component/my-component.js +1 -1
- package/dist/collection/components/my-component/my-component.js.map +1 -1
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js +3 -4
- package/dist/collection/components/pcm-app-chat-modal/pcm-app-chat-modal.js.map +1 -1
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js +2 -2
- package/dist/collection/components/pcm-hr-chat-modal/pcm-hr-chat-modal.js.map +1 -1
- package/dist/collection/components/{pcm-jlpx-modal/pcm-jlpx-modal.js → pcm-jlpp-modal/pcm-jlpp-modal.js} +21 -21
- package/dist/collection/components/pcm-jlpp-modal/pcm-jlpp-modal.js.map +1 -0
- package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js +16 -16
- package/dist/collection/components/pcm-mnms-modal/pcm-mnms-modal.js.map +1 -1
- package/dist/collection/components/pcm-video-chat-modal/pcm-video-chat-modal.js +2 -2
- package/dist/collection/components/pcm-video-chat-modal/pcm-video-chat-modal.js.map +1 -1
- package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js +22 -18
- package/dist/collection/components/pcm-zygh-modal/pcm-zygh-modal.js.map +1 -1
- package/dist/collection/global/global.css +31 -0
- package/dist/collection/index.js.map +1 -1
- package/dist/collection/utils/utils.js +2 -1
- package/dist/collection/utils/utils.js.map +1 -1
- package/dist/components/index.js +2 -1
- package/dist/components/index.js.map +1 -1
- package/dist/components/my-component.js +1 -1
- package/dist/components/my-component.js.map +1 -1
- package/dist/components/{p-BctfuDvG.js → p-BG-UIl44.js} +4 -5
- package/dist/components/p-BG-UIl44.js.map +1 -0
- package/dist/components/pcm-app-chat-modal.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js.map +1 -1
- package/dist/components/{pcm-jlpx-modal.d.ts → pcm-jlpp-modal.d.ts} +4 -4
- package/dist/components/{pcm-jlpx-modal.js → pcm-jlpp-modal.js} +26 -26
- package/dist/components/pcm-jlpp-modal.js.map +1 -0
- package/dist/components/pcm-mnms-modal.js +15 -15
- package/dist/components/pcm-mnms-modal.js.map +1 -1
- package/dist/components/pcm-video-chat-modal.js +1 -1
- package/dist/components/pcm-video-chat-modal.js.map +1 -1
- package/dist/components/pcm-zygh-modal.js +19 -15
- package/dist/components/pcm-zygh-modal.js.map +1 -1
- package/dist/esm/{index-nVjZGfA8.js → index-CDtyzi83.js} +4 -3
- package/dist/esm/index-CDtyzi83.js.map +1 -0
- package/dist/esm/index.js +1 -1
- package/dist/esm/loader.js +1 -1
- package/dist/esm/my-component.entry.js +2 -2
- package/dist/esm/my-component.entry.js.map +1 -1
- package/dist/esm/pcm-agents.js +1 -1
- package/dist/esm/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpp-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.js.map +1 -0
- package/dist/esm/pcm-app-chat-modal_7.entry.js +56 -53
- package/dist/esm/pcm-app-chat-modal_7.entry.js.map +1 -1
- package/dist/esm/pcm-chat-modal.entry.js +1 -1
- package/dist/pcm-agents/app-globals-DQuL1Twl.js.map +1 -0
- package/dist/pcm-agents/index-Csq0E9fM.js.map +1 -0
- package/dist/pcm-agents/index.esm.js +1 -1
- package/dist/pcm-agents/index.esm.js.map +1 -1
- package/dist/pcm-agents/my-component.entry.esm.js.map +1 -1
- package/dist/pcm-agents/p-11c829b3.entry.js +2 -0
- package/dist/pcm-agents/p-11c829b3.entry.js.map +1 -0
- package/dist/pcm-agents/{p-f3ca99b4.entry.js → p-430f9a9f.entry.js} +2 -2
- package/dist/pcm-agents/p-CDtyzi83.js +2 -0
- package/dist/pcm-agents/p-CDtyzi83.js.map +1 -0
- package/dist/pcm-agents/p-e7221181.entry.js +2 -0
- package/dist/pcm-agents/p-e7221181.entry.js.map +1 -0
- package/dist/pcm-agents/pcm-agents.esm.js +1 -1
- package/dist/pcm-agents/pcm-agents.esm.js.map +1 -1
- package/dist/pcm-agents/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpp-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.esm.js.map +1 -0
- package/dist/pcm-agents/utils-CfkrvVlp.js.map +1 -0
- package/dist/types/components/pcm-app-chat-modal/pcm-app-chat-modal.d.ts +1 -1
- package/dist/types/components/pcm-hr-chat-modal/pcm-hr-chat-modal.d.ts +1 -1
- package/dist/types/components/{pcm-jlpx-modal/pcm-jlpx-modal.d.ts → pcm-jlpp-modal/pcm-jlpp-modal.d.ts} +4 -4
- package/dist/types/components/pcm-mnms-modal/pcm-mnms-modal.d.ts +3 -3
- package/dist/types/components/pcm-video-chat-modal/pcm-video-chat-modal.d.ts +1 -1
- package/dist/types/components/pcm-zygh-modal/pcm-zygh-modal.d.ts +8 -4
- package/dist/types/components.d.ts +48 -48
- package/dist/types/utils/utils.d.ts +1 -1
- package/package.json +1 -1
- package/readme.md +307 -307
- package/dist/cjs/index-BFPEnLbS.js.map +0 -1
- package/dist/cjs/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpx-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.cjs.js.map +0 -1
- package/dist/collection/components/pcm-jlpx-modal/pcm-jlpx-modal.js.map +0 -1
- package/dist/components/p-BctfuDvG.js.map +0 -1
- package/dist/components/pcm-jlpx-modal.js.map +0 -1
- package/dist/esm/index-nVjZGfA8.js.map +0 -1
- package/dist/esm/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpx-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.js.map +0 -1
- package/dist/pcm-agents/p-55417392.entry.js +0 -2
- package/dist/pcm-agents/p-55417392.entry.js.map +0 -1
- package/dist/pcm-agents/p-a698b59f.entry.js +0 -2
- package/dist/pcm-agents/p-a698b59f.entry.js.map +0 -1
- package/dist/pcm-agents/p-nVjZGfA8.js +0 -2
- package/dist/pcm-agents/p-nVjZGfA8.js.map +0 -1
- package/dist/pcm-agents/pcm-app-chat-modal.pcm-chat-message.pcm-hr-chat-modal.pcm-jlpx-modal.pcm-mnms-modal.pcm-video-chat-modal.pcm-zygh-modal.entry.esm.js.map +0 -1
- /package/dist/collection/components/{pcm-jlpx-modal/pcm-jlpx-modal.css → pcm-jlpp-modal/pcm-jlpp-modal.css} +0 -0
- /package/dist/pcm-agents/{p-f3ca99b4.entry.js.map → p-430f9a9f.entry.js.map} +0 -0
package/LICENSE
CHANGED
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2024
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
|
1
|
+
MIT License
|
|
2
|
+
|
|
3
|
+
Copyright (c) 2024
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
|
@@ -4,7 +4,8 @@
|
|
|
4
4
|
* API域名配置
|
|
5
5
|
*/
|
|
6
6
|
// export const API_DOMAIN = 'http://192.168.17.194:8000';
|
|
7
|
-
const API_DOMAIN = 'https://
|
|
7
|
+
// export const API_DOMAIN = 'https://tagents.ylzhaopin.com/agents/api';
|
|
8
|
+
const API_DOMAIN = 'https://www.pincaimao.com/agents/api';
|
|
8
9
|
function format(first, middle, last) {
|
|
9
10
|
return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');
|
|
10
11
|
}
|
|
@@ -190,6 +191,6 @@ exports.format = format;
|
|
|
190
191
|
exports.sendHttpRequest = sendHttpRequest;
|
|
191
192
|
exports.sendSSERequest = sendSSERequest;
|
|
192
193
|
exports.uploadFileToBackend = uploadFileToBackend;
|
|
193
|
-
//# sourceMappingURL=index-
|
|
194
|
+
//# sourceMappingURL=index-RmBfqEV7.js.map
|
|
194
195
|
|
|
195
|
-
//# sourceMappingURL=index-
|
|
196
|
+
//# sourceMappingURL=index-RmBfqEV7.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-RmBfqEV7.js","sources":["src/utils/utils.ts"],"sourcesContent":["/**\n * API域名配置\n */\n// export const API_DOMAIN = 'http://192.168.17.194:8000';\n// export const API_DOMAIN = 'https://tagents.ylzhaopin.com/agents/api';\nexport const API_DOMAIN = 'https://www.pincaimao.com/agents/api';\n\n\nexport function format(first?: string, middle?: string, last?: string): string {\n return (first || '') + (middle ? ` ${middle}` : '') + (last ? ` ${last}` : '');\n}\n\n// 添加类型定义\nexport interface UserInputMessageType {\n message: string;\n [key: string]: any;\n}\n\nexport interface WorkFlowNode {\n message_id?: string;\n conversation_id?: string;\n created_at?: string;\n event?: string;\n answer?: string;\n data?: {\n outputs?: {\n answer?: string;\n };\n status?: string;\n error?: any;\n };\n}\n\nexport interface MessageRound extends UserInputMessageType {\n id?: string;\n conversation_id?: string;\n created_at?: string;\n answer?: string;\n status?: string;\n error?: any;\n}\n\n/**\n * 将工作流节点转换为消息轮次\n * @param message_event 消息事件类型\n * @param inputMessage 用户输入消息\n * @param streamNode 工作流节点\n * @returns 消息轮次\n */\nexport const convertWorkflowStreamNodeToMessageRound = (\n message_event: string,\n inputMessage: UserInputMessageType,\n streamNode: WorkFlowNode,\n): MessageRound => {\n const messageRound: MessageRound = {\n ...inputMessage,\n };\n if (message_event === 'workflow_finished') messageRound.answer = streamNode.data?.outputs?.answer;\n if (message_event === 'agent_message' || message_event === 'message') messageRound.answer = streamNode?.answer;\n messageRound.id = streamNode.message_id;\n messageRound.conversation_id = streamNode.conversation_id;\n messageRound.created_at = streamNode.created_at;\n messageRound.status = streamNode.data?.status;\n messageRound.error = streamNode.data?.error;\n return messageRound;\n};\n\n/**\n * SSE 流式请求配置接口\n */\nexport interface SSERequestConfig {\n url: string;\n method: string;\n headers?: Record<string, string>;\n data?: any;\n onMessage?: (data: any) => void;\n onError?: (error: any) => void;\n onComplete?: () => void;\n}\n\n/**\n * 发送 SSE 流式请求\n * @param config 请求配置\n * @returns Promise<void>\n */\nexport const sendSSERequest = async (config: SSERequestConfig): Promise<void> => {\n const { url, method, headers = {}, data, onMessage, onError, onComplete } = config;\n \n try {\n // 使用 API_DOMAIN 拼接完整的请求URL\n const requestUrl = `${API_DOMAIN}${url}`;\n \n const response = await fetch(requestUrl, {\n method,\n headers: {\n 'Accept': 'text/event-stream',\n 'Content-Type': 'application/json',\n ...headers\n },\n body: data ? JSON.stringify(data) : undefined\n });\n\n if (!response.ok) {\n throw new Error(`HTTP error! status: ${response.status}`);\n }\n\n const reader = response.body?.getReader();\n if (!reader) throw new Error('No reader available');\n \n const decoder = new TextDecoder();\n let buffer = '';\n\n while (true) {\n const { value, done } = await reader.read();\n if (done) break;\n\n buffer += decoder.decode(value, { stream: true });\n\n // 处理缓冲区中的完整消息\n const lines = buffer.split('\\n');\n buffer = lines.pop() || ''; // 保留最后一个不完整的行\n\n for (const line of lines) {\n if (line.startsWith('data:')) {\n try {\n const jsonStr = line.substring(5).trim();\n if (!jsonStr) continue;\n \n const data = JSON.parse(jsonStr);\n onMessage?.(data);\n } catch (e) {\n console.error('解析 SSE 数据错误:', e, '原始数据:', line);\n }\n }\n }\n }\n \n onComplete?.();\n } catch (error) {\n console.error('SSE 请求错误:', error);\n onError?.(error);\n }\n};\n\n/**\n * HTTP请求配置接口\n */\nexport interface HttpRequestConfig {\n url: string;\n method?: string;\n headers?: Record<string, string>;\n params?: Record<string, any>;\n data?: any;\n formData?: FormData; // 添加FormData支持\n onMessage?: (data: any) => void;\n onError?: (error: any) => void;\n onComplete?: () => void;\n}\n\n/**\n * 统一的API响应接口\n */\nexport interface ApiResponse<T = any> {\n code: number;\n message: string;\n data?: T;\n}\n\n/**\n * HTTP响应接口\n */\nexport interface HttpResponse<T = any> {\n success: boolean;\n data?: T;\n error?: any;\n message?: string;\n}\n\n/**\n * 发送HTTP请求\n * @param config 请求配置\n * @returns Promise<HttpResponse>\n */\nexport const sendHttpRequest = async <T = any>(config: HttpRequestConfig): Promise<HttpResponse<T>> => {\n const { url, method = 'GET', headers = {}, params = {}, data, formData, onMessage } = config;\n \n try {\n // 构建URL和查询参数\n const queryParams = new URLSearchParams();\n Object.entries(params).forEach(([key, value]) => {\n if (value !== undefined && value !== null) {\n queryParams.append(key, String(value));\n }\n });\n \n // 使用 API_DOMAIN 拼接完整的请求URL\n let requestUrl = `${API_DOMAIN}${url}${queryParams.toString() ? `?${queryParams.toString()}` : ''}`;\n \n // 创建请求配置对象\n const requestConfig: RequestInit = {\n method,\n headers: formData ? { ...headers } : {\n 'Content-Type': 'application/json',\n ...headers\n }\n };\n\n // 处理请求体\n if (formData) {\n // 如果提供了FormData,直接使用\n requestConfig.body = formData;\n } else if (method !== 'GET' && method !== 'HEAD' && data) {\n // 否则,如果是非GET/HEAD请求且有data,将其JSON序列化\n requestConfig.body = JSON.stringify(data);\n }\n\n // 如果是 GET 方法且有 data,将其作为查询参数添加到 URL\n if (method === 'GET' && data) {\n const dataParams = new URLSearchParams();\n Object.entries(data).forEach(([key, value]) => {\n if (value !== undefined && value !== null) {\n dataParams.append(key, String(value));\n }\n });\n requestUrl += (queryParams.toString() ? '&' : '?') + dataParams.toString();\n }\n\n const response = await fetch(requestUrl, requestConfig);\n const responseData: ApiResponse<T> = await response.json();\n \n // 调用 onMessage 回调\n if (onMessage) {\n onMessage(responseData);\n }\n \n // 检查响应状态\n if (!response.ok) {\n console.error(`HTTP错误: ${response.status} ${response.statusText}`);\n return {\n success: false,\n message: responseData.message || `HTTP错误: ${response.status}`,\n error: responseData\n };\n }\n \n // 检查业务状态码\n if (responseData.code !== 0) {\n console.error(`API错误: ${responseData.message}`);\n return {\n success: false,\n message: responseData.message,\n error: responseData\n };\n }\n \n // 直接返回data\n return {\n success: true,\n data: responseData.data\n };\n } catch (error) {\n console.error('HTTP请求错误:', error);\n if (config.onError) {\n config.onError(error);\n }\n return {\n success: false,\n error,\n message: error instanceof Error ? error.message : '未知错误'\n };\n } finally {\n if (config.onComplete) {\n config.onComplete();\n }\n }\n};\n\n\n\n/**\n * 文件上传响应数据接口\n */\nexport interface FileUploadResponse {\n /** 文件在对象存储中的唯一标识符 */\n cos_key: string;\n /** 文件名称 */\n file_name: string;\n /** 文件大小(带单位的字符串,如 \"1.5MB\") */\n file_size: string;\n /** 文件的预签名URL */\n presigned_url: string;\n /** 文件扩展名 */\n ext: string;\n}\n\n/**\n * 通过后端API上传文件\n * @param file 要上传的文件\n * @param headers 可选的请求头\n * @returns Promise 包含上传结果\n */\nexport const uploadFileToBackend = async (\n file: File,\n headers?: Record<string, string>\n): Promise<FileUploadResponse> => {\n const formData = new FormData();\n formData.append('file', file);\n \n try {\n const response = await sendHttpRequest<{cos_key: string, file_name: string, file_size: string,presigned_url: string, ext: string}>({\n url: '/sdk/v1/files/upload',\n method: 'POST',\n headers: {\n ...headers\n },\n formData\n });\n \n if (!response.success || !response.data) {\n throw new Error(response.message || '文件上传失败');\n }\n \n return response.data;\n } catch (error) {\n console.error('文件上传错误:', error);\n throw error;\n }\n};\n"],"names":[],"mappings":";;AAAA;;AAEG;AACH;AACA;AACO,MAAM,UAAU,GAAG;SAGV,MAAM,CAAC,KAAc,EAAE,MAAe,EAAE,IAAa,EAAA;AACnE,IAAA,OAAO,CAAC,KAAK,IAAI,EAAE,KAAK,MAAM,GAAG,CAAI,CAAA,EAAA,MAAM,EAAE,GAAG,EAAE,CAAC,IAAI,IAAI,GAAG,CAAI,CAAA,EAAA,IAAI,EAAE,GAAG,EAAE,CAAC;AAChF;AAsEA;;;;AAIG;MACU,cAAc,GAAG,OAAO,MAAwB,KAAmB;AAC9E,IAAA,MAAM,EAAE,GAAG,EAAE,MAAM,EAAE,OAAO,GAAG,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,OAAO,EAAE,UAAU,EAAE,GAAG,MAAM;AAElF,IAAA,IAAI;;AAEF,QAAA,MAAM,UAAU,GAAG,CAAA,EAAG,UAAU,CAAG,EAAA,GAAG,EAAE;AAExC,QAAA,MAAM,QAAQ,GAAG,MAAM,KAAK,CAAC,UAAU,EAAE;YACvC,MAAM;AACN,YAAA,OAAO,EAAE;AACP,gBAAA,QAAQ,EAAE,mBAAmB;AAC7B,gBAAA,cAAc,EAAE,kBAAkB;AAClC,gBAAA,GAAG;AACJ,aAAA;AACD,YAAA,IAAI,EAAE,IAAI,GAAG,IAAI,CAAC,SAAS,CAAC,IAAI,CAAC,GAAG;AACrC,SAAA,CAAC;AAEF,QAAA,IAAI,CAAC,QA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kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy([["pcm-app-chat-modal_7.cjs",[[1,"pcm-
|
|
9
|
+
return index.bootstrapLazy([["pcm-app-chat-modal_7.cjs",[[1,"pcm-jlpp-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"jobDescription":[32],"isSubmitting":[32],"isTransitioning":[32],"transitionTimer":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-mnms-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"isTransitioning":[32],"transitionTimer":[32],"jobDescription":[32],"isSubmitting":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-zygh-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"isSubmitting":[32],"selectedPlanType":[32],"isTransitioning":[32],"transitionTimer":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-hr-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"toEmail":[1,"to-email"],"fullscreen":[4],"requireResume":[4,"require-resume"],"enableVoice":[4,"enable-voice"],"displayContentStatus":[4,"display-content-status"],"userId":[1,"user-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showInitialUpload":[32],"selectedJobCategory":[32],"jobCategories":[32],"dimensions":[32],"selectedDimensions":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"isInterviewComplete":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-video-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"fullscreen":[4],"enableVoice":[4,"enable-voice"],"displayContentStatus":[1,"display-content-status"],"resumeId":[1,"resume-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"showInitialUpload":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"isInterviewComplete":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-app-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"fullscreen":[4],"enableTTS":[4,"enable-t-t-s"],"enableVoice":[4,"enable-voice"],"displayContentStatus":[1,"display-content-status"],"interviewMode":[1,"interview-mode"],"customInputs":[16],"botId":[1,"bot-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showInitialUpload":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32],"textAnswer":[32],"isSubmittingText":[32]}],[1,"pcm-chat-message",{"message":[16]}]]],["pcm-chat-modal.cjs",[[1,"pcm-chat-modal",{"modalTitle":[1,"modal-title"],"apiKey":[1,"api-key"],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"botId":[1,"bot-id"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"messages":[32],"currentMessage":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"suggestedQuestions":[32],"suggestedQuestionsLoading":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32]},null,{"isOpen":["handleIsOpenChange"],"defaultQuery":["handleDefaultQueryChange"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var index = require('./index-SU3eqPPs.js');
|
|
4
|
-
var index$1 = require('./index-
|
|
4
|
+
var index$1 = require('./index-RmBfqEV7.js');
|
|
5
5
|
|
|
6
6
|
const myComponentCss = ":host{display:block}";
|
|
7
7
|
|
|
@@ -25,7 +25,7 @@ const MyComponent = class {
|
|
|
25
25
|
return index$1.format(this.first, this.middle, this.last);
|
|
26
26
|
}
|
|
27
27
|
render() {
|
|
28
|
-
return index.h("div", { key: '
|
|
28
|
+
return index.h("div", { key: '70654fc83039b5f659efe99cc990e9b86d20dbe0' }, "Hello, World! I'm ", this.getText());
|
|
29
29
|
}
|
|
30
30
|
};
|
|
31
31
|
MyComponent.style = myComponentCss;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"file":"my-component.entry.cjs.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,sBAAsB;;MCQhC,WAAW,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;IAEJ,OAAO,GAAA;AACb,QAAA,OAAOA,cAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;;IAGnD,MAAM,GAAA;AACJ,QAAA,OAAOC,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,wBAAwB,IAAI,CAAC,OAAO,EAAE,CAAO;;;;;;;","names":["format","h"],"sources":["src/components/my-component/my-component.css?tag=my-component&encapsulation=shadow","src/components/my-component/my-component.tsx"],"sourcesContent":[":host {\
|
|
1
|
+
{"file":"my-component.entry.cjs.js","mappings":";;;;;AAAA,MAAM,cAAc,GAAG,sBAAsB;;MCQhC,WAAW,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;IAEJ,OAAO,GAAA;AACb,QAAA,OAAOA,cAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;;IAGnD,MAAM,GAAA;AACJ,QAAA,OAAOC,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,wBAAwB,IAAI,CAAC,OAAO,EAAE,CAAO;;;;;;;","names":["format","h"],"sources":["src/components/my-component/my-component.css?tag=my-component&encapsulation=shadow","src/components/my-component/my-component.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { format } from '../../utils/utils';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.css',\n shadow: true,\n})\nexport class MyComponent {\n /**\n * The first name\n */\n @Prop() first: string;\n\n /**\n * The middle name\n */\n @Prop() middle: string;\n\n /**\n * The last name\n */\n @Prop() last: string;\n\n private getText(): string {\n return format(this.first, this.middle, this.last);\n }\n\n render() {\n return <div>Hello, World! I'm {this.getText()}</div>;\n }\n}\n"],"version":3}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"my-component.entry.cjs.js","sources":["src/components/my-component/my-component.css?tag=my-component&encapsulation=shadow","src/components/my-component/my-component.tsx"],"sourcesContent":[":host {\
|
|
1
|
+
{"version":3,"file":"my-component.entry.cjs.js","sources":["src/components/my-component/my-component.css?tag=my-component&encapsulation=shadow","src/components/my-component/my-component.tsx"],"sourcesContent":[":host {\n display: block;\n}\n","import { Component, Prop, h } from '@stencil/core';\nimport { format } from '../../utils/utils';\n\n@Component({\n tag: 'my-component',\n styleUrl: 'my-component.css',\n shadow: true,\n})\nexport class MyComponent {\n /**\n * The first name\n */\n @Prop() first: string;\n\n /**\n * The middle name\n */\n @Prop() middle: string;\n\n /**\n * The last name\n */\n @Prop() last: string;\n\n private getText(): string {\n return format(this.first, this.middle, this.last);\n }\n\n render() {\n return <div>Hello, World! I'm {this.getText()}</div>;\n }\n}\n"],"names":["format","h"],"mappings":";;;;;AAAA,MAAM,cAAc,GAAG,sBAAsB;;MCQhC,WAAW,GAAA,MAAA;;;;AACtB;;AAEG;AACK,IAAA,KAAK;AAEb;;AAEG;AACK,IAAA,MAAM;AAEd;;AAEG;AACK,IAAA,IAAI;IAEJ,OAAO,GAAA;AACb,QAAA,OAAOA,cAAM,CAAC,IAAI,CAAC,KAAK,EAAE,IAAI,CAAC,MAAM,EAAE,IAAI,CAAC,IAAI,CAAC;;IAGnD,MAAM,GAAA;AACJ,QAAA,OAAOC,OAAA,CAAA,KAAA,EAAA,EAAA,GAAA,EAAA,0CAAA,EAAA,wBAAwB,IAAI,CAAC,OAAO,EAAE,CAAO;;;;;;;"}
|
|
@@ -19,7 +19,7 @@ var patchBrowser = () => {
|
|
|
19
19
|
|
|
20
20
|
patchBrowser().then(async (options) => {
|
|
21
21
|
await appGlobals.globalScripts();
|
|
22
|
-
return index.bootstrapLazy([["pcm-app-chat-modal_7.cjs",[[1,"pcm-
|
|
22
|
+
return index.bootstrapLazy([["pcm-app-chat-modal_7.cjs",[[1,"pcm-jlpp-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"jobDescription":[32],"isSubmitting":[32],"isTransitioning":[32],"transitionTimer":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-mnms-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"isTransitioning":[32],"transitionTimer":[32],"jobDescription":[32],"isSubmitting":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-zygh-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"customInputs":[16],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showChatModal":[32],"isSubmitting":[32],"selectedPlanType":[32],"isTransitioning":[32],"transitionTimer":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-hr-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"toEmail":[1,"to-email"],"fullscreen":[4],"requireResume":[4,"require-resume"],"enableVoice":[4,"enable-voice"],"displayContentStatus":[4,"display-content-status"],"userId":[1,"user-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showInitialUpload":[32],"selectedJobCategory":[32],"jobCategories":[32],"dimensions":[32],"selectedDimensions":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"isInterviewComplete":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-video-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"fullscreen":[4],"enableVoice":[4,"enable-voice"],"displayContentStatus":[1,"display-content-status"],"resumeId":[1,"resume-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"showInitialUpload":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"isInterviewComplete":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32]},null,{"isOpen":["handleIsOpenChange"]}],[1,"pcm-app-chat-modal",{"modalTitle":[1,"modal-title"],"token":[1],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"totalQuestions":[2,"total-questions"],"maxRecordingTime":[2,"max-recording-time"],"countdownWarningTime":[2,"countdown-warning-time"],"fullscreen":[4],"enableTTS":[4,"enable-t-t-s"],"enableVoice":[4,"enable-voice"],"displayContentStatus":[1,"display-content-status"],"interviewMode":[1,"interview-mode"],"customInputs":[16],"botId":[1,"bot-id"],"messages":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32],"showInitialUpload":[32],"isRecording":[32],"recordingStream":[32],"recordedBlob":[32],"mediaRecorder":[32],"recordingTimeLeft":[32],"showRecordingUI":[32],"recordingTimer":[32],"recordingStartTime":[32],"recordingMaxTime":[32],"waitingToRecord":[32],"waitingTimer":[32],"waitingTimeLeft":[32],"currentQuestionNumber":[32],"showCountdownWarning":[32],"isUploadingVideo":[32],"isPlayingAudio":[32],"audioUrl":[32],"textAnswer":[32],"isSubmittingText":[32]}],[1,"pcm-chat-message",{"message":[16]}]]],["pcm-chat-modal.cjs",[[1,"pcm-chat-modal",{"modalTitle":[1,"modal-title"],"apiKey":[1,"api-key"],"isOpen":[1028,"is-open"],"icon":[1],"zIndex":[2,"z-index"],"isShowHeader":[4,"is-show-header"],"isNeedClose":[4,"is-need-close"],"botId":[1,"bot-id"],"conversationId":[1025,"conversation-id"],"defaultQuery":[1,"default-query"],"fullscreen":[4],"messages":[32],"currentMessage":[32],"currentAssistantMessage":[32],"isLoading":[32],"currentStreamingMessage":[32],"shouldAutoScroll":[32],"isLoadingHistory":[32],"suggestedQuestions":[32],"suggestedQuestionsLoading":[32],"selectedFile":[32],"isUploading":[32],"uploadedFileInfo":[32]},null,{"isOpen":["handleIsOpenChange"],"defaultQuery":["handleDefaultQueryChange"]}]]],["my-component.cjs",[[1,"my-component",{"first":[1],"middle":[1],"last":[1]}]]]], options);
|
|
23
23
|
});
|
|
24
24
|
|
|
25
25
|
exports.setNonce = index.setNonce;
|