pcm-agents 0.6.108-beta.1 → 0.6.108-beta.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/dist/cjs/components-position-selector_32.cjs.entry.js +8 -12
- package/dist/cjs/components-position-selector_32.cjs.entry.js.map +1 -1
- package/dist/cjs/{conversation-utils-2d4b0730.js → conversation-utils-a9608167.js} +3 -3
- package/dist/cjs/{conversation-utils-2d4b0730.js.map → conversation-utils-a9608167.js.map} +1 -1
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/oem-htws-modal.cjs.entry.js +9 -7
- package/dist/cjs/oem-htws-modal.cjs.entry.js.map +1 -1
- package/dist/cjs/oem-jd-modal.cjs.entry.js +2 -2
- package/dist/cjs/oem-jlpp-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-jlzz-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-mnct-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-mnms-modal.cjs.entry.js +1 -1
- package/dist/cjs/oem-qgqjl-modal.cjs.entry.js +3 -3
- package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +2 -2
- package/dist/cjs/pcm-jlsx-modal.cjs.entry.js +2 -2
- package/dist/cjs/{sentry-reporter-84edfc8c.js → sentry-reporter-97a2481c.js} +2 -2
- package/dist/cjs/{sentry-reporter-84edfc8c.js.map → sentry-reporter-97a2481c.js.map} +1 -1
- package/dist/cjs/{utils-d5513a8a.js → utils-843d8945.js} +2 -2
- package/dist/cjs/{utils-d5513a8a.js.map → utils-843d8945.js.map} +1 -1
- package/dist/collection/components/oem-htws-modal/oem-htws-modal.js +8 -6
- package/dist/collection/components/oem-htws-modal/oem-htws-modal.js.map +1 -1
- package/dist/collection/components/pcm-chat-message/pcm-chat-message.js +4 -8
- package/dist/collection/components/pcm-chat-message/pcm-chat-message.js.map +1 -1
- package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js +1 -1
- package/dist/collection/components/pcm-htws-modal/pcm-htws-modal.js.map +1 -1
- package/dist/components/components-position-selector.js +1 -1
- package/dist/components/index.js +1 -1
- package/dist/components/oem-htws-modal.js +13 -11
- package/dist/components/oem-htws-modal.js.map +1 -1
- package/dist/components/oem-jd-modal.js +4 -4
- package/dist/components/oem-jlpp-modal.js +7 -7
- package/dist/components/oem-jlsx-modal.js +5 -5
- package/dist/components/oem-jlzz-modal.js +5 -5
- package/dist/components/oem-mnct-modal.js +7 -7
- package/dist/components/oem-mnms-modal.js +8 -8
- package/dist/components/oem-qgqjl-modal.js +9 -9
- package/dist/components/oem-zygh-modal.js +5 -5
- package/dist/components/{p-0cce0309.js → p-2534da62.js} +4 -4
- package/dist/components/{p-0cce0309.js.map → p-2534da62.js.map} +1 -1
- package/dist/components/{p-de0f3ab9.js → p-2a4067e1.js} +2 -2
- package/dist/components/{p-de0f3ab9.js.map → p-2a4067e1.js.map} +1 -1
- package/dist/components/{p-2c9842e3.js → p-5e14cf4f.js} +2 -2
- package/dist/components/{p-2c9842e3.js.map → p-5e14cf4f.js.map} +1 -1
- package/dist/components/{p-e03fa914.js → p-64587ef5.js} +6 -10
- package/dist/components/p-64587ef5.js.map +1 -0
- package/dist/components/{p-2e35726f.js → p-714494f9.js} +3 -3
- package/dist/components/{p-2e35726f.js.map → p-714494f9.js.map} +1 -1
- package/dist/components/{p-9a8f1c45.js → p-7b59a74c.js} +2 -2
- package/dist/components/{p-9a8f1c45.js.map → p-7b59a74c.js.map} +1 -1
- package/dist/components/{p-1d883e3b.js → p-889cb4fa.js} +2 -2
- package/dist/components/{p-1d883e3b.js.map → p-889cb4fa.js.map} +1 -1
- package/dist/components/{p-9b80ce61.js → p-b4cce4ca.js} +2 -2
- package/dist/components/{p-9b80ce61.js.map → p-b4cce4ca.js.map} +1 -1
- package/dist/components/{p-a6f1a7cb.js → p-b516764b.js} +2 -2
- package/dist/components/{p-a6f1a7cb.js.map → p-b516764b.js.map} +1 -1
- package/dist/components/{p-c836a9ec.js → p-d47e662e.js} +2 -2
- package/dist/components/{p-c836a9ec.js.map → p-d47e662e.js.map} +1 -1
- package/dist/components/{p-d3545121.js → p-e745da08.js} +2 -2
- package/dist/components/{p-d3545121.js.map → p-e745da08.js.map} +1 -1
- package/dist/components/{p-891def49.js → p-ea7c1d53.js} +2 -2
- package/dist/components/{p-891def49.js.map → p-ea7c1d53.js.map} +1 -1
- package/dist/components/pcm-1zhanshi-mnms-modal.js +5 -5
- package/dist/components/pcm-app-chat-modal.js +1 -1
- package/dist/components/pcm-ats-mnms-modal.js +5 -5
- package/dist/components/pcm-card.js +1 -1
- package/dist/components/pcm-chat-message.js +1 -1
- package/dist/components/pcm-digital-human.js +1 -1
- package/dist/components/pcm-export-records-modal.js +1 -1
- package/dist/components/pcm-hr-chat-modal.js +2 -2
- package/dist/components/pcm-htws-modal.js +9 -9
- package/dist/components/pcm-htws-modal.js.map +1 -1
- package/dist/components/pcm-hyzj-modal.js +5 -5
- package/dist/components/pcm-jd-modal.js +5 -5
- package/dist/components/pcm-jlpp-modal.js +8 -8
- package/dist/components/pcm-jlsx-modal.js +5 -5
- package/dist/components/pcm-jlzz-modal.js +6 -6
- package/dist/components/pcm-mnct-modal.js +7 -7
- package/dist/components/pcm-mnms-modal.js +8 -8
- package/dist/components/pcm-mnms-zp-modal.js +8 -8
- package/dist/components/pcm-mobile-input-btn.js +1 -1
- package/dist/components/pcm-mobile-upload-btn.js +1 -1
- package/dist/components/pcm-msbg-modal.js +5 -5
- package/dist/components/pcm-qgqjl-modal.js +9 -9
- package/dist/components/pcm-thousand-resume-wrapper.js +1 -1
- package/dist/components/pcm-upload.js +1 -1
- package/dist/components/pcm-virtual-chat-modal.js +1 -1
- package/dist/components/pcm-zsk-chat-modal.js +2 -2
- package/dist/components/pcm-zygh-modal.js +7 -7
- package/dist/components/pcm-zygh-v2-modal.js +7 -7
- package/dist/esm/components-position-selector_32.entry.js +8 -12
- package/dist/esm/components-position-selector_32.entry.js.map +1 -1
- package/dist/esm/{conversation-utils-83c91bfa.js → conversation-utils-3b19eab3.js} +3 -3
- package/dist/esm/{conversation-utils-83c91bfa.js.map → conversation-utils-3b19eab3.js.map} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/oem-htws-modal.entry.js +9 -7
- package/dist/esm/oem-htws-modal.entry.js.map +1 -1
- package/dist/esm/oem-jd-modal.entry.js +2 -2
- package/dist/esm/oem-jlpp-modal.entry.js +1 -1
- package/dist/esm/oem-jlzz-modal.entry.js +1 -1
- package/dist/esm/oem-mnct-modal.entry.js +1 -1
- package/dist/esm/oem-mnms-modal.entry.js +1 -1
- package/dist/esm/oem-qgqjl-modal.entry.js +3 -3
- package/dist/esm/pcm-hr-chat-modal.entry.js +2 -2
- package/dist/esm/pcm-jlsx-modal.entry.js +2 -2
- package/dist/esm/{sentry-reporter-90e9ff64.js → sentry-reporter-c611021b.js} +2 -2
- package/dist/esm/{sentry-reporter-90e9ff64.js.map → sentry-reporter-c611021b.js.map} +1 -1
- package/dist/esm/{utils-4b0905b9.js → utils-dbfb7912.js} +2 -2
- package/dist/esm/{utils-4b0905b9.js.map → utils-dbfb7912.js.map} +1 -1
- package/dist/pcm-agents/index.esm.js +1 -1
- package/dist/pcm-agents/{p-2b3b4369.entry.js → p-0a91cd5e.entry.js} +2 -2
- package/dist/pcm-agents/p-0a91cd5e.entry.js.map +1 -0
- package/dist/pcm-agents/{p-f630da88.entry.js → p-2bde7d49.entry.js} +2 -2
- package/dist/pcm-agents/{p-a70901af.entry.js → p-2e2d6a6b.entry.js} +2 -2
- package/dist/pcm-agents/{p-baa92afd.entry.js → p-348de083.entry.js} +2 -2
- package/dist/pcm-agents/{p-7f32d3e1.entry.js → p-37b1d621.entry.js} +2 -2
- package/dist/pcm-agents/{p-889a4d60.js → p-3a1bc036.js} +2 -2
- package/dist/pcm-agents/{p-6ce17f44.entry.js → p-510d1a03.entry.js} +2 -2
- package/dist/pcm-agents/{p-48719536.entry.js → p-a0e0aebf.entry.js} +3 -3
- package/dist/pcm-agents/p-a0e0aebf.entry.js.map +1 -0
- package/dist/pcm-agents/p-a2b74238.js +2 -0
- package/dist/pcm-agents/{p-a345a959.entry.js → p-b434a9e2.entry.js} +2 -2
- package/dist/pcm-agents/{p-910a7c55.entry.js → p-bfb583eb.entry.js} +2 -2
- package/dist/pcm-agents/{p-87987444.js → p-f0bcaa44.js} +2 -2
- package/dist/pcm-agents/{p-75861628.entry.js → p-fbc419e9.entry.js} +2 -2
- package/dist/pcm-agents/pcm-agents.esm.js +1 -1
- package/package.json +1 -1
- package/dist/components/p-e03fa914.js.map +0 -1
- package/dist/pcm-agents/p-20b0f18d.js +0 -2
- package/dist/pcm-agents/p-2b3b4369.entry.js.map +0 -1
- package/dist/pcm-agents/p-48719536.entry.js.map +0 -1
- /package/dist/pcm-agents/{p-f630da88.entry.js.map → p-2bde7d49.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-a70901af.entry.js.map → p-2e2d6a6b.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-baa92afd.entry.js.map → p-348de083.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-7f32d3e1.entry.js.map → p-37b1d621.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-889a4d60.js.map → p-3a1bc036.js.map} +0 -0
- /package/dist/pcm-agents/{p-6ce17f44.entry.js.map → p-510d1a03.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-20b0f18d.js.map → p-a2b74238.js.map} +0 -0
- /package/dist/pcm-agents/{p-a345a959.entry.js.map → p-b434a9e2.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-910a7c55.entry.js.map → p-bfb583eb.entry.js.map} +0 -0
- /package/dist/pcm-agents/{p-87987444.js.map → p-f0bcaa44.js.map} +0 -0
- /package/dist/pcm-agents/{p-75861628.entry.js.map → p-fbc419e9.entry.js.map} +0 -0
|
@@ -3,12 +3,12 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
const index = require('./index-3c325bdb.js');
|
|
6
|
-
const utils = require('./utils-
|
|
6
|
+
const utils = require('./utils-843d8945.js');
|
|
7
7
|
const message_service = require('./message.service-67c4a512.js');
|
|
8
8
|
const index_umd = require('./index.umd-d24c1f35.js');
|
|
9
9
|
const errorEvent = require('./error-event-f4803d60.js');
|
|
10
|
-
const sentryReporter = require('./sentry-reporter-
|
|
11
|
-
const conversationUtils = require('./conversation-utils-
|
|
10
|
+
const sentryReporter = require('./sentry-reporter-97a2481c.js');
|
|
11
|
+
const conversationUtils = require('./conversation-utils-a9608167.js');
|
|
12
12
|
require('./exports-e1a5f087.js');
|
|
13
13
|
|
|
14
14
|
const componentsPositionSelectorCss = ":host{display:block;width:100%;height:100%}.position-selector-container{display:flex;flex-direction:column;width:100%;height:100%;background:#fff}.search-bar{display:flex;align-items:center;gap:12px;padding:16px;border-bottom:1px solid #f0f0f0;flex-shrink:0}.search-input-wrapper{position:relative;display:flex;align-items:center;flex:1;min-width:200px;max-width:500px}.search-icon{position:absolute;left:12px;color:#bfbfbf;pointer-events:none}.search-input{width:100%;height:36px;padding:4px 36px 4px 36px;font-size:14px;line-height:1.5;color:rgba(0, 0, 0, 0.85);background-color:#fff;background-image:none;border:1px solid #d9d9d9;border-radius:6px;transition:all 0.3s;outline:none}.search-input:hover{border-color:#40a9ff}.search-input:focus{border-color:#40a9ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.search-input::placeholder{color:#bfbfbf}.clear-button{position:absolute;right:12px;background:none;border:none;padding:4px;cursor:pointer;display:flex;align-items:center;justify-content:center;color:#bfbfbf;transition:color 0.3s}.clear-button:hover{color:#8c8c8c}.search-button{padding:4px 15px;height:36px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none;white-space:nowrap;flex-shrink:0}.search-button:hover{background-color:#40a9ff;border-color:#40a9ff}.search-button:active{background-color:#096dd9;border-color:#096dd9}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px;gap:16px;color:#8c8c8c}.loading-spinner{width:32px;height:32px;border:3px solid #f0f0f0;border-top-color:#1890ff;border-radius:50%;animation:spin 0.8s linear infinite}@keyframes spin{to{transform:rotate(360deg)}}.empty-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:60px 20px;gap:16px}.empty-icon{opacity:0.5}.empty-text{margin:0;color:#8c8c8c;font-size:14px}.position-list{flex:1;overflow-y:auto;min-height:0}.table-container{width:100%;overflow-x:auto}.position-table{width:100%;border-collapse:collapse;font-size:14px}.position-table thead{background-color:#fafafa;position:sticky;top:0;z-index:1}.position-table th{padding:12px 16px;text-align:left;font-weight:500;color:rgba(0, 0, 0, 0.85);border-bottom:1px solid #f0f0f0;white-space:nowrap}.position-table td{padding:12px 16px;border-bottom:1px solid #f0f0f0;color:rgba(0, 0, 0, 0.65)}.position-table tbody tr{transition:background-color 0.3s}.position-table tbody tr:hover{background-color:#fafafa}.position-table tbody tr.selected-row{background-color:#e6f7ff}.checkbox-column{width:50px;text-align:center}.title-column{min-width:150px;max-width:200px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.company-column{min-width:120px;max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.location-column{min-width:100px;max-width:150px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.requirements-column{min-width:200px;max-width:300px}.requirements-text{overflow:hidden;text-overflow:ellipsis;display:-webkit-box;-webkit-line-clamp:2;-webkit-box-orient:vertical;white-space:normal;word-break:break-word;line-height:1.5}.salary-column{min-width:100px;white-space:nowrap}.action-column{width:100px;text-align:center}.position-checkbox{width:16px;height:16px;cursor:pointer;accent-color:#1890ff}.select-button{padding:4px 15px;height:28px;font-size:14px;line-height:1.5;border-radius:6px;color:#fff;background-color:#1890ff;border:1px solid #1890ff;cursor:pointer;transition:all 0.3s;outline:none}.select-button:hover{background-color:#40a9ff;border-color:#40a9ff}.select-button:active{background-color:#096dd9;border-color:#096dd9}@media screen and (max-width: 768px){.search-bar{padding:12px;gap:8px}.search-input-wrapper{min-width:auto;max-width:none}.search-input{height:40px;font-size:16px}.search-button{height:40px;padding:4px 12px}.table-container{overflow-x:auto;-webkit-overflow-scrolling:touch}.position-table{font-size:12px}.position-table th,.position-table td{padding:8px 12px}.title-column,.company-column,.location-column{min-width:100px}.select-button{padding:4px 12px;height:32px;font-size:14px}}.pagination-container{display:flex;align-items:center;justify-content:center;gap:16px;padding:16px;border-top:1px solid #f0f0f0;flex-shrink:0}.pagination-button{padding:4px 15px;height:32px;font-size:14px;line-height:1.5;border-radius:6px;color:rgba(0, 0, 0, 0.85);background-color:#fff;border:1px solid #d9d9d9;cursor:pointer;transition:all 0.3s;outline:none}.pagination-button:hover:not(:disabled){color:#40a9ff;border-color:#40a9ff}.pagination-button:active:not(:disabled){color:#096dd9;border-color:#096dd9}.pagination-button:disabled{color:rgba(0, 0, 0, 0.25);background-color:#f5f5f5;border-color:#d9d9d9;cursor:not-allowed}.pagination-info{font-size:14px;color:rgba(0, 0, 0, 0.65)}.position-list::-webkit-scrollbar{width:8px;height:8px}.position-list::-webkit-scrollbar-track{background:#f1f1f1}.position-list::-webkit-scrollbar-thumb{background:#888;border-radius:4px}.position-list::-webkit-scrollbar-thumb:hover{background:#555}";
|
|
@@ -6200,13 +6200,9 @@ const ChatMessageComponent = class {
|
|
|
6200
6200
|
} }, index.h("source", { src: videoUrl, type: "video/webm" }), index.h("source", { src: videoUrl, type: "video/mp4" }), index.h("source", { src: videoUrl, type: "video/ogg" }), this.strings.browserNotSupportVideo)) : (index.h("div", { class: "video-loading" }, index.h("div", { class: "loading-spinner" }), index.h("span", null, this.strings.loadingVideo))))));
|
|
6201
6201
|
}
|
|
6202
6202
|
else if (key === 'file_url') {
|
|
6203
|
-
if (value?.split?.(",")?.length > 1) {
|
|
6204
|
-
const fileList =
|
|
6205
|
-
const fileNames = this.message.inputs
|
|
6206
|
-
(typeof this.message.inputs.file_names === 'string' ?
|
|
6207
|
-
this.message.inputs.file_names.split(',') :
|
|
6208
|
-
[this.message.inputs.file_names.toString()]) :
|
|
6209
|
-
[];
|
|
6203
|
+
if ((value?.split?.(",")?.length || 0) > 1) {
|
|
6204
|
+
const fileList = value.split(',');
|
|
6205
|
+
const fileNames = this.message.inputs?.file_name?.split?.(',') || [];
|
|
6210
6206
|
return (index.h("div", { key: index$1 }, fileList.map((fileUrl, fileIndex) => {
|
|
6211
6207
|
const fileName = fileNames[fileIndex] || this.getFileName(fileUrl);
|
|
6212
6208
|
return this.renderFileItem(fileName, fileUrl, fileIndex);
|
|
@@ -6327,7 +6323,7 @@ const ChatMessageComponent = class {
|
|
|
6327
6323
|
}
|
|
6328
6324
|
}
|
|
6329
6325
|
render() {
|
|
6330
|
-
return (index.h("div", { key: '
|
|
6326
|
+
return (index.h("div", { key: 'fc875a345ccfd0eef04c76d409a123e7d5a20136', class: "message-round" }, this.renderUserMessage(), this.renderAssistantMessage()));
|
|
6331
6327
|
}
|
|
6332
6328
|
};
|
|
6333
6329
|
ChatMessageComponent.style = PcmChatMessageStyle0 + (PcmChatMessageStyle1 + PcmChatMessageStyle2);
|
|
@@ -7402,7 +7398,7 @@ const HtwsModal = class {
|
|
|
7402
7398
|
this.isSubmitting, onClick: this.handleStartInterview }, this.isUploading ? '上传中...' : this.isSubmitting ? '处理中...' : '开始分析'), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018882", conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
|
|
7403
7399
|
...this.customInputs,
|
|
7404
7400
|
file_url: this.inputMode === 'upload' ? this.uploadedFileInfo?.map?.((item) => item.cos_key)?.join(",") : undefined,
|
|
7405
|
-
|
|
7401
|
+
file_name: this.uploadedFileInfo?.map?.((item) => item.file_name)?.join(","),
|
|
7406
7402
|
input: this.inputMode === 'free' ? this.freeInputText : undefined
|
|
7407
7403
|
}, interviewMode: "text" }))))));
|
|
7408
7404
|
}
|