pcm-agents 1.0.6 → 1.0.8

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 (311) hide show
  1. package/dist/cjs/{components-chat-message_32.cjs.entry.js → components-chat-message_33.cjs.entry.js} +9059 -10026
  2. package/dist/cjs/components-chat-message_33.cjs.entry.js.map +1 -0
  3. package/dist/cjs/components-oem-virtual-chat-modal.cjs.entry.js +1829 -0
  4. package/dist/cjs/components-oem-virtual-chat-modal.cjs.entry.js.map +1 -0
  5. package/dist/cjs/components-oem-virtual-chat-modal.entry.cjs.js.map +1 -0
  6. package/dist/cjs/config.store-BIjicJY9.js +262 -0
  7. package/dist/cjs/config.store-BIjicJY9.js.map +1 -0
  8. package/dist/cjs/{conversation-utils-Na0f0AoH.js → conversation-utils-Ut-DjZGS.js} +4 -4
  9. package/dist/cjs/{conversation-utils-Na0f0AoH.js.map → conversation-utils-Ut-DjZGS.js.map} +1 -1
  10. package/dist/cjs/{index-BPngQTFc.js → index-BJXw-mBt.js} +11 -262
  11. package/dist/cjs/index-BJXw-mBt.js.map +1 -0
  12. package/dist/cjs/index-C_qhED9Z.js +22 -26
  13. package/dist/cjs/{message-utils-DbTqMOA1.js → index-D5RimYc5.js} +2 -23
  14. package/dist/cjs/index-D5RimYc5.js.map +1 -0
  15. package/dist/cjs/index.cjs.js +2 -1
  16. package/dist/cjs/index.cjs.js.map +1 -1
  17. package/dist/cjs/loader.cjs.js +1 -1
  18. package/dist/cjs/message-utils-C8eJnzLy.js +26 -0
  19. package/dist/cjs/message-utils-C8eJnzLy.js.map +1 -0
  20. package/dist/cjs/oem-cast-modal.cjs.entry.js +427 -0
  21. package/dist/cjs/oem-cast-modal.cjs.entry.js.map +1 -0
  22. package/dist/cjs/oem-cast-modal.entry.cjs.js.map +1 -0
  23. package/dist/cjs/{pcm-htws-modal.cjs.entry.js → oem-htws-modal.cjs.entry.js} +140 -114
  24. package/dist/cjs/oem-htws-modal.cjs.entry.js.map +1 -0
  25. package/dist/cjs/oem-htws-modal.entry.cjs.js.map +1 -0
  26. package/dist/cjs/{pcm-jd-modal.cjs.entry.js → oem-jd-modal.cjs.entry.js} +83 -376
  27. package/dist/cjs/oem-jd-modal.cjs.entry.js.map +1 -0
  28. package/dist/cjs/oem-jd-modal.entry.cjs.js.map +1 -0
  29. package/dist/cjs/{pcm-zygh-modal.cjs.entry.js → oem-jlpp-modal.cjs.entry.js} +165 -101
  30. package/dist/cjs/oem-jlpp-modal.cjs.entry.js.map +1 -0
  31. package/dist/cjs/oem-jlpp-modal.entry.cjs.js.map +1 -0
  32. package/dist/cjs/{pcm-jlzz-modal.cjs.entry.js → oem-jlzz-modal.cjs.entry.js} +16 -203
  33. package/dist/cjs/oem-jlzz-modal.cjs.entry.js.map +1 -0
  34. package/dist/{pcm-agents/pcm-jlzz-modal.entry.esm.js.map → cjs/oem-jlzz-modal.entry.cjs.js.map} +1 -1
  35. package/dist/cjs/{pcm-jlpp-modal.cjs.entry.js → oem-mnct-modal.cjs.entry.js} +70 -97
  36. package/dist/cjs/oem-mnct-modal.cjs.entry.js.map +1 -0
  37. package/dist/cjs/oem-mnct-modal.entry.cjs.js.map +1 -0
  38. package/dist/cjs/{pcm-mnms-modal.cjs.entry.js → oem-mnms-modal.cjs.entry.js} +159 -43
  39. package/dist/cjs/oem-mnms-modal.cjs.entry.js.map +1 -0
  40. package/dist/cjs/oem-mnms-modal.entry.cjs.js.map +1 -0
  41. package/dist/cjs/{pcm-qgqjl-modal.cjs.entry.js → oem-qgqjl-modal.cjs.entry.js} +48 -18
  42. package/dist/cjs/oem-qgqjl-modal.cjs.entry.js.map +1 -0
  43. package/dist/cjs/oem-qgqjl-modal.entry.cjs.js.map +1 -0
  44. package/dist/cjs/pcm-agents.cjs.js +1 -1
  45. package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js +4 -3
  46. package/dist/cjs/pcm-hr-chat-modal.cjs.entry.js.map +1 -1
  47. package/dist/cjs/pcm-hr-chat-modal.entry.cjs.js.map +1 -1
  48. package/dist/cjs/pcm-jlsx-modal.cjs.entry.js +27 -25
  49. package/dist/cjs/pcm-jlsx-modal.cjs.entry.js.map +1 -1
  50. package/dist/cjs/pcm-jlsx-modal.entry.cjs.js.map +1 -1
  51. package/dist/cjs/{sentry-reporter-B1jvgkp7.js → sentry-reporter-uulX7WVC.js} +5 -5
  52. package/dist/cjs/{sentry-reporter-B1jvgkp7.js.map → sentry-reporter-uulX7WVC.js.map} +1 -1
  53. package/dist/collection/components/oem-cast-modal/oem-cast-modal.css +6 -1
  54. package/dist/collection/components/oem-htws-modal/oem-htws-modal.js +24 -1
  55. package/dist/collection/components/oem-htws-modal/oem-htws-modal.js.map +1 -1
  56. package/dist/collection/components/oem-jlpp-modal/oem-jlpp-modal.js +1 -1
  57. package/dist/collection/components/oem-jlpp-modal/oem-jlpp-modal.js.map +1 -1
  58. package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js +1 -1
  59. package/dist/collection/components/oem-mnms-modal/oem-mnms-modal.js.map +1 -1
  60. package/dist/collection/components/oem-zygh-modal/oem-zygh-modal.js +24 -1
  61. package/dist/collection/components/oem-zygh-modal/oem-zygh-modal.js.map +1 -1
  62. package/dist/collection/utils/utils.js +4 -1
  63. package/dist/collection/utils/utils.js.map +1 -1
  64. package/dist/components/components-chat-message.js +1 -1
  65. package/dist/components/components-digital-human.js +1 -1
  66. package/dist/components/components-export-records-modal.js +1 -1
  67. package/dist/components/components-mobile-input-btn.js +1 -1
  68. package/dist/components/components-mobile-upload-btn.js +1 -1
  69. package/dist/components/components-oem-virtual-chat-modal.js +1 -1
  70. package/dist/components/components-position-selector.js +1 -1
  71. package/dist/components/components-thousand-resume-wrapper.js +1 -1
  72. package/dist/components/components-upload.js +1 -1
  73. package/dist/components/components-voice-input-btn.js +1 -1
  74. package/dist/components/index.js +1 -1
  75. package/dist/components/oem-cast-modal.js +1 -1
  76. package/dist/components/oem-cast-modal.js.map +1 -1
  77. package/dist/components/oem-htws-modal.js +11 -6
  78. package/dist/components/oem-htws-modal.js.map +1 -1
  79. package/dist/components/oem-jd-modal.js +5 -5
  80. package/dist/components/oem-jlpp-modal.js +8 -8
  81. package/dist/components/oem-jlpp-modal.js.map +1 -1
  82. package/dist/components/oem-jlsx-modal.js +5 -5
  83. package/dist/components/oem-jlzz-modal.js +5 -5
  84. package/dist/components/oem-mnct-modal.js +7 -7
  85. package/dist/components/oem-mnms-modal.js +9 -9
  86. package/dist/components/oem-mnms-modal.js.map +1 -1
  87. package/dist/components/oem-qgqjl-modal.js +9 -9
  88. package/dist/components/oem-zygh-modal.js +11 -6
  89. package/dist/components/oem-zygh-modal.js.map +1 -1
  90. package/dist/components/{p-C6gAMnwa.js → p-5bswLwh6.js} +3 -3
  91. package/dist/components/{p-C6gAMnwa.js.map → p-5bswLwh6.js.map} +1 -1
  92. package/dist/components/{p-fAgc1_6t.js → p-A7OBthUL.js} +4 -4
  93. package/dist/components/{p-fAgc1_6t.js.map → p-A7OBthUL.js.map} +1 -1
  94. package/dist/components/{p-B24U704n.js → p-BV5z8A4a.js} +3 -3
  95. package/dist/components/{p-B24U704n.js.map → p-BV5z8A4a.js.map} +1 -1
  96. package/dist/components/{p-CjhA27Iq.js → p-Co9TJcgO.js} +3 -3
  97. package/dist/components/{p-CjhA27Iq.js.map → p-Co9TJcgO.js.map} +1 -1
  98. package/dist/components/{p-D7D_3MQL.js → p-CzFTb8J3.js} +3 -3
  99. package/dist/components/{p-D7D_3MQL.js.map → p-CzFTb8J3.js.map} +1 -1
  100. package/dist/components/{p-Cc0Eazm9.js → p-D1MNPWYG.js} +3 -3
  101. package/dist/components/{p-Cc0Eazm9.js.map → p-D1MNPWYG.js.map} +1 -1
  102. package/dist/components/{p-BI0i2rY4.js → p-D1Zbs1E9.js} +3 -3
  103. package/dist/components/{p-BI0i2rY4.js.map → p-D1Zbs1E9.js.map} +1 -1
  104. package/dist/components/{p-C9XyS38z.js → p-DMcvouAq.js} +5 -5
  105. package/dist/components/{p-C9XyS38z.js.map → p-DMcvouAq.js.map} +1 -1
  106. package/dist/components/{p-0Ij65ybD.js → p-DUzMuUXg.js} +7 -4
  107. package/dist/components/p-DUzMuUXg.js.map +1 -0
  108. package/dist/components/{p-CzbmmB8j.js → p-DjY3Uc0V.js} +3 -3
  109. package/dist/components/{p-CzbmmB8j.js.map → p-DjY3Uc0V.js.map} +1 -1
  110. package/dist/components/{p-BR37xNkD.js → p-DoiGRCSv.js} +3 -3
  111. package/dist/components/{p-BR37xNkD.js.map → p-DoiGRCSv.js.map} +1 -1
  112. package/dist/components/{p-B5DJYdYb.js → p-JbxUsVe3.js} +3 -3
  113. package/dist/components/{p-B5DJYdYb.js.map → p-JbxUsVe3.js.map} +1 -1
  114. package/dist/components/{p-li4R8x26.js → p-PVcS8Z81.js} +3 -3
  115. package/dist/components/{p-li4R8x26.js.map → p-PVcS8Z81.js.map} +1 -1
  116. package/dist/components/{p-DhrczBoo.js → p-cML-tdcc.js} +3 -3
  117. package/dist/components/{p-DhrczBoo.js.map → p-cML-tdcc.js.map} +1 -1
  118. package/dist/components/pcm-1zhanshi-mnms-modal.js +5 -5
  119. package/dist/components/pcm-app-chat-modal.js +1 -1
  120. package/dist/components/pcm-ats-mnms-modal.js +5 -5
  121. package/dist/components/pcm-card.js +1 -1
  122. package/dist/components/pcm-hr-chat-modal.js +2 -2
  123. package/dist/components/pcm-htws-modal.js +8 -8
  124. package/dist/components/pcm-hyzj-modal.js +5 -5
  125. package/dist/components/pcm-jd-modal.js +6 -6
  126. package/dist/components/pcm-jlpp-modal.js +8 -8
  127. package/dist/components/pcm-jlsx-modal.js +5 -5
  128. package/dist/components/pcm-jlzz-modal.js +6 -6
  129. package/dist/components/pcm-mnct-modal.js +7 -7
  130. package/dist/components/pcm-mnms-modal.js +8 -8
  131. package/dist/components/pcm-mnms-zp-modal.js +8 -8
  132. package/dist/components/pcm-msbg-modal.js +5 -5
  133. package/dist/components/pcm-qgqjl-modal.js +9 -9
  134. package/dist/components/pcm-virtual-chat-modal.js +1 -1
  135. package/dist/components/pcm-zsk-chat-modal.js +2 -2
  136. package/dist/components/pcm-zygh-modal.js +7 -7
  137. package/dist/components/pcm-zygh-v2-modal.js +7 -7
  138. package/dist/esm/{components-chat-message_32.entry.js → components-chat-message_33.entry.js} +9961 -10929
  139. package/dist/esm/components-chat-message_33.entry.js.map +1 -0
  140. package/dist/esm/components-oem-virtual-chat-modal.entry.js +1827 -0
  141. package/dist/esm/components-oem-virtual-chat-modal.entry.js.map +1 -0
  142. package/dist/esm/config.store-C--BQ-cn.js +259 -0
  143. package/dist/esm/config.store-C--BQ-cn.js.map +1 -0
  144. package/dist/esm/{conversation-utils-BSUtuMqH.js → conversation-utils-DhbVyrpx.js} +4 -4
  145. package/dist/esm/{conversation-utils-BSUtuMqH.js.map → conversation-utils-DhbVyrpx.js.map} +1 -1
  146. package/dist/esm/{message-utils-BVjB8bxU.js → index-B_xjnWkF.js} +3 -23
  147. package/dist/esm/index-B_xjnWkF.js.map +1 -0
  148. package/dist/esm/{index-ffawiHP3.js → index-D8Ey1n8b.js} +11 -261
  149. package/dist/esm/index-D8Ey1n8b.js.map +1 -0
  150. package/dist/esm/{index-Bq0K-WqZ.js → index-DA8Myhft.js} +25 -29
  151. package/dist/esm/{index-Bq0K-WqZ.js.map → index-DA8Myhft.js.map} +1 -1
  152. package/dist/esm/index.js +3 -2
  153. package/dist/esm/index.js.map +1 -1
  154. package/dist/esm/loader.js +3 -3
  155. package/dist/esm/message-utils-DnoxSHNP.js +24 -0
  156. package/dist/esm/message-utils-DnoxSHNP.js.map +1 -0
  157. package/dist/esm/oem-cast-modal.entry.js +425 -0
  158. package/dist/esm/oem-cast-modal.entry.js.map +1 -0
  159. package/dist/esm/{pcm-htws-modal.entry.js → oem-htws-modal.entry.js} +140 -114
  160. package/dist/esm/oem-htws-modal.entry.js.map +1 -0
  161. package/dist/esm/{pcm-jd-modal.entry.js → oem-jd-modal.entry.js} +83 -376
  162. package/dist/esm/oem-jd-modal.entry.js.map +1 -0
  163. package/dist/esm/{pcm-zygh-modal.entry.js → oem-jlpp-modal.entry.js} +165 -101
  164. package/dist/esm/oem-jlpp-modal.entry.js.map +1 -0
  165. package/dist/esm/{pcm-jlzz-modal.entry.js → oem-jlzz-modal.entry.js} +16 -203
  166. package/dist/esm/{pcm-jlzz-modal.entry.js.map → oem-jlzz-modal.entry.js.map} +1 -1
  167. package/dist/esm/{pcm-jlpp-modal.entry.js → oem-mnct-modal.entry.js} +70 -97
  168. package/dist/esm/oem-mnct-modal.entry.js.map +1 -0
  169. package/dist/esm/{pcm-mnms-modal.entry.js → oem-mnms-modal.entry.js} +159 -43
  170. package/dist/esm/oem-mnms-modal.entry.js.map +1 -0
  171. package/dist/esm/{pcm-qgqjl-modal.entry.js → oem-qgqjl-modal.entry.js} +48 -18
  172. package/dist/esm/oem-qgqjl-modal.entry.js.map +1 -0
  173. package/dist/esm/pcm-agents.js +3 -3
  174. package/dist/esm/pcm-hr-chat-modal.entry.js +4 -3
  175. package/dist/esm/pcm-hr-chat-modal.entry.js.map +1 -1
  176. package/dist/esm/pcm-jlsx-modal.entry.js +6 -4
  177. package/dist/esm/pcm-jlsx-modal.entry.js.map +1 -1
  178. package/dist/esm/{sentry-reporter-q_g26pa7.js → sentry-reporter-st9SkiOU.js} +3 -3
  179. package/dist/esm/{sentry-reporter-q_g26pa7.js.map → sentry-reporter-st9SkiOU.js.map} +1 -1
  180. package/dist/pcm-agents/components-oem-virtual-chat-modal.entry.esm.js.map +1 -0
  181. package/dist/pcm-agents/index.esm.js +1 -1
  182. package/dist/pcm-agents/index.esm.js.map +1 -1
  183. package/dist/pcm-agents/oem-cast-modal.entry.esm.js.map +1 -0
  184. package/dist/pcm-agents/oem-htws-modal.entry.esm.js.map +1 -0
  185. package/dist/pcm-agents/oem-jd-modal.entry.esm.js.map +1 -0
  186. package/dist/pcm-agents/oem-jlpp-modal.entry.esm.js.map +1 -0
  187. package/dist/{cjs/pcm-jlzz-modal.entry.cjs.js.map → pcm-agents/oem-jlzz-modal.entry.esm.js.map} +1 -1
  188. package/dist/pcm-agents/oem-mnct-modal.entry.esm.js.map +1 -0
  189. package/dist/pcm-agents/oem-mnms-modal.entry.esm.js.map +1 -0
  190. package/dist/pcm-agents/oem-qgqjl-modal.entry.esm.js.map +1 -0
  191. package/dist/pcm-agents/p-030c829e.entry.js +2 -0
  192. package/dist/pcm-agents/p-030c829e.entry.js.map +1 -0
  193. package/dist/pcm-agents/p-11426012.entry.js +8 -0
  194. package/dist/pcm-agents/p-11426012.entry.js.map +1 -0
  195. package/dist/pcm-agents/p-1fdb05d7.entry.js +2 -0
  196. package/dist/pcm-agents/p-1fdb05d7.entry.js.map +1 -0
  197. package/dist/pcm-agents/p-30b6a88d.entry.js +2 -0
  198. package/dist/pcm-agents/p-30b6a88d.entry.js.map +1 -0
  199. package/dist/pcm-agents/p-4732c615.entry.js +2 -0
  200. package/dist/pcm-agents/{p-340ef557.entry.js.map → p-4732c615.entry.js.map} +1 -1
  201. package/dist/pcm-agents/p-646b6128.entry.js +2 -0
  202. package/dist/pcm-agents/{p-b778f4cc.entry.js.map → p-646b6128.entry.js.map} +1 -1
  203. package/dist/pcm-agents/p-66cb43c9.entry.js +2 -0
  204. package/dist/pcm-agents/p-66cb43c9.entry.js.map +1 -0
  205. package/dist/pcm-agents/p-75efc351.entry.js +2 -0
  206. package/dist/pcm-agents/p-75efc351.entry.js.map +1 -0
  207. package/dist/pcm-agents/{p-BrEqs5mi.js → p-B23366TU.js} +2 -2
  208. package/dist/pcm-agents/{p-BrEqs5mi.js.map → p-B23366TU.js.map} +1 -1
  209. package/dist/pcm-agents/p-B3osOuvR.js +2 -0
  210. package/dist/pcm-agents/p-B3osOuvR.js.map +1 -0
  211. package/dist/pcm-agents/{p-BVjB8bxU.js → p-B_xjnWkF.js} +2 -2
  212. package/dist/pcm-agents/p-B_xjnWkF.js.map +1 -0
  213. package/dist/pcm-agents/p-C7m_4Gmk.js +2 -0
  214. package/dist/pcm-agents/p-C7m_4Gmk.js.map +1 -0
  215. package/dist/pcm-agents/{p-Oknq-jtc.js → p-CXe7oxeN.js} +2 -2
  216. package/dist/pcm-agents/{p-Oknq-jtc.js.map → p-CXe7oxeN.js.map} +1 -1
  217. package/dist/pcm-agents/{p-Bq0K-WqZ.js → p-DA8Myhft.js} +2 -2
  218. package/dist/pcm-agents/{p-Bq0K-WqZ.js.map → p-DA8Myhft.js.map} +1 -1
  219. package/dist/pcm-agents/p-DnoxSHNP.js +2 -0
  220. package/dist/pcm-agents/p-DnoxSHNP.js.map +1 -0
  221. package/dist/pcm-agents/p-b071ed75.entry.js +2 -0
  222. package/dist/pcm-agents/p-b071ed75.entry.js.map +1 -0
  223. package/dist/pcm-agents/p-b3ff7816.entry.js +2 -0
  224. package/dist/{cjs/pcm-qgqjl-modal.cjs.entry.js.map → pcm-agents/p-b3ff7816.entry.js.map} +1 -1
  225. package/dist/pcm-agents/p-c2c3e968.entry.js +2 -0
  226. package/dist/pcm-agents/p-c2c3e968.entry.js.map +1 -0
  227. package/dist/pcm-agents/p-f92d70a8.entry.js +2 -0
  228. package/dist/pcm-agents/{p-be4fdac7.entry.js.map → p-f92d70a8.entry.js.map} +1 -1
  229. package/dist/pcm-agents/pcm-agents.esm.js +1 -1
  230. package/dist/pcm-agents/pcm-hr-chat-modal.entry.esm.js.map +1 -1
  231. package/dist/pcm-agents/pcm-jlsx-modal.entry.esm.js.map +1 -1
  232. package/dist/types/components/oem-htws-modal/oem-htws-modal.d.ts +4 -0
  233. package/dist/types/components/oem-zygh-modal/oem-zygh-modal.d.ts +4 -0
  234. package/dist/types/components.d.ts +16 -0
  235. package/dist/types/utils/utils.d.ts +2 -1
  236. package/package.json +1 -1
  237. package/dist/cjs/components-chat-message_32.cjs.entry.js.map +0 -1
  238. package/dist/cjs/index-BPngQTFc.js.map +0 -1
  239. package/dist/cjs/message-utils-DbTqMOA1.js.map +0 -1
  240. package/dist/cjs/pcm-ats-mnms-modal.cjs.entry.js +0 -238
  241. package/dist/cjs/pcm-ats-mnms-modal.cjs.entry.js.map +0 -1
  242. package/dist/cjs/pcm-ats-mnms-modal.entry.cjs.js.map +0 -1
  243. package/dist/cjs/pcm-htws-modal.cjs.entry.js.map +0 -1
  244. package/dist/cjs/pcm-htws-modal.entry.cjs.js.map +0 -1
  245. package/dist/cjs/pcm-jd-modal.cjs.entry.js.map +0 -1
  246. package/dist/cjs/pcm-jd-modal.entry.cjs.js.map +0 -1
  247. package/dist/cjs/pcm-jlpp-modal.cjs.entry.js.map +0 -1
  248. package/dist/cjs/pcm-jlpp-modal.entry.cjs.js.map +0 -1
  249. package/dist/cjs/pcm-jlzz-modal.cjs.entry.js.map +0 -1
  250. package/dist/cjs/pcm-mnct-modal.cjs.entry.js +0 -457
  251. package/dist/cjs/pcm-mnct-modal.cjs.entry.js.map +0 -1
  252. package/dist/cjs/pcm-mnct-modal.entry.cjs.js.map +0 -1
  253. package/dist/cjs/pcm-mnms-modal.cjs.entry.js.map +0 -1
  254. package/dist/cjs/pcm-mnms-modal.entry.cjs.js.map +0 -1
  255. package/dist/cjs/pcm-qgqjl-modal.entry.cjs.js.map +0 -1
  256. package/dist/cjs/pcm-zygh-modal.cjs.entry.js.map +0 -1
  257. package/dist/cjs/pcm-zygh-modal.entry.cjs.js.map +0 -1
  258. package/dist/cjs/pcm-zygh-v2-modal.cjs.entry.js +0 -332
  259. package/dist/cjs/pcm-zygh-v2-modal.cjs.entry.js.map +0 -1
  260. package/dist/cjs/pcm-zygh-v2-modal.entry.cjs.js.map +0 -1
  261. package/dist/components/p-0Ij65ybD.js.map +0 -1
  262. package/dist/esm/components-chat-message_32.entry.js.map +0 -1
  263. package/dist/esm/index-ffawiHP3.js.map +0 -1
  264. package/dist/esm/message-utils-BVjB8bxU.js.map +0 -1
  265. package/dist/esm/pcm-ats-mnms-modal.entry.js +0 -236
  266. package/dist/esm/pcm-ats-mnms-modal.entry.js.map +0 -1
  267. package/dist/esm/pcm-htws-modal.entry.js.map +0 -1
  268. package/dist/esm/pcm-jd-modal.entry.js.map +0 -1
  269. package/dist/esm/pcm-jlpp-modal.entry.js.map +0 -1
  270. package/dist/esm/pcm-mnct-modal.entry.js +0 -455
  271. package/dist/esm/pcm-mnct-modal.entry.js.map +0 -1
  272. package/dist/esm/pcm-mnms-modal.entry.js.map +0 -1
  273. package/dist/esm/pcm-qgqjl-modal.entry.js.map +0 -1
  274. package/dist/esm/pcm-zygh-modal.entry.js.map +0 -1
  275. package/dist/esm/pcm-zygh-v2-modal.entry.js +0 -330
  276. package/dist/esm/pcm-zygh-v2-modal.entry.js.map +0 -1
  277. package/dist/pcm-agents/p-06359d3b.entry.js +0 -2
  278. package/dist/pcm-agents/p-06359d3b.entry.js.map +0 -1
  279. package/dist/pcm-agents/p-340ef557.entry.js +0 -2
  280. package/dist/pcm-agents/p-4facfdd8.entry.js +0 -2
  281. package/dist/pcm-agents/p-4facfdd8.entry.js.map +0 -1
  282. package/dist/pcm-agents/p-60c7f37f.entry.js +0 -2
  283. package/dist/pcm-agents/p-60c7f37f.entry.js.map +0 -1
  284. package/dist/pcm-agents/p-7e68b5b1.entry.js +0 -8
  285. package/dist/pcm-agents/p-7e68b5b1.entry.js.map +0 -1
  286. package/dist/pcm-agents/p-BCHVxmVd.js +0 -2
  287. package/dist/pcm-agents/p-BCHVxmVd.js.map +0 -1
  288. package/dist/pcm-agents/p-BVjB8bxU.js.map +0 -1
  289. package/dist/pcm-agents/p-ae371752.entry.js +0 -2
  290. package/dist/pcm-agents/p-ae371752.entry.js.map +0 -1
  291. package/dist/pcm-agents/p-af179f1a.entry.js +0 -2
  292. package/dist/pcm-agents/p-af179f1a.entry.js.map +0 -1
  293. package/dist/pcm-agents/p-b778f4cc.entry.js +0 -2
  294. package/dist/pcm-agents/p-bbb30b82.entry.js +0 -2
  295. package/dist/pcm-agents/p-bbb30b82.entry.js.map +0 -1
  296. package/dist/pcm-agents/p-be4fdac7.entry.js +0 -2
  297. package/dist/pcm-agents/p-c053e88e.entry.js +0 -2
  298. package/dist/pcm-agents/p-c053e88e.entry.js.map +0 -1
  299. package/dist/pcm-agents/p-d2905eef.entry.js +0 -2
  300. package/dist/pcm-agents/p-d2905eef.entry.js.map +0 -1
  301. package/dist/pcm-agents/p-eadc6905.entry.js +0 -2
  302. package/dist/pcm-agents/p-eadc6905.entry.js.map +0 -1
  303. package/dist/pcm-agents/pcm-ats-mnms-modal.entry.esm.js.map +0 -1
  304. package/dist/pcm-agents/pcm-htws-modal.entry.esm.js.map +0 -1
  305. package/dist/pcm-agents/pcm-jd-modal.entry.esm.js.map +0 -1
  306. package/dist/pcm-agents/pcm-jlpp-modal.entry.esm.js.map +0 -1
  307. package/dist/pcm-agents/pcm-mnct-modal.entry.esm.js.map +0 -1
  308. package/dist/pcm-agents/pcm-mnms-modal.entry.esm.js.map +0 -1
  309. package/dist/pcm-agents/pcm-qgqjl-modal.entry.esm.js.map +0 -1
  310. package/dist/pcm-agents/pcm-zygh-modal.entry.esm.js.map +0 -1
  311. package/dist/pcm-agents/pcm-zygh-v2-modal.entry.esm.js.map +0 -1
@@ -1,227 +1,17 @@
1
- import { r as registerInstance, c as createEvent, g as getElement, h } from './index-Bq0K-WqZ.js';
2
- import { a as authStore, c as configStore, v as verifyApiKey, s as sendHttpRequest } from './index-ffawiHP3.js';
1
+ import { r as registerInstance, c as createEvent, a as getElement, h } from './index-DA8Myhft.js';
2
+ import { a as authStore, v as verifyApiKey, s as sendHttpRequest } from './index-D8Ey1n8b.js';
3
3
  import { E as ErrorEventBus } from './error-event-C0FYX2-Z.js';
4
- import { S as SentryReporter } from './sentry-reporter-q_g26pa7.js';
5
- import { f as fetchHistoryConversations } from './conversation-utils-BSUtuMqH.js';
4
+ import { c as configStore } from './config.store-C--BQ-cn.js';
5
+ import { S as SentryReporter } from './sentry-reporter-st9SkiOU.js';
6
6
  import './exports-Bs-zO1WZ.js';
7
7
 
8
- const modalTitle$1 = "职位生成";
9
- const jobRequirementInfo$1 = "职位需求信息";
10
- const toggleInput$1 = "切换输入";
11
- const jobName$1 = "职位名称";
12
- const jobNamePlaceholder$1 = "请输入职位名称";
13
- const required$1 = "*";
14
- const nextStep$1 = "下一步";
15
- const prevStep$1 = "上一步";
16
- const generateJD$1 = "生成JD";
17
- const processing$1 = "处理中...";
18
- const aiAnalyzing$1 = "AI 正在分析职位信息";
19
- const pleaseWait$1 = "请稍候...";
20
- const aiRecommendedTags$1 = "AI 推荐标签";
21
- const salaryRange$1 = "月薪范围";
22
- const benefits$1 = "福利待遇";
23
- const education$1 = "学历要求";
24
- const jdInfo$1 = "JD信息";
25
- const jdInfoPlaceholder$1 = "请按照下方提示格式输入职位需求信息";
26
- const inputGuideTitle$1 = "输入格式参考:";
27
- const inputGuide$1 = {
28
- jobTitle: "• 职位名称 - 明确定义职位的名称",
29
- salary: "• 薪资范围 - 明确该岗位的月薪或年薪",
30
- benefits: "• 福利待遇 - 该职位的福利待遇,如:五险一金、年休假、下午茶等",
31
- responsibilities: "• 工作职责 - 描述工作内容",
32
- qualifications: "• 任职资格 - 包括学历、经验和技术要求",
33
- location: "• 工作地点与性质 - 全职/兼职、远程/办公室"
34
- };
35
- const aiDisclaimer$1 = "所有内容均由AI生成仅供参考";
36
- const beianLabel$1 = "中央网信办生成式人工智能服务备案号";
37
- const beianNumber$1 = "Hunan-PinCaiMao-202412310003";
38
- const loadingConversation$1 = "正在加载对话...";
39
- const salaryRanges$1 = {
40
- "3k_5k": "3k-5k",
41
- "5k_8k": "5k-8k",
42
- "8k_12k": "8k-12k",
43
- "12k_15k": "12k-15k",
44
- "15k_20k": "15k-20k",
45
- above_20k: "20k以上"
46
- };
47
- const benefitsList$1 = {
48
- insurance: "五险一金",
49
- bonus: "年终奖",
50
- paidLeave: "带薪年假",
51
- overtimePay: "加班补贴",
52
- mealAllowance: "餐补",
53
- transportAllowance: "交通补贴",
54
- holidayBenefits: "节日福利",
55
- teamBuilding: "团队建设"
56
- };
57
- const educationList$1 = {
58
- college: "大专",
59
- bachelor: "本科",
60
- master: "硕士",
61
- doctor: "博士",
62
- noLimit: "学历不限"
63
- };
64
- const historyConversations$1 = "历史会话";
65
- const history$1 = {
66
- loading: "加载中...",
67
- noHistory: "暂无历史会话"
68
- };
69
- const alerts$1 = {
70
- enterJobName: "请输入职位名称",
71
- enterJobInfo: "请输入职位需求信息"
72
- };
73
- const jobInfoFields$1 = {
74
- jobName: "职位名称",
75
- salaryRange: "薪资范围",
76
- benefits: "福利待遇",
77
- education: "学历要求"
78
- };
79
- var stringsZh = {
80
- modalTitle: modalTitle$1,
81
- jobRequirementInfo: jobRequirementInfo$1,
82
- toggleInput: toggleInput$1,
83
- jobName: jobName$1,
84
- jobNamePlaceholder: jobNamePlaceholder$1,
85
- required: required$1,
86
- nextStep: nextStep$1,
87
- prevStep: prevStep$1,
88
- generateJD: generateJD$1,
89
- processing: processing$1,
90
- aiAnalyzing: aiAnalyzing$1,
91
- pleaseWait: pleaseWait$1,
92
- aiRecommendedTags: aiRecommendedTags$1,
93
- salaryRange: salaryRange$1,
94
- benefits: benefits$1,
95
- education: education$1,
96
- jdInfo: jdInfo$1,
97
- jdInfoPlaceholder: jdInfoPlaceholder$1,
98
- inputGuideTitle: inputGuideTitle$1,
99
- inputGuide: inputGuide$1,
100
- aiDisclaimer: aiDisclaimer$1,
101
- beianLabel: beianLabel$1,
102
- beianNumber: beianNumber$1,
103
- loadingConversation: loadingConversation$1,
104
- salaryRanges: salaryRanges$1,
105
- benefitsList: benefitsList$1,
106
- educationList: educationList$1,
107
- historyConversations: historyConversations$1,
108
- history: history$1,
109
- alerts: alerts$1,
110
- jobInfoFields: jobInfoFields$1
111
- };
112
-
113
- const modalTitle = "Job Description Generator";
114
- const jobRequirementInfo = "Job Requirement Information";
115
- const toggleInput = "Toggle Input";
116
- const jobName = "Job Title";
117
- const jobNamePlaceholder = "Please enter job title";
118
- const required = "*";
119
- const nextStep = "Next Step";
120
- const prevStep = "Previous Step";
121
- const generateJD = "Generate JD";
122
- const processing = "Processing...";
123
- const aiAnalyzing = "AI is analyzing job information";
124
- const pleaseWait = "Please wait...";
125
- const aiRecommendedTags = "AI Recommended Tags";
126
- const salaryRange = "Monthly Salary Range";
127
- const benefits = "Benefits";
128
- const education = "Education Requirements";
129
- const jdInfo = "JD Information";
130
- const jdInfoPlaceholder = "Please enter job requirement information according to the format below";
131
- const inputGuideTitle = "Input Format Reference:";
132
- const inputGuide = {
133
- jobTitle: "• Job Title - Clearly define the position name",
134
- salary: "• Salary Range - Specify monthly or annual salary for this position",
135
- benefits: "• Benefits - Benefits for this position, such as: five insurances and one fund, annual leave, afternoon tea, etc.",
136
- responsibilities: "• Job Responsibilities - Describe the work content",
137
- qualifications: "• Qualifications - Including education, experience and technical requirements",
138
- location: "• Location & Nature - Full-time/Part-time, Remote/Office"
139
- };
140
- const aiDisclaimer = "All content is AI-generated and for reference only";
141
- const beianLabel = "Cyberspace Administration of China Generative AI Service Registration Number";
142
- const beianNumber = "Hunan-PinCaiMao-202412310003";
143
- const loadingConversation = "Loading conversation...";
144
- const salaryRanges = {
145
- "3k_5k": "3k-5k",
146
- "5k_8k": "5k-8k",
147
- "8k_12k": "8k-12k",
148
- "12k_15k": "12k-15k",
149
- "15k_20k": "15k-20k",
150
- above_20k: "20k+"
151
- };
152
- const benefitsList = {
153
- insurance: "Five insurances and one fund",
154
- bonus: "Year-end bonus",
155
- paidLeave: "Paid annual leave",
156
- overtimePay: "Overtime allowance",
157
- mealAllowance: "Meal allowance",
158
- transportAllowance: "Transport allowance",
159
- holidayBenefits: "Holiday benefits",
160
- teamBuilding: "Team building"
161
- };
162
- const educationList = {
163
- college: "College",
164
- bachelor: "Bachelor",
165
- master: "Master",
166
- doctor: "Doctor",
167
- noLimit: "No limit"
168
- };
169
- const historyConversations = "History";
170
- const history = {
171
- loading: "Loading...",
172
- noHistory: "No history conversations"
173
- };
174
- const alerts = {
175
- enterJobName: "Please enter job title",
176
- enterJobInfo: "Please enter job requirement information"
177
- };
178
- const jobInfoFields = {
179
- jobName: "Job Title",
180
- salaryRange: "Salary Range",
181
- benefits: "Benefits",
182
- education: "Education Requirements"
183
- };
184
- var stringsEn = {
185
- modalTitle: modalTitle,
186
- jobRequirementInfo: jobRequirementInfo,
187
- toggleInput: toggleInput,
188
- jobName: jobName,
189
- jobNamePlaceholder: jobNamePlaceholder,
190
- required: required,
191
- nextStep: nextStep,
192
- prevStep: prevStep,
193
- generateJD: generateJD,
194
- processing: processing,
195
- aiAnalyzing: aiAnalyzing,
196
- pleaseWait: pleaseWait,
197
- aiRecommendedTags: aiRecommendedTags,
198
- salaryRange: salaryRange,
199
- benefits: benefits,
200
- education: education,
201
- jdInfo: jdInfo,
202
- jdInfoPlaceholder: jdInfoPlaceholder,
203
- inputGuideTitle: inputGuideTitle,
204
- inputGuide: inputGuide,
205
- aiDisclaimer: aiDisclaimer,
206
- beianLabel: beianLabel,
207
- beianNumber: beianNumber,
208
- loadingConversation: loadingConversation,
209
- salaryRanges: salaryRanges,
210
- benefitsList: benefitsList,
211
- educationList: educationList,
212
- historyConversations: historyConversations,
213
- history: history,
214
- alerts: alerts,
215
- jobInfoFields: jobInfoFields
216
- };
217
-
218
- const pcmJdModalCss = ".input-mode-toggle{display:flex;align-items:center;margin-bottom:16px}.input-mode-toggle span{color:#333;margin-right:12px}.toggle-button{display:flex;align-items:center;background:none;border:none;color:#2E6EDF;cursor:pointer;font-size:14px;padding:4px 8px}.toggle-button svg{margin-right:4px}.toggle-button:disabled{opacity:0.5;cursor:not-allowed}.structured-input{width:100%}.job-name-input{margin-bottom:20px}.job-name-input label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-name-input input{width:95%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#f9f9f9}.job-name-input input:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.required{color:#f56c6c}.button-container{display:flex;justify-content:center;margin-top:24px;gap:12px;max-width:100%;box-sizing:border-box;flex-wrap:wrap}.next-button{background-color:#2E6EDF;color:white}.next-button:hover{background-color:#2457b8}.next-button:disabled{background-color:#a0c0e8;cursor:not-allowed}.prev-button{background-color:#f0f0f0 !important;color:#333 !important}.prev-button:hover{background-color:#e0e0e0}.tag-selection{width:100%}.tag-selection-content{width:100%}.section-title{font-weight:600;color:#333;margin-bottom:12px;font-size:16px}.ai-tags-section,.basic-tags-section{margin-bottom:24px}.tag-group{margin-bottom:16px}.tag-title{color:#555;margin-bottom:8px;font-weight:500}.tag-container{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;box-sizing:border-box}.tag{display:inline-flex;align-items:center;padding:6px 12px;border-radius:4px;background-color:#f5f5f5;border:1px solid #e0e0e0;color:#333;font-size:13px;cursor:pointer;transition:all 0.2s;max-width:100%;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag:hover{background-color:#e8e8e8}.tag-selected{background-color:#e6f0ff;border-color:#2E6EDF;color:#2E6EDF}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 0;background-color:#f9f9f9;border-radius:8px;margin:20px 0;max-width:100%;box-sizing:border-box}.loading-spinner{width:40px;height:40px;border:3px solid rgba(46, 110, 223, 0.2);border-radius:50%;border-top-color:#2E6EDF;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{text-align:center;color:#333;font-weight:500}.loading-subtext{color:#888;font-size:14px;margin-top:4px}.free-input{width:100%}.textarea-container{margin-bottom:16px}.textarea-container label{display:block;margin-bottom:8px;font-weight:500;color:#333}.textarea-container textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;background-color:#f9f9f9;min-height:150px;width:100%;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.textarea-container textarea:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.voice-textarea-wrapper{position:relative}.voice-textarea-wrapper textarea{padding-bottom:52px}.voice-input-entry{position:absolute;right:12px;bottom:32px;z-index:1}.input-guide{background-color:#f5f7fa;border-radius:4px;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.guide-title{font-weight:500;color:#333;margin-bottom:8px}.guide-content{color:#666;font-size:13px;max-width:100%;word-wrap:break-word}.guide-content div{margin-bottom:4px}@media (max-width: 768px){.tag-container{gap:7px}.tag{padding:4px 8px;font-size:12px}}@media (max-width: 480px){.button-container{flex-direction:column;align-items:center}.next-button,.prev-button,.submit-button{width:100%;margin-bottom:8px}.tag{max-width:calc(50% - 8px)}}.tag-selection,.tag-selection-content,.ai-tags-section,.basic-tags-section,.structured-input,.free-input{max-width:100%;box-sizing:border-box}";
8
+ const oemJdModalCss = ".input-mode-toggle{display:flex;align-items:center;margin-bottom:16px}.input-mode-toggle span{color:#333;margin-right:12px}.toggle-button{display:flex;align-items:center;background:none;border:none;color:#2E6EDF;cursor:pointer;font-size:14px;padding:4px 8px}.toggle-button svg{margin-right:4px}.toggle-button:disabled{opacity:0.5;cursor:not-allowed}.structured-input{width:100%}.job-name-input{margin-bottom:20px}.job-name-input label{display:block;margin-bottom:8px;font-weight:500;color:#333}.job-name-input input{width:95%;padding:10px 12px;border:1px solid #ddd;border-radius:4px;font-size:14px;background-color:#f9f9f9}.job-name-input input:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.required{color:#f56c6c}.button-container{display:flex;justify-content:center;margin-top:24px;gap:12px;max-width:100%;box-sizing:border-box;flex-wrap:wrap}.next-button{background-color:#2E6EDF;color:white}.next-button:hover{background-color:#2457b8}.next-button:disabled{background-color:#a0c0e8;cursor:not-allowed}.prev-button{background-color:#f0f0f0 !important;color:#333 !important}.prev-button:hover{background-color:#e0e0e0}.tag-selection{width:100%}.tag-selection-content{width:100%}.section-title{font-weight:600;color:#333;margin-bottom:12px;font-size:16px}.ai-tags-section,.basic-tags-section{margin-bottom:24px}.tag-group{margin-bottom:16px}.tag-title{color:#555;margin-bottom:8px;font-weight:500}.tag-container{display:flex;flex-wrap:wrap;gap:8px;max-width:100%;box-sizing:border-box}.tag{display:inline-flex;align-items:center;padding:6px 12px;border-radius:4px;background-color:#f5f5f5;border:1px solid #e0e0e0;color:#333;font-size:13px;cursor:pointer;transition:all 0.2s;max-width:100%;box-sizing:border-box;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}.tag:hover{background-color:#e8e8e8}.tag-selected{background-color:#e6f0ff;border-color:#2E6EDF;color:#2E6EDF}.loading-container{display:flex;flex-direction:column;align-items:center;justify-content:center;padding:40px 0;background-color:#f9f9f9;border-radius:8px;margin:20px 0;max-width:100%;box-sizing:border-box}.loading-spinner{width:40px;height:40px;border:3px solid rgba(46, 110, 223, 0.2);border-radius:50%;border-top-color:#2E6EDF;animation:spin 1s linear infinite;margin-bottom:16px}@keyframes spin{to{transform:rotate(360deg)}}.loading-text{text-align:center;color:#333;font-weight:500}.loading-subtext{color:#888;font-size:14px;margin-top:4px}.free-input{width:100%}.textarea-container{margin-bottom:16px}.textarea-container label{display:block;margin-bottom:8px;font-weight:500;color:#333}.textarea-container textarea{border:1px solid #ddd;border-radius:4px;font-size:14px;resize:vertical;background-color:#f9f9f9;min-height:150px;width:100%;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.textarea-container textarea:focus{outline:none;border-color:#2E6EDF;box-shadow:0 0 0 2px rgba(46, 110, 223, 0.2)}.voice-textarea-wrapper{position:relative}.voice-textarea-wrapper textarea{padding-bottom:52px}.voice-input-entry{position:absolute;right:12px;bottom:32px;z-index:1}.input-guide{background-color:#f5f7fa;border-radius:4px;padding:12px 16px;margin-bottom:20px;max-width:100%;box-sizing:border-box;word-wrap:break-word}.guide-title{font-weight:500;color:#333;margin-bottom:8px}.guide-content{color:#666;font-size:13px;max-width:100%;word-wrap:break-word}.guide-content div{margin-bottom:4px}@media (max-width: 768px){.tag-container{gap:7px}.tag{padding:4px 8px;font-size:12px}}@media (max-width: 480px){.button-container{flex-direction:column;align-items:center}.next-button,.prev-button,.submit-button{width:100%;margin-bottom:8px}.tag{max-width:calc(50% - 8px)}}.tag-selection,.tag-selection-content,.ai-tags-section,.basic-tags-section,.structured-input,.free-input{max-width:100%;box-sizing:border-box}";
219
9
 
220
10
  const globalCss = ".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}";
221
11
 
222
12
  const hostCss = ":host{font-size:16px;font-family:-apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Open Sans', 'Helvetica Neue', sans-serif;font-weight:normal;font-style:normal;font-variant:normal;line-height:1.5;letter-spacing:normal;word-spacing:normal;color:#333;text-align:left;text-indent:0;text-transform:none;white-space:normal;word-wrap:normal;word-break:normal;visibility:visible;list-style:none;list-style-image:none;list-style-position:outside;list-style-type:disc;border-collapse:separate;border-spacing:0;caption-side:top;empty-cells:show;table-layout:auto;quotes:auto;cursor:auto;direction:ltr;orphans:2;widows:2;page-break-inside:auto;text-decoration:none;text-shadow:none;box-sizing:border-box;writing-mode:horizontal-tb;text-orientation:mixed}";
223
13
 
224
- const PcmJdModal = class {
14
+ const OemJdModal = class {
225
15
  constructor(hostRef) {
226
16
  registerInstance(this, hostRef);
227
17
  this.modalClosed = createEvent(this, "modalClosed");
@@ -235,10 +25,6 @@ const PcmJdModal = class {
235
25
  * 模态框标题
236
26
  */
237
27
  modalTitle = '职位生成';
238
- /**
239
- * 语言设置
240
- */
241
- locale = 'zh';
242
28
  /**
243
29
  * SDK鉴权密钥
244
30
  */
@@ -288,11 +74,7 @@ const PcmJdModal = class {
288
74
  */
289
75
  showWorkspaceHistory = false;
290
76
  /**
291
- * 是否在上传界面显示历史会话按钮
292
- */
293
- showInputHistory = false;
294
- /**
295
- * 是否显示”保存职位”按钮(仅JD助手智能体生效)
77
+ * 是否显示“保存职位”按钮(仅JD助手智能体生效)
296
78
  */
297
79
  showSaveJdButton = false;
298
80
  /**
@@ -326,15 +108,7 @@ const PcmJdModal = class {
326
108
  */
327
109
  filePreviewMode = 'drawer';
328
110
  showChatModal = false;
329
- isHistoryDrawerOpen = false;
330
- historyConversations = [];
331
- isLoadingConversations = false;
332
- historyConversationCursorStack = [''];
333
- historyConversationPageIndex = 0;
334
- hasMoreHistoryConversations = false;
335
111
  get hostElement() { return getElement(this); }
336
- // 国际化字符串
337
- strings;
338
112
  // 输入模式:structured(点选模式) 或 free(表单模式)
339
113
  inputMode = 'structured';
340
114
  // 步骤:input(输入职位名称) 或 review(选择标签)
@@ -363,16 +137,46 @@ const PcmJdModal = class {
363
137
  };
364
138
  tokenInvalidListener;
365
139
  removeErrorListener;
366
- _historyConversationPageSize = 20;
367
140
  handleTokenChange(newToken) {
368
141
  // 当传入的 token 变化时,更新 authStore 中的 token
369
142
  if (newToken && newToken !== authStore.getToken()) {
370
143
  authStore.setToken(newToken);
371
144
  }
372
145
  }
373
- async componentWillLoad() {
374
- // 加载国际化字符串
375
- this.strings = this.locale === 'en' ? stringsEn : stringsZh;
146
+ async handleIsOpenChange(newValue) {
147
+ if (!newValue) {
148
+ // 重置状态
149
+ this.showChatModal = false;
150
+ this.jobDescription = '';
151
+ this.jobName = '';
152
+ this.freeInputText = '';
153
+ this.isVoiceInputActive = false;
154
+ this.step = 'input';
155
+ this.inputMode = 'structured';
156
+ this.tagGroups = [];
157
+ this.shuffledTagGroups = [];
158
+ this.selectedAITags = {};
159
+ this.selectedTags = {
160
+ salary: '',
161
+ benefits: [],
162
+ education: ''
163
+ };
164
+ }
165
+ else {
166
+ if (this.customInputs && this.customInputs.job_info) {
167
+ this.jobDescription = this.customInputs.job_info;
168
+ // 如果有 job_info,直接切换到自由输入模式并填充内容
169
+ this.inputMode = 'free';
170
+ this.freeInputText = this.customInputs.job_info;
171
+ }
172
+ await verifyApiKey(this.token);
173
+ if (this.conversationId) {
174
+ // 如果有会话ID,直接显示聊天模态框
175
+ this.showChatModal = true;
176
+ }
177
+ }
178
+ }
179
+ componentWillLoad() {
376
180
  // 将 zIndex 存入配置缓存
377
181
  if (this.zIndex) {
378
182
  configStore.setItem('modal-zIndex', this.zIndex);
@@ -380,7 +184,6 @@ const PcmJdModal = class {
380
184
  if (this.token) {
381
185
  authStore.setToken(this.token);
382
186
  }
383
- verifyApiKey(this.token);
384
187
  // 添加全局token无效事件监听器
385
188
  this.tokenInvalidListener = () => {
386
189
  this.tokenInvalid.emit();
@@ -400,85 +203,36 @@ const PcmJdModal = class {
400
203
  }
401
204
  }
402
205
  // 薪资范围选项
403
- getSalaryRanges() {
404
- return [
405
- { text: this.strings.salaryRanges['3k_5k'], value: '3k_5k' },
406
- { text: this.strings.salaryRanges['5k_8k'], value: '5k_8k' },
407
- { text: this.strings.salaryRanges['8k_12k'], value: '8k_12k' },
408
- { text: this.strings.salaryRanges['12k_15k'], value: '12k_15k' },
409
- { text: this.strings.salaryRanges['15k_20k'], value: '15k_20k' },
410
- { text: this.strings.salaryRanges.above_20k, value: 'above_20k' },
411
- ];
412
- }
206
+ salaryRanges = [
207
+ { text: '3k-5k', value: '3k_5k' },
208
+ { text: '5k-8k', value: '5k_8k' },
209
+ { text: '8k-12k', value: '8k_12k' },
210
+ { text: '12k-15k', value: '12k_15k' },
211
+ { text: '15k-20k', value: '15k_20k' },
212
+ { text: '20k以上', value: 'above_20k' },
213
+ ];
413
214
  // 福利待遇选项
414
- getBenefits() {
415
- return [
416
- { text: this.strings.benefitsList.insurance, value: '五险一金' },
417
- { text: this.strings.benefitsList.bonus, value: '年终奖' },
418
- { text: this.strings.benefitsList.paidLeave, value: '带薪年假' },
419
- { text: this.strings.benefitsList.overtimePay, value: '加班补贴' },
420
- { text: this.strings.benefitsList.mealAllowance, value: '餐补' },
421
- { text: this.strings.benefitsList.transportAllowance, value: '交通补贴' },
422
- { text: this.strings.benefitsList.holidayBenefits, value: '节日福利' },
423
- { text: this.strings.benefitsList.teamBuilding, value: '团队建设' },
424
- ];
425
- }
215
+ benefits = [
216
+ { text: '五险一金', value: '五险一金' },
217
+ { text: '年终奖', value: '年终奖' },
218
+ { text: '带薪年假', value: '带薪年假' },
219
+ { text: '加班补贴', value: '加班补贴' },
220
+ { text: '餐补', value: '餐补' },
221
+ { text: '交通补贴', value: '交通补贴' },
222
+ { text: '节日福利', value: '节日福利' },
223
+ { text: '团队建设', value: '团队建设' },
224
+ ];
426
225
  // 学历要求选项
427
- getEducationRequirements() {
428
- return [
429
- { text: this.strings.educationList.college, value: '大专' },
430
- { text: this.strings.educationList.bachelor, value: '本科' },
431
- { text: this.strings.educationList.master, value: '硕士' },
432
- { text: this.strings.educationList.doctor, value: '博士' },
433
- { text: this.strings.educationList.noLimit, value: '学历不限' },
434
- ];
435
- }
226
+ educationRequirements = [
227
+ { text: '大专', value: '大专' },
228
+ { text: '本科', value: '本科' },
229
+ { text: '硕士', value: '硕士' },
230
+ { text: '博士', value: '博士' },
231
+ { text: '学历不限', value: '学历不限' },
232
+ ];
436
233
  handleClose = () => {
437
234
  this.modalClosed.emit();
438
235
  };
439
- loadHistoryConversations = async (lastId, pageIndex) => {
440
- this.isLoadingConversations = true;
441
- const result = await fetchHistoryConversations(this.getBotId(), 'pcm-jd-modal', lastId, this._historyConversationPageSize);
442
- const nextCursorStack = this.historyConversationCursorStack.slice(0, pageIndex + 1);
443
- if (result.hasMore && result.nextCursor) {
444
- nextCursorStack[pageIndex + 1] = result.nextCursor;
445
- }
446
- this.historyConversationCursorStack = nextCursorStack;
447
- this.historyConversationPageIndex = pageIndex;
448
- this.historyConversations = result.items;
449
- this.hasMoreHistoryConversations = result.hasMore;
450
- this.isLoadingConversations = false;
451
- };
452
- handleInputHistoryClick = async () => {
453
- this.isHistoryDrawerOpen = true;
454
- this.historyConversationCursorStack = [''];
455
- await this.loadHistoryConversations('', 0);
456
- };
457
- handleHistoryConversationPageChange = async (direction) => {
458
- if (direction === 'prev') {
459
- if (this.historyConversationPageIndex === 0) {
460
- return;
461
- }
462
- const previousPageIndex = this.historyConversationPageIndex - 1;
463
- const previousCursor = this.historyConversationCursorStack[previousPageIndex] || '';
464
- await this.loadHistoryConversations(previousCursor, previousPageIndex);
465
- return;
466
- }
467
- if (!this.hasMoreHistoryConversations) {
468
- return;
469
- }
470
- const nextPageIndex = this.historyConversationPageIndex + 1;
471
- const nextCursor = this.historyConversationCursorStack[nextPageIndex];
472
- if (!nextCursor) {
473
- return;
474
- }
475
- await this.loadHistoryConversations(nextCursor, nextPageIndex);
476
- };
477
- handleSelectConversation = (id) => {
478
- this.conversationId = id;
479
- this.isHistoryDrawerOpen = false;
480
- this.showChatModal = true;
481
- };
482
236
  handleToggleInput = () => {
483
237
  if (this.isVoiceInputActive)
484
238
  return;
@@ -515,7 +269,7 @@ const PcmJdModal = class {
515
269
  };
516
270
  handleNextStep = async () => {
517
271
  if (!this.jobName.trim()) {
518
- alert(this.strings.alerts.enterJobName);
272
+ alert('请输入职位名称');
519
273
  return;
520
274
  }
521
275
  this.step = 'review';
@@ -535,7 +289,6 @@ const PcmJdModal = class {
535
289
  data: {
536
290
  inputs: {
537
291
  input_info: jobName,
538
- locale: this.locale
539
292
  },
540
293
  bot_id: "59322522667307008",
541
294
  workflow_code: "generate_jd_tags"
@@ -577,7 +330,7 @@ const PcmJdModal = class {
577
330
  catch (error) {
578
331
  SentryReporter.captureError(error, {
579
332
  action: 'handlePositionAnalysis',
580
- component: 'pcm-jd-modal',
333
+ component: 'oem-jd-modal',
581
334
  title: '解析前置标签时错误'
582
335
  });
583
336
  this.someErrorEvent.emit({
@@ -628,7 +381,7 @@ const PcmJdModal = class {
628
381
  // 处理薪资范围标签
629
382
  let salaryRange = '';
630
383
  if (this.selectedTags.salary) {
631
- const range = this.getSalaryRanges().find(r => r.value === this.selectedTags.salary);
384
+ const range = this.salaryRanges.find(r => r.value === this.selectedTags.salary);
632
385
  if (range) {
633
386
  salaryRange = range.text;
634
387
  }
@@ -638,21 +391,21 @@ const PcmJdModal = class {
638
391
  // 处理学历要求标签
639
392
  let education = '';
640
393
  if (this.selectedTags.education) {
641
- const edu = this.getEducationRequirements().find(e => e.value === this.selectedTags.education);
394
+ const edu = this.educationRequirements.find(e => e.value === this.selectedTags.education);
642
395
  if (edu) {
643
396
  education = edu.text;
644
397
  }
645
398
  }
646
399
  // 构建职位描述
647
- let jobInfo = `${this.strings.jobInfoFields.jobName}:${this.jobName}\n`;
400
+ let jobInfo = `职位名称:${this.jobName}\n`;
648
401
  if (salaryRange) {
649
- jobInfo += `${this.strings.jobInfoFields.salaryRange}:${salaryRange}\n`;
402
+ jobInfo += `薪资范围:${salaryRange}\n`;
650
403
  }
651
404
  if (selectedBenefits) {
652
- jobInfo += `${this.strings.jobInfoFields.benefits}:${selectedBenefits}\n`;
405
+ jobInfo += `福利待遇:${selectedBenefits}\n`;
653
406
  }
654
407
  if (education) {
655
- jobInfo += `${this.strings.jobInfoFields.education}:${education}\n`;
408
+ jobInfo += `学历要求:${education}\n`;
656
409
  }
657
410
  // 添加AI标签
658
411
  Object.entries(this.selectedAITags).forEach(([dimension, tags]) => {
@@ -668,7 +421,7 @@ const PcmJdModal = class {
668
421
  console.error('提交结构化数据时出错:', error);
669
422
  SentryReporter.captureError(error, {
670
423
  action: 'handleSubmitStructured',
671
- component: 'pcm-jd-modal',
424
+ component: 'oem-jd-modal',
672
425
  title: '提交数据时出错'
673
426
  });
674
427
  this.someErrorEvent.emit({
@@ -682,7 +435,7 @@ const PcmJdModal = class {
682
435
  };
683
436
  handleSubmitFree = async () => {
684
437
  if (!this.freeInputText.trim()) {
685
- alert(this.strings.alerts.enterJobInfo);
438
+ alert('请输入职位需求信息');
686
439
  return;
687
440
  }
688
441
  this.isSubmitting = true;
@@ -696,7 +449,7 @@ const PcmJdModal = class {
696
449
  console.error('提交自由输入数据时出错:', error);
697
450
  SentryReporter.captureError(error, {
698
451
  action: 'handleSubmitFree',
699
- component: 'pcm-jd-modal',
452
+ component: 'oem-jd-modal',
700
453
  title: '提交数据时出错'
701
454
  });
702
455
  this.someErrorEvent.emit({
@@ -709,48 +462,6 @@ const PcmJdModal = class {
709
462
  }
710
463
  };
711
464
  jobDescription = '';
712
- // 根据语言获取对应的botId
713
- getBotId() {
714
- const currentLocale = this.locale || this.hostElement?.lang || 'zh';
715
- const botIdMap = {
716
- 'zh': '3022316191018873',
717
- 'en': '8164748078835713'
718
- };
719
- return botIdMap[currentLocale] || botIdMap['zh'];
720
- }
721
- async handleIsOpenChange(newValue) {
722
- if (!newValue) {
723
- // 重置状态
724
- this.showChatModal = false;
725
- this.jobDescription = '';
726
- this.jobName = '';
727
- this.freeInputText = '';
728
- this.isVoiceInputActive = false;
729
- this.step = 'input';
730
- this.inputMode = 'structured';
731
- this.tagGroups = [];
732
- this.shuffledTagGroups = [];
733
- this.selectedAITags = {};
734
- this.selectedTags = {
735
- salary: '',
736
- benefits: [],
737
- education: ''
738
- };
739
- }
740
- else {
741
- if (this.customInputs && this.customInputs.job_info) {
742
- this.jobDescription = this.customInputs.job_info;
743
- // 如果有 job_info,直接切换到自由输入模式并填充内容
744
- this.inputMode = 'free';
745
- this.freeInputText = this.customInputs.job_info;
746
- }
747
- await verifyApiKey(this.token);
748
- if (this.conversationId) {
749
- // 如果有会话ID,直接显示聊天模态框
750
- this.showChatModal = true;
751
- }
752
- }
753
- }
754
465
  // 渲染标签组
755
466
  renderTagGroup(title, options, category) {
756
467
  return (h("div", { class: "tag-group" }, h("div", { class: "tag-title" }, title), h("div", { class: "tag-container" }, options.map(option => {
@@ -775,7 +486,7 @@ const PcmJdModal = class {
775
486
  }
776
487
  // 渲染加载状态
777
488
  renderLoadingState() {
778
- return (h("div", { class: "loading-container" }, h("div", { class: "loading-spinner" }), h("div", { class: "loading-text" }, h("div", null, this.strings.aiAnalyzing), h("div", { class: "loading-subtext" }, this.strings.pleaseWait))));
489
+ return (h("div", { class: "loading-container" }, h("div", { class: "loading-spinner" }), h("div", { class: "loading-text" }, h("div", null, "AI \u6B63\u5728\u5206\u6790\u804C\u4F4D\u4FE1\u606F"), h("div", { class: "loading-subtext" }, "\u8BF7\u7A0D\u5019..."))));
779
490
  }
780
491
  render() {
781
492
  if (!this.isOpen)
@@ -794,11 +505,7 @@ const PcmJdModal = class {
794
505
  };
795
506
  // 显示加载状态
796
507
  const isLoading = this.conversationId && !this.showChatModal;
797
- return (h("div", { class: overlayClass, style: modalStyle }, h("div", { class: containerClass }, this.isShowHeader && (h("div", { class: "modal-header" }, h("div", { class: "header-left" }, this.icon && h("img", { src: this.icon, class: "header-icon", alt: "\u5E94\u7528\u56FE\u6807" }), h("div", null, this.modalTitle), this.showInputHistory && (h("button", { type: "button", class: "header-history-entry", onClick: this.handleInputHistoryClick, title: this.strings?.historyConversations }, this.strings?.historyConversations))), this.isNeedClose && (h("button", { class: "close-button", onClick: this.handleClose }, h("span", null, "\u00D7"))))), this.showInputHistory && (h("components-drawer", { isOpen: this.isHistoryDrawerOpen, drawerTitle: this.strings?.historyConversations, width: "400px", onClosed: () => { this.isHistoryDrawerOpen = false; } }, h("div", { class: "history-drawer-content" }, h("div", { class: "conversation-list" }, this.isLoadingConversations ? (h("div", { class: "loading-conversations" }, h("div", { class: "loading-spinner-small" }), h("p", null, this.strings?.history?.loading))) : this.historyConversations.length === 0 ? (h("div", { class: "empty-conversations" }, h("p", null, this.strings?.history?.noHistory))) : (this.historyConversations.map(conversation => (h("div", { key: conversation.id, class: "conversation-item", onClick: () => this.handleSelectConversation(conversation.id) }, h("div", { class: "conversation-info" }, h("div", { class: "conversation-title" }, conversation.name), h("div", { class: "conversation-meta" }, h("span", { class: "conversation-time" }, conversation.timeDisplay), conversation.message_count > 0 && (h("span", { class: "message-count" }, conversation.message_count, "\u6761\u6D88\u606F")), conversation.status && (h("span", { class: {
798
- 'conversation-status': true,
799
- 'completed': conversation.status === '结束',
800
- 'running': conversation.status === '进行中',
801
- } }, conversation.status))))))))), !this.isLoadingConversations && (this.historyConversationPageIndex > 0 || this.hasMoreHistoryConversations) && (h("div", { class: "history-pagination" }, h("button", { type: "button", class: "history-pagination-button", disabled: this.historyConversationPageIndex === 0, onClick: () => this.handleHistoryConversationPageChange('prev') }, "\u4E0A\u4E00\u9875"), h("span", { class: "history-pagination-info" }, "\u7B2C ", this.historyConversationPageIndex + 1, " \u9875"), h("button", { type: "button", class: "history-pagination-button", disabled: !this.hasMoreHistoryConversations, onClick: () => this.handleHistoryConversationPageChange('next') }, "\u4E0B\u4E00\u9875")))))), !this.showChatModal && !this.conversationId && true && (h("div", { class: "input-container" }, h("div", { class: "input-mode-toggle" }, h("span", null, this.strings.jobRequirementInfo), h("button", { class: "toggle-button", onClick: this.handleToggleInput, disabled: this.isLoading || this.isVoiceInputActive }, h("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M4 6h16M4 12h16M4 18h16" })), this.strings.toggleInput)), this.inputMode === 'structured' && (h("div", { class: "structured-input" }, this.step === 'input' && (h("div", { class: "job-name-input" }, h("label", { htmlFor: "job-name" }, this.strings.jobName, " ", h("span", { class: "required" }, this.strings.required)), h("input", { id: "job-name", type: "text", placeholder: this.strings.jobNamePlaceholder, value: this.jobName, onInput: this.handleJobNameChange, disabled: this.isLoading }), h("div", { class: "button-container" }, h("button", { class: "submit-button next-button", onClick: this.handleNextStep, disabled: !this.jobName.trim() || this.isLoading }, this.strings.nextStep)))), this.step === 'review' && (h("div", { class: "tag-selection" }, this.isLoading ? (this.renderLoadingState()) : (h("div", { class: "tag-selection-content" }, this.tagGroups.length > 0 && (h("div", { class: "ai-tags-section" }, h("div", { class: "section-title" }, this.strings.aiRecommendedTags), this.renderAITagGroups())), this.tagGroups.length > 0 && (h("div", { class: "basic-tags-section" }, this.renderTagGroup(this.strings.salaryRange, this.getSalaryRanges(), 'salary'), this.renderTagGroup(this.strings.benefits, this.getBenefits(), 'benefits'), this.renderTagGroup(this.strings.education, this.getEducationRequirements(), 'education'))), h("div", { class: "button-container" }, h("button", { class: "submit-button prev-button", onClick: this.handlePrevStep }, this.strings.prevStep), h("button", { class: "submit-button", onClick: this.handleSubmitStructured, disabled: this.isSubmitting }, this.isSubmitting ? this.strings.processing : this.strings.generateJD)))))))), this.inputMode === 'free' && (h("div", { class: "free-input" }, h("div", { class: "textarea-container" }, h("label", { htmlFor: "free-input-text" }, this.strings.jdInfo, " ", h("span", { class: "required" }, this.strings.required)), h("div", { class: "voice-textarea-wrapper" }, h("textarea", { id: "free-input-text", placeholder: this.strings.jdInfoPlaceholder, rows: 8, value: this.freeInputText, onInput: this.handleFreeInputChange, disabled: this.isVoiceInputActive }), h("div", { class: "voice-input-entry" }, h("components-voice-input-btn", { locale: this.locale === 'en' ? 'en' : 'zh', disabled: this.isSubmitting, onVoiceRecognized: this.handleVoiceRecognized, onVoiceStatusChange: this.handleVoiceStatusChange, onSomeErrorEvent: this.handleVoiceInputError })))), h("div", { class: "input-guide" }, h("div", { class: "guide-title" }, this.strings.inputGuideTitle), h("div", { class: "guide-content" }, h("div", null, this.strings.inputGuide.jobTitle), h("div", null, this.strings.inputGuide.salary), h("div", null, this.strings.inputGuide.benefits), h("div", null, this.strings.inputGuide.responsibilities), h("div", null, this.strings.inputGuide.qualifications), h("div", null, this.strings.inputGuide.location))), h("div", { class: "button-container" }, h("button", { class: "submit-button", onClick: this.handleSubmitFree, disabled: !this.freeInputText.trim() || this.isSubmitting || this.isVoiceInputActive }, this.isSubmitting ? this.strings.processing : this.strings.generateJD)))), h("div", { class: "ai-disclaimer" }, h("p", null, this.strings.aiDisclaimer), h("p", { class: "beian-info" }, h("span", null, this.strings.beianLabel), "\uFF1A", h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, this.strings.beianNumber))))), isLoading && (h("div", { class: "loading-container" }, h("div", { class: "loading-spinner" }), h("p", { class: "loading-text" }, this.strings.loadingConversation))), this.showChatModal && (h("div", null, h("pcm-app-chat-modal", { locale: this.locale, isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: this.getBotId(), conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
508
+ return (h("div", { class: overlayClass, style: modalStyle }, h("div", { class: containerClass }, this.isShowHeader && (h("div", { class: "modal-header" }, h("div", { class: "header-left" }, this.icon && h("img", { src: this.icon, class: "header-icon", alt: "\u5E94\u7528\u56FE\u6807" }), h("div", null, this.modalTitle)), this.isNeedClose && (h("button", { class: "close-button", onClick: this.handleClose }, h("span", null, "\u00D7"))))), !this.showChatModal && !this.conversationId && true && (h("div", { class: "input-container" }, h("div", { class: "input-mode-toggle" }, h("span", null, "\u804C\u4F4D\u9700\u6C42\u4FE1\u606F"), h("button", { class: "toggle-button", onClick: this.handleToggleInput, disabled: this.isLoading || this.isVoiceInputActive }, h("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor" }, h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M4 6h16M4 12h16M4 18h16" })), "\u5207\u6362\u8F93\u5165")), this.inputMode === 'structured' && (h("div", { class: "structured-input" }, this.step === 'input' && (h("div", { class: "job-name-input" }, h("label", { htmlFor: "job-name" }, "\u804C\u4F4D\u540D\u79F0 ", h("span", { class: "required" }, "*")), h("input", { id: "job-name", type: "text", placeholder: "\u8BF7\u8F93\u5165\u804C\u4F4D\u540D\u79F0", value: this.jobName, onInput: this.handleJobNameChange, disabled: this.isLoading }), h("div", { class: "button-container" }, h("button", { class: "submit-button next-button", onClick: this.handleNextStep, disabled: !this.jobName.trim() || this.isLoading }, "\u4E0B\u4E00\u6B65")))), this.step === 'review' && (h("div", { class: "tag-selection" }, this.isLoading ? (this.renderLoadingState()) : (h("div", { class: "tag-selection-content" }, this.tagGroups.length > 0 && (h("div", { class: "ai-tags-section" }, h("div", { class: "section-title" }, "AI \u63A8\u8350\u6807\u7B7E"), this.renderAITagGroups())), this.tagGroups.length > 0 && (h("div", { class: "basic-tags-section" }, this.renderTagGroup('月薪范围', this.salaryRanges, 'salary'), this.renderTagGroup('福利待遇', this.benefits, 'benefits'), this.renderTagGroup('学历要求', this.educationRequirements, 'education'))), h("div", { class: "button-container" }, h("button", { class: "submit-button prev-button", onClick: this.handlePrevStep }, "\u4E0A\u4E00\u6B65"), h("button", { class: "submit-button", onClick: this.handleSubmitStructured, disabled: this.isSubmitting }, this.isSubmitting ? '处理中...' : '生成JD')))))))), this.inputMode === 'free' && (h("div", { class: "free-input" }, h("div", { class: "textarea-container" }, h("label", { htmlFor: "free-input-text" }, "JD\u4FE1\u606F ", h("span", { class: "required" }, "*")), h("div", { class: "voice-textarea-wrapper" }, h("textarea", { id: "free-input-text", placeholder: "\u8BF7\u6309\u7167\u4E0B\u65B9\u63D0\u793A\u683C\u5F0F\u8F93\u5165\u804C\u4F4D\u9700\u6C42\u4FE1\u606F", rows: 8, value: this.freeInputText, onInput: this.handleFreeInputChange, disabled: this.isVoiceInputActive }), h("div", { class: "voice-input-entry" }, h("components-voice-input-btn", { disabled: this.isSubmitting, onVoiceRecognized: this.handleVoiceRecognized, onVoiceStatusChange: this.handleVoiceStatusChange, onSomeErrorEvent: this.handleVoiceInputError })))), h("div", { class: "input-guide" }, h("div", { class: "guide-title" }, "\u8F93\u5165\u683C\u5F0F\u53C2\u8003\uFF1A"), h("div", { class: "guide-content" }, h("div", null, "\u2022 \u804C\u4F4D\u540D\u79F0 - \u660E\u786E\u5B9A\u4E49\u804C\u4F4D\u7684\u540D\u79F0"), h("div", null, "\u2022 \u85AA\u8D44\u8303\u56F4 - \u660E\u786E\u8BE5\u5C97\u4F4D\u7684\u6708\u85AA\u6216\u5E74\u85AA"), h("div", null, "\u2022 \u798F\u5229\u5F85\u9047 - \u8BE5\u804C\u4F4D\u7684\u798F\u5229\u5F85\u9047\uFF0C\u5982\uFF1A\u4E94\u9669\u4E00\u91D1\u3001\u5E74\u4F11\u5047\u3001\u4E0B\u5348\u8336\u7B49"), h("div", null, "\u2022 \u5DE5\u4F5C\u804C\u8D23 - \u63CF\u8FF0\u5DE5\u4F5C\u5185\u5BB9"), h("div", null, "\u2022 \u4EFB\u804C\u8D44\u683C - \u5305\u62EC\u5B66\u5386\u3001\u7ECF\u9A8C\u548C\u6280\u672F\u8981\u6C42"), h("div", null, "\u2022 \u5DE5\u4F5C\u5730\u70B9\u4E0E\u6027\u8D28 - \u5168\u804C/\u517C\u804C\u3001\u8FDC\u7A0B/\u529E\u516C\u5BA4"))), h("div", { class: "button-container" }, h("button", { class: "submit-button", onClick: this.handleSubmitFree, disabled: !this.freeInputText.trim() || this.isSubmitting || this.isVoiceInputActive }, this.isSubmitting ? '处理中...' : '生成JD')))), h("div", { class: "ai-disclaimer" }, h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), h("p", { class: "beian-info" }, h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, "Hunan-PinCaiMao-202412310003"))))), isLoading && (h("div", { class: "loading-container" }, h("div", { class: "loading-spinner" }), h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (h("div", null, 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: "3022316191018873", conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
802
509
  ...this.customInputs,
803
510
  job_info: this.customInputs?.job_info || this.jobDescription
804
511
  }, interviewMode: "text", showSaveJdButton: this.showSaveJdButton, saveJdButtonText: this.saveJdButtonText }))))));
@@ -808,9 +515,9 @@ const PcmJdModal = class {
808
515
  "isOpen": ["handleIsOpenChange"]
809
516
  }; }
810
517
  };
811
- PcmJdModal.style = pcmJdModalCss + (globalCss + hostCss);
518
+ OemJdModal.style = oemJdModalCss + (globalCss + hostCss);
812
519
 
813
- export { PcmJdModal as pcm_jd_modal };
814
- //# sourceMappingURL=pcm-jd-modal.entry.js.map
520
+ export { OemJdModal as oem_jd_modal };
521
+ //# sourceMappingURL=oem-jd-modal.entry.js.map
815
522
 
816
- //# sourceMappingURL=pcm-jd-modal.entry.js.map
523
+ //# sourceMappingURL=oem-jd-modal.entry.js.map