@robot-admin/naive-ui-components 0.9.1 → 0.9.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (327) hide show
  1. package/dist/C_ActionBar-BAcfOfRw.css.map +1 -0
  2. package/dist/C_ActionBar-DG2HW7t5.css.map +1 -0
  3. package/dist/C_ActionBar.css +47 -47
  4. package/dist/C_ActionBar.js.map +1 -1
  5. package/dist/C_ActionBar2.js +1 -1
  6. package/dist/C_ActionBar2.js.map +1 -1
  7. package/dist/{C_AntV-BY8jqqmi.css.map → C_AntV-D_jTK8oZ.css.map} +1 -1
  8. package/dist/{C_AntV-BbkHc-_a.css.map → C_AntV-DanTAq22.css.map} +1 -1
  9. package/dist/C_AntV.css +79 -79
  10. package/dist/C_AntV.js.map +1 -1
  11. package/dist/C_AntV2.js +3 -3
  12. package/dist/C_AntV2.js.map +1 -1
  13. package/dist/{C_AudioPlayer-DKRIGhi7.css.map → C_AudioPlayer-BnYIJXPD.css.map} +1 -1
  14. package/dist/{C_AudioPlayer-DlB6eNsa.css.map → C_AudioPlayer-ldTy9Y34.css.map} +1 -1
  15. package/dist/C_AudioPlayer.css +47 -47
  16. package/dist/C_AudioPlayer.js.map +1 -1
  17. package/dist/C_AudioPlayer2.js +1 -1
  18. package/dist/C_AudioPlayer2.js.map +1 -1
  19. package/dist/{C_AvatarGroup-D02zci-i.css.map → C_AvatarGroup-B9d-GJ9c.css.map} +1 -1
  20. package/dist/{C_AvatarGroup-DatHaUlY.css.map → C_AvatarGroup-SIzxuuZr.css.map} +1 -1
  21. package/dist/C_AvatarGroup.css +21 -21
  22. package/dist/C_AvatarGroup.js.map +1 -1
  23. package/dist/C_AvatarGroup2.js +1 -1
  24. package/dist/C_AvatarGroup2.js.map +1 -1
  25. package/dist/{C_Barcode-DYDRDe2O.css.map → C_Barcode-CAU2mFcx.css.map} +1 -1
  26. package/dist/{C_Barcode-muJdc_O4.css.map → C_Barcode-D2oJaEg3.css.map} +1 -1
  27. package/dist/C_Barcode.css +7 -7
  28. package/dist/C_Barcode.js.map +1 -1
  29. package/dist/C_Barcode2.js +1 -1
  30. package/dist/C_Barcode2.js.map +1 -1
  31. package/dist/C_Breadcrumb.js.map +1 -1
  32. package/dist/C_Breadcrumb2.js +1 -1
  33. package/dist/C_Breadcrumb2.js.map +1 -1
  34. package/dist/{C_Captcha-9_hk6VmY.css.map → C_Captcha-B3yrtG7t.css.map} +1 -1
  35. package/dist/{C_Captcha-MtASlJ0f.css.map → C_Captcha-D4hDdWDu.css.map} +1 -1
  36. package/dist/C_Captcha.css +19 -19
  37. package/dist/C_Captcha.js.map +1 -1
  38. package/dist/C_Captcha2.js +1 -1
  39. package/dist/C_Captcha2.js.map +1 -1
  40. package/dist/C_Cascade-BE7t1OX5.css.map +1 -0
  41. package/dist/C_Cascade-CpDiau1y.css.map +1 -0
  42. package/dist/C_Cascade.css +3 -3
  43. package/dist/C_Cascade.js.map +1 -1
  44. package/dist/C_Cascade2.js +1 -1
  45. package/dist/C_Cascade2.js.map +1 -1
  46. package/dist/{C_Chat-Csjz_BFw.css.map → C_Chat-CF1SU7mc.css.map} +1 -1
  47. package/dist/{C_Chat-DO1ZBA_0.css.map → C_Chat-DeUv6uuI.css.map} +1 -1
  48. package/dist/C_Chat.css +65 -65
  49. package/dist/C_Chat.js.map +1 -1
  50. package/dist/C_Chat2.js +1 -1
  51. package/dist/C_Chat2.js.map +1 -1
  52. package/dist/{C_City-Bam08Qv3.css.map → C_City-DdkX6u64.css.map} +1 -1
  53. package/dist/{C_City-Bb3W-KaN.css.map → C_City-iP-dIvui.css.map} +1 -1
  54. package/dist/C_City.css +29 -29
  55. package/dist/C_City.js.map +1 -1
  56. package/dist/C_City2.js +1 -1
  57. package/dist/C_City2.js.map +1 -1
  58. package/dist/C_Code-BWmJMNS7.css.map +1 -0
  59. package/dist/C_Code-k14vjgVl.css.map +1 -0
  60. package/dist/C_Code.css +3 -3
  61. package/dist/C_Code.js.map +1 -1
  62. package/dist/C_Code2.js +1 -1
  63. package/dist/C_Code2.js.map +1 -1
  64. package/dist/{C_CollapsePanel-CWkFCqNQ.css.map → C_CollapsePanel-BSKcWSmY.css.map} +1 -1
  65. package/dist/{C_CollapsePanel-pcVJA_4z.css.map → C_CollapsePanel-DRvRq8tB.css.map} +1 -1
  66. package/dist/C_CollapsePanel.css +35 -35
  67. package/dist/C_CollapsePanel.js.map +1 -1
  68. package/dist/C_CollapsePanel2.js +1 -1
  69. package/dist/C_CollapsePanel2.js.map +1 -1
  70. package/dist/{C_ContextMenu-B3Cgz_wJ.css.map → C_ContextMenu-Bn_uhJSo.css.map} +1 -1
  71. package/dist/{C_ContextMenu-u1LixF3_.css.map → C_ContextMenu-C9iuxG2n.css.map} +1 -1
  72. package/dist/C_ContextMenu.css +17 -17
  73. package/dist/C_ContextMenu.js.map +1 -1
  74. package/dist/C_ContextMenu2.js +1 -1
  75. package/dist/C_ContextMenu2.js.map +1 -1
  76. package/dist/{C_Cron-Civir5-I.css.map → C_Cron-BIQ2By9v.css.map} +1 -1
  77. package/dist/{C_Cron-iw3qpMsy.css.map → C_Cron-BNSAGD6A.css.map} +1 -1
  78. package/dist/C_Cron.css +57 -57
  79. package/dist/C_Cron.js.map +1 -1
  80. package/dist/C_Cron2.js +1 -1
  81. package/dist/C_Cron2.js.map +1 -1
  82. package/dist/C_Date.js.map +1 -1
  83. package/dist/C_Date2.js +1 -1
  84. package/dist/C_Date2.js.map +1 -1
  85. package/dist/{C_Draggable-BCjIvIwT.css.map → C_Draggable-BDAbk4s5.css.map} +1 -1
  86. package/dist/{C_Draggable-DwkSlCOS.css.map → C_Draggable-UhfDLXop.css.map} +1 -1
  87. package/dist/C_Draggable.css +46 -46
  88. package/dist/C_Draggable.js.map +1 -1
  89. package/dist/C_Draggable2.js +1 -1
  90. package/dist/C_Draggable2.js.map +1 -1
  91. package/dist/{C_Editor-BfjjYQ9B.css.map → C_Editor-CZOaChru.css.map} +1 -1
  92. package/dist/{C_Editor-Do2StvoJ.css.map → C_Editor-kJAQq5z6.css.map} +1 -1
  93. package/dist/C_Editor.css +14 -14
  94. package/dist/C_Editor.js.map +1 -1
  95. package/dist/C_Editor2.js +1 -1
  96. package/dist/C_Editor2.js.map +1 -1
  97. package/dist/{C_FilePreview-BhcbiXsV.css.map → C_FilePreview-Bs_omgJS.css.map} +1 -1
  98. package/dist/{C_FilePreview-DJudcIbW.css.map → C_FilePreview-DbwoyF2j.css.map} +1 -1
  99. package/dist/C_FilePreview.css +91 -91
  100. package/dist/C_FilePreview.js.map +1 -1
  101. package/dist/C_FilePreview2.js +1 -1
  102. package/dist/C_FilePreview2.js.map +1 -1
  103. package/dist/{C_Form-BtcAPIRi.css.map → C_Form-SCq-DZaZ.css.map} +1 -1
  104. package/dist/{C_Form-D_gwQ7hC.css.map → C_Form-mcd1nKvF.css.map} +1 -1
  105. package/dist/C_Form.css +223 -223
  106. package/dist/C_Form.js.map +1 -1
  107. package/dist/C_Form2.js +1 -1
  108. package/dist/C_Form2.js.map +1 -1
  109. package/dist/{C_FormSearch-Bi4XYjjk.css.map → C_FormSearch-C3F8peAY.css.map} +1 -1
  110. package/dist/{C_FormSearch-DUGOoX0u.css.map → C_FormSearch-qW56bJPo.css.map} +1 -1
  111. package/dist/C_FormSearch.css +45 -45
  112. package/dist/C_FormSearch.js.map +1 -1
  113. package/dist/C_FormSearch2.js +1 -1
  114. package/dist/C_FormSearch2.js.map +1 -1
  115. package/dist/{C_FormulaEditor-CJk3SSUJ.css.map → C_FormulaEditor-ChOvDbsZ.css.map} +1 -1
  116. package/dist/{C_FormulaEditor-Cy7mjfVO.css.map → C_FormulaEditor-mfiIUDY4.css.map} +1 -1
  117. package/dist/C_FormulaEditor.css +78 -78
  118. package/dist/C_FormulaEditor.js.map +1 -1
  119. package/dist/C_FormulaEditor2.js +1 -1
  120. package/dist/C_FormulaEditor2.js.map +1 -1
  121. package/dist/C_FullCalendar-C2nsqrgS.css.map +1 -0
  122. package/dist/C_FullCalendar-DdFtXVhy.css.map +1 -0
  123. package/dist/C_FullCalendar.css +2 -2
  124. package/dist/C_FullCalendar.js.map +1 -1
  125. package/dist/C_FullCalendar2.js +1 -1
  126. package/dist/C_FullCalendar2.js.map +1 -1
  127. package/dist/{C_GlobalSearch-B6wK3m3k.css.map → C_GlobalSearch-Dq4Wo01K.css.map} +1 -1
  128. package/dist/{C_GlobalSearch-DoPjldFm.css.map → C_GlobalSearch-RB7J43gu.css.map} +1 -1
  129. package/dist/C_GlobalSearch.css +112 -112
  130. package/dist/C_GlobalSearch.js.map +1 -1
  131. package/dist/C_GlobalSearch2.js +1 -1
  132. package/dist/C_GlobalSearch2.js.map +1 -1
  133. package/dist/C_Guide.js.map +1 -1
  134. package/dist/C_Guide2.js +1 -1
  135. package/dist/C_Guide2.js.map +1 -1
  136. package/dist/C_Icon.js.map +1 -1
  137. package/dist/C_Icon2.js.map +1 -1
  138. package/dist/{C_ImageCropper-BqZpkZfU.css.map → C_ImageCropper-CdTX2nxU.css.map} +1 -1
  139. package/dist/{C_ImageCropper-CylwGuzS.css.map → C_ImageCropper-ilOqPklJ.css.map} +1 -1
  140. package/dist/C_ImageCropper.css +23 -23
  141. package/dist/C_ImageCropper.js.map +1 -1
  142. package/dist/C_ImageCropper2.js +1 -1
  143. package/dist/C_ImageCropper2.js.map +1 -1
  144. package/dist/C_Language.js.map +1 -1
  145. package/dist/C_Language2.js +1 -1
  146. package/dist/C_Language2.js.map +1 -1
  147. package/dist/{C_Login-BkdnkBKX.css.map → C_Login-B3qYkLrN.css.map} +1 -1
  148. package/dist/{C_Login-VkMM6OJ2.css.map → C_Login-xMI1_ojE.css.map} +1 -1
  149. package/dist/C_Login.css +72 -72
  150. package/dist/C_Login.js.map +1 -1
  151. package/dist/C_Login2.js +1 -1
  152. package/dist/C_Login2.js.map +1 -1
  153. package/dist/{C_Map-DNnBcY70.css.map → C_Map-CWMMN58_.css.map} +1 -1
  154. package/dist/{C_Map-LEXIx6zM.css.map → C_Map-xSR2H-9o.css.map} +1 -1
  155. package/dist/C_Map.css +4 -4
  156. package/dist/C_Map.js.map +1 -1
  157. package/dist/C_Map2.js +1 -1
  158. package/dist/C_Map2.js.map +1 -1
  159. package/dist/{C_Markdown-DwmI0_0Q.css.map → C_Markdown-C7lTVJ1S.css.map} +1 -1
  160. package/dist/{C_Markdown-k0794RW0.css.map → C_Markdown-CZDm_baQ.css.map} +1 -1
  161. package/dist/C_Markdown.css +33 -33
  162. package/dist/C_Markdown.js.map +1 -1
  163. package/dist/C_Markdown2.js +1 -1
  164. package/dist/C_Markdown2.js.map +1 -1
  165. package/dist/C_Menu.js.map +1 -1
  166. package/dist/C_Menu2.js +1 -1
  167. package/dist/C_Menu2.js.map +1 -1
  168. package/dist/{C_NotificationCenter-DT6fQ79O.css.map → C_NotificationCenter-D7GGGWg7.css.map} +1 -1
  169. package/dist/{C_NotificationCenter-DbgBiyqB.css.map → C_NotificationCenter-SSmeHA45.css.map} +1 -1
  170. package/dist/C_NotificationCenter.css +89 -89
  171. package/dist/C_NotificationCenter.js.map +1 -1
  172. package/dist/C_NotificationCenter2.js +1 -1
  173. package/dist/C_NotificationCenter2.js.map +1 -1
  174. package/dist/C_OrgChart.js.map +1 -1
  175. package/dist/C_OrgChart2.js.map +1 -1
  176. package/dist/C_Progress.js.map +1 -1
  177. package/dist/C_Progress2.js +1 -1
  178. package/dist/C_Progress2.js.map +1 -1
  179. package/dist/{C_QRCode-CFNTda_1.css.map → C_QRCode-B_1lHUdx.css.map} +1 -1
  180. package/dist/{C_QRCode-CmWr9lK-.css.map → C_QRCode-CuQRYu0s.css.map} +1 -1
  181. package/dist/C_QRCode.css +9 -9
  182. package/dist/C_QRCode.js.map +1 -1
  183. package/dist/C_QRCode2.js +1 -1
  184. package/dist/C_QRCode2.js.map +1 -1
  185. package/dist/{C_Signature-BDx4ctsE.css.map → C_Signature-Bp-RBpAl.css.map} +1 -1
  186. package/dist/{C_Signature-Bz_uNbwv.css.map → C_Signature-Cb2VW1ok.css.map} +1 -1
  187. package/dist/C_Signature.css +15 -15
  188. package/dist/C_Signature.js.map +1 -1
  189. package/dist/C_Signature2.js +1 -1
  190. package/dist/C_Signature2.js.map +1 -1
  191. package/dist/C_Skeleton.js.map +1 -1
  192. package/dist/C_Skeleton2.js.map +1 -1
  193. package/dist/{C_SplitPane-BOwr1C7K.css.map → C_SplitPane-CgGWYsRE.css.map} +1 -1
  194. package/dist/{C_SplitPane-N-a_D-7F.css.map → C_SplitPane-DGf6WEeR.css.map} +1 -1
  195. package/dist/C_SplitPane.css +31 -31
  196. package/dist/C_SplitPane.js.map +1 -1
  197. package/dist/C_SplitPane2.js +1 -1
  198. package/dist/C_SplitPane2.js.map +1 -1
  199. package/dist/C_Steps-Buyg7Axn.css.map +1 -0
  200. package/dist/C_Steps-DNY91VbQ.css.map +1 -0
  201. package/dist/C_Steps.css +38 -38
  202. package/dist/C_Steps.js.map +1 -1
  203. package/dist/C_Steps2.js +1 -1
  204. package/dist/C_Steps2.js.map +1 -1
  205. package/dist/{C_Table-BcM5LqAM.css.map → C_Table--kbQaaBv.css.map} +1 -1
  206. package/dist/{C_Table-HATVoq1F.css.map → C_Table-D631kdXC.css.map} +1 -1
  207. package/dist/C_Table.css +104 -104
  208. package/dist/C_Table.js.map +1 -1
  209. package/dist/C_Table2.js +2 -2
  210. package/dist/C_Table2.js.map +1 -1
  211. package/dist/{C_TagsView-DX3LecK1.css.map → C_TagsView-COjGNM9h.css.map} +1 -1
  212. package/dist/{C_TagsView-DqOTa8bL.css.map → C_TagsView-zUDj9S06.css.map} +1 -1
  213. package/dist/C_TagsView.css +36 -36
  214. package/dist/C_TagsView.js.map +1 -1
  215. package/dist/C_TagsView2.js +1 -1
  216. package/dist/C_TagsView2.js.map +1 -1
  217. package/dist/C_Theme.js.map +1 -1
  218. package/dist/C_Theme2.js +1 -1
  219. package/dist/C_Theme2.js.map +1 -1
  220. package/dist/C_Time-BQ9PGy8B.css.map +1 -0
  221. package/dist/C_Time-CO73krC6.css.map +1 -0
  222. package/dist/C_Time.css +5 -5
  223. package/dist/C_Time.js.map +1 -1
  224. package/dist/C_Time2.js +1 -1
  225. package/dist/C_Time2.js.map +1 -1
  226. package/dist/{C_Timeline-BKkimrZx.css.map → C_Timeline-4rk0Dzgn.css.map} +1 -1
  227. package/dist/{C_Timeline-DTuSCX6p.css.map → C_Timeline-DdESmqwL.css.map} +1 -1
  228. package/dist/C_Timeline.css +45 -45
  229. package/dist/C_Timeline.js.map +1 -1
  230. package/dist/C_Timeline2.js +1 -1
  231. package/dist/C_Timeline2.js.map +1 -1
  232. package/dist/{C_Transfer-BOB6OBqS.css.map → C_Transfer-B-vjvhjI.css.map} +1 -1
  233. package/dist/{C_Transfer-Dpq7ezWC.css.map → C_Transfer-EzdHzZNv.css.map} +1 -1
  234. package/dist/C_Transfer.css +31 -31
  235. package/dist/C_Transfer.js.map +1 -1
  236. package/dist/C_Transfer2.js +1 -1
  237. package/dist/C_Transfer2.js.map +1 -1
  238. package/dist/{C_Tree-D98nX9qT.css.map → C_Tree-CsXgGfhn.css.map} +1 -1
  239. package/dist/{C_Tree-ulfm7b-P.css.map → C_Tree-P7eRpnOa.css.map} +1 -1
  240. package/dist/C_Tree.css +33 -33
  241. package/dist/C_Tree.js.map +1 -1
  242. package/dist/C_Tree2.js +1 -1
  243. package/dist/C_Tree2.js.map +1 -1
  244. package/dist/{C_Upload-BR9fg5r4.css.map → C_Upload-CHjiVVh7.css.map} +1 -1
  245. package/dist/{C_Upload-CPqf74Ea.css.map → C_Upload-DE3OLsZD.css.map} +1 -1
  246. package/dist/C_Upload.css +50 -50
  247. package/dist/C_Upload.js.map +1 -1
  248. package/dist/C_Upload2.js +2 -2
  249. package/dist/C_Upload2.js.map +1 -1
  250. package/dist/{C_VideoPlayer-4J96tKfK.css.map → C_VideoPlayer-CnaNOFtW.css.map} +1 -1
  251. package/dist/{C_VideoPlayer-D35seHkm.css.map → C_VideoPlayer-cnP88zNV.css.map} +1 -1
  252. package/dist/C_VideoPlayer.css +68 -68
  253. package/dist/C_VideoPlayer.js.map +1 -1
  254. package/dist/C_VideoPlayer2.js +3 -3
  255. package/dist/C_VideoPlayer2.js.map +1 -1
  256. package/dist/{C_VtableGantt-C2lxFmWg.css.map → C_VtableGantt-CZlJgvpC.css.map} +1 -1
  257. package/dist/{C_VtableGantt-Dwnkw_WL.css.map → C_VtableGantt-DKfQkql0.css.map} +1 -1
  258. package/dist/C_VtableGantt.css +15 -15
  259. package/dist/C_VtableGantt.js.map +1 -1
  260. package/dist/C_VtableGantt2.js +1 -1
  261. package/dist/C_VtableGantt2.js.map +1 -1
  262. package/dist/{C_WaterFall-C4HDqf-a.css.map → C_WaterFall-BJ_39ext.css.map} +1 -1
  263. package/dist/{C_WaterFall-HWB-gPON.css.map → C_WaterFall-cYc1vntE.css.map} +1 -1
  264. package/dist/C_WaterFall.css +16 -16
  265. package/dist/C_WaterFall.js.map +1 -1
  266. package/dist/C_WaterFall2.js +1 -1
  267. package/dist/C_WaterFall2.js.map +1 -1
  268. package/dist/{C_WorkFlow-2hJfvvTK.css.map → C_WorkFlow-BFzRGGhJ.css.map} +1 -1
  269. package/dist/{C_WorkFlow-DHoNjl8-.css.map → C_WorkFlow-DSyCOvRp.css.map} +1 -1
  270. package/dist/C_WorkFlow.css +193 -193
  271. package/dist/C_WorkFlow.js.map +1 -1
  272. package/dist/C_WorkFlow2.js +1 -1
  273. package/dist/C_WorkFlow2.js.map +1 -1
  274. package/dist/constants.d.ts +1 -1
  275. package/dist/constants2.d.ts +2 -2
  276. package/dist/constants3.d.ts +1 -1
  277. package/dist/constants4.d.ts +1 -1
  278. package/dist/constants5.d.ts +2 -2
  279. package/dist/data.d.ts +1 -1
  280. package/dist/index.vue.d.ts +2 -2
  281. package/dist/index11.vue.d.ts +2 -2
  282. package/dist/index12.vue.d.ts +1 -1
  283. package/dist/index13.vue.d.ts +2 -2
  284. package/dist/index14.vue.d.ts +3 -3
  285. package/dist/index15.vue.d.ts +6 -6
  286. package/dist/index17.vue.d.ts +1 -1
  287. package/dist/index18.vue.d.ts +2 -2
  288. package/dist/index2.vue.d.ts +6 -6
  289. package/dist/index20.vue.d.ts +1 -1
  290. package/dist/index21.vue.d.ts +2 -2
  291. package/dist/index22.vue.d.ts +2 -2
  292. package/dist/index24.vue.d.ts +1 -1
  293. package/dist/index26.vue.d.ts +3 -3
  294. package/dist/index27.vue.d.ts +1 -1
  295. package/dist/index28.vue.d.ts +2 -2
  296. package/dist/index3.vue.d.ts +2 -2
  297. package/dist/index4.vue.d.ts +2 -2
  298. package/dist/index6.vue.d.ts +3 -3
  299. package/dist/style.css +1991 -1991
  300. package/dist/useCalendarEvents.d.ts +1 -1
  301. package/dist/useCollapsePanel.d.ts +3 -3
  302. package/dist/useCropperCore.d.ts +4 -4
  303. package/dist/useDraggableLayout.d.ts +2 -2
  304. package/dist/useDynamicFormState.d.ts +13 -13
  305. package/dist/useEdgeInteraction.d.ts +1 -1
  306. package/dist/useInfiniteScroll.d.ts +3 -3
  307. package/dist/useModalEdit.d.ts +3 -3
  308. package/dist/useQRCode.d.ts +3 -3
  309. package/dist/useSignatureHistory.d.ts +1 -1
  310. package/dist/useSplitResize.d.ts +5 -5
  311. package/dist/useTimeSelection.d.ts +2 -2
  312. package/dist/useTreeOperations.d.ts +4 -4
  313. package/dist/useWorkflowValidation.d.ts +4 -4
  314. package/package.json +4 -7
  315. package/dist/C_ActionBar-DYG0Yf3A.css.map +0 -1
  316. package/dist/C_ActionBar-MAjRhqcI.css.map +0 -1
  317. package/dist/C_Cascade-Dq0S5Jkm.css.map +0 -1
  318. package/dist/C_Cascade-IUUHIh7r.css.map +0 -1
  319. package/dist/C_Code-BFi5xxnM.css.map +0 -1
  320. package/dist/C_Code-CZ7yfnri.css.map +0 -1
  321. package/dist/C_FullCalendar-BQA0OjGB.css.map +0 -1
  322. package/dist/C_FullCalendar-ChJUosAi.css.map +0 -1
  323. package/dist/C_Steps-Bk1krgiR.css.map +0 -1
  324. package/dist/C_Steps-Dn2CMpy1.css.map +0 -1
  325. package/dist/C_Time-BzyQVvTS.css.map +0 -1
  326. package/dist/C_Time-DmpKLQHc.css.map +0 -1
  327. package/dist/themes/glass-morphism.css +0 -1
@@ -1 +1 @@
1
- {"version":3,"file":"C_Editor-BfjjYQ9B.css","names":[],"sources":["../src/components/C_Editor/index.vue?vue&type=style&index=0&scoped=e26ddd87&lang.css"],"sourcesContent":["/* unplugin-vue-components disabled */\n/* CSS 变量 — 支持外部主题覆盖 */\n[data-v-e26ddd87]:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark[data-v-e26ddd87] {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item {\n color: var(--c-editor-menu-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text:focus {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n[data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n[data-v-e26ddd87] .w-e-text {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n[data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container,[data-v-e26ddd87] .w-e-text {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n.editor-focused[data-v-e26ddd87] {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"C_Editor-CZOaChru.css","names":[],"sources":["../src/components/C_Editor/index.vue?vue&type=style&index=0&scoped=858c0d82&lang.css"],"sourcesContent":["/* unplugin-vue-components disabled */\n/* CSS 变量 — 支持外部主题覆盖 */\n[data-v-858c0d82]:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark[data-v-858c0d82] {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item {\n color: var(--c-editor-menu-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text:focus {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n[data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n[data-v-858c0d82] .w-e-text {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n[data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container,[data-v-858c0d82] .w-e-text {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n.editor-focused[data-v-858c0d82] {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1 +1 @@
1
- {"version":3,"file":"C_Editor-Do2StvoJ.css","names":[],"sources":["../src/components/C_Editor/index.vue?vue&type=style&index=0&scoped=e26ddd87&lang.css"],"sourcesContent":["/* unplugin-vue-components disabled */\n/* CSS 变量 — 支持外部主题覆盖 */\n[data-v-e26ddd87]:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark[data-v-e26ddd87] {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item {\n color: var(--c-editor-menu-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n.editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text:focus {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n[data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n[data-v-e26ddd87] .w-e-text {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n[data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container,[data-v-e26ddd87] .w-e-text {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n.editor-focused[data-v-e26ddd87] {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"C_Editor-kJAQq5z6.css","names":[],"sources":["../src/components/C_Editor/index.vue?vue&type=style&index=0&scoped=858c0d82&lang.css"],"sourcesContent":["/* unplugin-vue-components disabled */\n/* CSS 变量 — 支持外部主题覆盖 */\n[data-v-858c0d82]:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark[data-v-858c0d82] {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item {\n color: var(--c-editor-menu-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n.editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text:focus {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n[data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n[data-v-858c0d82] .w-e-text {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n[data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container,[data-v-858c0d82] .w-e-text {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n.editor-focused[data-v-858c0d82] {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
package/dist/C_Editor.css CHANGED
@@ -1,6 +1,6 @@
1
1
  /* unplugin-vue-components disabled */
2
2
  /* CSS 变量 — 支持外部主题覆盖 */
3
- [data-v-e26ddd87]:root {
3
+ [data-v-858c0d82]:root {
4
4
  --c-editor-toolbar-bg: #ffffff;
5
5
  --c-editor-toolbar-border: #e5e7eb;
6
6
  --c-editor-menu-color: #333333;
@@ -18,7 +18,7 @@
18
18
  }
19
19
 
20
20
  /* 暗色主题 — 覆盖 CSS 变量 */
21
- .editor-dark[data-v-e26ddd87] {
21
+ .editor-dark[data-v-858c0d82] {
22
22
  --c-editor-toolbar-bg: #1f2937;
23
23
  --c-editor-toolbar-border: #374151;
24
24
  --c-editor-menu-color: #e5e7eb;
@@ -31,53 +31,53 @@
31
31
  --c-editor-text-focus-bg: #111827;
32
32
  --c-editor-text-focus-color: #e5e7eb;
33
33
  }
34
- .editor-dark[data-v-e26ddd87] .w-e-toolbar {
34
+ .editor-dark[data-v-858c0d82] .w-e-toolbar {
35
35
  background-color: var(--c-editor-toolbar-bg) !important;
36
36
  border-color: var(--c-editor-toolbar-border) !important;
37
37
  }
38
- .editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item {
38
+ .editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item {
39
39
  color: var(--c-editor-menu-color) !important;
40
40
  }
41
- .editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {
41
+ .editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item:hover {
42
42
  background-color: var(--c-editor-menu-hover-bg) !important;
43
43
  color: var(--c-editor-menu-hover-color) !important;
44
44
  }
45
- .editor-dark[data-v-e26ddd87] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {
45
+ .editor-dark[data-v-858c0d82] .w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active {
46
46
  background-color: var(--c-editor-menu-active-bg) !important;
47
47
  color: var(--c-editor-menu-active-color) !important;
48
48
  }
49
- .editor-dark[data-v-e26ddd87] .w-e-text-container {
49
+ .editor-dark[data-v-858c0d82] .w-e-text-container {
50
50
  background-color: var(--c-editor-container-bg) !important;
51
51
  border-color: var(--c-editor-container-border) !important;
52
52
  }
53
- .editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text {
53
+ .editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text {
54
54
  background-color: var(--c-editor-text-bg) !important;
55
55
  color: var(--c-editor-text-color) !important;
56
56
  }
57
- .editor-dark[data-v-e26ddd87] .w-e-text-container .w-e-text:focus {
57
+ .editor-dark[data-v-858c0d82] .w-e-text-container .w-e-text:focus {
58
58
  background-color: var(--c-editor-text-focus-bg) !important;
59
59
  color: var(--c-editor-text-focus-color) !important;
60
60
  }
61
- [data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container {
61
+ [data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container {
62
62
  max-width: 100% !important;
63
63
  overflow-x: auto !important;
64
64
  box-sizing: border-box !important;
65
65
  }
66
- [data-v-e26ddd87] .w-e-text {
66
+ [data-v-858c0d82] .w-e-text {
67
67
  max-width: 100% !important;
68
68
  word-wrap: break-word !important;
69
69
  overflow-wrap: break-word !important;
70
70
  }
71
- [data-v-e26ddd87] .w-e-toolbar,[data-v-e26ddd87] .w-e-text-container,[data-v-e26ddd87] .w-e-text {
71
+ [data-v-858c0d82] .w-e-toolbar,[data-v-858c0d82] .w-e-text-container,[data-v-858c0d82] .w-e-text {
72
72
  transition:
73
73
  background-color var(--c-editor-transition-duration) ease,
74
74
  border-color var(--c-editor-transition-duration) ease,
75
75
  color var(--c-editor-transition-duration) ease !important;
76
76
  }
77
- .editor-focused[data-v-e26ddd87] {
77
+ .editor-focused[data-v-858c0d82] {
78
78
  overflow: hidden !important;
79
79
  max-width: 100% !important;
80
80
  }
81
81
 
82
82
 
83
- /*# sourceMappingURL=C_Editor-BfjjYQ9B.css.map*/
83
+ /*# sourceMappingURL=C_Editor-CZOaChru.css.map*/
@@ -1 +1 @@
1
- {"version":3,"file":"C_Editor.js","names":[],"sources":["../src/components/C_Editor/index.vue"],"sourcesContent":["<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n"],"mappings":"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"}
1
+ {"version":3,"file":"C_Editor.js","names":["editorId"],"sources":["../src/components/C_Editor/index.vue","../src/components/C_Editor/index.vue"],"sourcesContent":["<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n","<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n"],"mappings":"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"}
package/dist/C_Editor2.js CHANGED
@@ -1,2 +1,2 @@
1
- import{t as e}from"./export-helper.js";import{computed as t,createElementBlock as n,defineComponent as r,nextTick as i,normalizeClass as a,onBeforeUnmount as o,onMounted as s,openBlock as c,readonly as l,ref as u,vShow as d,watch as f,withDirectives as p}from"vue";import m from"wangeditor";const h=[`id`];var g=e(r({name:`C_Editor`,__name:`index`,props:{editorId:{},modelValue:{default:``},placeholder:{default:``},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},height:{default:240},theme:{default:`light`}},emits:[`update:modelValue`,`editor-mounted`,`editor-change`],setup(e,{expose:r,emit:g}){let _=e,v=g,y=u(null),b=u(null),x=u(!1),S=t(()=>_.theme===`dark`),C=()=>{if(!(!y.value||x.value))try{let e=new m(y.value),t=e.config;t.placeholder=_.placeholder,t.height=_.height-50,t.onchange=e=>{v(`update:modelValue`,e),v(`editor-change`,e)},e.create(),i(()=>{_.modelValue&&e.txt.html(_.modelValue),_.readonly&&e.disable(),b.value=e,x.value=!0,v(`editor-mounted`,e)})}catch(e){console.error(`[C_Editor] 编辑器初始化失败: ${_.editorId}`,e)}},w=()=>{if(b.value&&x.value)try{b.value.destroy(),b.value=null,x.value=!1}catch(e){console.error(`[C_Editor] 编辑器销毁失败: ${_.editorId}`,e)}},T=e=>{if(b.value&&x.value)try{b.value.txt.html(e)}catch(e){console.warn(`[C_Editor] 设置编辑器内容失败: ${_.editorId}`,e)}},E=()=>{if(b.value&&x.value)try{return b.value.txt.html()}catch(e){return console.warn(`[C_Editor] 获取编辑器内容失败: ${_.editorId}`,e),``}return``};f(()=>_.modelValue,e=>{b.value&&x.value&&b.value.txt.html()!==e&&b.value.txt.html(e||``)}),f(()=>_.disabled,e=>{if(b.value&&x.value)try{e?b.value.disable():b.value.enable()}catch(e){console.warn(`[C_Editor] 设置编辑器状态失败`,e)}}),f(()=>_.readonly,e=>{if(b.value&&x.value)try{e?b.value.disable():b.value.enable()}catch(e){console.warn(`[C_Editor] 设置编辑器只读状态失败`,e)}});let D=()=>{if(!y.value)return;let e=y.value.closest(`.form-demo`);if(e){e.classList.add(`editor-focused`);let t=e.scrollWidth;e.style.maxWidth=`${t}px`}},O=()=>{if(!y.value)return;let e=y.value.closest(`.form-demo`);e&&(e.classList.remove(`editor-focused`),e.style.maxWidth=``)};return s(()=>{i(()=>{C()})}),o(()=>{w()}),r({initializeEditor:C,destroyEditor:w,setContent:T,getContent:E,handleEditorFocus:D,handleEditorBlur:O,editorInstance:l(b),isInitialized:l(x)}),(e,t)=>p((c(),n(`div`,{ref_key:`editorContainer`,ref:y,id:e.editorId,class:a([`w-full`,{"editor-dark":S.value}]),onFocusin:D,onFocusout:O},null,42,h)),[[d,x.value]])}}),[[`__scopeId`,`data-v-e26ddd87`]]);export{g as t};
1
+ import{t as e}from"./export-helper.js";import{computed as t,createElementBlock as n,defineComponent as r,nextTick as i,normalizeClass as a,onBeforeUnmount as o,onMounted as s,openBlock as c,readonly as l,ref as u,vShow as d,watch as f,withDirectives as p}from"vue";import m from"wangeditor";const h=[`id`];var g=e(r({name:`C_Editor`,__name:`index`,props:{editorId:{},modelValue:{default:``},placeholder:{default:``},disabled:{type:Boolean,default:!1},readonly:{type:Boolean,default:!1},height:{default:240},theme:{default:`light`}},emits:[`update:modelValue`,`editor-mounted`,`editor-change`],setup(e,{expose:r,emit:g}){let _=e,v=g,y=u(null),b=u(null),x=u(!1),S=t(()=>_.theme===`dark`),C=()=>{if(!(!y.value||x.value))try{let e=new m(y.value),t=e.config;t.placeholder=_.placeholder,t.height=_.height-50,t.onchange=e=>{v(`update:modelValue`,e),v(`editor-change`,e)},e.create(),i(()=>{_.modelValue&&e.txt.html(_.modelValue),_.readonly&&e.disable(),b.value=e,x.value=!0,v(`editor-mounted`,e)})}catch(e){console.error(`[C_Editor] 编辑器初始化失败: ${_.editorId}`,e)}},w=()=>{if(b.value&&x.value)try{b.value.destroy(),b.value=null,x.value=!1}catch(e){console.error(`[C_Editor] 编辑器销毁失败: ${_.editorId}`,e)}},T=e=>{if(b.value&&x.value)try{b.value.txt.html(e)}catch(e){console.warn(`[C_Editor] 设置编辑器内容失败: ${_.editorId}`,e)}},E=()=>{if(b.value&&x.value)try{return b.value.txt.html()}catch(e){return console.warn(`[C_Editor] 获取编辑器内容失败: ${_.editorId}`,e),``}return``};f(()=>_.modelValue,e=>{b.value&&x.value&&b.value.txt.html()!==e&&b.value.txt.html(e||``)}),f(()=>_.disabled,e=>{if(b.value&&x.value)try{e?b.value.disable():b.value.enable()}catch(e){console.warn(`[C_Editor] 设置编辑器状态失败`,e)}}),f(()=>_.readonly,e=>{if(b.value&&x.value)try{e?b.value.disable():b.value.enable()}catch(e){console.warn(`[C_Editor] 设置编辑器只读状态失败`,e)}});let D=()=>{if(!y.value)return;let e=y.value.closest(`.form-demo`);if(e){e.classList.add(`editor-focused`);let t=e.scrollWidth;e.style.maxWidth=`${t}px`}},O=()=>{if(!y.value)return;let e=y.value.closest(`.form-demo`);e&&(e.classList.remove(`editor-focused`),e.style.maxWidth=``)};return s(()=>{i(()=>{C()})}),o(()=>{w()}),r({initializeEditor:C,destroyEditor:w,setContent:T,getContent:E,handleEditorFocus:D,handleEditorBlur:O,editorInstance:l(b),isInitialized:l(x)}),(e,t)=>p((c(),n(`div`,{ref_key:`editorContainer`,ref:y,id:e.editorId,class:a([`w-full`,{"editor-dark":S.value}]),onFocusin:D,onFocusout:O},null,42,h)),[[d,x.value]])}}),[[`__scopeId`,`data-v-858c0d82`]]);export{g as t};
2
2
  //# sourceMappingURL=C_Editor2.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"C_Editor2.js","names":[],"sources":["../src/components/C_Editor/index.vue"],"sourcesContent":["<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n"],"mappings":"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"}
1
+ {"version":3,"file":"C_Editor2.js","names":["editorId"],"sources":["../src/components/C_Editor/index.vue","../src/components/C_Editor/index.vue"],"sourcesContent":["<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n","<!--\n * @Author: ChenYu ycyplus@gmail.com\n * @Date: 2025-06-01\n * @Description: 富文本编辑器组件(简化主题版)\n * @Migration: naive-ui-components 组件库迁移版本\n * Copyright (c) 2025 by CHENY, All Rights Reserved.\n-->\n<template>\n <div\n ref=\"editorContainer\"\n :id=\"editorId\"\n v-show=\"isInitialized\"\n class=\"w-full\"\n :class=\"{ 'editor-dark': isDark }\"\n @focusin=\"handleEditorFocus\"\n @focusout=\"handleEditorBlur\"\n ></div>\n</template>\n\n<script setup lang=\"ts\">\nimport {\n ref,\n computed,\n watch,\n nextTick,\n onMounted,\n onBeforeUnmount,\n readonly,\n} from \"vue\";\nimport E from \"wangeditor\";\n\ndefineOptions({ name: \"C_Editor\" });\n\ninterface Props {\n editorId: string;\n modelValue?: string;\n placeholder?: string;\n disabled?: boolean;\n readonly?: boolean;\n height?: number;\n theme?: \"light\" | \"dark\";\n}\n\ninterface Emits {\n (e: \"update:modelValue\", value: string): void;\n (e: \"editor-mounted\", editor: any): void;\n (e: \"editor-change\", html: string): void;\n}\n\nconst props = withDefaults(defineProps<Props>(), {\n modelValue: \"\",\n placeholder: \"\",\n disabled: false,\n readonly: false,\n height: 240,\n theme: \"light\",\n});\n\nconst emit = defineEmits<Emits>();\n\nconst editorContainer = ref<HTMLElement | null>(null);\nconst editorInstance = ref<any>(null);\nconst isInitialized = ref<boolean>(false);\n\nconst isDark = computed(() => props.theme === \"dark\");\n\nconst initializeEditor = (): void => {\n if (!editorContainer.value || isInitialized.value) return;\n\n try {\n const editor = new E(editorContainer.value);\n const editorConfig = editor.config as any;\n editorConfig.placeholder = props.placeholder;\n editorConfig.height = props.height - 50;\n\n editorConfig.onchange = (html: string) => {\n emit(\"update:modelValue\", html);\n emit(\"editor-change\", html);\n };\n\n editor.create();\n\n nextTick(() => {\n if (props.modelValue) {\n editor.txt.html(props.modelValue);\n }\n if (props.readonly) {\n editor.disable();\n }\n editorInstance.value = editor;\n isInitialized.value = true;\n emit(\"editor-mounted\", editor);\n });\n } catch (error) {\n console.error(`[C_Editor] 编辑器初始化失败: ${props.editorId}`, error);\n }\n};\n\nconst destroyEditor = (): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.destroy();\n editorInstance.value = null;\n isInitialized.value = false;\n } catch (error) {\n console.error(`[C_Editor] 编辑器销毁失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst setContent = (html: string): void => {\n if (editorInstance.value && isInitialized.value) {\n try {\n editorInstance.value.txt.html(html);\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器内容失败: ${props.editorId}`, error);\n }\n }\n};\n\nconst getContent = (): string => {\n if (editorInstance.value && isInitialized.value) {\n try {\n return editorInstance.value.txt.html();\n } catch (error) {\n console.warn(`[C_Editor] 获取编辑器内容失败: ${props.editorId}`, error);\n return \"\";\n }\n }\n return \"\";\n};\n\nwatch(\n () => props.modelValue,\n (newValue) => {\n if (editorInstance.value && isInitialized.value) {\n const currentContent = editorInstance.value.txt.html();\n if (currentContent !== newValue) {\n editorInstance.value.txt.html(newValue || \"\");\n }\n }\n },\n);\n\nwatch(\n () => props.disabled,\n (disabled) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (disabled) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器状态失败`, error);\n }\n }\n },\n);\n\nwatch(\n () => props.readonly,\n (readonlyVal) => {\n if (editorInstance.value && isInitialized.value) {\n try {\n if (readonlyVal) editorInstance.value.disable();\n else editorInstance.value.enable();\n } catch (error) {\n console.warn(`[C_Editor] 设置编辑器只读状态失败`, error);\n }\n }\n },\n);\n\nconst handleEditorFocus = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.add(\"editor-focused\");\n const containerWidth = container.scrollWidth;\n container.style.maxWidth = `${containerWidth}px`;\n }\n};\n\nconst handleEditorBlur = (): void => {\n if (!editorContainer.value) return;\n const container = editorContainer.value.closest(\n \".form-demo\",\n ) as HTMLElement | null;\n if (container) {\n container.classList.remove(\"editor-focused\");\n container.style.maxWidth = \"\";\n }\n};\n\nonMounted(() => {\n nextTick(() => {\n initializeEditor();\n });\n});\n\nonBeforeUnmount(() => {\n destroyEditor();\n});\n\ndefineExpose({\n initializeEditor,\n destroyEditor,\n setContent,\n getContent,\n handleEditorFocus,\n handleEditorBlur,\n editorInstance: readonly(editorInstance),\n isInitialized: readonly(isInitialized),\n});\n</script>\n\n<style scoped>\n/* CSS 变量 — 支持外部主题覆盖 */\n:root {\n --c-editor-toolbar-bg: #ffffff;\n --c-editor-toolbar-border: #e5e7eb;\n --c-editor-menu-color: #333333;\n --c-editor-menu-hover-bg: #f3f4f6;\n --c-editor-menu-hover-color: #333333;\n --c-editor-menu-active-bg: var(--c-primary, #2080f0);\n --c-editor-menu-active-color: #ffffff;\n --c-editor-container-bg: #ffffff;\n --c-editor-container-border: #e5e7eb;\n --c-editor-text-bg: #ffffff;\n --c-editor-text-color: #333333;\n --c-editor-text-focus-bg: #ffffff;\n --c-editor-text-focus-color: #333333;\n --c-editor-transition-duration: 0.3s;\n}\n\n/* 暗色主题 — 覆盖 CSS 变量 */\n.editor-dark {\n --c-editor-toolbar-bg: #1f2937;\n --c-editor-toolbar-border: #374151;\n --c-editor-menu-color: #e5e7eb;\n --c-editor-menu-hover-bg: #374151;\n --c-editor-menu-hover-color: #ffffff;\n --c-editor-container-bg: #111827;\n --c-editor-container-border: #374151;\n --c-editor-text-bg: #303033;\n --c-editor-text-color: #e5e7eb;\n --c-editor-text-focus-bg: #111827;\n --c-editor-text-focus-color: #e5e7eb;\n}\n\n.editor-dark :deep(.w-e-toolbar) {\n background-color: var(--c-editor-toolbar-bg) !important;\n border-color: var(--c-editor-toolbar-border) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item) {\n color: var(--c-editor-menu-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item:hover) {\n background-color: var(--c-editor-menu-hover-bg) !important;\n color: var(--c-editor-menu-hover-color) !important;\n}\n\n.editor-dark :deep(.w-e-toolbar .w-e-menu .w-e-menu-item.w-e-active) {\n background-color: var(--c-editor-menu-active-bg) !important;\n color: var(--c-editor-menu-active-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container) {\n background-color: var(--c-editor-container-bg) !important;\n border-color: var(--c-editor-container-border) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text) {\n background-color: var(--c-editor-text-bg) !important;\n color: var(--c-editor-text-color) !important;\n}\n\n.editor-dark :deep(.w-e-text-container .w-e-text:focus) {\n background-color: var(--c-editor-text-focus-bg) !important;\n color: var(--c-editor-text-focus-color) !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container) {\n max-width: 100% !important;\n overflow-x: auto !important;\n box-sizing: border-box !important;\n}\n\n:deep(.w-e-text) {\n max-width: 100% !important;\n word-wrap: break-word !important;\n overflow-wrap: break-word !important;\n}\n\n:deep(.w-e-toolbar),\n:deep(.w-e-text-container),\n:deep(.w-e-text) {\n transition:\n background-color var(--c-editor-transition-duration) ease,\n border-color var(--c-editor-transition-duration) ease,\n color var(--c-editor-transition-duration) ease !important;\n}\n\n.editor-focused {\n overflow: hidden !important;\n max-width: 100% !important;\n}\n</style>\n"],"mappings":"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"}
@@ -1 +1 @@
1
- {"version":3,"file":"C_FilePreview-BhcbiXsV.css","names":[],"sources":["../src/components/C_FilePreview/components/PdfViewer/index.vue?vue&type=style&index=0&scoped=b3a276cb&lang.scss","../src/components/C_FilePreview/components/WordViewer/index.vue?vue&type=style&index=0&scoped=e79a98a6&lang.scss","../src/components/C_FilePreview/components/ExcelViewer/index.vue?vue&type=style&index=0&scoped=d1c1c8fe&lang.scss","../src/components/C_FilePreview/index.vue?vue&type=style&index=0&scoped=30d50866&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.file-container[data-v-b3a276cb] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-b3a276cb] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.file-container .file-viewer[data-v-b3a276cb] {\n flex: 1;\n min-height: 300px;\n}","/* unplugin-vue-components disabled */.file-container[data-v-e79a98a6] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-e79a98a6] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.word-layout[data-v-e79a98a6] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.word-layout .word-main[data-v-e79a98a6] {\n flex: 1;\n display: flex;\n overflow: hidden;\n}\n.word-layout .word-main .word-outline[data-v-e79a98a6] {\n width: 280px;\n border-right: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n}\n.word-layout .word-main .word-outline .outline-header[data-v-e79a98a6] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n}\n.word-layout .word-main .word-outline .outline-content[data-v-e79a98a6] {\n padding: 8px;\n overflow-y: auto;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-e79a98a6] {\n padding: 8px 12px;\n cursor: pointer;\n border-radius: 4px;\n font-size: 14px;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-e79a98a6]:hover {\n background-color: #e6f3ff;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-1[data-v-e79a98a6] {\n padding-left: 12px;\n font-weight: 600;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-2[data-v-e79a98a6] {\n padding-left: 24px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-3[data-v-e79a98a6], .word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-e79a98a6] {\n padding-left: 36px;\n font-size: 13px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-e79a98a6] {\n padding-left: 48px;\n}\n.word-layout .word-main .word-content[data-v-e79a98a6] {\n flex: 1;\n padding: 24px;\n overflow: auto;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] {\n max-width: 800px;\n margin: 0 auto;\n background: var(--c-bg-card, white);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n padding: 40px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h1 {\n margin: 24px 0 16px 0;\n font-weight: bold;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h1 {\n font-size: 1.8rem;\n color: var(--c-text-1, #333);\n border-bottom: 2px solid var(--c-border, #e0e0e0);\n padding-bottom: 8px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h2 {\n font-size: 1.5rem;\n color: var(--c-text-1, #444);\n margin: 20px 0 12px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h3 {\n font-size: 1.25rem;\n color: var(--c-text-2, #555);\n margin: 16px 0 8px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] p {\n margin-bottom: 12px;\n line-height: 1.8;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] ul {\n margin: 12px 0;\n padding-left: 24px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] li {\n margin-bottom: 6px;\n line-height: 1.6;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] table {\n width: 100%;\n border-collapse: collapse;\n margin: 16px 0;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] th {\n border: 1px solid #d0d0d0;\n padding: 12px;\n text-align: left;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] th {\n background-color: var(--c-bg-card, #f5f5f5);\n font-weight: bold;\n}","/* unplugin-vue-components disabled */.file-container[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-d1c1c8fe] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.excel-container[data-v-d1c1c8fe] {\n overflow: visible;\n}\n.excel-container .excel-viewer[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-info[data-v-d1c1c8fe] {\n padding: 8px 16px;\n background-color: var(--c-bg-card, #f9f9f9);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 7;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container[data-v-d1c1c8fe] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper[data-v-d1c1c8fe] {\n flex: 1;\n overflow: auto;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table[data-v-d1c1c8fe] {\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header[data-v-d1c1c8fe] {\n padding: 6px 8px;\n background: #f8f9fa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-letter[data-v-d1c1c8fe] {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-title[data-v-d1c1c8fe] {\n font-size: 11px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-row[data-v-d1c1c8fe]:nth-child(even) {\n background-color: #fefefe;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell[data-v-d1c1c8fe] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe] {\n border: 1px solid #1976d2 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table[data-v-d1c1c8fe] {\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n font-size: 13px;\n min-width: 100%;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .row-number[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);\n text-align: center;\n min-width: 30px;\n width: 30px;\n padding: 2px 4px;\n font-size: 11px;\n font-weight: bold;\n border: 1px solid #d0d0d0;\n color: #666;\n position: sticky;\n left: 0;\n z-index: 10;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);\n padding: 8px 12px;\n border: 1px solid #c0c0c0;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 5;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 2px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-letter[data-v-d1c1c8fe] {\n background-color: var(--c-primary, #1976d2);\n color: white;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 10px;\n font-weight: normal;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-title[data-v-d1c1c8fe] {\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n word-break: break-all;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-d1c1c8fe]:nth-child(even) {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-d1c1c8fe]:hover {\n background-color: #e6f3ff;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell[data-v-d1c1c8fe] {\n padding: 8px 12px;\n border: 1px solid #d0d0d0;\n vertical-align: middle;\n word-wrap: break-word;\n word-break: break-all;\n min-height: 24px;\n line-height: 1.4;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-number[data-v-d1c1c8fe] {\n text-align: right;\n font-family: \"Courier New\", monospace;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-gantt[data-v-d1c1c8fe] {\n text-align: center;\n font-family: monospace;\n font-size: 14px;\n font-weight: bold;\n background-color: #f0f0f0;\n color: var(--c-text-1, #333);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-date[data-v-d1c1c8fe] {\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-boolean[data-v-d1c1c8fe] {\n text-align: center;\n font-weight: bold;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-long[data-v-d1c1c8fe] {\n max-width: 200px;\n white-space: pre-wrap;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-empty[data-v-d1c1c8fe] {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 2px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::before {\n content: \"\";\n position: absolute;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n background: rgba(25, 118, 210, 0.08);\n border-radius: 2px;\n pointer-events: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::after {\n content: \"📎\";\n position: absolute;\n top: 2px;\n right: 4px;\n font-size: 10px;\n opacity: 0.6;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell[data-v-d1c1c8fe] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 1px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe]::before {\n top: 2px;\n left: 2px;\n right: 2px;\n bottom: 2px;\n background: rgba(25, 118, 210, 0.05);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-empty[data-v-d1c1c8fe] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 200px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] {\n padding: 20px 16px;\n border-top: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n z-index: 1000;\n position: relative;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination {\n z-index: 1001;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker {\n z-index: 1002;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker .n-base-selection {\n z-index: 1003;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker .n-base-selection-popover {\n z-index: 1004 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-popover {\n z-index: 1005 !important;\n}","/* unplugin-vue-components disabled */.c-file-preview-wrapper[data-v-30d50866] {\n width: 100%;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n border: 1px solid var(--c-border, #e0e0e0);\n border-radius: 12px;\n background: var(--c-bg-card, white);\n transition: var(--c-transition, 0.2s ease);\n cursor: pointer;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-30d50866]:hover {\n border-color: var(--c-primary, #40a9ff);\n box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15);\n transform: translateY(-1px);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-icon[data-v-30d50866] {\n flex-shrink: 0;\n width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);\n border-radius: 12px;\n border: 1px solid #dee2e6;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details[data-v-30d50866] {\n flex: 1;\n min-width: 0;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-name[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 6px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #1f2937);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta[data-v-30d50866] {\n display: flex;\n gap: 16px;\n font-size: 13px;\n color: var(--c-text-2, #6b7280);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta .file-size[data-v-30d50866] {\n font-weight: 500;\n color: var(--c-text-1, #374151);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-actions[data-v-30d50866] {\n flex-shrink: 0;\n display: flex;\n gap: 8px;\n}\n.modal-container[data-v-30d50866] {\n background: var(--c-bg-card, white);\n border-radius: 8px;\n box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: visible;\n}\n.modal-container .modal-header[data-v-30d50866] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: var(--c-bg, #fafafa);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 10;\n position: relative;\n}\n.modal-container .modal-header .modal-title[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #333);\n}\n.modal-container .modal-header .modal-title span[data-v-30d50866] {\n max-width: 400px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.modal-container .modal-header .modal-actions[data-v-30d50866] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.modal-container .modal-content[data-v-30d50866] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.modal-container .preview-header[data-v-30d50866] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 9;\n position: relative;\n}\n.modal-container .preview-content[data-v-30d50866] {\n flex: 1;\n overflow: auto;\n min-height: 0;\n position: relative;\n}\n.modal-container .preview-content .status-container[data-v-30d50866] {\n height: 300px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"C_FilePreview-Bs_omgJS.css","names":[],"sources":["../src/components/C_FilePreview/components/PdfViewer/index.vue?vue&type=style&index=0&scoped=6ef071db&lang.scss","../src/components/C_FilePreview/components/WordViewer/index.vue?vue&type=style&index=0&scoped=31f606d3&lang.scss","../src/components/C_FilePreview/components/ExcelViewer/index.vue?vue&type=style&index=0&scoped=5569b81f&lang.scss","../src/components/C_FilePreview/index.vue?vue&type=style&index=0&scoped=7c7c652b&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.file-container[data-v-6ef071db] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-6ef071db] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.file-container .file-viewer[data-v-6ef071db] {\n flex: 1;\n min-height: 300px;\n}","/* unplugin-vue-components disabled */.file-container[data-v-31f606d3] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-31f606d3] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.word-layout[data-v-31f606d3] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.word-layout .word-main[data-v-31f606d3] {\n flex: 1;\n display: flex;\n overflow: hidden;\n}\n.word-layout .word-main .word-outline[data-v-31f606d3] {\n width: 280px;\n border-right: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n}\n.word-layout .word-main .word-outline .outline-header[data-v-31f606d3] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n}\n.word-layout .word-main .word-outline .outline-content[data-v-31f606d3] {\n padding: 8px;\n overflow-y: auto;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-31f606d3] {\n padding: 8px 12px;\n cursor: pointer;\n border-radius: 4px;\n font-size: 14px;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-31f606d3]:hover {\n background-color: #e6f3ff;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-1[data-v-31f606d3] {\n padding-left: 12px;\n font-weight: 600;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-2[data-v-31f606d3] {\n padding-left: 24px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-3[data-v-31f606d3], .word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-31f606d3] {\n padding-left: 36px;\n font-size: 13px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-31f606d3] {\n padding-left: 48px;\n}\n.word-layout .word-main .word-content[data-v-31f606d3] {\n flex: 1;\n padding: 24px;\n overflow: auto;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] {\n max-width: 800px;\n margin: 0 auto;\n background: var(--c-bg-card, white);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n padding: 40px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h1 {\n margin: 24px 0 16px 0;\n font-weight: bold;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h1 {\n font-size: 1.8rem;\n color: var(--c-text-1, #333);\n border-bottom: 2px solid var(--c-border, #e0e0e0);\n padding-bottom: 8px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h2 {\n font-size: 1.5rem;\n color: var(--c-text-1, #444);\n margin: 20px 0 12px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h3 {\n font-size: 1.25rem;\n color: var(--c-text-2, #555);\n margin: 16px 0 8px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] p {\n margin-bottom: 12px;\n line-height: 1.8;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] ul {\n margin: 12px 0;\n padding-left: 24px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] li {\n margin-bottom: 6px;\n line-height: 1.6;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] table {\n width: 100%;\n border-collapse: collapse;\n margin: 16px 0;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] th {\n border: 1px solid #d0d0d0;\n padding: 12px;\n text-align: left;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] th {\n background-color: var(--c-bg-card, #f5f5f5);\n font-weight: bold;\n}","/* unplugin-vue-components disabled */.file-container[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-5569b81f] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.excel-container[data-v-5569b81f] {\n overflow: visible;\n}\n.excel-container .excel-viewer[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-info[data-v-5569b81f] {\n padding: 8px 16px;\n background-color: var(--c-bg-card, #f9f9f9);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 7;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container[data-v-5569b81f] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper[data-v-5569b81f] {\n flex: 1;\n overflow: auto;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table[data-v-5569b81f] {\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header[data-v-5569b81f] {\n padding: 6px 8px;\n background: #f8f9fa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-letter[data-v-5569b81f] {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-title[data-v-5569b81f] {\n font-size: 11px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-row[data-v-5569b81f]:nth-child(even) {\n background-color: #fefefe;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell[data-v-5569b81f] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-5569b81f] {\n border: 1px solid #1976d2 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-5569b81f]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table[data-v-5569b81f] {\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n font-size: 13px;\n min-width: 100%;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .row-number[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);\n text-align: center;\n min-width: 30px;\n width: 30px;\n padding: 2px 4px;\n font-size: 11px;\n font-weight: bold;\n border: 1px solid #d0d0d0;\n color: #666;\n position: sticky;\n left: 0;\n z-index: 10;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header[data-v-5569b81f] {\n background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);\n padding: 8px 12px;\n border: 1px solid #c0c0c0;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 5;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 2px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-letter[data-v-5569b81f] {\n background-color: var(--c-primary, #1976d2);\n color: white;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 10px;\n font-weight: normal;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-title[data-v-5569b81f] {\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n word-break: break-all;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-5569b81f]:nth-child(even) {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-5569b81f]:hover {\n background-color: #e6f3ff;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell[data-v-5569b81f] {\n padding: 8px 12px;\n border: 1px solid #d0d0d0;\n vertical-align: middle;\n word-wrap: break-word;\n word-break: break-all;\n min-height: 24px;\n line-height: 1.4;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-number[data-v-5569b81f] {\n text-align: right;\n font-family: \"Courier New\", monospace;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-gantt[data-v-5569b81f] {\n text-align: center;\n font-family: monospace;\n font-size: 14px;\n font-weight: bold;\n background-color: #f0f0f0;\n color: var(--c-text-1, #333);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-date[data-v-5569b81f] {\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-boolean[data-v-5569b81f] {\n text-align: center;\n font-weight: bold;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-long[data-v-5569b81f] {\n max-width: 200px;\n white-space: pre-wrap;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-empty[data-v-5569b81f] {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 2px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f]::before {\n content: \"\";\n position: absolute;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n background: rgba(25, 118, 210, 0.08);\n border-radius: 2px;\n pointer-events: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f]::after {\n content: \"📎\";\n position: absolute;\n top: 2px;\n right: 4px;\n font-size: 10px;\n opacity: 0.6;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell[data-v-5569b81f] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 1px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f]::before {\n top: 2px;\n left: 2px;\n right: 2px;\n bottom: 2px;\n background: rgba(25, 118, 210, 0.05);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-empty[data-v-5569b81f] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 200px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] {\n padding: 20px 16px;\n border-top: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n z-index: 1000;\n position: relative;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination {\n z-index: 1001;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker {\n z-index: 1002;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker .n-base-selection {\n z-index: 1003;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker .n-base-selection-popover {\n z-index: 1004 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-popover {\n z-index: 1005 !important;\n}","/* unplugin-vue-components disabled */.c-file-preview-wrapper[data-v-7c7c652b] {\n width: 100%;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n border: 1px solid var(--c-border, #e0e0e0);\n border-radius: 12px;\n background: var(--c-bg-card, white);\n transition: var(--c-transition, 0.2s ease);\n cursor: pointer;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-7c7c652b]:hover {\n border-color: var(--c-primary, #40a9ff);\n box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15);\n transform: translateY(-1px);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-icon[data-v-7c7c652b] {\n flex-shrink: 0;\n width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);\n border-radius: 12px;\n border: 1px solid #dee2e6;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details[data-v-7c7c652b] {\n flex: 1;\n min-width: 0;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-name[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 6px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #1f2937);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta[data-v-7c7c652b] {\n display: flex;\n gap: 16px;\n font-size: 13px;\n color: var(--c-text-2, #6b7280);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta .file-size[data-v-7c7c652b] {\n font-weight: 500;\n color: var(--c-text-1, #374151);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-actions[data-v-7c7c652b] {\n flex-shrink: 0;\n display: flex;\n gap: 8px;\n}\n.modal-container[data-v-7c7c652b] {\n background: var(--c-bg-card, white);\n border-radius: 8px;\n box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: visible;\n}\n.modal-container .modal-header[data-v-7c7c652b] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: var(--c-bg, #fafafa);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 10;\n position: relative;\n}\n.modal-container .modal-header .modal-title[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #333);\n}\n.modal-container .modal-header .modal-title span[data-v-7c7c652b] {\n max-width: 400px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.modal-container .modal-header .modal-actions[data-v-7c7c652b] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.modal-container .modal-content[data-v-7c7c652b] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.modal-container .preview-header[data-v-7c7c652b] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 9;\n position: relative;\n}\n.modal-container .preview-content[data-v-7c7c652b] {\n flex: 1;\n overflow: auto;\n min-height: 0;\n position: relative;\n}\n.modal-container .preview-content .status-container[data-v-7c7c652b] {\n height: 300px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
@@ -1 +1 @@
1
- {"version":3,"file":"C_FilePreview-DJudcIbW.css","names":[],"sources":["../src/components/C_FilePreview/components/PdfViewer/index.vue?vue&type=style&index=0&scoped=b3a276cb&lang.scss","../src/components/C_FilePreview/components/WordViewer/index.vue?vue&type=style&index=0&scoped=e79a98a6&lang.scss","../src/components/C_FilePreview/components/ExcelViewer/index.vue?vue&type=style&index=0&scoped=d1c1c8fe&lang.scss","../src/components/C_FilePreview/index.vue?vue&type=style&index=0&scoped=30d50866&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.file-container[data-v-b3a276cb] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-b3a276cb] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.file-container .file-viewer[data-v-b3a276cb] {\n flex: 1;\n min-height: 300px;\n}","/* unplugin-vue-components disabled */.file-container[data-v-e79a98a6] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-e79a98a6] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.word-layout[data-v-e79a98a6] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.word-layout .word-main[data-v-e79a98a6] {\n flex: 1;\n display: flex;\n overflow: hidden;\n}\n.word-layout .word-main .word-outline[data-v-e79a98a6] {\n width: 280px;\n border-right: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n}\n.word-layout .word-main .word-outline .outline-header[data-v-e79a98a6] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n}\n.word-layout .word-main .word-outline .outline-content[data-v-e79a98a6] {\n padding: 8px;\n overflow-y: auto;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-e79a98a6] {\n padding: 8px 12px;\n cursor: pointer;\n border-radius: 4px;\n font-size: 14px;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-e79a98a6]:hover {\n background-color: #e6f3ff;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-1[data-v-e79a98a6] {\n padding-left: 12px;\n font-weight: 600;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-2[data-v-e79a98a6] {\n padding-left: 24px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-3[data-v-e79a98a6], .word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-e79a98a6] {\n padding-left: 36px;\n font-size: 13px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-e79a98a6] {\n padding-left: 48px;\n}\n.word-layout .word-main .word-content[data-v-e79a98a6] {\n flex: 1;\n padding: 24px;\n overflow: auto;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] {\n max-width: 800px;\n margin: 0 auto;\n background: var(--c-bg-card, white);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n padding: 40px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h1 {\n margin: 24px 0 16px 0;\n font-weight: bold;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h1 {\n font-size: 1.8rem;\n color: var(--c-text-1, #333);\n border-bottom: 2px solid var(--c-border, #e0e0e0);\n padding-bottom: 8px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h2 {\n font-size: 1.5rem;\n color: var(--c-text-1, #444);\n margin: 20px 0 12px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] h3 {\n font-size: 1.25rem;\n color: var(--c-text-2, #555);\n margin: 16px 0 8px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] p {\n margin-bottom: 12px;\n line-height: 1.8;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] ul {\n margin: 12px 0;\n padding-left: 24px;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] li {\n margin-bottom: 6px;\n line-height: 1.6;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] table {\n width: 100%;\n border-collapse: collapse;\n margin: 16px 0;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] th {\n border: 1px solid #d0d0d0;\n padding: 12px;\n text-align: left;\n}\n.word-layout .word-main .word-content .word-document[data-v-e79a98a6] th {\n background-color: var(--c-bg-card, #f5f5f5);\n font-weight: bold;\n}","/* unplugin-vue-components disabled */.file-container[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-d1c1c8fe] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.excel-container[data-v-d1c1c8fe] {\n overflow: visible;\n}\n.excel-container .excel-viewer[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-info[data-v-d1c1c8fe] {\n padding: 8px 16px;\n background-color: var(--c-bg-card, #f9f9f9);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 7;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container[data-v-d1c1c8fe] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper[data-v-d1c1c8fe] {\n flex: 1;\n overflow: auto;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table[data-v-d1c1c8fe] {\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header[data-v-d1c1c8fe] {\n padding: 6px 8px;\n background: #f8f9fa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-letter[data-v-d1c1c8fe] {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-title[data-v-d1c1c8fe] {\n font-size: 11px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-row[data-v-d1c1c8fe]:nth-child(even) {\n background-color: #fefefe;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell[data-v-d1c1c8fe] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe] {\n border: 1px solid #1976d2 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table[data-v-d1c1c8fe] {\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n font-size: 13px;\n min-width: 100%;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .row-number[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);\n text-align: center;\n min-width: 30px;\n width: 30px;\n padding: 2px 4px;\n font-size: 11px;\n font-weight: bold;\n border: 1px solid #d0d0d0;\n color: #666;\n position: sticky;\n left: 0;\n z-index: 10;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);\n padding: 8px 12px;\n border: 1px solid #c0c0c0;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 5;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content[data-v-d1c1c8fe] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 2px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-letter[data-v-d1c1c8fe] {\n background-color: var(--c-primary, #1976d2);\n color: white;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 10px;\n font-weight: normal;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-title[data-v-d1c1c8fe] {\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n word-break: break-all;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-d1c1c8fe]:nth-child(even) {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-d1c1c8fe]:hover {\n background-color: #e6f3ff;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell[data-v-d1c1c8fe] {\n padding: 8px 12px;\n border: 1px solid #d0d0d0;\n vertical-align: middle;\n word-wrap: break-word;\n word-break: break-all;\n min-height: 24px;\n line-height: 1.4;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-number[data-v-d1c1c8fe] {\n text-align: right;\n font-family: \"Courier New\", monospace;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-gantt[data-v-d1c1c8fe] {\n text-align: center;\n font-family: monospace;\n font-size: 14px;\n font-weight: bold;\n background-color: #f0f0f0;\n color: var(--c-text-1, #333);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-date[data-v-d1c1c8fe] {\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-boolean[data-v-d1c1c8fe] {\n text-align: center;\n font-weight: bold;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-long[data-v-d1c1c8fe] {\n max-width: 200px;\n white-space: pre-wrap;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-empty[data-v-d1c1c8fe] {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 2px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::before {\n content: \"\";\n position: absolute;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n background: rgba(25, 118, 210, 0.08);\n border-radius: 2px;\n pointer-events: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-d1c1c8fe]::after {\n content: \"📎\";\n position: absolute;\n top: 2px;\n right: 4px;\n font-size: 10px;\n opacity: 0.6;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell[data-v-d1c1c8fe] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 1px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe]::before {\n top: 2px;\n left: 2px;\n right: 2px;\n bottom: 2px;\n background: rgba(25, 118, 210, 0.05);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-d1c1c8fe]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-empty[data-v-d1c1c8fe] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 200px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] {\n padding: 20px 16px;\n border-top: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n z-index: 1000;\n position: relative;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination {\n z-index: 1001;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker {\n z-index: 1002;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker .n-base-selection {\n z-index: 1003;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-pagination-size-picker .n-base-selection-popover {\n z-index: 1004 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-d1c1c8fe] .n-popover {\n z-index: 1005 !important;\n}","/* unplugin-vue-components disabled */.c-file-preview-wrapper[data-v-30d50866] {\n width: 100%;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n border: 1px solid var(--c-border, #e0e0e0);\n border-radius: 12px;\n background: var(--c-bg-card, white);\n transition: var(--c-transition, 0.2s ease);\n cursor: pointer;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-30d50866]:hover {\n border-color: var(--c-primary, #40a9ff);\n box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15);\n transform: translateY(-1px);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-icon[data-v-30d50866] {\n flex-shrink: 0;\n width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);\n border-radius: 12px;\n border: 1px solid #dee2e6;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details[data-v-30d50866] {\n flex: 1;\n min-width: 0;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-name[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 6px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #1f2937);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta[data-v-30d50866] {\n display: flex;\n gap: 16px;\n font-size: 13px;\n color: var(--c-text-2, #6b7280);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta .file-size[data-v-30d50866] {\n font-weight: 500;\n color: var(--c-text-1, #374151);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-actions[data-v-30d50866] {\n flex-shrink: 0;\n display: flex;\n gap: 8px;\n}\n.modal-container[data-v-30d50866] {\n background: var(--c-bg-card, white);\n border-radius: 8px;\n box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: visible;\n}\n.modal-container .modal-header[data-v-30d50866] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: var(--c-bg, #fafafa);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 10;\n position: relative;\n}\n.modal-container .modal-header .modal-title[data-v-30d50866] {\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #333);\n}\n.modal-container .modal-header .modal-title span[data-v-30d50866] {\n max-width: 400px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.modal-container .modal-header .modal-actions[data-v-30d50866] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.modal-container .modal-content[data-v-30d50866] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.modal-container .preview-header[data-v-30d50866] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 9;\n position: relative;\n}\n.modal-container .preview-content[data-v-30d50866] {\n flex: 1;\n overflow: auto;\n min-height: 0;\n position: relative;\n}\n.modal-container .preview-content .status-container[data-v-30d50866] {\n height: 300px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}
1
+ {"version":3,"file":"C_FilePreview-DbwoyF2j.css","names":[],"sources":["../src/components/C_FilePreview/components/PdfViewer/index.vue?vue&type=style&index=0&scoped=6ef071db&lang.scss","../src/components/C_FilePreview/components/WordViewer/index.vue?vue&type=style&index=0&scoped=31f606d3&lang.scss","../src/components/C_FilePreview/components/ExcelViewer/index.vue?vue&type=style&index=0&scoped=5569b81f&lang.scss","../src/components/C_FilePreview/index.vue?vue&type=style&index=0&scoped=7c7c652b&lang.scss"],"sourcesContent":["/* unplugin-vue-components disabled */.file-container[data-v-6ef071db] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-6ef071db] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.file-container .file-viewer[data-v-6ef071db] {\n flex: 1;\n min-height: 300px;\n}","/* unplugin-vue-components disabled */.file-container[data-v-31f606d3] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-31f606d3] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.word-layout[data-v-31f606d3] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.word-layout .word-main[data-v-31f606d3] {\n flex: 1;\n display: flex;\n overflow: hidden;\n}\n.word-layout .word-main .word-outline[data-v-31f606d3] {\n width: 280px;\n border-right: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n}\n.word-layout .word-main .word-outline .outline-header[data-v-31f606d3] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n}\n.word-layout .word-main .word-outline .outline-content[data-v-31f606d3] {\n padding: 8px;\n overflow-y: auto;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-31f606d3] {\n padding: 8px 12px;\n cursor: pointer;\n border-radius: 4px;\n font-size: 14px;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-outline .outline-content .outline-item[data-v-31f606d3]:hover {\n background-color: #e6f3ff;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-1[data-v-31f606d3] {\n padding-left: 12px;\n font-weight: 600;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-2[data-v-31f606d3] {\n padding-left: 24px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-3[data-v-31f606d3], .word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-31f606d3] {\n padding-left: 36px;\n font-size: 13px;\n}\n.word-layout .word-main .word-outline .outline-content .outline-item.level-4[data-v-31f606d3] {\n padding-left: 48px;\n}\n.word-layout .word-main .word-content[data-v-31f606d3] {\n flex: 1;\n padding: 24px;\n overflow: auto;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] {\n max-width: 800px;\n margin: 0 auto;\n background: var(--c-bg-card, white);\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n padding: 40px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h1 {\n margin: 24px 0 16px 0;\n font-weight: bold;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h1 {\n font-size: 1.8rem;\n color: var(--c-text-1, #333);\n border-bottom: 2px solid var(--c-border, #e0e0e0);\n padding-bottom: 8px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h2 {\n font-size: 1.5rem;\n color: var(--c-text-1, #444);\n margin: 20px 0 12px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] h3 {\n font-size: 1.25rem;\n color: var(--c-text-2, #555);\n margin: 16px 0 8px 0;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] p {\n margin-bottom: 12px;\n line-height: 1.8;\n color: var(--c-text-1, #333);\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] ul {\n margin: 12px 0;\n padding-left: 24px;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] li {\n margin-bottom: 6px;\n line-height: 1.6;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] table {\n width: 100%;\n border-collapse: collapse;\n margin: 16px 0;\n box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] th {\n border: 1px solid #d0d0d0;\n padding: 12px;\n text-align: left;\n}\n.word-layout .word-main .word-content .word-document[data-v-31f606d3] th {\n background-color: var(--c-bg-card, #f5f5f5);\n font-weight: bold;\n}","/* unplugin-vue-components disabled */.file-container[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n height: 100%;\n}\n.file-container .file-toolbar[data-v-5569b81f] {\n padding: 12px 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 8;\n position: relative;\n}\n.excel-container[data-v-5569b81f] {\n overflow: visible;\n}\n.excel-container .excel-viewer[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n height: 100%;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-info[data-v-5569b81f] {\n padding: 8px 16px;\n background-color: var(--c-bg-card, #f9f9f9);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 7;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container[data-v-5569b81f] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper[data-v-5569b81f] {\n flex: 1;\n overflow: auto;\n box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);\n border-radius: 4px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table[data-v-5569b81f] {\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header[data-v-5569b81f] {\n padding: 6px 8px;\n background: #f8f9fa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-letter[data-v-5569b81f] {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-header .header-content .column-title[data-v-5569b81f] {\n font-size: 11px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-row[data-v-5569b81f]:nth-child(even) {\n background-color: #fefefe;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell[data-v-5569b81f] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-5569b81f] {\n border: 1px solid #1976d2 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table-wrapper.simple-mode .excel-table .excel-cell.merged-cell[data-v-5569b81f]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table[data-v-5569b81f] {\n width: 100%;\n border-collapse: separate;\n border-spacing: 0;\n font-size: 13px;\n min-width: 100%;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .row-number[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f0f0 0%, #e8e8e8 100%);\n text-align: center;\n min-width: 30px;\n width: 30px;\n padding: 2px 4px;\n font-size: 11px;\n font-weight: bold;\n border: 1px solid #d0d0d0;\n color: #666;\n position: sticky;\n left: 0;\n z-index: 10;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header[data-v-5569b81f] {\n background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);\n padding: 8px 12px;\n border: 1px solid #c0c0c0;\n font-weight: bold;\n position: sticky;\n top: 0;\n z-index: 5;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content[data-v-5569b81f] {\n display: flex;\n flex-direction: column;\n align-items: center;\n gap: 2px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-letter[data-v-5569b81f] {\n background-color: var(--c-primary, #1976d2);\n color: white;\n padding: 2px 6px;\n border-radius: 3px;\n font-size: 10px;\n font-weight: normal;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-header .header-content .column-title[data-v-5569b81f] {\n font-size: 12px;\n font-weight: bold;\n text-align: center;\n word-break: break-all;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-5569b81f]:nth-child(even) {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-row[data-v-5569b81f]:hover {\n background-color: #e6f3ff;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell[data-v-5569b81f] {\n padding: 8px 12px;\n border: 1px solid #d0d0d0;\n vertical-align: middle;\n word-wrap: break-word;\n word-break: break-all;\n min-height: 24px;\n line-height: 1.4;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-number[data-v-5569b81f] {\n text-align: right;\n font-family: \"Courier New\", monospace;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-gantt[data-v-5569b81f] {\n text-align: center;\n font-family: monospace;\n font-size: 14px;\n font-weight: bold;\n background-color: #f0f0f0;\n color: var(--c-text-1, #333);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-date[data-v-5569b81f] {\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-boolean[data-v-5569b81f] {\n text-align: center;\n font-weight: bold;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-long[data-v-5569b81f] {\n max-width: 200px;\n white-space: pre-wrap;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.cell-empty[data-v-5569b81f] {\n background-color: #fafafa;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 2px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f]::before {\n content: \"\";\n position: absolute;\n top: 3px;\n left: 3px;\n right: 3px;\n bottom: 3px;\n background: rgba(25, 118, 210, 0.08);\n border-radius: 2px;\n pointer-events: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.merged-cell[data-v-5569b81f]::after {\n content: \"📎\";\n position: absolute;\n top: 2px;\n right: 4px;\n font-size: 10px;\n opacity: 0.6;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell[data-v-5569b81f] {\n padding: 4px 8px;\n font-size: 12px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f] {\n background: linear-gradient(135deg, #f0f8ff 0%, #e3f2fd 100%) !important;\n border: 1px solid var(--c-primary, #1976d2) !important;\n font-weight: bold;\n text-align: center;\n color: var(--c-primary, #1976d2);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f]::before {\n top: 2px;\n left: 2px;\n right: 2px;\n bottom: 2px;\n background: rgba(25, 118, 210, 0.05);\n}\n.excel-container .excel-viewer .excel-table-container .excel-table .excel-cell.compact-cell.merged-cell[data-v-5569b81f]::after {\n display: none;\n}\n.excel-container .excel-viewer .excel-table-container .excel-empty[data-v-5569b81f] {\n flex: 1;\n display: flex;\n align-items: center;\n justify-content: center;\n min-height: 200px;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] {\n padding: 20px 16px;\n border-top: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n display: flex;\n justify-content: center;\n flex-shrink: 0;\n z-index: 1000;\n position: relative;\n overflow: visible;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination {\n z-index: 1001;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker {\n z-index: 1002;\n position: relative;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker .n-base-selection {\n z-index: 1003;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-pagination-size-picker .n-base-selection-popover {\n z-index: 1004 !important;\n}\n.excel-container .excel-viewer .excel-table-container .excel-pagination[data-v-5569b81f] .n-popover {\n z-index: 1005 !important;\n}","/* unplugin-vue-components disabled */.c-file-preview-wrapper[data-v-7c7c652b] {\n width: 100%;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 16px;\n padding: 16px;\n border: 1px solid var(--c-border, #e0e0e0);\n border-radius: 12px;\n background: var(--c-bg-card, white);\n transition: var(--c-transition, 0.2s ease);\n cursor: pointer;\n}\n.c-file-preview-wrapper .file-info-card .file-info[data-v-7c7c652b]:hover {\n border-color: var(--c-primary, #40a9ff);\n box-shadow: 0 4px 12px rgba(64, 169, 255, 0.15);\n transform: translateY(-1px);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-icon[data-v-7c7c652b] {\n flex-shrink: 0;\n width: 56px;\n height: 56px;\n display: flex;\n align-items: center;\n justify-content: center;\n background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);\n border-radius: 12px;\n border: 1px solid #dee2e6;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details[data-v-7c7c652b] {\n flex: 1;\n min-width: 0;\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-name[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 12px;\n margin-bottom: 6px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #1f2937);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta[data-v-7c7c652b] {\n display: flex;\n gap: 16px;\n font-size: 13px;\n color: var(--c-text-2, #6b7280);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-details .file-meta .file-size[data-v-7c7c652b] {\n font-weight: 500;\n color: var(--c-text-1, #374151);\n}\n.c-file-preview-wrapper .file-info-card .file-info .file-actions[data-v-7c7c652b] {\n flex-shrink: 0;\n display: flex;\n gap: 8px;\n}\n.modal-container[data-v-7c7c652b] {\n background: var(--c-bg-card, white);\n border-radius: 8px;\n box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);\n display: flex;\n flex-direction: column;\n width: 100%;\n height: 100%;\n overflow: visible;\n}\n.modal-container .modal-header[data-v-7c7c652b] {\n display: flex;\n justify-content: space-between;\n align-items: center;\n padding: 16px 20px;\n background: var(--c-bg, #fafafa);\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n flex-shrink: 0;\n z-index: 10;\n position: relative;\n}\n.modal-container .modal-header .modal-title[data-v-7c7c652b] {\n display: flex;\n align-items: center;\n gap: 8px;\n font-weight: 600;\n font-size: 16px;\n color: var(--c-text-1, #333);\n}\n.modal-container .modal-header .modal-title span[data-v-7c7c652b] {\n max-width: 400px;\n overflow: hidden;\n text-overflow: ellipsis;\n white-space: nowrap;\n}\n.modal-container .modal-header .modal-actions[data-v-7c7c652b] {\n display: flex;\n gap: 8px;\n align-items: center;\n}\n.modal-container .modal-content[data-v-7c7c652b] {\n flex: 1;\n display: flex;\n flex-direction: column;\n overflow: visible;\n min-height: 0;\n}\n.modal-container .preview-header[data-v-7c7c652b] {\n padding: 16px;\n border-bottom: 1px solid var(--c-border, #e0e0e0);\n background-color: var(--c-bg-card, #f9f9f9);\n flex-shrink: 0;\n z-index: 9;\n position: relative;\n}\n.modal-container .preview-content[data-v-7c7c652b] {\n flex: 1;\n overflow: auto;\n min-height: 0;\n position: relative;\n}\n.modal-container .preview-content .status-container[data-v-7c7c652b] {\n height: 300px;\n display: flex;\n align-items: center;\n justify-content: center;\n}"],"mappings":"AAAA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AChBA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;ACvHA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AClPA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA"}