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,229 +1,19 @@
1
1
  'use strict';
2
2
 
3
3
  var index = require('./index-C_qhED9Z.js');
4
- var index$1 = require('./index-BPngQTFc.js');
4
+ var index$1 = require('./index-BJXw-mBt.js');
5
5
  var errorEvent = require('./error-event-J_ZWIqWF.js');
6
- var sentryReporter = require('./sentry-reporter-B1jvgkp7.js');
7
- var conversationUtils = require('./conversation-utils-Na0f0AoH.js');
6
+ var config_store = require('./config.store-BIjicJY9.js');
7
+ var sentryReporter = require('./sentry-reporter-uulX7WVC.js');
8
8
  require('./exports-Dc-pQh4A.js');
9
9
 
10
- const modalTitle$1 = "职位生成";
11
- const jobRequirementInfo$1 = "职位需求信息";
12
- const toggleInput$1 = "切换输入";
13
- const jobName$1 = "职位名称";
14
- const jobNamePlaceholder$1 = "请输入职位名称";
15
- const required$1 = "*";
16
- const nextStep$1 = "下一步";
17
- const prevStep$1 = "上一步";
18
- const generateJD$1 = "生成JD";
19
- const processing$1 = "处理中...";
20
- const aiAnalyzing$1 = "AI 正在分析职位信息";
21
- const pleaseWait$1 = "请稍候...";
22
- const aiRecommendedTags$1 = "AI 推荐标签";
23
- const salaryRange$1 = "月薪范围";
24
- const benefits$1 = "福利待遇";
25
- const education$1 = "学历要求";
26
- const jdInfo$1 = "JD信息";
27
- const jdInfoPlaceholder$1 = "请按照下方提示格式输入职位需求信息";
28
- const inputGuideTitle$1 = "输入格式参考:";
29
- const inputGuide$1 = {
30
- jobTitle: "• 职位名称 - 明确定义职位的名称",
31
- salary: "• 薪资范围 - 明确该岗位的月薪或年薪",
32
- benefits: "• 福利待遇 - 该职位的福利待遇,如:五险一金、年休假、下午茶等",
33
- responsibilities: "• 工作职责 - 描述工作内容",
34
- qualifications: "• 任职资格 - 包括学历、经验和技术要求",
35
- location: "• 工作地点与性质 - 全职/兼职、远程/办公室"
36
- };
37
- const aiDisclaimer$1 = "所有内容均由AI生成仅供参考";
38
- const beianLabel$1 = "中央网信办生成式人工智能服务备案号";
39
- const beianNumber$1 = "Hunan-PinCaiMao-202412310003";
40
- const loadingConversation$1 = "正在加载对话...";
41
- const salaryRanges$1 = {
42
- "3k_5k": "3k-5k",
43
- "5k_8k": "5k-8k",
44
- "8k_12k": "8k-12k",
45
- "12k_15k": "12k-15k",
46
- "15k_20k": "15k-20k",
47
- above_20k: "20k以上"
48
- };
49
- const benefitsList$1 = {
50
- insurance: "五险一金",
51
- bonus: "年终奖",
52
- paidLeave: "带薪年假",
53
- overtimePay: "加班补贴",
54
- mealAllowance: "餐补",
55
- transportAllowance: "交通补贴",
56
- holidayBenefits: "节日福利",
57
- teamBuilding: "团队建设"
58
- };
59
- const educationList$1 = {
60
- college: "大专",
61
- bachelor: "本科",
62
- master: "硕士",
63
- doctor: "博士",
64
- noLimit: "学历不限"
65
- };
66
- const historyConversations$1 = "历史会话";
67
- const history$1 = {
68
- loading: "加载中...",
69
- noHistory: "暂无历史会话"
70
- };
71
- const alerts$1 = {
72
- enterJobName: "请输入职位名称",
73
- enterJobInfo: "请输入职位需求信息"
74
- };
75
- const jobInfoFields$1 = {
76
- jobName: "职位名称",
77
- salaryRange: "薪资范围",
78
- benefits: "福利待遇",
79
- education: "学历要求"
80
- };
81
- var stringsZh = {
82
- modalTitle: modalTitle$1,
83
- jobRequirementInfo: jobRequirementInfo$1,
84
- toggleInput: toggleInput$1,
85
- jobName: jobName$1,
86
- jobNamePlaceholder: jobNamePlaceholder$1,
87
- required: required$1,
88
- nextStep: nextStep$1,
89
- prevStep: prevStep$1,
90
- generateJD: generateJD$1,
91
- processing: processing$1,
92
- aiAnalyzing: aiAnalyzing$1,
93
- pleaseWait: pleaseWait$1,
94
- aiRecommendedTags: aiRecommendedTags$1,
95
- salaryRange: salaryRange$1,
96
- benefits: benefits$1,
97
- education: education$1,
98
- jdInfo: jdInfo$1,
99
- jdInfoPlaceholder: jdInfoPlaceholder$1,
100
- inputGuideTitle: inputGuideTitle$1,
101
- inputGuide: inputGuide$1,
102
- aiDisclaimer: aiDisclaimer$1,
103
- beianLabel: beianLabel$1,
104
- beianNumber: beianNumber$1,
105
- loadingConversation: loadingConversation$1,
106
- salaryRanges: salaryRanges$1,
107
- benefitsList: benefitsList$1,
108
- educationList: educationList$1,
109
- historyConversations: historyConversations$1,
110
- history: history$1,
111
- alerts: alerts$1,
112
- jobInfoFields: jobInfoFields$1
113
- };
114
-
115
- const modalTitle = "Job Description Generator";
116
- const jobRequirementInfo = "Job Requirement Information";
117
- const toggleInput = "Toggle Input";
118
- const jobName = "Job Title";
119
- const jobNamePlaceholder = "Please enter job title";
120
- const required = "*";
121
- const nextStep = "Next Step";
122
- const prevStep = "Previous Step";
123
- const generateJD = "Generate JD";
124
- const processing = "Processing...";
125
- const aiAnalyzing = "AI is analyzing job information";
126
- const pleaseWait = "Please wait...";
127
- const aiRecommendedTags = "AI Recommended Tags";
128
- const salaryRange = "Monthly Salary Range";
129
- const benefits = "Benefits";
130
- const education = "Education Requirements";
131
- const jdInfo = "JD Information";
132
- const jdInfoPlaceholder = "Please enter job requirement information according to the format below";
133
- const inputGuideTitle = "Input Format Reference:";
134
- const inputGuide = {
135
- jobTitle: "• Job Title - Clearly define the position name",
136
- salary: "• Salary Range - Specify monthly or annual salary for this position",
137
- benefits: "• Benefits - Benefits for this position, such as: five insurances and one fund, annual leave, afternoon tea, etc.",
138
- responsibilities: "• Job Responsibilities - Describe the work content",
139
- qualifications: "• Qualifications - Including education, experience and technical requirements",
140
- location: "• Location & Nature - Full-time/Part-time, Remote/Office"
141
- };
142
- const aiDisclaimer = "All content is AI-generated and for reference only";
143
- const beianLabel = "Cyberspace Administration of China Generative AI Service Registration Number";
144
- const beianNumber = "Hunan-PinCaiMao-202412310003";
145
- const loadingConversation = "Loading conversation...";
146
- const salaryRanges = {
147
- "3k_5k": "3k-5k",
148
- "5k_8k": "5k-8k",
149
- "8k_12k": "8k-12k",
150
- "12k_15k": "12k-15k",
151
- "15k_20k": "15k-20k",
152
- above_20k: "20k+"
153
- };
154
- const benefitsList = {
155
- insurance: "Five insurances and one fund",
156
- bonus: "Year-end bonus",
157
- paidLeave: "Paid annual leave",
158
- overtimePay: "Overtime allowance",
159
- mealAllowance: "Meal allowance",
160
- transportAllowance: "Transport allowance",
161
- holidayBenefits: "Holiday benefits",
162
- teamBuilding: "Team building"
163
- };
164
- const educationList = {
165
- college: "College",
166
- bachelor: "Bachelor",
167
- master: "Master",
168
- doctor: "Doctor",
169
- noLimit: "No limit"
170
- };
171
- const historyConversations = "History";
172
- const history = {
173
- loading: "Loading...",
174
- noHistory: "No history conversations"
175
- };
176
- const alerts = {
177
- enterJobName: "Please enter job title",
178
- enterJobInfo: "Please enter job requirement information"
179
- };
180
- const jobInfoFields = {
181
- jobName: "Job Title",
182
- salaryRange: "Salary Range",
183
- benefits: "Benefits",
184
- education: "Education Requirements"
185
- };
186
- var stringsEn = {
187
- modalTitle: modalTitle,
188
- jobRequirementInfo: jobRequirementInfo,
189
- toggleInput: toggleInput,
190
- jobName: jobName,
191
- jobNamePlaceholder: jobNamePlaceholder,
192
- required: required,
193
- nextStep: nextStep,
194
- prevStep: prevStep,
195
- generateJD: generateJD,
196
- processing: processing,
197
- aiAnalyzing: aiAnalyzing,
198
- pleaseWait: pleaseWait,
199
- aiRecommendedTags: aiRecommendedTags,
200
- salaryRange: salaryRange,
201
- benefits: benefits,
202
- education: education,
203
- jdInfo: jdInfo,
204
- jdInfoPlaceholder: jdInfoPlaceholder,
205
- inputGuideTitle: inputGuideTitle,
206
- inputGuide: inputGuide,
207
- aiDisclaimer: aiDisclaimer,
208
- beianLabel: beianLabel,
209
- beianNumber: beianNumber,
210
- loadingConversation: loadingConversation,
211
- salaryRanges: salaryRanges,
212
- benefitsList: benefitsList,
213
- educationList: educationList,
214
- historyConversations: historyConversations,
215
- history: history,
216
- alerts: alerts,
217
- jobInfoFields: jobInfoFields
218
- };
219
-
220
- 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}";
10
+ 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}";
221
11
 
222
12
  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}";
223
13
 
224
14
  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}";
225
15
 
226
- const PcmJdModal = class {
16
+ const OemJdModal = class {
227
17
  constructor(hostRef) {
228
18
  index.registerInstance(this, hostRef);
229
19
  this.modalClosed = index.createEvent(this, "modalClosed");
@@ -237,10 +27,6 @@ const PcmJdModal = class {
237
27
  * 模态框标题
238
28
  */
239
29
  modalTitle = '职位生成';
240
- /**
241
- * 语言设置
242
- */
243
- locale = 'zh';
244
30
  /**
245
31
  * SDK鉴权密钥
246
32
  */
@@ -290,11 +76,7 @@ const PcmJdModal = class {
290
76
  */
291
77
  showWorkspaceHistory = false;
292
78
  /**
293
- * 是否在上传界面显示历史会话按钮
294
- */
295
- showInputHistory = false;
296
- /**
297
- * 是否显示”保存职位”按钮(仅JD助手智能体生效)
79
+ * 是否显示“保存职位”按钮(仅JD助手智能体生效)
298
80
  */
299
81
  showSaveJdButton = false;
300
82
  /**
@@ -328,15 +110,7 @@ const PcmJdModal = class {
328
110
  */
329
111
  filePreviewMode = 'drawer';
330
112
  showChatModal = false;
331
- isHistoryDrawerOpen = false;
332
- historyConversations = [];
333
- isLoadingConversations = false;
334
- historyConversationCursorStack = [''];
335
- historyConversationPageIndex = 0;
336
- hasMoreHistoryConversations = false;
337
113
  get hostElement() { return index.getElement(this); }
338
- // 国际化字符串
339
- strings;
340
114
  // 输入模式:structured(点选模式) 或 free(表单模式)
341
115
  inputMode = 'structured';
342
116
  // 步骤:input(输入职位名称) 或 review(选择标签)
@@ -365,24 +139,53 @@ const PcmJdModal = class {
365
139
  };
366
140
  tokenInvalidListener;
367
141
  removeErrorListener;
368
- _historyConversationPageSize = 20;
369
142
  handleTokenChange(newToken) {
370
143
  // 当传入的 token 变化时,更新 authStore 中的 token
371
144
  if (newToken && newToken !== index$1.authStore.getToken()) {
372
145
  index$1.authStore.setToken(newToken);
373
146
  }
374
147
  }
375
- async componentWillLoad() {
376
- // 加载国际化字符串
377
- this.strings = this.locale === 'en' ? stringsEn : stringsZh;
148
+ async handleIsOpenChange(newValue) {
149
+ if (!newValue) {
150
+ // 重置状态
151
+ this.showChatModal = false;
152
+ this.jobDescription = '';
153
+ this.jobName = '';
154
+ this.freeInputText = '';
155
+ this.isVoiceInputActive = false;
156
+ this.step = 'input';
157
+ this.inputMode = 'structured';
158
+ this.tagGroups = [];
159
+ this.shuffledTagGroups = [];
160
+ this.selectedAITags = {};
161
+ this.selectedTags = {
162
+ salary: '',
163
+ benefits: [],
164
+ education: ''
165
+ };
166
+ }
167
+ else {
168
+ if (this.customInputs && this.customInputs.job_info) {
169
+ this.jobDescription = this.customInputs.job_info;
170
+ // 如果有 job_info,直接切换到自由输入模式并填充内容
171
+ this.inputMode = 'free';
172
+ this.freeInputText = this.customInputs.job_info;
173
+ }
174
+ await index$1.verifyApiKey(this.token);
175
+ if (this.conversationId) {
176
+ // 如果有会话ID,直接显示聊天模态框
177
+ this.showChatModal = true;
178
+ }
179
+ }
180
+ }
181
+ componentWillLoad() {
378
182
  // 将 zIndex 存入配置缓存
379
183
  if (this.zIndex) {
380
- index$1.configStore.setItem('modal-zIndex', this.zIndex);
184
+ config_store.configStore.setItem('modal-zIndex', this.zIndex);
381
185
  }
382
186
  if (this.token) {
383
187
  index$1.authStore.setToken(this.token);
384
188
  }
385
- index$1.verifyApiKey(this.token);
386
189
  // 添加全局token无效事件监听器
387
190
  this.tokenInvalidListener = () => {
388
191
  this.tokenInvalid.emit();
@@ -402,85 +205,36 @@ const PcmJdModal = class {
402
205
  }
403
206
  }
404
207
  // 薪资范围选项
405
- getSalaryRanges() {
406
- return [
407
- { text: this.strings.salaryRanges['3k_5k'], value: '3k_5k' },
408
- { text: this.strings.salaryRanges['5k_8k'], value: '5k_8k' },
409
- { text: this.strings.salaryRanges['8k_12k'], value: '8k_12k' },
410
- { text: this.strings.salaryRanges['12k_15k'], value: '12k_15k' },
411
- { text: this.strings.salaryRanges['15k_20k'], value: '15k_20k' },
412
- { text: this.strings.salaryRanges.above_20k, value: 'above_20k' },
413
- ];
414
- }
208
+ salaryRanges = [
209
+ { text: '3k-5k', value: '3k_5k' },
210
+ { text: '5k-8k', value: '5k_8k' },
211
+ { text: '8k-12k', value: '8k_12k' },
212
+ { text: '12k-15k', value: '12k_15k' },
213
+ { text: '15k-20k', value: '15k_20k' },
214
+ { text: '20k以上', value: 'above_20k' },
215
+ ];
415
216
  // 福利待遇选项
416
- getBenefits() {
417
- return [
418
- { text: this.strings.benefitsList.insurance, value: '五险一金' },
419
- { text: this.strings.benefitsList.bonus, value: '年终奖' },
420
- { text: this.strings.benefitsList.paidLeave, value: '带薪年假' },
421
- { text: this.strings.benefitsList.overtimePay, value: '加班补贴' },
422
- { text: this.strings.benefitsList.mealAllowance, value: '餐补' },
423
- { text: this.strings.benefitsList.transportAllowance, value: '交通补贴' },
424
- { text: this.strings.benefitsList.holidayBenefits, value: '节日福利' },
425
- { text: this.strings.benefitsList.teamBuilding, value: '团队建设' },
426
- ];
427
- }
217
+ benefits = [
218
+ { text: '五险一金', value: '五险一金' },
219
+ { text: '年终奖', value: '年终奖' },
220
+ { text: '带薪年假', value: '带薪年假' },
221
+ { text: '加班补贴', value: '加班补贴' },
222
+ { text: '餐补', value: '餐补' },
223
+ { text: '交通补贴', value: '交通补贴' },
224
+ { text: '节日福利', value: '节日福利' },
225
+ { text: '团队建设', value: '团队建设' },
226
+ ];
428
227
  // 学历要求选项
429
- getEducationRequirements() {
430
- return [
431
- { text: this.strings.educationList.college, value: '大专' },
432
- { text: this.strings.educationList.bachelor, value: '本科' },
433
- { text: this.strings.educationList.master, value: '硕士' },
434
- { text: this.strings.educationList.doctor, value: '博士' },
435
- { text: this.strings.educationList.noLimit, value: '学历不限' },
436
- ];
437
- }
228
+ educationRequirements = [
229
+ { text: '大专', value: '大专' },
230
+ { text: '本科', value: '本科' },
231
+ { text: '硕士', value: '硕士' },
232
+ { text: '博士', value: '博士' },
233
+ { text: '学历不限', value: '学历不限' },
234
+ ];
438
235
  handleClose = () => {
439
236
  this.modalClosed.emit();
440
237
  };
441
- loadHistoryConversations = async (lastId, pageIndex) => {
442
- this.isLoadingConversations = true;
443
- const result = await conversationUtils.fetchHistoryConversations(this.getBotId(), 'pcm-jd-modal', lastId, this._historyConversationPageSize);
444
- const nextCursorStack = this.historyConversationCursorStack.slice(0, pageIndex + 1);
445
- if (result.hasMore && result.nextCursor) {
446
- nextCursorStack[pageIndex + 1] = result.nextCursor;
447
- }
448
- this.historyConversationCursorStack = nextCursorStack;
449
- this.historyConversationPageIndex = pageIndex;
450
- this.historyConversations = result.items;
451
- this.hasMoreHistoryConversations = result.hasMore;
452
- this.isLoadingConversations = false;
453
- };
454
- handleInputHistoryClick = async () => {
455
- this.isHistoryDrawerOpen = true;
456
- this.historyConversationCursorStack = [''];
457
- await this.loadHistoryConversations('', 0);
458
- };
459
- handleHistoryConversationPageChange = async (direction) => {
460
- if (direction === 'prev') {
461
- if (this.historyConversationPageIndex === 0) {
462
- return;
463
- }
464
- const previousPageIndex = this.historyConversationPageIndex - 1;
465
- const previousCursor = this.historyConversationCursorStack[previousPageIndex] || '';
466
- await this.loadHistoryConversations(previousCursor, previousPageIndex);
467
- return;
468
- }
469
- if (!this.hasMoreHistoryConversations) {
470
- return;
471
- }
472
- const nextPageIndex = this.historyConversationPageIndex + 1;
473
- const nextCursor = this.historyConversationCursorStack[nextPageIndex];
474
- if (!nextCursor) {
475
- return;
476
- }
477
- await this.loadHistoryConversations(nextCursor, nextPageIndex);
478
- };
479
- handleSelectConversation = (id) => {
480
- this.conversationId = id;
481
- this.isHistoryDrawerOpen = false;
482
- this.showChatModal = true;
483
- };
484
238
  handleToggleInput = () => {
485
239
  if (this.isVoiceInputActive)
486
240
  return;
@@ -517,7 +271,7 @@ const PcmJdModal = class {
517
271
  };
518
272
  handleNextStep = async () => {
519
273
  if (!this.jobName.trim()) {
520
- alert(this.strings.alerts.enterJobName);
274
+ alert('请输入职位名称');
521
275
  return;
522
276
  }
523
277
  this.step = 'review';
@@ -537,7 +291,6 @@ const PcmJdModal = class {
537
291
  data: {
538
292
  inputs: {
539
293
  input_info: jobName,
540
- locale: this.locale
541
294
  },
542
295
  bot_id: "59322522667307008",
543
296
  workflow_code: "generate_jd_tags"
@@ -579,7 +332,7 @@ const PcmJdModal = class {
579
332
  catch (error) {
580
333
  sentryReporter.SentryReporter.captureError(error, {
581
334
  action: 'handlePositionAnalysis',
582
- component: 'pcm-jd-modal',
335
+ component: 'oem-jd-modal',
583
336
  title: '解析前置标签时错误'
584
337
  });
585
338
  this.someErrorEvent.emit({
@@ -630,7 +383,7 @@ const PcmJdModal = class {
630
383
  // 处理薪资范围标签
631
384
  let salaryRange = '';
632
385
  if (this.selectedTags.salary) {
633
- const range = this.getSalaryRanges().find(r => r.value === this.selectedTags.salary);
386
+ const range = this.salaryRanges.find(r => r.value === this.selectedTags.salary);
634
387
  if (range) {
635
388
  salaryRange = range.text;
636
389
  }
@@ -640,21 +393,21 @@ const PcmJdModal = class {
640
393
  // 处理学历要求标签
641
394
  let education = '';
642
395
  if (this.selectedTags.education) {
643
- const edu = this.getEducationRequirements().find(e => e.value === this.selectedTags.education);
396
+ const edu = this.educationRequirements.find(e => e.value === this.selectedTags.education);
644
397
  if (edu) {
645
398
  education = edu.text;
646
399
  }
647
400
  }
648
401
  // 构建职位描述
649
- let jobInfo = `${this.strings.jobInfoFields.jobName}:${this.jobName}\n`;
402
+ let jobInfo = `职位名称:${this.jobName}\n`;
650
403
  if (salaryRange) {
651
- jobInfo += `${this.strings.jobInfoFields.salaryRange}:${salaryRange}\n`;
404
+ jobInfo += `薪资范围:${salaryRange}\n`;
652
405
  }
653
406
  if (selectedBenefits) {
654
- jobInfo += `${this.strings.jobInfoFields.benefits}:${selectedBenefits}\n`;
407
+ jobInfo += `福利待遇:${selectedBenefits}\n`;
655
408
  }
656
409
  if (education) {
657
- jobInfo += `${this.strings.jobInfoFields.education}:${education}\n`;
410
+ jobInfo += `学历要求:${education}\n`;
658
411
  }
659
412
  // 添加AI标签
660
413
  Object.entries(this.selectedAITags).forEach(([dimension, tags]) => {
@@ -670,7 +423,7 @@ const PcmJdModal = class {
670
423
  console.error('提交结构化数据时出错:', error);
671
424
  sentryReporter.SentryReporter.captureError(error, {
672
425
  action: 'handleSubmitStructured',
673
- component: 'pcm-jd-modal',
426
+ component: 'oem-jd-modal',
674
427
  title: '提交数据时出错'
675
428
  });
676
429
  this.someErrorEvent.emit({
@@ -684,7 +437,7 @@ const PcmJdModal = class {
684
437
  };
685
438
  handleSubmitFree = async () => {
686
439
  if (!this.freeInputText.trim()) {
687
- alert(this.strings.alerts.enterJobInfo);
440
+ alert('请输入职位需求信息');
688
441
  return;
689
442
  }
690
443
  this.isSubmitting = true;
@@ -698,7 +451,7 @@ const PcmJdModal = class {
698
451
  console.error('提交自由输入数据时出错:', error);
699
452
  sentryReporter.SentryReporter.captureError(error, {
700
453
  action: 'handleSubmitFree',
701
- component: 'pcm-jd-modal',
454
+ component: 'oem-jd-modal',
702
455
  title: '提交数据时出错'
703
456
  });
704
457
  this.someErrorEvent.emit({
@@ -711,48 +464,6 @@ const PcmJdModal = class {
711
464
  }
712
465
  };
713
466
  jobDescription = '';
714
- // 根据语言获取对应的botId
715
- getBotId() {
716
- const currentLocale = this.locale || this.hostElement?.lang || 'zh';
717
- const botIdMap = {
718
- 'zh': '3022316191018873',
719
- 'en': '8164748078835713'
720
- };
721
- return botIdMap[currentLocale] || botIdMap['zh'];
722
- }
723
- async handleIsOpenChange(newValue) {
724
- if (!newValue) {
725
- // 重置状态
726
- this.showChatModal = false;
727
- this.jobDescription = '';
728
- this.jobName = '';
729
- this.freeInputText = '';
730
- this.isVoiceInputActive = false;
731
- this.step = 'input';
732
- this.inputMode = 'structured';
733
- this.tagGroups = [];
734
- this.shuffledTagGroups = [];
735
- this.selectedAITags = {};
736
- this.selectedTags = {
737
- salary: '',
738
- benefits: [],
739
- education: ''
740
- };
741
- }
742
- else {
743
- if (this.customInputs && this.customInputs.job_info) {
744
- this.jobDescription = this.customInputs.job_info;
745
- // 如果有 job_info,直接切换到自由输入模式并填充内容
746
- this.inputMode = 'free';
747
- this.freeInputText = this.customInputs.job_info;
748
- }
749
- await index$1.verifyApiKey(this.token);
750
- if (this.conversationId) {
751
- // 如果有会话ID,直接显示聊天模态框
752
- this.showChatModal = true;
753
- }
754
- }
755
- }
756
467
  // 渲染标签组
757
468
  renderTagGroup(title, options, category) {
758
469
  return (index.h("div", { class: "tag-group" }, index.h("div", { class: "tag-title" }, title), index.h("div", { class: "tag-container" }, options.map(option => {
@@ -777,7 +488,7 @@ const PcmJdModal = class {
777
488
  }
778
489
  // 渲染加载状态
779
490
  renderLoadingState() {
780
- return (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("div", { class: "loading-text" }, index.h("div", null, this.strings.aiAnalyzing), index.h("div", { class: "loading-subtext" }, this.strings.pleaseWait))));
491
+ return (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("div", { class: "loading-text" }, index.h("div", null, "AI \u6B63\u5728\u5206\u6790\u804C\u4F4D\u4FE1\u606F"), index.h("div", { class: "loading-subtext" }, "\u8BF7\u7A0D\u5019..."))));
781
492
  }
782
493
  render() {
783
494
  if (!this.isOpen)
@@ -796,11 +507,7 @@ const PcmJdModal = class {
796
507
  };
797
508
  // 显示加载状态
798
509
  const isLoading = this.conversationId && !this.showChatModal;
799
- return (index.h("div", { class: overlayClass, style: modalStyle }, index.h("div", { class: containerClass }, this.isShowHeader && (index.h("div", { class: "modal-header" }, index.h("div", { class: "header-left" }, this.icon && index.h("img", { src: this.icon, class: "header-icon", alt: "\u5E94\u7528\u56FE\u6807" }), index.h("div", null, this.modalTitle), this.showInputHistory && (index.h("button", { type: "button", class: "header-history-entry", onClick: this.handleInputHistoryClick, title: this.strings?.historyConversations }, this.strings?.historyConversations))), this.isNeedClose && (index.h("button", { class: "close-button", onClick: this.handleClose }, index.h("span", null, "\u00D7"))))), this.showInputHistory && (index.h("components-drawer", { isOpen: this.isHistoryDrawerOpen, drawerTitle: this.strings?.historyConversations, width: "400px", onClosed: () => { this.isHistoryDrawerOpen = false; } }, index.h("div", { class: "history-drawer-content" }, index.h("div", { class: "conversation-list" }, this.isLoadingConversations ? (index.h("div", { class: "loading-conversations" }, index.h("div", { class: "loading-spinner-small" }), index.h("p", null, this.strings?.history?.loading))) : this.historyConversations.length === 0 ? (index.h("div", { class: "empty-conversations" }, index.h("p", null, this.strings?.history?.noHistory))) : (this.historyConversations.map(conversation => (index.h("div", { key: conversation.id, class: "conversation-item", onClick: () => this.handleSelectConversation(conversation.id) }, index.h("div", { class: "conversation-info" }, index.h("div", { class: "conversation-title" }, conversation.name), index.h("div", { class: "conversation-meta" }, index.h("span", { class: "conversation-time" }, conversation.timeDisplay), conversation.message_count > 0 && (index.h("span", { class: "message-count" }, conversation.message_count, "\u6761\u6D88\u606F")), conversation.status && (index.h("span", { class: {
800
- 'conversation-status': true,
801
- 'completed': conversation.status === '结束',
802
- 'running': conversation.status === '进行中',
803
- } }, conversation.status))))))))), !this.isLoadingConversations && (this.historyConversationPageIndex > 0 || this.hasMoreHistoryConversations) && (index.h("div", { class: "history-pagination" }, index.h("button", { type: "button", class: "history-pagination-button", disabled: this.historyConversationPageIndex === 0, onClick: () => this.handleHistoryConversationPageChange('prev') }, "\u4E0A\u4E00\u9875"), index.h("span", { class: "history-pagination-info" }, "\u7B2C ", this.historyConversationPageIndex + 1, " \u9875"), index.h("button", { type: "button", class: "history-pagination-button", disabled: !this.hasMoreHistoryConversations, onClick: () => this.handleHistoryConversationPageChange('next') }, "\u4E0B\u4E00\u9875")))))), !this.showChatModal && !this.conversationId && true && (index.h("div", { class: "input-container" }, index.h("div", { class: "input-mode-toggle" }, index.h("span", null, this.strings.jobRequirementInfo), index.h("button", { class: "toggle-button", onClick: this.handleToggleInput, disabled: this.isLoading || this.isVoiceInputActive }, index.h("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M4 6h16M4 12h16M4 18h16" })), this.strings.toggleInput)), this.inputMode === 'structured' && (index.h("div", { class: "structured-input" }, this.step === 'input' && (index.h("div", { class: "job-name-input" }, index.h("label", { htmlFor: "job-name" }, this.strings.jobName, " ", index.h("span", { class: "required" }, this.strings.required)), index.h("input", { id: "job-name", type: "text", placeholder: this.strings.jobNamePlaceholder, value: this.jobName, onInput: this.handleJobNameChange, disabled: this.isLoading }), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button next-button", onClick: this.handleNextStep, disabled: !this.jobName.trim() || this.isLoading }, this.strings.nextStep)))), this.step === 'review' && (index.h("div", { class: "tag-selection" }, this.isLoading ? (this.renderLoadingState()) : (index.h("div", { class: "tag-selection-content" }, this.tagGroups.length > 0 && (index.h("div", { class: "ai-tags-section" }, index.h("div", { class: "section-title" }, this.strings.aiRecommendedTags), this.renderAITagGroups())), this.tagGroups.length > 0 && (index.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'))), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button prev-button", onClick: this.handlePrevStep }, this.strings.prevStep), index.h("button", { class: "submit-button", onClick: this.handleSubmitStructured, disabled: this.isSubmitting }, this.isSubmitting ? this.strings.processing : this.strings.generateJD)))))))), this.inputMode === 'free' && (index.h("div", { class: "free-input" }, index.h("div", { class: "textarea-container" }, index.h("label", { htmlFor: "free-input-text" }, this.strings.jdInfo, " ", index.h("span", { class: "required" }, this.strings.required)), index.h("div", { class: "voice-textarea-wrapper" }, index.h("textarea", { id: "free-input-text", placeholder: this.strings.jdInfoPlaceholder, rows: 8, value: this.freeInputText, onInput: this.handleFreeInputChange, disabled: this.isVoiceInputActive }), index.h("div", { class: "voice-input-entry" }, index.h("components-voice-input-btn", { locale: this.locale === 'en' ? 'en' : 'zh', disabled: this.isSubmitting, onVoiceRecognized: this.handleVoiceRecognized, onVoiceStatusChange: this.handleVoiceStatusChange, onSomeErrorEvent: this.handleVoiceInputError })))), index.h("div", { class: "input-guide" }, index.h("div", { class: "guide-title" }, this.strings.inputGuideTitle), index.h("div", { class: "guide-content" }, index.h("div", null, this.strings.inputGuide.jobTitle), index.h("div", null, this.strings.inputGuide.salary), index.h("div", null, this.strings.inputGuide.benefits), index.h("div", null, this.strings.inputGuide.responsibilities), index.h("div", null, this.strings.inputGuide.qualifications), index.h("div", null, this.strings.inputGuide.location))), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button", onClick: this.handleSubmitFree, disabled: !this.freeInputText.trim() || this.isSubmitting || this.isVoiceInputActive }, this.isSubmitting ? this.strings.processing : this.strings.generateJD)))), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, this.strings.aiDisclaimer), index.h("p", { class: "beian-info" }, index.h("span", null, this.strings.beianLabel), "\uFF1A", index.h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, this.strings.beianNumber))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, this.strings.loadingConversation))), this.showChatModal && (index.h("div", null, index.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: {
510
+ return (index.h("div", { class: overlayClass, style: modalStyle }, index.h("div", { class: containerClass }, this.isShowHeader && (index.h("div", { class: "modal-header" }, index.h("div", { class: "header-left" }, this.icon && index.h("img", { src: this.icon, class: "header-icon", alt: "\u5E94\u7528\u56FE\u6807" }), index.h("div", null, this.modalTitle)), this.isNeedClose && (index.h("button", { class: "close-button", onClick: this.handleClose }, index.h("span", null, "\u00D7"))))), !this.showChatModal && !this.conversationId && true && (index.h("div", { class: "input-container" }, index.h("div", { class: "input-mode-toggle" }, index.h("span", null, "\u804C\u4F4D\u9700\u6C42\u4FE1\u606F"), index.h("button", { class: "toggle-button", onClick: this.handleToggleInput, disabled: this.isLoading || this.isVoiceInputActive }, index.h("svg", { viewBox: "0 0 24 24", width: "16", height: "16", fill: "none", stroke: "currentColor" }, index.h("path", { "stroke-linecap": "round", "stroke-linejoin": "round", "stroke-width": "2", d: "M4 6h16M4 12h16M4 18h16" })), "\u5207\u6362\u8F93\u5165")), this.inputMode === 'structured' && (index.h("div", { class: "structured-input" }, this.step === 'input' && (index.h("div", { class: "job-name-input" }, index.h("label", { htmlFor: "job-name" }, "\u804C\u4F4D\u540D\u79F0 ", index.h("span", { class: "required" }, "*")), index.h("input", { id: "job-name", type: "text", placeholder: "\u8BF7\u8F93\u5165\u804C\u4F4D\u540D\u79F0", value: this.jobName, onInput: this.handleJobNameChange, disabled: this.isLoading }), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button next-button", onClick: this.handleNextStep, disabled: !this.jobName.trim() || this.isLoading }, "\u4E0B\u4E00\u6B65")))), this.step === 'review' && (index.h("div", { class: "tag-selection" }, this.isLoading ? (this.renderLoadingState()) : (index.h("div", { class: "tag-selection-content" }, this.tagGroups.length > 0 && (index.h("div", { class: "ai-tags-section" }, index.h("div", { class: "section-title" }, "AI \u63A8\u8350\u6807\u7B7E"), this.renderAITagGroups())), this.tagGroups.length > 0 && (index.h("div", { class: "basic-tags-section" }, this.renderTagGroup('月薪范围', this.salaryRanges, 'salary'), this.renderTagGroup('福利待遇', this.benefits, 'benefits'), this.renderTagGroup('学历要求', this.educationRequirements, 'education'))), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button prev-button", onClick: this.handlePrevStep }, "\u4E0A\u4E00\u6B65"), index.h("button", { class: "submit-button", onClick: this.handleSubmitStructured, disabled: this.isSubmitting }, this.isSubmitting ? '处理中...' : '生成JD')))))))), this.inputMode === 'free' && (index.h("div", { class: "free-input" }, index.h("div", { class: "textarea-container" }, index.h("label", { htmlFor: "free-input-text" }, "JD\u4FE1\u606F ", index.h("span", { class: "required" }, "*")), index.h("div", { class: "voice-textarea-wrapper" }, index.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 }), index.h("div", { class: "voice-input-entry" }, index.h("components-voice-input-btn", { disabled: this.isSubmitting, onVoiceRecognized: this.handleVoiceRecognized, onVoiceStatusChange: this.handleVoiceStatusChange, onSomeErrorEvent: this.handleVoiceInputError })))), index.h("div", { class: "input-guide" }, index.h("div", { class: "guide-title" }, "\u8F93\u5165\u683C\u5F0F\u53C2\u8003\uFF1A"), index.h("div", { class: "guide-content" }, index.h("div", null, "\u2022 \u804C\u4F4D\u540D\u79F0 - \u660E\u786E\u5B9A\u4E49\u804C\u4F4D\u7684\u540D\u79F0"), index.h("div", null, "\u2022 \u85AA\u8D44\u8303\u56F4 - \u660E\u786E\u8BE5\u5C97\u4F4D\u7684\u6708\u85AA\u6216\u5E74\u85AA"), index.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"), index.h("div", null, "\u2022 \u5DE5\u4F5C\u804C\u8D23 - \u63CF\u8FF0\u5DE5\u4F5C\u5185\u5BB9"), index.h("div", null, "\u2022 \u4EFB\u804C\u8D44\u683C - \u5305\u62EC\u5B66\u5386\u3001\u7ECF\u9A8C\u548C\u6280\u672F\u8981\u6C42"), index.h("div", null, "\u2022 \u5DE5\u4F5C\u5730\u70B9\u4E0E\u6027\u8D28 - \u5168\u804C/\u517C\u804C\u3001\u8FDC\u7A0B/\u529E\u516C\u5BA4"))), index.h("div", { class: "button-container" }, index.h("button", { class: "submit-button", onClick: this.handleSubmitFree, disabled: !this.freeInputText.trim() || this.isSubmitting || this.isVoiceInputActive }, this.isSubmitting ? '处理中...' : '生成JD')))), index.h("div", { class: "ai-disclaimer" }, index.h("p", null, "\u6240\u6709\u5185\u5BB9\u5747\u7531AI\u751F\u6210\u4EC5\u4F9B\u53C2\u8003"), index.h("p", { class: "beian-info" }, index.h("span", null, "\u4E2D\u592E\u7F51\u4FE1\u529E\u751F\u6210\u5F0F\u4EBA\u5DE5\u667A\u80FD\u670D\u52A1\u5907\u6848\u53F7"), "\uFF1A", index.h("a", { href: "https://www.pincaimao.com", target: "_blank", rel: "noopener noreferrer" }, "Hunan-PinCaiMao-202412310003"))))), isLoading && (index.h("div", { class: "loading-container" }, index.h("div", { class: "loading-spinner" }), index.h("p", { class: "loading-text" }, "\u6B63\u5728\u52A0\u8F7D\u5BF9\u8BDD..."))), this.showChatModal && (index.h("div", null, index.h("pcm-app-chat-modal", { isOpen: true, modalTitle: this.modalTitle, icon: this.icon, isShowHeader: this.isShowHeader, isNeedClose: this.isNeedClose, fullscreen: this.fullscreen, showWorkspaceHistory: this.showWorkspaceHistory, botId: "3022316191018873", conversationId: this.conversationId, defaultQuery: this.defaultQuery, filePreviewMode: this.filePreviewMode, customInputs: {
804
511
  ...this.customInputs,
805
512
  job_info: this.customInputs?.job_info || this.jobDescription
806
513
  }, interviewMode: "text", showSaveJdButton: this.showSaveJdButton, saveJdButtonText: this.saveJdButtonText }))))));
@@ -810,9 +517,9 @@ const PcmJdModal = class {
810
517
  "isOpen": ["handleIsOpenChange"]
811
518
  }; }
812
519
  };
813
- PcmJdModal.style = pcmJdModalCss + (globalCss + hostCss);
520
+ OemJdModal.style = oemJdModalCss + (globalCss + hostCss);
814
521
 
815
- exports.pcm_jd_modal = PcmJdModal;
816
- //# sourceMappingURL=pcm-jd-modal.entry.cjs.js.map
522
+ exports.oem_jd_modal = OemJdModal;
523
+ //# sourceMappingURL=oem-jd-modal.entry.cjs.js.map
817
524
 
818
- //# sourceMappingURL=pcm-jd-modal.cjs.entry.js.map
525
+ //# sourceMappingURL=oem-jd-modal.cjs.entry.js.map