@cmstops/pro-compo 3.9.2-alpha.25 → 3.9.2-alpha.27

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 (339) hide show
  1. package/dist/index.css +61 -0
  2. package/dist/index.min.css +1 -1
  3. package/es/appCenter/component.d.ts +0 -0
  4. package/es/appCenter/component.js +0 -1
  5. package/es/appCenter/index.d.ts +2 -0
  6. package/es/appCenter/script/api.d.ts +11 -0
  7. package/es/appCenter/script/apps.d.ts +14 -0
  8. package/es/appCenter/script/permissionMap.d.ts +6 -0
  9. package/es/appCenter/script/routeMap.d.ts +4 -0
  10. package/es/appCenter/style/index.d.ts +1 -0
  11. package/es/baseFilter/component.d.ts +0 -0
  12. package/es/baseFilter/components/FilterGroup.d.ts +0 -0
  13. package/es/baseFilter/components/FilterGroup.js +18 -9
  14. package/es/baseFilter/components/filterItem.d.ts +0 -0
  15. package/es/baseFilter/index.d.ts +2 -0
  16. package/es/baseFilter/style/index.d.ts +1 -0
  17. package/es/baseFilter/useCalcWidth.d.ts +16 -0
  18. package/es/colorPalette/component.d.ts +0 -0
  19. package/es/colorPalette/components/colorPicker.d.ts +0 -0
  20. package/es/colorPalette/index.d.ts +2 -0
  21. package/es/colorPalette/style/index.d.ts +1 -0
  22. package/es/components.d.ts +5 -0
  23. package/es/config.d.ts +4 -0
  24. package/es/config.js +1 -1
  25. package/es/contentDetailList/__demo__/matrix/platform.d.ts +36 -0
  26. package/es/contentDetailList/component.d.ts +0 -0
  27. package/es/contentDetailList/component.js +6 -3
  28. package/es/contentDetailList/components/Content/CompoItem/index.d.ts +0 -0
  29. package/es/contentDetailList/components/Content/ContentListItem/index.d.ts +0 -0
  30. package/es/contentDetailList/components/Content/DocItem/ApprovalStateMap/index.d.ts +0 -0
  31. package/es/contentDetailList/components/Content/DocItem/index.d.ts +0 -0
  32. package/es/contentDetailList/components/Content/DocItem/index.js +46 -24
  33. package/es/contentDetailList/components/Content/DocMpItem/index.d.ts +0 -0
  34. package/es/contentDetailList/components/Content/GroupPieceItem/index.d.ts +0 -0
  35. package/es/contentDetailList/components/Content/KongoNavItem/index.d.ts +0 -0
  36. package/es/contentDetailList/components/Content/LiveItem/index.d.ts +0 -0
  37. package/es/contentDetailList/components/Content/MaccountItem/index.d.ts +0 -0
  38. package/es/contentDetailList/components/Content/courseItem/index.d.ts +0 -0
  39. package/es/contentDetailList/components/Content/funhdItem/index.d.ts +0 -0
  40. package/es/contentDetailList/components/Content/index.d.ts +0 -0
  41. package/es/contentDetailList/components/CustomWrp/CustomItem.d.ts +0 -0
  42. package/es/contentDetailList/components/CustomWrp/index.d.ts +0 -0
  43. package/es/contentDetailList/components/Doc/index.d.ts +0 -0
  44. package/es/contentDetailList/components/Doc/index.js +5 -2
  45. package/es/contentDetailList/components/Records/MatrixItem/index.d.ts +0 -0
  46. package/es/contentDetailList/components/Records/index.d.ts +0 -0
  47. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.d.ts +0 -0
  48. package/es/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -2
  49. package/es/contentDetailList/components/ShowQRCode/index.d.ts +0 -0
  50. package/es/contentDetailList/index.d.ts +2 -0
  51. package/es/contentDetailList/script/api.d.ts +6 -0
  52. package/es/contentDetailList/style/DocItem.less +15 -0
  53. package/es/contentDetailList/style/index.css +13 -0
  54. package/es/contentDetailList/style/index.d.ts +1 -0
  55. package/es/contentModal/component.d.ts +0 -0
  56. package/es/contentModal/component.js +8 -8
  57. package/es/contentModal/components/CompoList/CompoFilter/index.d.ts +0 -0
  58. package/es/contentModal/components/CompoList/index.d.ts +0 -0
  59. package/es/contentModal/components/ContentList/MediaFilter/index.d.ts +0 -0
  60. package/es/contentModal/components/ContentList/index.d.ts +0 -0
  61. package/es/contentModal/components/Dejin/MediaFilter/index.d.ts +0 -0
  62. package/es/contentModal/components/Dejin/index.d.ts +0 -0
  63. package/es/contentModal/components/EqxiuList/MediaFilter/index.d.ts +0 -0
  64. package/es/contentModal/components/EqxiuList/index.d.ts +0 -0
  65. package/es/contentModal/components/LiveList/MediaFilter/index.d.ts +0 -0
  66. package/es/contentModal/components/LiveList/index.d.ts +0 -0
  67. package/es/contentModal/components/MpAccountList/MpAccountFilter/index.d.ts +0 -0
  68. package/es/contentModal/components/MpAccountList/index.d.ts +0 -0
  69. package/es/contentModal/components/MpContentList/MediaFilter/index.d.ts +0 -0
  70. package/es/contentModal/components/MpContentList/index.d.ts +0 -0
  71. package/es/contentModal/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  72. package/es/contentModal/components/ViewAllColumn/columnTree/index.d.ts +0 -0
  73. package/es/contentModal/components/ViewAllColumn/index.d.ts +0 -0
  74. package/es/contentModal/components/storeBox/index.d.ts +0 -0
  75. package/es/contentModal/components/storeBox/index.js +2 -2
  76. package/es/contentModal/index.d.ts +2 -0
  77. package/es/contentModal/script/api.d.ts +18 -0
  78. package/es/contentModal/style/index.d.ts +1 -0
  79. package/es/dataTags/component.d.ts +0 -0
  80. package/es/dataTags/component.js +5 -5
  81. package/es/dataTags/index.d.ts +2 -0
  82. package/es/dataTags/style/index.d.ts +1 -0
  83. package/es/docHistory/component.d.ts +0 -0
  84. package/es/docHistory/component.js +1 -1
  85. package/es/docHistory/components/DocDiffPanel/index.d.ts +0 -0
  86. package/es/docHistory/components/DocHistoryList/index.d.ts +0 -0
  87. package/es/docHistory/index.d.ts +2 -0
  88. package/es/docHistory/scripts/diff.d.ts +1 -0
  89. package/es/docHistory/scripts/useDocHistory.d.ts +10 -0
  90. package/es/docHistory/style/index.d.ts +1 -0
  91. package/es/docPreview/component.d.ts +0 -0
  92. package/es/docPreview/component.js +234 -60
  93. package/es/docPreview/components/PreviewIframe.d.ts +0 -0
  94. package/es/docPreview/components/PreviewIframe.js +35 -4
  95. package/es/docPreview/images/pc.js +2 -0
  96. package/es/docPreview/index.d.ts +2 -0
  97. package/es/docPreview/scripts/api.d.ts +2 -0
  98. package/es/docPreview/scripts/hook.d.ts +43 -0
  99. package/es/docPreview/scripts/hook.js +115 -4
  100. package/es/docPreview/style/index.css +48 -0
  101. package/es/docPreview/style/index.d.ts +1 -0
  102. package/es/docPreview/style/index.less +23 -0
  103. package/es/docPreview/style/previewIframe.less +31 -0
  104. package/es/editMetaInfo/component.d.ts +0 -0
  105. package/es/editMetaInfo/components/metaInfoForm.d.ts +0 -0
  106. package/es/editMetaInfo/components/metaInfoForm.js +2 -2
  107. package/es/editMetaInfo/index.d.ts +2 -0
  108. package/es/editMetaInfo/script/api.d.ts +6 -0
  109. package/es/editMetaInfo/script/restaurants.d.ts +4 -0
  110. package/es/editMetaInfo/style/index.d.ts +1 -0
  111. package/es/emptyData/component.d.ts +0 -0
  112. package/es/emptyData/index.d.ts +2 -0
  113. package/es/emptyData/style/index.d.ts +1 -0
  114. package/es/emptyData/svg/add.d.ts +0 -0
  115. package/es/hooks/assets.d.ts +1 -0
  116. package/es/hooks/batch.d.ts +8 -0
  117. package/es/hooks/dialogVisible.d.ts +8 -0
  118. package/es/hooks/source.d.ts +9 -0
  119. package/es/hooks/toggle.d.ts +6 -0
  120. package/es/hooks/useAttachement.d.ts +53 -0
  121. package/es/hooks/useLocalStorage.d.ts +10 -0
  122. package/es/hooks/useMediaContext.d.ts +12 -0
  123. package/es/hooks/usePopper.d.ts +8 -0
  124. package/es/hooks/useSelection.d.ts +30 -0
  125. package/es/hooks/useUpload.d.ts +78 -0
  126. package/es/hooks/user.d.ts +9 -0
  127. package/es/imageCrop/component.d.ts +0 -0
  128. package/es/imageCrop/component.js +2 -2
  129. package/es/imageCrop/index.d.ts +2 -0
  130. package/es/imageCrop/script/api.d.ts +1 -0
  131. package/es/imageCrop/style/index.d.ts +1 -0
  132. package/es/importData/component.d.ts +0 -0
  133. package/es/importData/component.js +4 -4
  134. package/es/importData/index.d.ts +2 -0
  135. package/es/importData/style/index.d.ts +1 -0
  136. package/es/index.css +61 -0
  137. package/es/index.d.ts +31 -0
  138. package/es/mediaFilter/component.d.ts +0 -0
  139. package/es/mediaFilter/components/DocFilter.d.ts +0 -0
  140. package/es/mediaFilter/components/DocFilter.js +1 -1
  141. package/es/mediaFilter/components/FilterGroup.d.ts +0 -0
  142. package/es/mediaFilter/components/FilterGroup.js +1 -1
  143. package/es/mediaFilter/components/FilterItem.d.ts +0 -0
  144. package/es/mediaFilter/components/MpAccountFilter.d.ts +0 -0
  145. package/es/mediaFilter/components/MpContentFilter.d.ts +0 -0
  146. package/es/mediaFilter/index.d.ts +3 -0
  147. package/es/mediaFilter/script/optionsGetter.d.ts +26 -0
  148. package/es/mediaFilter/script/types.d.ts +16 -0
  149. package/es/mediaFilter/style/index.d.ts +1 -0
  150. package/es/mediaView/component.d.ts +0 -0
  151. package/es/mediaView/index.d.ts +2 -0
  152. package/es/mediaView/style/index.d.ts +1 -0
  153. package/es/messageBox/component.d.ts +0 -0
  154. package/es/messageBox/component.js +1 -1
  155. package/es/messageBox/index.d.ts +2 -0
  156. package/es/messageBox/list.d.ts +0 -0
  157. package/es/messageBox/script/api.d.ts +6 -0
  158. package/es/messageBox/style/index.d.ts +1 -0
  159. package/es/previousVersion/component.d.ts +0 -0
  160. package/es/previousVersion/index.d.ts +2 -0
  161. package/es/previousVersion/script/api.d.ts +15 -0
  162. package/es/previousVersion/script/tool.d.ts +6 -0
  163. package/es/previousVersion/style/index.d.ts +1 -0
  164. package/es/resourceGridList/component.d.ts +0 -0
  165. package/es/resourceGridList/component.js +1 -1
  166. package/es/resourceGridList/components/FileTypeThumb/index.d.ts +0 -0
  167. package/es/resourceGridList/index.d.ts +2 -0
  168. package/es/resourceGridList/style/index.d.ts +1 -0
  169. package/es/resourceModal/component.d.ts +0 -0
  170. package/es/resourceModal/component.js +1 -1
  171. package/es/resourceModal/components/MediaPreviewer/index.d.ts +0 -0
  172. package/es/resourceModal/components/MediaSelection/DocAiMediaSelected/index.d.ts +0 -0
  173. package/es/resourceModal/components/MediaSelection/MainContent/FileTypeThumb/index.d.ts +0 -0
  174. package/es/resourceModal/components/MediaSelection/MainContent/index.d.ts +0 -0
  175. package/es/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
  176. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.d.ts +0 -0
  177. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  178. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.d.ts +0 -0
  179. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  180. package/es/resourceModal/components/MediaSelection/SystemResourceSelected/index.d.ts +0 -0
  181. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.d.ts +0 -0
  182. package/es/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  183. package/es/resourceModal/components/MediaSelection/index.d.ts +0 -0
  184. package/es/resourceModal/index.d.ts +2 -0
  185. package/es/resourceModal/script/api.d.ts +25 -0
  186. package/es/resourceModal/script/mediaSelection.d.ts +14 -0
  187. package/es/resourceModal/style/index.d.ts +1 -0
  188. package/es/selectAddTo/component.d.ts +0 -0
  189. package/es/selectAddTo/components/SelectAddToView.d.ts +0 -0
  190. package/es/selectAddTo/components/SelectAddToView.js +2 -2
  191. package/es/selectAddTo/components/ViewAllColumn/MediaFilter/index.d.ts +0 -0
  192. package/es/selectAddTo/components/ViewAllColumn/index.d.ts +0 -0
  193. package/es/selectAddTo/components/ViewAllColumn/script/useTableColumns.d.ts +6 -0
  194. package/es/selectAddTo/components/ViewAllColumn/script/useViewAllColumnState.d.ts +144 -0
  195. package/es/selectAddTo/components/ViewAllColumn/types/index.d.ts +55 -0
  196. package/es/selectAddTo/index.d.ts +2 -0
  197. package/es/selectAddTo/script/api.d.ts +18 -0
  198. package/es/selectAddTo/script/index.d.ts +2 -0
  199. package/es/selectAddTo/script/useSelectAddToState.d.ts +13 -0
  200. package/es/selectAddTo/style/index.d.ts +1 -0
  201. package/es/selectAddTo/types/index.d.ts +37 -0
  202. package/es/selectAvatarList/component.d.ts +0 -0
  203. package/es/selectAvatarList/index.d.ts +2 -0
  204. package/es/selectAvatarList/style/index.d.ts +1 -0
  205. package/es/selectGategory/component.d.ts +0 -0
  206. package/es/selectGategory/component.js +1 -1
  207. package/es/selectGategory/components/ColumnSelection/index.d.ts +0 -0
  208. package/es/selectGategory/index.d.ts +2 -0
  209. package/es/selectGategory/script/api.d.ts +6 -0
  210. package/es/selectGategory/style/index.d.ts +1 -0
  211. package/es/selectResourceModal/__demo__/module/DivWrapper.d.ts +261 -0
  212. package/es/selectResourceModal/__demo__/module/basic.d.ts +292 -0
  213. package/es/selectResourceModal/component.d.ts +0 -0
  214. package/es/selectResourceModal/component.js +7 -15
  215. package/es/selectResourceModal/components/List/ListAi/index.d.ts +0 -0
  216. package/es/selectResourceModal/components/List/ListCardWrapper.d.ts +0 -0
  217. package/es/selectResourceModal/components/List/ListLocal/Upload.d.ts +0 -0
  218. package/es/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  219. package/es/selectResourceModal/components/List/ListLocal/index.d.ts +0 -0
  220. package/es/selectResourceModal/components/List/ListNormal/Filter.d.ts +0 -0
  221. package/es/selectResourceModal/components/List/ListNormal/Filter.js +5 -5
  222. package/es/selectResourceModal/components/List/ListNormal/index.d.ts +0 -0
  223. package/es/selectResourceModal/components/List/ListSystem/Filter.d.ts +0 -0
  224. package/es/selectResourceModal/components/List/ListSystem/Filter.js +1 -1
  225. package/es/selectResourceModal/components/List/ListSystem/SubList.d.ts +0 -0
  226. package/es/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
  227. package/es/selectResourceModal/components/List/ListSystem/index.d.ts +0 -0
  228. package/es/selectResourceModal/components/List/ListVideo/index.d.ts +0 -0
  229. package/es/selectResourceModal/components/List/ListWraper.d.ts +0 -0
  230. package/es/selectResourceModal/components/ListSelected/index.d.ts +0 -0
  231. package/es/selectResourceModal/components/ListTabs/index.d.ts +0 -0
  232. package/es/selectResourceModal/hooks/useResponsiveFilter.d.ts +21 -0
  233. package/es/selectResourceModal/index.d.ts +2 -0
  234. package/es/selectResourceModal/scripts/selectionApis.d.ts +2 -0
  235. package/es/selectResourceModal/scripts/useCompoLf.d.ts +27 -0
  236. package/es/selectResourceModal/scripts/useResourceSelect.d.ts +7 -0
  237. package/es/selectResourceModal/scripts/useTabFilter.d.ts +22 -0
  238. package/es/selectResourceModal/scripts/useTabFilter.js +1 -11
  239. package/es/selectResourceModal/style/index.d.ts +1 -0
  240. package/es/selectThumb/component.d.ts +0 -0
  241. package/es/selectThumb/components/card.d.ts +0 -0
  242. package/es/selectThumb/components/colorPalette.d.ts +0 -0
  243. package/es/selectThumb/components/colorPicker.d.ts +0 -0
  244. package/es/selectThumb/index.d.ts +2 -0
  245. package/es/selectThumb/style/index.d.ts +1 -0
  246. package/es/thumbCard/component.d.ts +0 -0
  247. package/es/thumbCard/components/ThumbUploading/index.d.ts +0 -0
  248. package/es/thumbCard/index.d.ts +2 -0
  249. package/es/thumbCard/style/index.d.ts +1 -0
  250. package/es/typeIcons/component.d.ts +0 -0
  251. package/es/typeIcons/index.d.ts +2 -0
  252. package/es/typeIcons/style/index.d.ts +1 -0
  253. package/es/uploadBefore/component.d.ts +0 -0
  254. package/es/uploadBefore/components/UploadBefore.d.ts +0 -0
  255. package/es/uploadBefore/components/UploadBefore.js +1 -1
  256. package/es/uploadBefore/components/UploadForClick.d.ts +0 -0
  257. package/es/uploadBefore/index.d.ts +2 -0
  258. package/es/uploadBefore/script/api.d.ts +16 -0
  259. package/es/uploadBefore/script/fileTypeAdapter.d.ts +39 -0
  260. package/es/uploadBefore/script/fileUpload.d.ts +7 -0
  261. package/es/uploadBefore/script/uploadHooks.d.ts +96 -0
  262. package/es/uploadBefore/style/index.d.ts +1 -0
  263. package/es/uploadBefore/utils/dragUploadEvent.d.ts +0 -0
  264. package/es/uploadStep/component.d.ts +0 -0
  265. package/es/uploadStep/index.d.ts +2 -0
  266. package/es/uploadStep/script/fileTypeAdapter.d.ts +20 -0
  267. package/es/uploadStep/style/index.d.ts +1 -0
  268. package/es/userAvater/component.d.ts +0 -0
  269. package/es/userAvater/component.js +1 -1
  270. package/es/userAvater/index.d.ts +2 -0
  271. package/es/userAvater/script/api.d.ts +8 -0
  272. package/es/userAvater/style/index.d.ts +1 -0
  273. package/es/userDirector/component.d.ts +0 -0
  274. package/es/userDirector/component.js +1 -1
  275. package/es/userDirector/components/userTree.d.ts +0 -0
  276. package/es/userDirector/index.d.ts +2 -0
  277. package/es/userDirector/script/api.d.ts +10 -0
  278. package/es/userDirector/style/index.d.ts +1 -0
  279. package/es/utils/auth.d.ts +5 -0
  280. package/es/utils/date.d.ts +3 -0
  281. package/es/utils/doc.d.ts +76 -0
  282. package/es/utils/filter.d.ts +21 -0
  283. package/es/utils/index.d.ts +17 -0
  284. package/es/utils/request.d.ts +9 -0
  285. package/es/utils/resource.d.ts +4 -0
  286. package/es/utils/transcodeMedia.d.ts +13 -0
  287. package/es/utils/tusUpload.d.ts +16 -0
  288. package/es/utils/typeMap.d.ts +185 -0
  289. package/es/utils/uploadCatalog.d.ts +1 -0
  290. package/es/videoThumb/component.d.ts +0 -0
  291. package/es/videoThumb/index.d.ts +2 -0
  292. package/es/videoThumb/scripts/api.d.ts +9 -0
  293. package/es/videoThumb/scripts/useVideoThumbs.d.ts +12 -0
  294. package/es/videoThumb/style/index.d.ts +1 -0
  295. package/lib/appCenter/component.js +0 -1
  296. package/lib/baseFilter/components/FilterGroup.js +17 -8
  297. package/lib/config.js +1 -1
  298. package/lib/contentDetailList/component.js +6 -3
  299. package/lib/contentDetailList/components/Content/DocItem/index.js +46 -24
  300. package/lib/contentDetailList/components/Doc/index.js +5 -2
  301. package/lib/contentDetailList/components/ShowQRCode/QrcodeView/index.js +2 -2
  302. package/lib/contentDetailList/style/DocItem.less +15 -0
  303. package/lib/contentDetailList/style/index.css +13 -0
  304. package/lib/contentModal/component.js +8 -8
  305. package/lib/contentModal/components/storeBox/index.js +2 -2
  306. package/lib/dataTags/component.js +5 -5
  307. package/lib/docHistory/component.js +1 -1
  308. package/lib/docPreview/component.js +233 -59
  309. package/lib/docPreview/components/PreviewIframe.js +35 -4
  310. package/lib/docPreview/images/pc.js +3 -0
  311. package/lib/docPreview/scripts/hook.js +115 -3
  312. package/lib/docPreview/style/index.css +48 -0
  313. package/lib/docPreview/style/index.less +23 -0
  314. package/lib/docPreview/style/previewIframe.less +31 -0
  315. package/lib/editMetaInfo/components/metaInfoForm.js +2 -2
  316. package/lib/imageCrop/component.js +2 -2
  317. package/lib/importData/component.js +4 -4
  318. package/lib/index.css +61 -0
  319. package/lib/mediaFilter/components/DocFilter.js +1 -1
  320. package/lib/mediaFilter/components/FilterGroup.js +1 -1
  321. package/lib/messageBox/component.js +1 -1
  322. package/lib/resourceGridList/component.js +1 -1
  323. package/lib/resourceModal/component.js +1 -1
  324. package/lib/resourceModal/components/MediaSelection/MainContent/index.js +1 -1
  325. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceFilter.js +1 -1
  326. package/lib/resourceModal/components/MediaSelection/SystemResourceSelected/components/SystemResourceList.js +1 -1
  327. package/lib/resourceModal/components/MediaSelection/ToolbarSearch/index.js +1 -1
  328. package/lib/selectAddTo/components/SelectAddToView.js +2 -2
  329. package/lib/selectGategory/component.js +1 -1
  330. package/lib/selectResourceModal/component.js +6 -14
  331. package/lib/selectResourceModal/components/List/ListLocal/Upload.js +1 -1
  332. package/lib/selectResourceModal/components/List/ListNormal/Filter.js +5 -5
  333. package/lib/selectResourceModal/components/List/ListSystem/Filter.js +1 -1
  334. package/lib/selectResourceModal/components/List/ListSystem/SubList.js +1 -1
  335. package/lib/selectResourceModal/scripts/useTabFilter.js +1 -13
  336. package/lib/uploadBefore/components/UploadBefore.js +1 -1
  337. package/lib/userAvater/component.js +1 -1
  338. package/lib/userDirector/component.js +1 -1
  339. package/package.json +1 -1
@@ -159,7 +159,7 @@ const _sfc_main = vue.defineComponent({
159
159
  onClick: comfirm
160
160
  }, {
161
161
  default: vue.withCtx(() => _cache[8] || (_cache[8] = [
162
- vue.createTextVNode("\u6DFB\u52A0 ")
162
+ vue.createTextVNode("\u6DFB\u52A0 ", -1)
163
163
  ])),
164
164
  _: 1,
165
165
  __: [8]
@@ -199,7 +199,7 @@ const _sfc_main = vue.defineComponent({
199
199
  onClick: comfirm
200
200
  }, {
201
201
  default: vue.withCtx(() => _cache[9] || (_cache[9] = [
202
- vue.createTextVNode(" \u6DFB\u52A0 ")
202
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
203
203
  ])),
204
204
  _: 1,
205
205
  __: [9]
@@ -240,7 +240,7 @@ const _sfc_main = vue.defineComponent({
240
240
  onClick: comfirm
241
241
  }, {
242
242
  default: vue.withCtx(() => _cache[10] || (_cache[10] = [
243
- vue.createTextVNode(" \u6DFB\u52A0 ")
243
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
244
244
  ])),
245
245
  _: 1,
246
246
  __: [10]
@@ -280,7 +280,7 @@ const _sfc_main = vue.defineComponent({
280
280
  onClick: comfirm
281
281
  }, {
282
282
  default: vue.withCtx(() => _cache[11] || (_cache[11] = [
283
- vue.createTextVNode(" \u6DFB\u52A0 ")
283
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
284
284
  ])),
285
285
  _: 1,
286
286
  __: [11]
@@ -320,7 +320,7 @@ const _sfc_main = vue.defineComponent({
320
320
  onClick: comfirm
321
321
  }, {
322
322
  default: vue.withCtx(() => _cache[12] || (_cache[12] = [
323
- vue.createTextVNode(" \u6DFB\u52A0 ")
323
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
324
324
  ])),
325
325
  _: 1,
326
326
  __: [12]
@@ -360,7 +360,7 @@ const _sfc_main = vue.defineComponent({
360
360
  onClick: comfirm
361
361
  }, {
362
362
  default: vue.withCtx(() => _cache[13] || (_cache[13] = [
363
- vue.createTextVNode(" \u6DFB\u52A0 ")
363
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
364
364
  ])),
365
365
  _: 1,
366
366
  __: [13]
@@ -400,7 +400,7 @@ const _sfc_main = vue.defineComponent({
400
400
  onClick: comfirm
401
401
  }, {
402
402
  default: vue.withCtx(() => _cache[14] || (_cache[14] = [
403
- vue.createTextVNode(" \u6DFB\u52A0 ")
403
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
404
404
  ])),
405
405
  _: 1,
406
406
  __: [14]
@@ -439,7 +439,7 @@ const _sfc_main = vue.defineComponent({
439
439
  onClick: comfirm
440
440
  }, {
441
441
  default: vue.withCtx(() => _cache[15] || (_cache[15] = [
442
- vue.createTextVNode(" \u6DFB\u52A0 ")
442
+ vue.createTextVNode(" \u6DFB\u52A0 ", -1)
443
443
  ])),
444
444
  _: 1,
445
445
  __: [15]
@@ -82,7 +82,7 @@ const _sfc_main = vue.defineComponent({
82
82
  onClick: clear
83
83
  }, {
84
84
  default: vue.withCtx(() => _cache[1] || (_cache[1] = [
85
- vue.createTextVNode("\u6E05\u7A7A")
85
+ vue.createTextVNode("\u6E05\u7A7A", -1)
86
86
  ])),
87
87
  _: 1,
88
88
  __: [1]
@@ -99,7 +99,7 @@ const _sfc_main = vue.defineComponent({
99
99
  class: "button"
100
100
  }, {
101
101
  default: vue.withCtx(() => _cache[0] || (_cache[0] = [
102
- vue.createTextVNode("\u5DF2\u9009\u6570\u636E")
102
+ vue.createTextVNode("\u5DF2\u9009\u6570\u636E", -1)
103
103
  ])),
104
104
  _: 1,
105
105
  __: [0]
@@ -132,7 +132,7 @@ const _sfc_main = vue.defineComponent({
132
132
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "yuanchuang"])
133
133
  }, {
134
134
  default: vue.withCtx(() => _cache[1] || (_cache[1] = [
135
- vue.createTextVNode("\u539F\u521B")
135
+ vue.createTextVNode("\u539F\u521B", -1)
136
136
  ])),
137
137
  _: 1,
138
138
  __: [1]
@@ -151,7 +151,7 @@ const _sfc_main = vue.defineComponent({
151
151
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
152
152
  }, {
153
153
  default: vue.withCtx(() => _cache[2] || (_cache[2] = [
154
- vue.createTextVNode("\u63A8\u8350")
154
+ vue.createTextVNode("\u63A8\u8350", -1)
155
155
  ])),
156
156
  _: 1,
157
157
  __: [2]
@@ -170,7 +170,7 @@ const _sfc_main = vue.defineComponent({
170
170
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "waring"])
171
171
  }, {
172
172
  default: vue.withCtx(() => _cache[3] || (_cache[3] = [
173
- vue.createTextVNode("\u654F\u611F")
173
+ vue.createTextVNode("\u654F\u611F", -1)
174
174
  ])),
175
175
  _: 1,
176
176
  __: [3]
@@ -189,7 +189,7 @@ const _sfc_main = vue.defineComponent({
189
189
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "star"])
190
190
  }, {
191
191
  default: vue.withCtx(() => _cache[4] || (_cache[4] = [
192
- vue.createTextVNode("\u5DF2\u63A8\u9001")
192
+ vue.createTextVNode("\u5DF2\u63A8\u9001", -1)
193
193
  ])),
194
194
  _: 1,
195
195
  __: [4]
@@ -226,7 +226,7 @@ const _sfc_main = vue.defineComponent({
226
226
  class: vue.normalizeClass([{ disabled: _ctx.disabled }, "matrix"])
227
227
  }, {
228
228
  default: vue.withCtx(() => _cache[5] || (_cache[5] = [
229
- vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ")
229
+ vue.createTextVNode(" \u77E9\u9635\u5206\u53D1 ", -1)
230
230
  ])),
231
231
  _: 1,
232
232
  __: [5]
@@ -100,7 +100,7 @@ const _sfc_main = vue.defineComponent({
100
100
  onClick: handeRevert
101
101
  }, {
102
102
  default: vue.withCtx(() => _cache[1] || (_cache[1] = [
103
- vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ")
103
+ vue.createTextVNode(" \u8FD8\u539F\u6B64\u7248\u672C ", -1)
104
104
  ])),
105
105
  _: 1,
106
106
  __: [1]
@@ -18,6 +18,18 @@ const _hoisted_10 = { class: "doc-preview-share-link" };
18
18
  const _hoisted_11 = { class: "doc-preview-share-link-value" };
19
19
  const _hoisted_12 = { class: "doc-preview-share-header" };
20
20
  const _hoisted_13 = { class: "doc-preview-share-action" };
21
+ const _hoisted_14 = { class: "doc-preview-share-header" };
22
+ const _hoisted_15 = { class: "doc-preview-share-link" };
23
+ const _hoisted_16 = { class: "doc-preview-share-link-value" };
24
+ const _hoisted_17 = { class: "doc-preview-share-link-hint" };
25
+ const _hoisted_18 = { class: "doc-preview-share-action" };
26
+ const _hoisted_19 = { class: "doc-preview-share-header" };
27
+ const _hoisted_20 = { class: "doc-preview-share-link" };
28
+ const _hoisted_21 = { class: "doc-preview-share-link-value" };
29
+ const _hoisted_22 = { class: "doc-preview-share-action" };
30
+ const _hoisted_23 = { class: "doc-preview-share-header" };
31
+ const _hoisted_24 = { class: "doc-preview-share-action" };
32
+ const _hoisted_25 = { class: "v-bottom" };
21
33
  const _sfc_main = vue.defineComponent({
22
34
  ...{ name: "docPreview" },
23
35
  __name: "component",
@@ -36,14 +48,24 @@ const _sfc_main = vue.defineComponent({
36
48
  generate,
37
49
  cancel,
38
50
  copy,
51
+ copyPC,
39
52
  shareData,
53
+ pcShareData,
40
54
  innerUrl,
41
55
  expireTime,
42
56
  intervalTime,
57
+ pcIntervalTime,
43
58
  loading,
44
- isPublish
59
+ isPublish,
60
+ numpc,
61
+ btn_device,
62
+ generatePC,
63
+ previewSite,
64
+ pcInnerUrl,
65
+ cancelPc
45
66
  } = hook.useDocPreview(BASE_API, vue.toRef(props, "hashid"));
46
67
  vue.onMounted(() => {
68
+ generatePC();
47
69
  if (props.docInfo && [14, 15].includes(props.docInfo.state)) {
48
70
  if (props.docInfo.share_link) {
49
71
  genQrCode(props.docInfo.share_link, "qr-code-is-pub");
@@ -55,112 +77,246 @@ const _sfc_main = vue.defineComponent({
55
77
  return (_ctx, _cache) => {
56
78
  return vue.openBlock(), vue.createElementBlock("div", {
57
79
  class: "doc-preview-container",
58
- onClick: _cache[7] || (_cache[7] = ($event) => emits("close"))
80
+ onClick: _cache[15] || (_cache[15] = ($event) => emits("close"))
59
81
  }, [
60
82
  vue.createElementVNode("div", _hoisted_1, [
61
83
  vue.createVNode(vue.unref(icon.IconClose), {
62
84
  onClick: _cache[0] || (_cache[0] = vue.withModifiers(($event) => emits("close"), ["stop"]))
63
85
  })
64
86
  ]),
65
- _cache[21] || (_cache[21] = vue.createElementVNode("div", { class: "doc-preview-share" }, null, -1)),
87
+ _cache[42] || (_cache[42] = vue.createElementVNode("div", { class: "doc-preview-share" }, null, -1)),
66
88
  vue.createVNode(PreviewIframe, {
67
89
  src: vue.unref(innerUrl),
90
+ numpc: vue.unref(numpc),
91
+ pcSrc: vue.unref(pcInnerUrl),
92
+ isPublish: vue.unref(isPublish),
68
93
  onClick: _cache[1] || (_cache[1] = vue.withModifiers(() => {
69
94
  }, ["stop"]))
70
- }, null, 8, ["src"]),
71
- vue.createVNode(vue.unref(webVue.Spin), { loading: vue.unref(loading) }, {
95
+ }, null, 8, ["src", "numpc", "pcSrc", "isPublish"]),
96
+ vue.createCommentVNode(" \u624B\u673A\u9884\u89C8\u94FE\u63A5 "),
97
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Spin), { loading: vue.unref(loading) }, {
98
+ default: vue.withCtx(() => {
99
+ var _a, _b;
100
+ return [
101
+ vue.createElementVNode("div", {
102
+ class: "doc-preview-share",
103
+ onClick: _cache[6] || (_cache[6] = vue.withModifiers(() => {
104
+ }, ["stop"]))
105
+ }, [
106
+ vue.unref(shareData) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
107
+ vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
108
+ vue.createElementVNode("div", _hoisted_2, [
109
+ vue.createElementVNode("img", {
110
+ src: (_a = vue.unref(shareData)) == null ? void 0 : _a.qrCode,
111
+ alt: ""
112
+ }, null, 8, _hoisted_3)
113
+ ]),
114
+ vue.createCommentVNode(" \u5907\u6CE8 "),
115
+ _cache[20] || (_cache[20] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
116
+ vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
117
+ vue.createElementVNode("div", _hoisted_4, [
118
+ _cache[17] || (_cache[17] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
119
+ vue.createVNode(vue.unref(webVue.Link), {
120
+ type: "text",
121
+ onClick: vue.unref(copy)
122
+ }, {
123
+ default: vue.withCtx(() => _cache[16] || (_cache[16] = [
124
+ vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
125
+ ])),
126
+ _: 1,
127
+ __: [16]
128
+ }, 8, ["onClick"])
129
+ ]),
130
+ vue.createCommentVNode(" \u94FE\u63A5 "),
131
+ vue.createElementVNode("div", _hoisted_5, [
132
+ vue.createElementVNode("div", _hoisted_6, vue.toDisplayString((_b = vue.unref(shareData)) == null ? void 0 : _b.shareUrl), 1),
133
+ vue.createElementVNode("div", _hoisted_7, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(intervalTime)), 1)
134
+ ]),
135
+ vue.createCommentVNode(" \u64CD\u4F5C "),
136
+ vue.createElementVNode("div", _hoisted_8, [
137
+ vue.createVNode(vue.unref(webVue.Button), {
138
+ onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(cancel)())
139
+ }, {
140
+ default: vue.withCtx(() => _cache[18] || (_cache[18] = [
141
+ vue.createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5", -1)
142
+ ])),
143
+ _: 1,
144
+ __: [18]
145
+ }),
146
+ vue.createVNode(vue.unref(webVue.Button), {
147
+ type: "primary",
148
+ onClick: _cache[3] || (_cache[3] = ($event) => vue.unref(cancel)(true))
149
+ }, {
150
+ default: vue.withCtx(() => _cache[19] || (_cache[19] = [
151
+ vue.createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ", -1)
152
+ ])),
153
+ _: 1,
154
+ __: [19]
155
+ })
156
+ ])
157
+ ], 64)) : vue.unref(isPublish) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
158
+ vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
159
+ _cache[23] || (_cache[23] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
160
+ vue.createElementVNode("div", { id: "qr-code-is-pub" })
161
+ ], -1)),
162
+ vue.createCommentVNode(" \u5907\u6CE8 "),
163
+ _cache[24] || (_cache[24] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
164
+ vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
165
+ vue.createElementVNode("div", _hoisted_9, [
166
+ _cache[22] || (_cache[22] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
167
+ vue.createVNode(vue.unref(webVue.Link), {
168
+ type: "text",
169
+ onClick: vue.unref(copy)
170
+ }, {
171
+ default: vue.withCtx(() => _cache[21] || (_cache[21] = [
172
+ vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
173
+ ])),
174
+ _: 1,
175
+ __: [21]
176
+ }, 8, ["onClick"])
177
+ ]),
178
+ vue.createCommentVNode(" \u94FE\u63A5 "),
179
+ vue.createElementVNode("div", _hoisted_10, [
180
+ vue.createElementVNode("div", _hoisted_11, vue.toDisplayString(vue.unref(innerUrl)), 1)
181
+ ])
182
+ ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
183
+ _cache[27] || (_cache[27] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
184
+ vue.createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
185
+ ], -1)),
186
+ _cache[28] || (_cache[28] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)),
187
+ vue.createElementVNode("div", _hoisted_12, [
188
+ _cache[25] || (_cache[25] = vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
189
+ vue.createVNode(vue.unref(webVue.Select), {
190
+ modelValue: vue.unref(expireTime),
191
+ "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(expireTime) ? expireTime.value = $event : null),
192
+ size: "mini",
193
+ style: { "width": "120px" }
194
+ }, {
195
+ default: vue.withCtx(() => [
196
+ (vue.openBlock(true), vue.createElementBlock(vue.Fragment, null, vue.renderList(vue.unref(hook.EXPIRE_TIME_OPTIONS), (t, index) => {
197
+ return vue.openBlock(), vue.createBlock(vue.unref(webVue.Option), {
198
+ key: index,
199
+ label: t.label,
200
+ value: t.value
201
+ }, null, 8, ["label", "value"]);
202
+ }), 128))
203
+ ]),
204
+ _: 1
205
+ }, 8, ["modelValue"])
206
+ ]),
207
+ vue.createElementVNode("div", _hoisted_13, [
208
+ vue.createVNode(vue.unref(webVue.Button), {
209
+ type: "primary",
210
+ onClick: _cache[5] || (_cache[5] = () => vue.unref(generate)())
211
+ }, {
212
+ default: vue.withCtx(() => _cache[26] || (_cache[26] = [
213
+ vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
214
+ ])),
215
+ _: 1,
216
+ __: [26]
217
+ })
218
+ ])
219
+ ], 64))
220
+ ])
221
+ ];
222
+ }),
223
+ _: 1
224
+ }, 8, ["loading"]), [
225
+ [vue.vShow, vue.unref(numpc) === 0]
226
+ ]),
227
+ vue.createCommentVNode(" pc\u9884\u89C8\u94FE\u63A5 "),
228
+ vue.withDirectives(vue.createVNode(vue.unref(webVue.Spin), { loading: vue.unref(loading) }, {
72
229
  default: vue.withCtx(() => [
73
230
  vue.createElementVNode("div", {
74
231
  class: "doc-preview-share",
75
- onClick: _cache[6] || (_cache[6] = vue.withModifiers(() => {
232
+ onClick: _cache[12] || (_cache[12] = vue.withModifiers(() => {
76
233
  }, ["stop"]))
77
234
  }, [
78
- vue.unref(shareData) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
79
- vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
80
- vue.createElementVNode("div", _hoisted_2, [
81
- vue.createElementVNode("img", {
82
- src: vue.unref(shareData).qrCode,
83
- alt: ""
84
- }, null, 8, _hoisted_3)
85
- ]),
86
- vue.createCommentVNode(" \u5907\u6CE8 "),
87
- _cache[12] || (_cache[12] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
235
+ vue.unref(pcShareData) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 0 }, [
88
236
  vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
89
- vue.createElementVNode("div", _hoisted_4, [
90
- _cache[9] || (_cache[9] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
237
+ vue.createElementVNode("div", _hoisted_14, [
238
+ _cache[30] || (_cache[30] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
91
239
  vue.createVNode(vue.unref(webVue.Link), {
92
240
  type: "text",
93
- onClick: vue.unref(copy)
241
+ onClick: vue.unref(copyPC)
94
242
  }, {
95
- default: vue.withCtx(() => _cache[8] || (_cache[8] = [
96
- vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
243
+ default: vue.withCtx(() => _cache[29] || (_cache[29] = [
244
+ vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
97
245
  ])),
98
246
  _: 1,
99
- __: [8]
247
+ __: [29]
100
248
  }, 8, ["onClick"])
101
249
  ]),
102
250
  vue.createCommentVNode(" \u94FE\u63A5 "),
103
- vue.createElementVNode("div", _hoisted_5, [
104
- vue.createElementVNode("div", _hoisted_6, vue.toDisplayString(vue.unref(shareData).shareUrl), 1),
105
- vue.createElementVNode("div", _hoisted_7, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(intervalTime)), 1)
251
+ vue.createElementVNode("div", _hoisted_15, [
252
+ vue.createElementVNode("div", _hoisted_16, vue.toDisplayString(vue.unref(pcInnerUrl)), 1),
253
+ vue.createElementVNode("div", _hoisted_17, " \u94FE\u63A5\u5269\u4F59\u65F6\u95F4\uFF1A" + vue.toDisplayString(vue.unref(pcIntervalTime)), 1)
106
254
  ]),
107
255
  vue.createCommentVNode(" \u64CD\u4F5C "),
108
- vue.createElementVNode("div", _hoisted_8, [
256
+ vue.createElementVNode("div", _hoisted_18, [
109
257
  vue.createVNode(vue.unref(webVue.Button), {
110
- onClick: _cache[2] || (_cache[2] = ($event) => vue.unref(cancel)())
258
+ onClick: _cache[7] || (_cache[7] = ($event) => vue.unref(cancelPc)())
111
259
  }, {
112
- default: vue.withCtx(() => _cache[10] || (_cache[10] = [
113
- vue.createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5")
260
+ default: vue.withCtx(() => _cache[31] || (_cache[31] = [
261
+ vue.createTextVNode("\u53D6\u6D88\u9884\u89C8\u94FE\u63A5", -1)
114
262
  ])),
115
263
  _: 1,
116
- __: [10]
264
+ __: [31]
117
265
  }),
118
266
  vue.createVNode(vue.unref(webVue.Button), {
119
267
  type: "primary",
120
- onClick: _cache[3] || (_cache[3] = ($event) => vue.unref(cancel)(true))
268
+ onClick: _cache[8] || (_cache[8] = ($event) => vue.unref(previewSite)())
121
269
  }, {
122
- default: vue.withCtx(() => _cache[11] || (_cache[11] = [
123
- vue.createTextVNode(" \u66F4\u65B0\u9884\u89C8\u6709\u6548\u671F ")
270
+ default: vue.withCtx(() => _cache[32] || (_cache[32] = [
271
+ vue.createTextVNode("\u7AD9\u70B9\u9884\u89C8", -1)
124
272
  ])),
125
273
  _: 1,
126
- __: [11]
274
+ __: [32]
127
275
  })
128
276
  ])
129
277
  ], 64)) : vue.unref(isPublish) ? (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 1 }, [
130
278
  vue.createCommentVNode(" \u4E8C\u7EF4\u7801 "),
131
- _cache[15] || (_cache[15] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
279
+ _cache[36] || (_cache[36] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
132
280
  vue.createElementVNode("div", { id: "qr-code-is-pub" })
133
281
  ], -1)),
134
- vue.createCommentVNode(" \u5907\u6CE8 "),
135
- _cache[16] || (_cache[16] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, "\u626B\u63CF\u4E8C\u7EF4\u7801\u8BBF\u95EE", -1)),
136
- vue.createCommentVNode(" \u94FE\u63A5\u524D\u7F6E\u64CD\u4F5C "),
137
- vue.createElementVNode("div", _hoisted_9, [
138
- _cache[14] || (_cache[14] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
282
+ vue.createElementVNode("div", _hoisted_19, [
283
+ _cache[34] || (_cache[34] = vue.createElementVNode("span", null, "\u9884\u89C8\u5730\u5740", -1)),
139
284
  vue.createVNode(vue.unref(webVue.Link), {
140
285
  type: "text",
141
- onClick: vue.unref(copy)
286
+ onClick: vue.unref(copyPC)
142
287
  }, {
143
- default: vue.withCtx(() => _cache[13] || (_cache[13] = [
144
- vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ")
288
+ default: vue.withCtx(() => _cache[33] || (_cache[33] = [
289
+ vue.createTextVNode(" \u590D\u5236\u94FE\u63A5 ", -1)
145
290
  ])),
146
291
  _: 1,
147
- __: [13]
292
+ __: [33]
148
293
  }, 8, ["onClick"])
149
294
  ]),
150
295
  vue.createCommentVNode(" \u94FE\u63A5 "),
151
- vue.createElementVNode("div", _hoisted_10, [
152
- vue.createElementVNode("div", _hoisted_11, vue.toDisplayString(vue.unref(innerUrl)), 1)
296
+ vue.createElementVNode("div", _hoisted_20, [
297
+ vue.createElementVNode("div", _hoisted_21, vue.toDisplayString(vue.unref(pcInnerUrl)), 1)
298
+ ]),
299
+ vue.createElementVNode("div", _hoisted_22, [
300
+ vue.createVNode(vue.unref(webVue.Button), {
301
+ onClick: _cache[9] || (_cache[9] = ($event) => vue.unref(previewSite)())
302
+ }, {
303
+ default: vue.withCtx(() => _cache[35] || (_cache[35] = [
304
+ vue.createTextVNode("\u7AD9\u70B9\u9884\u89C8", -1)
305
+ ])),
306
+ _: 1,
307
+ __: [35]
308
+ })
153
309
  ])
154
310
  ], 64)) : (vue.openBlock(), vue.createElementBlock(vue.Fragment, { key: 2 }, [
155
- _cache[19] || (_cache[19] = vue.createElementVNode("div", { class: "doc-preview-share-img" }, [
156
- vue.createElementVNode("div", { class: "doc-preview-share-img-hint" }, " \u6682\u65E0\u9884\u89C8 ")
157
- ], -1)),
158
- _cache[20] || (_cache[20] = vue.createElementVNode("div", { class: "doc-preview-share-tips" }, " \u5185\u5BB9\u6682\u65E0\u9884\u89C8\u94FE\u63A5\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)),
159
- vue.createElementVNode("div", _hoisted_12, [
160
- _cache[17] || (_cache[17] = vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
311
+ _cache[39] || (_cache[39] = vue.createElementVNode("div", {
312
+ class: "doc-preview-share-tips",
313
+ style: { "padding": "40px 0" }
314
+ }, " \u5185\u5BB9\u6682\u672A\u53D1\u5E03\uFF0C\u53EF\u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)),
315
+ vue.createElementVNode("div", _hoisted_23, [
316
+ _cache[37] || (_cache[37] = vue.createElementVNode("span", null, "\u94FE\u63A5\u6709\u6548\u65F6\u957F", -1)),
161
317
  vue.createVNode(vue.unref(webVue.Select), {
162
318
  modelValue: vue.unref(expireTime),
163
- "onUpdate:modelValue": _cache[4] || (_cache[4] = ($event) => vue.isRef(expireTime) ? expireTime.value = $event : null),
319
+ "onUpdate:modelValue": _cache[10] || (_cache[10] = ($event) => vue.isRef(expireTime) ? expireTime.value = $event : null),
164
320
  size: "mini",
165
321
  style: { "width": "120px" }
166
322
  }, {
@@ -176,23 +332,41 @@ const _sfc_main = vue.defineComponent({
176
332
  _: 1
177
333
  }, 8, ["modelValue"])
178
334
  ]),
179
- vue.createElementVNode("div", _hoisted_13, [
335
+ vue.createElementVNode("div", _hoisted_24, [
180
336
  vue.createVNode(vue.unref(webVue.Button), {
181
337
  type: "primary",
182
- onClick: _cache[5] || (_cache[5] = () => vue.unref(generate)())
338
+ onClick: _cache[11] || (_cache[11] = () => vue.unref(generatePC)())
183
339
  }, {
184
- default: vue.withCtx(() => _cache[18] || (_cache[18] = [
185
- vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ")
340
+ default: vue.withCtx(() => _cache[38] || (_cache[38] = [
341
+ vue.createTextVNode(" \u751F\u6210\u9884\u89C8\u94FE\u63A5 ", -1)
186
342
  ])),
187
343
  _: 1,
188
- __: [18]
344
+ __: [38]
189
345
  })
190
346
  ])
191
347
  ], 64))
192
348
  ])
193
349
  ]),
194
350
  _: 1
195
- }, 8, ["loading"])
351
+ }, 8, ["loading"]), [
352
+ [vue.vShow, vue.unref(numpc) === 1]
353
+ ]),
354
+ vue.createElementVNode("div", _hoisted_25, [
355
+ vue.createElementVNode("span", {
356
+ style: { "cursor": "pointer" },
357
+ onClick: _cache[13] || (_cache[13] = vue.withModifiers(($event) => vue.unref(btn_device)("mobile"), ["stop"]))
358
+ }, _cache[40] || (_cache[40] = [
359
+ vue.createElementVNode("i", { class: "iconfont icon-a-shouji51" }, null, -1),
360
+ vue.createTextVNode(" APP\u9884\u89C8 ", -1)
361
+ ])),
362
+ vue.createElementVNode("span", {
363
+ style: { "cursor": "pointer" },
364
+ onClick: _cache[14] || (_cache[14] = vue.withModifiers(($event) => vue.unref(btn_device)("pc"), ["stop"]))
365
+ }, _cache[41] || (_cache[41] = [
366
+ vue.createElementVNode("i", { class: "iconfont icon-a-xianshiqi11111x" }, null, -1),
367
+ vue.createTextVNode(" PC\u9884\u89C8 ", -1)
368
+ ]))
369
+ ])
196
370
  ]);
197
371
  };
198
372
  }
@@ -1,22 +1,39 @@
1
1
  "use strict";
2
2
  var vue = require("vue");
3
3
  var phone = require("../images/phone.js");
4
+ var pc = require("../images/pc.js");
4
5
  var webVue = require("@arco-design/web-vue");
5
- const _hoisted_1 = { class: "iframe-container" };
6
+ const _hoisted_1 = {
7
+ key: 0,
8
+ class: "iframe-container"
9
+ };
6
10
  const _hoisted_2 = { class: "iframe-content" };
7
11
  const _hoisted_3 = ["src"];
8
12
  const _hoisted_4 = {
9
13
  key: 1,
10
14
  class: "loading-wrapper"
11
15
  };
16
+ const _hoisted_5 = {
17
+ key: 1,
18
+ class: "iframe-container-pc"
19
+ };
20
+ const _hoisted_6 = { class: "iframe-content-pc" };
21
+ const _hoisted_7 = ["src"];
22
+ const _hoisted_8 = {
23
+ key: 1,
24
+ class: "loading-wrapper"
25
+ };
12
26
  const _sfc_main = vue.defineComponent({
13
27
  __name: "PreviewIframe",
14
28
  props: {
15
- src: {}
29
+ src: {},
30
+ numpc: {},
31
+ pcSrc: {},
32
+ isPublish: { type: Boolean }
16
33
  },
17
34
  setup(__props) {
18
35
  return (_ctx, _cache) => {
19
- return vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
36
+ return _ctx.numpc === 0 ? (vue.openBlock(), vue.createElementBlock("div", _hoisted_1, [
20
37
  _cache[0] || (_cache[0] = vue.createElementVNode("img", {
21
38
  src: phone,
22
39
  alt: ""
@@ -30,7 +47,21 @@ const _sfc_main = vue.defineComponent({
30
47
  vue.createVNode(vue.unref(webVue.Spin), { loading: true })
31
48
  ]))
32
49
  ])
33
- ]);
50
+ ])) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_5, [
51
+ _cache[1] || (_cache[1] = vue.createElementVNode("img", {
52
+ src: pc,
53
+ alt: ""
54
+ }, null, -1)),
55
+ vue.createElementVNode("div", _hoisted_6, [
56
+ _ctx.pcSrc ? (vue.openBlock(), vue.createElementBlock("iframe", {
57
+ key: 0,
58
+ style: { "overflow": "hidden" },
59
+ src: _ctx.pcSrc
60
+ }, null, 8, _hoisted_7)) : (vue.openBlock(), vue.createElementBlock("div", _hoisted_8, [
61
+ vue.createVNode(vue.unref(webVue.Spin), { loading: true })
62
+ ]))
63
+ ])
64
+ ]));
34
65
  };
35
66
  }
36
67
  });