pcm-agents 1.0.1 → 1.0.2

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.
Files changed (148) hide show
  1. package/dist/cjs/components-chat-message_33.cjs.entry.js +25 -4
  2. package/dist/cjs/components-chat-message_33.cjs.entry.js.map +1 -1
  3. package/dist/cjs/{conversation-utils-BSbqTS91.js → conversation-utils-B4jUfmtU.js} +4 -4
  4. package/dist/cjs/{conversation-utils-BSbqTS91.js.map → conversation-utils-B4jUfmtU.js.map} +1 -1
  5. package/dist/cjs/{index-CU_o8ASa.js → index-Dghp_NL6.js} +3 -3
  6. package/dist/cjs/{index-CU_o8ASa.js.map → index-Dghp_NL6.js.map} +1 -1
  7. package/dist/cjs/index.cjs.js +1 -1
  8. package/dist/cjs/oem-htws-modal.cjs.entry.js +1 -1
  9. package/dist/cjs/oem-jd-modal.cjs.entry.js +2 -2
  10. package/dist/cjs/oem-jlpp-modal.cjs.entry.js +1 -1
  11. package/dist/cjs/oem-jlzz-modal.cjs.entry.js +23 -2
  12. package/dist/cjs/oem-jlzz-modal.cjs.entry.js.map +1 -1
  13. package/dist/cjs/oem-jlzz-modal.entry.cjs.js.map +1 -1
  14. package/dist/cjs/oem-mnct-modal.cjs.entry.js +1 -1
  15. package/dist/cjs/oem-mnms-modal.cjs.entry.js +1 -1
  16. package/dist/cjs/oem-qgqjl-modal.cjs.entry.js +3 -3
  17. package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +2 -2
  18. package/dist/cjs/pcm-jlsx-modal.cjs.entry.js +2 -2
  19. package/dist/cjs/{sentry-reporter-DmBt7dYt.js → sentry-reporter-CgJowDyu.js} +3 -3
  20. package/dist/cjs/{sentry-reporter-DmBt7dYt.js.map → sentry-reporter-CgJowDyu.js.map} +1 -1
  21. package/dist/collection/components/oem-jlzz-modal/oem-jlzz-modal.css +8 -2
  22. package/dist/collection/components/oem-jlzz-modal/oem-jlzz-modal.js +35 -0
  23. package/dist/collection/components/oem-jlzz-modal/oem-jlzz-modal.js.map +1 -1
  24. package/dist/collection/components/pcm-jlzz-modal/pcm-jlzz-modal.css +8 -2
  25. package/dist/collection/components/pcm-jlzz-modal/pcm-jlzz-modal.js +35 -0
  26. package/dist/collection/components/pcm-jlzz-modal/pcm-jlzz-modal.js.map +1 -1
  27. package/dist/components/components-chat-message.js +1 -1
  28. package/dist/components/components-digital-human.js +1 -1
  29. package/dist/components/components-export-records-modal.js +1 -1
  30. package/dist/components/components-mobile-input-btn.js +1 -1
  31. package/dist/components/components-mobile-upload-btn.js +1 -1
  32. package/dist/components/components-position-selector.js +1 -1
  33. package/dist/components/components-thousand-resume-wrapper.js +1 -1
  34. package/dist/components/components-upload.js +1 -1
  35. package/dist/components/components-voice-input-btn.js +1 -1
  36. package/dist/components/index.js +1 -1
  37. package/dist/components/oem-htws-modal.js +5 -5
  38. package/dist/components/oem-jd-modal.js +5 -5
  39. package/dist/components/oem-jlpp-modal.js +7 -7
  40. package/dist/components/oem-jlsx-modal.js +5 -5
  41. package/dist/components/oem-jlzz-modal.js +27 -6
  42. package/dist/components/oem-jlzz-modal.js.map +1 -1
  43. package/dist/components/oem-mnct-modal.js +7 -7
  44. package/dist/components/oem-mnms-modal.js +8 -8
  45. package/dist/components/oem-qgqjl-modal.js +9 -9
  46. package/dist/components/oem-zygh-modal.js +5 -5
  47. package/dist/components/{p-DtLvVebv.js → p-BDEiyYVl.js} +3 -3
  48. package/dist/components/{p-DtLvVebv.js.map → p-BDEiyYVl.js.map} +1 -1
  49. package/dist/components/{p-3Q_UlCBS.js → p-Bg0KKnpU.js} +3 -3
  50. package/dist/components/{p-3Q_UlCBS.js.map → p-Bg0KKnpU.js.map} +1 -1
  51. package/dist/components/{p-BmcWjR4N.js → p-BhdGTSLg.js} +5 -5
  52. package/dist/components/{p-BmcWjR4N.js.map → p-BhdGTSLg.js.map} +1 -1
  53. package/dist/components/{p-DmWFUjNG.js → p-C-lvK9NX.js} +3 -3
  54. package/dist/components/{p-DmWFUjNG.js.map → p-C-lvK9NX.js.map} +1 -1
  55. package/dist/components/{p-CLbRlbBQ.js → p-C7ubjB1x.js} +3 -3
  56. package/dist/components/{p-CLbRlbBQ.js.map → p-C7ubjB1x.js.map} +1 -1
  57. package/dist/components/{p-jItKLiWg.js → p-CB7myOe_.js} +3 -3
  58. package/dist/components/{p-jItKLiWg.js.map → p-CB7myOe_.js.map} +1 -1
  59. package/dist/components/{p-DVLwCSEJ.js → p-CEu-bFot.js} +3 -3
  60. package/dist/components/{p-DVLwCSEJ.js.map → p-CEu-bFot.js.map} +1 -1
  61. package/dist/components/{p-Ctv3wyw7.js → p-CPq5-i_-.js} +4 -4
  62. package/dist/components/{p-Ctv3wyw7.js.map → p-CPq5-i_-.js.map} +1 -1
  63. package/dist/components/{p-BzkaZYPy.js → p-CzFKth7J.js} +3 -3
  64. package/dist/components/{p-BzkaZYPy.js.map → p-CzFKth7J.js.map} +1 -1
  65. package/dist/components/{p-CXEN9wni.js → p-D4RnNrxx.js} +3 -3
  66. package/dist/components/{p-CXEN9wni.js.map → p-D4RnNrxx.js.map} +1 -1
  67. package/dist/components/{p-DXRKSQ8c.js → p-DJDJfWq9.js} +3 -3
  68. package/dist/components/{p-DXRKSQ8c.js.map → p-DJDJfWq9.js.map} +1 -1
  69. package/dist/components/{p-kxAOEOKi.js → p-i4wY2JnB.js} +3 -3
  70. package/dist/components/{p-kxAOEOKi.js.map → p-i4wY2JnB.js.map} +1 -1
  71. package/dist/components/{p-D_aQ1w9v.js → p-oVAdweom.js} +3 -3
  72. package/dist/components/{p-D_aQ1w9v.js.map → p-oVAdweom.js.map} +1 -1
  73. package/dist/components/pcm-1zhanshi-mnms-modal.js +5 -5
  74. package/dist/components/pcm-app-chat-modal.js +1 -1
  75. package/dist/components/pcm-ats-mnms-modal.js +5 -5
  76. package/dist/components/pcm-card.js +1 -1
  77. package/dist/components/pcm-hr-chat-modal.js +2 -2
  78. package/dist/components/pcm-htws-modal.js +8 -8
  79. package/dist/components/pcm-hyzj-modal.js +5 -5
  80. package/dist/components/pcm-jd-modal.js +6 -6
  81. package/dist/components/pcm-jlpp-modal.js +8 -8
  82. package/dist/components/pcm-jlsx-modal.js +5 -5
  83. package/dist/components/pcm-jlzz-modal.js +28 -7
  84. package/dist/components/pcm-jlzz-modal.js.map +1 -1
  85. package/dist/components/pcm-mnct-modal.js +7 -7
  86. package/dist/components/pcm-mnms-modal.js +8 -8
  87. package/dist/components/pcm-mnms-zp-modal.js +8 -8
  88. package/dist/components/pcm-msbg-modal.js +5 -5
  89. package/dist/components/pcm-qgqjl-modal.js +9 -9
  90. package/dist/components/pcm-virtual-chat-modal.js +1 -1
  91. package/dist/components/pcm-zsk-chat-modal.js +2 -2
  92. package/dist/components/pcm-zygh-modal.js +7 -7
  93. package/dist/components/pcm-zygh-v2-modal.js +7 -7
  94. package/dist/esm/components-chat-message_33.entry.js +25 -4
  95. package/dist/esm/components-chat-message_33.entry.js.map +1 -1
  96. package/dist/esm/{conversation-utils-DbEUsn3n.js → conversation-utils-CLO35DHR.js} +4 -4
  97. package/dist/esm/{conversation-utils-DbEUsn3n.js.map → conversation-utils-CLO35DHR.js.map} +1 -1
  98. package/dist/esm/{index-Bo13CEzs.js → index-KVnu9w-h.js} +3 -3
  99. package/dist/esm/{index-Bo13CEzs.js.map → index-KVnu9w-h.js.map} +1 -1
  100. package/dist/esm/index.js +1 -1
  101. package/dist/esm/oem-htws-modal.entry.js +1 -1
  102. package/dist/esm/oem-jd-modal.entry.js +2 -2
  103. package/dist/esm/oem-jlpp-modal.entry.js +1 -1
  104. package/dist/esm/oem-jlzz-modal.entry.js +23 -2
  105. package/dist/esm/oem-jlzz-modal.entry.js.map +1 -1
  106. package/dist/esm/oem-mnct-modal.entry.js +1 -1
  107. package/dist/esm/oem-mnms-modal.entry.js +1 -1
  108. package/dist/esm/oem-qgqjl-modal.entry.js +3 -3
  109. package/dist/esm/pcm-hr-chat-modal.entry.js +2 -2
  110. package/dist/esm/pcm-jlsx-modal.entry.js +2 -2
  111. package/dist/esm/{sentry-reporter-K4l0BEc5.js → sentry-reporter-B4aHQq-A.js} +3 -3
  112. package/dist/esm/{sentry-reporter-K4l0BEc5.js.map → sentry-reporter-B4aHQq-A.js.map} +1 -1
  113. package/dist/pcm-agents/index.esm.js +1 -1
  114. package/dist/pcm-agents/oem-jlzz-modal.entry.esm.js.map +1 -1
  115. package/dist/pcm-agents/{p-576d7f0c.entry.js → p-4d7511e0.entry.js} +2 -2
  116. package/dist/pcm-agents/{p-c02bf16e.entry.js → p-7e8bdfa6.entry.js} +2 -2
  117. package/dist/pcm-agents/{p-9683136b.entry.js → p-8144f0d4.entry.js} +2 -2
  118. package/dist/pcm-agents/{p-c2409f51.entry.js → p-8256890d.entry.js} +2 -2
  119. package/dist/pcm-agents/p-B4ClCdh9.js +2 -0
  120. package/dist/pcm-agents/{p-Ce7kriVb.js.map → p-B4ClCdh9.js.map} +1 -1
  121. package/dist/pcm-agents/{p-DxyGiF-E.js → p-Bktjt_YJ.js} +2 -2
  122. package/dist/pcm-agents/{p-DxyGiF-E.js.map → p-Bktjt_YJ.js.map} +1 -1
  123. package/dist/pcm-agents/{p-DSL40nYe.js → p-CMfzTNOk.js} +2 -2
  124. package/dist/pcm-agents/{p-DSL40nYe.js.map → p-CMfzTNOk.js.map} +1 -1
  125. package/dist/pcm-agents/{p-d55ba137.entry.js → p-aa606968.entry.js} +2 -2
  126. package/dist/pcm-agents/p-dd6362f0.entry.js +2 -0
  127. package/dist/pcm-agents/p-dd6362f0.entry.js.map +1 -0
  128. package/dist/pcm-agents/{p-dc3da9bc.entry.js → p-e2b9a9f2.entry.js} +2 -2
  129. package/dist/pcm-agents/{p-ac0a2540.entry.js → p-eb9b355e.entry.js} +2 -2
  130. package/dist/pcm-agents/{p-68cce17d.entry.js → p-efb4e819.entry.js} +2 -2
  131. package/dist/pcm-agents/{p-b252dbbe.entry.js → p-f6683f29.entry.js} +3 -3
  132. package/dist/pcm-agents/{p-b252dbbe.entry.js.map → p-f6683f29.entry.js.map} +1 -1
  133. package/dist/pcm-agents/pcm-agents.esm.js +1 -1
  134. package/dist/types/components/oem-jlzz-modal/oem-jlzz-modal.d.ts +11 -0
  135. package/dist/types/components/pcm-jlzz-modal/pcm-jlzz-modal.d.ts +11 -0
  136. package/dist/types/components.d.ts +22 -0
  137. package/package.json +1 -1
  138. package/dist/pcm-agents/p-54101b75.entry.js +0 -2
  139. package/dist/pcm-agents/p-54101b75.entry.js.map +0 -1
  140. package/dist/pcm-agents/p-Ce7kriVb.js +0 -2
  141. /package/dist/pcm-agents/{p-576d7f0c.entry.js.map → p-4d7511e0.entry.js.map} +0 -0
  142. /package/dist/pcm-agents/{p-c02bf16e.entry.js.map → p-7e8bdfa6.entry.js.map} +0 -0
  143. /package/dist/pcm-agents/{p-9683136b.entry.js.map → p-8144f0d4.entry.js.map} +0 -0
  144. /package/dist/pcm-agents/{p-c2409f51.entry.js.map → p-8256890d.entry.js.map} +0 -0
  145. /package/dist/pcm-agents/{p-d55ba137.entry.js.map → p-aa606968.entry.js.map} +0 -0
  146. /package/dist/pcm-agents/{p-dc3da9bc.entry.js.map → p-e2b9a9f2.entry.js.map} +0 -0
  147. /package/dist/pcm-agents/{p-ac0a2540.entry.js.map → p-eb9b355e.entry.js.map} +0 -0
  148. /package/dist/pcm-agents/{p-68cce17d.entry.js.map → p-efb4e819.entry.js.map} +0 -0
@@ -2,11 +2,11 @@
2
2
 
3
3
  var index = require('./index-C_qhED9Z.js');
4
4
  var messageUtils = require('./message-utils-DbTqMOA1.js');
5
- var index$1 = require('./index-CU_o8ASa.js');
5
+ var index$1 = require('./index-Dghp_NL6.js');
6
6
  var errorEvent = require('./error-event-J_ZWIqWF.js');
7
- var sentryReporter = require('./sentry-reporter-DmBt7dYt.js');
7
+ var sentryReporter = require('./sentry-reporter-CgJowDyu.js');
8
8
  var message_service = require('./message.service-BLgUOl2N.js');
9
- var conversationUtils = require('./conversation-utils-BSbqTS91.js');
9
+ var conversationUtils = require('./conversation-utils-B4jUfmtU.js');
10
10
  require('./exports-Dc-pQh4A.js');
11
11
 
12
12
  var clipboard$1 = {exports: {}};
@@ -12356,7 +12356,7 @@ const JlppModal = class {
12356
12356
  };
12357
12357
  JlppModal.style = pcmJlppModalCss + (globalCss$8 + hostCss$a);
12358
12358
 
12359
- const pcmJlzzModalCss = ".resume-type-container{display:flex;flex-direction:row;gap:32px;margin-bottom:16px;border-bottom:2px solid #f0f0f0;padding-left:4px}.resume-type-item{cursor:pointer;font-size:16px;color:#333;padding:0 0 8px 0;position:relative;background:none;border:none;outline:none;font-weight:400;transition:color 0.2s}.resume-type-item.selected{color:#2563eb;font-weight:600}.resume-type-item.selected::after{content:'';display:block;position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:#2563eb;border-radius:2px}.chat-content{background-color:#f7f9fc;border:1px solid #e0e6f1;border-radius:8px;padding:16px;display:flex;align-items:center;gap:16px}.chat-content-icon{font-size:24px;flex-shrink:0}.chat-content-text{font-size:14px;color:#595959;line-height:1.6}.resume-type-item:not(.selected):hover{color:#2563eb}.iframe-container{width:100%;height:85vh}.iframe-container iframe{width:100%;height:100%}.optimizing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.35);z-index:2000;display:flex;align-items:center;justify-content:center}.optimizing-modal-content{background:#fff;border-radius:8px;padding:32px 40px;box-shadow:0 4px 24px rgba(0, 0, 0, 0.12);display:flex;flex-direction:column;align-items:center}.optimizing-modal-content .loading-spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid #2563eb;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.converstation-list{height:600px;overflow:auto}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-item.active{background:#e6f7ff;border-color:#1890ff}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.optimizing-modal-content .loading-text{font-size:18px;color:#222;font-weight:500;margin:0}";
12359
+ const pcmJlzzModalCss = ".resume-type-container{display:flex;flex-direction:row;flex-wrap:nowrap;justify-content:space-evenly;gap:0;margin-bottom:16px;border-bottom:2px solid #f0f0f0;padding-left:0;overflow-x:auto;overflow-y:hidden}.resume-type-item{cursor:pointer;font-size:16px;color:#333;padding:0 0 8px 0;position:relative;background:none;border:none;outline:none;font-weight:400;white-space:nowrap;flex-shrink:0;transition:color 0.2s}.resume-type-item.selected{color:#2563eb;font-weight:600}.resume-type-item.selected::after{content:'';display:block;position:absolute;left:0;bottom:-2px;width:100%;height:2px;background:#2563eb;border-radius:2px}.chat-content{background-color:#f7f9fc;border:1px solid #e0e6f1;border-radius:8px;padding:16px;display:flex;align-items:center;gap:16px}.chat-content-icon{font-size:24px;flex-shrink:0}.chat-content-text{font-size:14px;color:#595959;line-height:1.6}.resume-type-item:not(.selected):hover{color:#2563eb}.iframe-container{width:100%;height:85vh}.iframe-container iframe{width:100%;height:100%}.optimizing-modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background:rgba(0, 0, 0, 0.35);z-index:2000;display:flex;align-items:center;justify-content:center}.optimizing-modal-content{background:#fff;border-radius:8px;padding:32px 40px;box-shadow:0 4px 24px rgba(0, 0, 0, 0.12);display:flex;flex-direction:column;align-items:center}.optimizing-modal-content .loading-spinner{width:40px;height:40px;border:4px solid #e0e0e0;border-top:4px solid #2563eb;border-radius:50%;animation:spin 1s linear infinite;margin-bottom:16px}.converstation-list{height:600px;overflow:auto}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-item.active{background:#e6f7ff;border-color:#1890ff}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.optimizing-modal-content .loading-text{font-size:18px;color:#222;font-weight:500;margin:0}";
12360
12360
 
12361
12361
  const globalCss$7 = ".modal-overlay{position:fixed;top:0;left:0;right:0;bottom:0;background-color:rgba(0, 0, 0, 0.5);display:flex;z-index:1000;overflow-y:auto}.fullscreen-overlay{padding:0;background-color:rgba(0, 0, 0, 0.7);position:absolute;width:100%;height:auto}.modal-container{background-color:#fff;border-radius:8px;width:100%;display:flex;flex-direction:column;position:relative;margin:5vh auto auto auto;transition:all 0.3s ease-out;overflow:hidden}.modal-container.fullscreen{width:100%;max-width:none;height:100%;border-radius:0;margin:0;display:flex;flex-direction:column;max-height:100%}.pc-layout{width:80%;max-width:600px;min-width:320px}@media screen and (max-width: 768px){.pc-layout{width:95%}.modal-overlay{padding:10px 0px 0px 0px}.modal-container.fullscreen{width:100%;height:100%;max-height:100%;border-radius:16px 16px 0 0;padding:env(safe-area-inset-top) 0 env(safe-area-inset-bottom)}}.modal-header{display:flex;justify-content:space-between;align-items:center;padding:4px 16px;height:50px;border-bottom:1px solid #e8e8e8;flex-shrink:0}.header-left{display:flex;align-items:center;gap:8px;font-size:16px;font-weight:600;color:#333}.header-icon{width:24px;height:24px}.close-button{background:transparent;border:none;cursor:pointer;padding:8px;display:flex;align-items:center;justify-content:center;width:32px;height:32px;border-radius:4px}.close-button:hover{background-color:rgba(0, 0, 0, 0.04)}.close-button span{font-size:24px;line-height:1;color:#999}.close-button:hover span{color:#666}.upload-area{cursor:pointer;width:100%}.upload-placeholder{transition:all 0.3s ease;display:flex;flex-direction:column;align-items:center;background:rgba(0, 0, 0, 0.02);border:1px dashed #d9d9d9;border-radius:8px;cursor:pointer}.upload-placeholder:hover{border:1px dashed #1890ff}.upload-placeholder img{margin-top:8px;width:50px;height:50px}.upload-placeholder .upload-text{margin:4px 0;color:#332F39;font-size:14px}.upload-placeholder .upload-hint{font-size:14px;color:#949AA5;margin-top:8px;padding:0px 10px;text-align:center;white-space:normal;word-wrap:break-word;word-break:break-all;line-height:1.4}.file-item{position:relative;padding:16px;border:1px solid #e2e8f0;border-radius:8px;transition:border-color 0.3s;cursor:pointer;margin-bottom:16px;display:flex;justify-content:space-between;align-items:center}.file-item:hover{border-color:#0D75FB}.file-item-content{display:flex;align-items:center;gap:8px;flex:1;min-width:0;overflow:hidden}.file-icon{color:#0D75FB;flex-shrink:0}.file-name{font-weight:500;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;max-width:calc(100% - 50px)}.remove-file{background:transparent;border:none;color:#94a3b8;cursor:pointer;font-size:18px;display:flex;align-items:center;justify-content:center;padding:4px;margin-left:8px;border-radius:4px;transition:all 0.2s;min-width:30px;min-height:30px}.remove-file:hover{background-color:#f1f5f9;color:#475569}.file-input{display:none}.input-container{padding:20px;display:flex;flex-direction:column;height:calc(100% - 50px);background:linear-gradient(150deg, #2a6ee933, #0000 50%) 0 0 / 400px 200px no-repeat, #fff;overflow-y:auto}.input-container h3{margin-top:0;margin-bottom:20px;font-size:18px;color:#333;text-align:center}.jd-input-section{margin-bottom:20px}.jd-input-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-description-textarea{width:calc(100% - 16px);border:1px solid #ddd;border-radius:4px;resize:vertical;font-family:inherit;font-size:14px;line-height:1.5;transition:border-color 0.3s;padding:8px}.job-description-textarea:focus{outline:none;border-color:#1890ff;box-shadow:0 0 0 2px rgba(24, 144, 255, 0.2)}.resume-upload-section{margin-bottom:20px;width:100%;display:flex;flex-direction:column}.resume-upload-section label{display:block;margin-bottom:8px;font-weight:500;color:#333}.interview-settings-section{margin-bottom:24px;padding:20px;background-color:#f8f9fa;border-radius:8px;border:1px solid #e9ecef}.settings-row{margin-bottom:20px}.settings-row:last-child{margin-bottom:0}.settings-label{display:block;font-weight:500;color:#333;margin-bottom:12px;font-size:14px}.question-number-section{width:100%}.slider-container{display:flex;align-items:center;gap:12px}.question-slider{flex:1;height:6px;background:#ddd;outline:none;border-radius:3px;-webkit-appearance:none;appearance:none}.question-slider::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.question-slider::-moz-range-thumb{width:20px;height:20px;background:#0D75FB;cursor:pointer;border-radius:50%;border:none;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}.slider-value{font-weight:600;color:#0D75FB;font-size:14px;min-width:30px;text-align:center}.analysis-toggle-section{width:100%}.toggle-container{display:flex;align-items:center;gap:12px}.toggle-switch{position:relative;display:inline-block;width:44px;height:24px}.toggle-switch input{opacity:0;width:0;height:0}.toggle-slider{position:absolute;cursor:pointer;top:0;left:0;right:0;bottom:0;background-color:#ccc;transition:0.3s;border-radius:24px}.toggle-slider:before{position:absolute;content:\"\";height:18px;width:18px;left:3px;bottom:3px;background-color:white;transition:0.3s;border-radius:50%;box-shadow:0 2px 4px rgba(0, 0, 0, 0.2)}input:checked+.toggle-slider{background-color:#0D75FB}input:checked+.toggle-slider:before{transform:translateX(20px)}.toggle-text{font-size:14px;color:#666;font-weight:500}.submit-button{margin-top:10px;padding:10px 30px;background:#0D75FB;color:white;border:none;border-radius:4px;font-size:16px;cursor:pointer;transition:all 0.3s ease;width:100%;max-width:400px;align-self:center}.submit-button:hover{background-color:#40a9ff}.submit-button:disabled{background-color:rgba(0,0,0,0.04);color:rgba(0,0,0,0.25);cursor:not-allowed}.ai-disclaimer{margin-top:16px;text-align:center;font-size:12px;color:#999;line-height:1.5}.ai-disclaimer p{margin:4px 0}.beian-info{display:flex;justify-content:center;flex-wrap:wrap;gap:4px}.ai-disclaimer a{color:#666;text-decoration:none;transition:color 0.2s ease}.ai-disclaimer a:hover{color:#1890ff;text-decoration:underline}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;height:100%;padding:24px}.loading-spinner{width:40px;height:40px;border:4px solid rgba(0, 0, 0, 0.1);border-radius:50%;border-top-color:var(--pcm-primary-color, #1890ff);animation:spin 1s linear infinite;margin-bottom:16px}.loading-text{font-size:16px;color:var(--pcm-text-color, #333)}@keyframes spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}.header-history-button{display:inline-flex;align-items:center;justify-content:center;gap:4px;padding:4px 8px;border:none;border-radius:4px;background:transparent;color:#bbb;cursor:pointer;font-size:13px;font-family:inherit;line-height:1;transition:all 0.2s ease;flex-shrink:0;white-space:nowrap}.header-history-button svg{width:16px;height:16px;display:block;flex-shrink:0}.header-history-button:hover{background-color:rgba(0, 0, 0, 0.04);color:#666}.header-history-button:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-drawer-content{height:100%;display:flex;flex-direction:column}.conversation-list{flex:1;overflow-y:auto;padding:8px 0}.loading-conversations,.empty-conversations{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 20px;color:#999}.loading-conversations .loading-spinner-small{margin-bottom:12px}.conversation-item{display:flex;align-items:center;justify-content:space-between;padding:12px 16px;margin:0 8px 4px 8px;border-radius:8px;cursor:pointer;transition:all 0.2s ease;border:1px solid transparent}.conversation-item:hover{background:#f5f5f5}.conversation-info{flex:1;min-width:0}.conversation-title{font-size:14px;font-weight:500;color:#262626;margin-bottom:4px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.conversation-meta{display:flex;align-items:center;gap:8px;font-size:12px;color:#8c8c8c}.conversation-time{flex-shrink:0}.message-count{flex-shrink:0}.conversation-status{padding:2px 6px;border-radius:4px;font-size:11px;font-weight:500}.conversation-status.completed{background:#f6ffed;color:#52c41a}.conversation-status.running{background:#fff7e6;color:#fa8c16}.header-history-entry{display:inline-flex;align-items:center;justify-content:center;margin-left:8px;padding:4px 8px;border:none;border-radius:4px;background:#e6f7ff;color:#1890ff;cursor:pointer;font-size:12px;font-family:inherit;line-height:1;white-space:nowrap;transition:all 0.2s ease}.header-history-entry:hover{background:#bae7ff;color:#0958d9;transform:translateY(-1px)}.header-history-entry:focus-visible{outline:2px solid rgba(13, 117, 251, 0.35);outline-offset:2px}.history-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:12px 16px 16px;border-top:1px solid #f0f0f0}.history-pagination-button{min-width:72px;padding:6px 12px;border:1px solid #d9d9d9;border-radius:6px;background:#fff;color:#595959;cursor:pointer;font-size:12px;transition:all 0.2s ease}.history-pagination-button:hover:not(:disabled){border-color:#1890ff;color:#1890ff;background:#e6f7ff}.history-pagination-button:disabled{border-color:#f0f0f0;color:#bfbfbf;background:#fafafa;cursor:not-allowed}.history-pagination-info{flex:1;text-align:center;color:#8c8c8c;font-size:12px}";
12362
12362
 
@@ -12372,6 +12372,7 @@ const JlzzModal = class {
12372
12372
  this.tokenInvalid = index.createEvent(this, "tokenInvalid");
12373
12373
  this.someErrorEvent = index.createEvent(this, "someErrorEvent");
12374
12374
  this.getResumeData = index.createEvent(this, "getResumeData");
12375
+ this.resumeDownloadRequested = index.createEvent(this, "resumeDownloadRequested");
12375
12376
  }
12376
12377
  /**
12377
12378
  * 模态框标题
@@ -12454,6 +12455,14 @@ const JlzzModal = class {
12454
12455
  * 获取简历数据事件(用户点击导出简历json数据后触发)
12455
12456
  */
12456
12457
  getResumeData;
12458
+ /**
12459
+ * 简历下载请求事件。
12460
+ * 触发时机:简历制作页面 运行在微信小程序 web-view 的 SDK iframe 中,
12461
+ * 用户在移动端下载弹窗点击“直接下载”时触发;普通网页环境仍由 简历制作页面 自行下载,不触发此事件。
12462
+ * iframe 只提供下载地址和文件名,具体跳转到哪个小程序页面及如何处理下载,
12463
+ * 由 SDK 接入方通过 onResumeDownloadRequested 回调自行决定。
12464
+ */
12465
+ resumeDownloadRequested;
12457
12466
  /**
12458
12467
  * 附件预览模式
12459
12468
  * 'drawer': 在右侧抽屉中预览
@@ -12609,10 +12618,22 @@ const JlzzModal = class {
12609
12618
  const allowedOrigins = ['http://localhost:3000', index$1.PCM_DOMAIN];
12610
12619
  if (!allowedOrigins.includes(event.origin))
12611
12620
  return;
12621
+ // 只接受当前简历 iframe 发出的消息,避免页面内其他窗口误触发 SDK 事件。
12622
+ if (event.source !== this._iframeEl?.contentWindow)
12623
+ return;
12612
12624
  const { type, value } = event.data || {};
12613
12625
  if (type === 'callParentMethod') {
12614
12626
  this.exampleMethodFromIframe(value);
12615
12627
  }
12628
+ if (type === 'resumeDownloadRequested') {
12629
+ // SDK 仅透传下载信息,不耦合任何宿主小程序路由。
12630
+ if (!value?.url || !value?.fileName)
12631
+ return;
12632
+ this.resumeDownloadRequested.emit({
12633
+ url: value.url,
12634
+ fileName: value.fileName,
12635
+ });
12636
+ }
12616
12637
  // 关键:收到 iframeReady 后再发送 token
12617
12638
  if (type === 'iframeReady' && this._iframeEl?.contentWindow) {
12618
12639
  // 动态获取 targetOrigin,兼容本地和线上