firefly-portal-web 1.0.0

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 (354) hide show
  1. package/README.md +132 -0
  2. package/dist-lib/Empower-789f2826.mjs +94 -0
  3. package/dist-lib/Empower-789f2826.mjs.map +1 -0
  4. package/dist-lib/Empower.vue_vue_type_script_setup_true_lang-c454e7a0.mjs +134 -0
  5. package/dist-lib/Empower.vue_vue_type_script_setup_true_lang-c454e7a0.mjs.map +1 -0
  6. package/dist-lib/Field-40d74a96.mjs +94 -0
  7. package/dist-lib/Field-40d74a96.mjs.map +1 -0
  8. package/dist-lib/Field.vue_vue_type_script_setup_true_lang-e1964a74.mjs +148 -0
  9. package/dist-lib/Field.vue_vue_type_script_setup_true_lang-e1964a74.mjs.map +1 -0
  10. package/dist-lib/FieldForm-a5d4038b.mjs +93 -0
  11. package/dist-lib/FieldForm-a5d4038b.mjs.map +1 -0
  12. package/dist-lib/FieldForm.vue_vue_type_script_setup_true_lang-f92c7e23.mjs +160 -0
  13. package/dist-lib/FieldForm.vue_vue_type_script_setup_true_lang-f92c7e23.mjs.map +1 -0
  14. package/dist-lib/Form-06ee1b64.mjs +97 -0
  15. package/dist-lib/Form-06ee1b64.mjs.map +1 -0
  16. package/dist-lib/Form-15a7f801.mjs +95 -0
  17. package/dist-lib/Form-15a7f801.mjs.map +1 -0
  18. package/dist-lib/Form-465fe45d.mjs +237 -0
  19. package/dist-lib/Form-465fe45d.mjs.map +1 -0
  20. package/dist-lib/Form-6e6a6a0d.mjs +94 -0
  21. package/dist-lib/Form-6e6a6a0d.mjs.map +1 -0
  22. package/dist-lib/Form-a61f1446.mjs +93 -0
  23. package/dist-lib/Form-a61f1446.mjs.map +1 -0
  24. package/dist-lib/Form-aeafea39.mjs +93 -0
  25. package/dist-lib/Form-aeafea39.mjs.map +1 -0
  26. package/dist-lib/Form-b0b8b1f3.mjs +94 -0
  27. package/dist-lib/Form-b0b8b1f3.mjs.map +1 -0
  28. package/dist-lib/Form-b2915cd3.mjs +95 -0
  29. package/dist-lib/Form-b2915cd3.mjs.map +1 -0
  30. package/dist-lib/Form-b2ce5535.mjs +93 -0
  31. package/dist-lib/Form-b2ce5535.mjs.map +1 -0
  32. package/dist-lib/Form-ca6e92bd.mjs +421 -0
  33. package/dist-lib/Form-ca6e92bd.mjs.map +1 -0
  34. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-039f5c88.mjs +101 -0
  35. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-039f5c88.mjs.map +1 -0
  36. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-1883a047.mjs +91 -0
  37. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-1883a047.mjs.map +1 -0
  38. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-5fbc0f96.mjs +302 -0
  39. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-5fbc0f96.mjs.map +1 -0
  40. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-61497691.mjs +181 -0
  41. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-61497691.mjs.map +1 -0
  42. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-69cc4bfc.mjs +94 -0
  43. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-69cc4bfc.mjs.map +1 -0
  44. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-a3d7f865.mjs +263 -0
  45. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-a3d7f865.mjs.map +1 -0
  46. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-ae83b1bb.mjs +104 -0
  47. package/dist-lib/Form.vue_vue_type_script_setup_true_lang-ae83b1bb.mjs.map +1 -0
  48. package/dist-lib/Form.vue_vue_type_style_index_0_lang-f240a568.mjs +838 -0
  49. package/dist-lib/Form.vue_vue_type_style_index_0_lang-f240a568.mjs.map +1 -0
  50. package/dist-lib/Info-e9cb4268.mjs +747 -0
  51. package/dist-lib/Info-e9cb4268.mjs.map +1 -0
  52. package/dist-lib/Log-b1cc7014.mjs +94 -0
  53. package/dist-lib/Log-b1cc7014.mjs.map +1 -0
  54. package/dist-lib/Log.vue_vue_type_script_setup_true_lang-0ba0615b.mjs +93 -0
  55. package/dist-lib/Log.vue_vue_type_script_setup_true_lang-0ba0615b.mjs.map +1 -0
  56. package/dist-lib/Login-fc04d844.mjs +109 -0
  57. package/dist-lib/Login-fc04d844.mjs.map +1 -0
  58. package/dist-lib/LoginForm-eafdf0bc.mjs +93 -0
  59. package/dist-lib/LoginForm-eafdf0bc.mjs.map +1 -0
  60. package/dist-lib/LoginForm.vue_vue_type_script_setup_true_lang-2a241386.mjs +202 -0
  61. package/dist-lib/LoginForm.vue_vue_type_script_setup_true_lang-2a241386.mjs.map +1 -0
  62. package/dist-lib/PageExplainModal-efbb4616.mjs +140 -0
  63. package/dist-lib/PageExplainModal-efbb4616.mjs.map +1 -0
  64. package/dist-lib/Preview-531e9361.mjs +93 -0
  65. package/dist-lib/Preview-531e9361.mjs.map +1 -0
  66. package/dist-lib/Preview-6086e84b.mjs +93 -0
  67. package/dist-lib/Preview-6086e84b.mjs.map +1 -0
  68. package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-0013b21d.mjs +137 -0
  69. package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-0013b21d.mjs.map +1 -0
  70. package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-815bfd98.mjs +67 -0
  71. package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-815bfd98.mjs.map +1 -0
  72. package/dist-lib/TableAction-fcabc30c.mjs +114 -0
  73. package/dist-lib/TableAction-fcabc30c.mjs.map +1 -0
  74. package/dist-lib/UserSelect-4e259116.mjs +94 -0
  75. package/dist-lib/UserSelect-4e259116.mjs.map +1 -0
  76. package/dist-lib/UserSelect.vue_vue_type_script_setup_true_lang-aa25c5fc.mjs +282 -0
  77. package/dist-lib/UserSelect.vue_vue_type_script_setup_true_lang-aa25c5fc.mjs.map +1 -0
  78. package/dist-lib/cdn/socials/dingtalk.png +0 -0
  79. package/dist-lib/cdn/socials/feishu.png +0 -0
  80. package/dist-lib/cdn/socials/gitHub.png +0 -0
  81. package/dist-lib/cdn/socials/qq.png +0 -0
  82. package/dist-lib/cdn/socials/wechat_open.png +0 -0
  83. package/dist-lib/cdn/socials/wxWork.png +0 -0
  84. package/dist-lib/commonFields-5ff2332b.mjs +24 -0
  85. package/dist-lib/commonFields-5ff2332b.mjs.map +1 -0
  86. package/dist-lib/css/fonts/ym/iconfont.css +2419 -0
  87. package/dist-lib/css/fonts/ym/iconfont.ttf +0 -0
  88. package/dist-lib/css/fonts/ym/iconfont.woff +0 -0
  89. package/dist-lib/css/fonts/ym/iconfont.woff2 +0 -0
  90. package/dist-lib/css/fonts/ym-custom/iconfont.css +7203 -0
  91. package/dist-lib/css/fonts/ym-custom/iconfont.ttf +0 -0
  92. package/dist-lib/css/fonts/ym-custom/iconfont.woff +0 -0
  93. package/dist-lib/css/fonts/ym-custom/iconfont.woff2 +0 -0
  94. package/dist-lib/css/index.css +135 -0
  95. package/dist-lib/css/print-lock.css +352 -0
  96. package/dist-lib/emtryImg-85b013aa.mjs +5 -0
  97. package/dist-lib/emtryImg-85b013aa.mjs.map +1 -0
  98. package/dist-lib/en_US-6b59f0a7.mjs +774 -0
  99. package/dist-lib/en_US-6b59f0a7.mjs.map +1 -0
  100. package/dist-lib/favicon.ico +0 -0
  101. package/dist-lib/firefly-portal-preview.css +1 -0
  102. package/dist-lib/firefly-portal-preview.d.ts +82 -0
  103. package/dist-lib/firefly-portal-preview.es.js +92 -0
  104. package/dist-lib/firefly-portal-preview.es.js.map +1 -0
  105. package/dist-lib/firefly-portal-preview.umd.js +79 -0
  106. package/dist-lib/firefly-portal-preview.umd.js.map +1 -0
  107. package/dist-lib/formValidate-33d5595a.mjs +68 -0
  108. package/dist-lib/formValidate-33d5595a.mjs.map +1 -0
  109. package/dist-lib/index-1a090e82.mjs +173 -0
  110. package/dist-lib/index-1a090e82.mjs.map +1 -0
  111. package/dist-lib/index-28ba2ea1.mjs +154 -0
  112. package/dist-lib/index-28ba2ea1.mjs.map +1 -0
  113. package/dist-lib/index-29f92d0d.mjs +130 -0
  114. package/dist-lib/index-29f92d0d.mjs.map +1 -0
  115. package/dist-lib/index-2c2c19d4.mjs +160 -0
  116. package/dist-lib/index-2c2c19d4.mjs.map +1 -0
  117. package/dist-lib/index-2f898c1f.mjs +103 -0
  118. package/dist-lib/index-2f898c1f.mjs.map +1 -0
  119. package/dist-lib/index-3462ba0d.mjs +139 -0
  120. package/dist-lib/index-3462ba0d.mjs.map +1 -0
  121. package/dist-lib/index-3ebbb3a9.mjs +97 -0
  122. package/dist-lib/index-3ebbb3a9.mjs.map +1 -0
  123. package/dist-lib/index-436ec82c.mjs +145 -0
  124. package/dist-lib/index-436ec82c.mjs.map +1 -0
  125. package/dist-lib/index-44e8def1.mjs +267 -0
  126. package/dist-lib/index-44e8def1.mjs.map +1 -0
  127. package/dist-lib/index-47596f01.mjs +144 -0
  128. package/dist-lib/index-47596f01.mjs.map +1 -0
  129. package/dist-lib/index-5888a3a4.mjs +226 -0
  130. package/dist-lib/index-5888a3a4.mjs.map +1 -0
  131. package/dist-lib/index-58fb457c.mjs +179 -0
  132. package/dist-lib/index-58fb457c.mjs.map +1 -0
  133. package/dist-lib/index-5b8b1ba9.mjs +119766 -0
  134. package/dist-lib/index-5b8b1ba9.mjs.map +1 -0
  135. package/dist-lib/index-687fd3de.mjs +396 -0
  136. package/dist-lib/index-687fd3de.mjs.map +1 -0
  137. package/dist-lib/index-6eca8dab.mjs +135 -0
  138. package/dist-lib/index-6eca8dab.mjs.map +1 -0
  139. package/dist-lib/index-73df4468.mjs +187 -0
  140. package/dist-lib/index-73df4468.mjs.map +1 -0
  141. package/dist-lib/index-7ae97180.mjs +597 -0
  142. package/dist-lib/index-7ae97180.mjs.map +1 -0
  143. package/dist-lib/index-8374b2f2.mjs +354 -0
  144. package/dist-lib/index-8374b2f2.mjs.map +1 -0
  145. package/dist-lib/index-89a27c27.mjs +255 -0
  146. package/dist-lib/index-89a27c27.mjs.map +1 -0
  147. package/dist-lib/index-9263cd45.mjs +482 -0
  148. package/dist-lib/index-9263cd45.mjs.map +1 -0
  149. package/dist-lib/index-934ca5d0.mjs +93 -0
  150. package/dist-lib/index-934ca5d0.mjs.map +1 -0
  151. package/dist-lib/index-97081729.mjs +269 -0
  152. package/dist-lib/index-97081729.mjs.map +1 -0
  153. package/dist-lib/index-9dec931e.mjs +145 -0
  154. package/dist-lib/index-9dec931e.mjs.map +1 -0
  155. package/dist-lib/index-9fc40c89.mjs +298 -0
  156. package/dist-lib/index-9fc40c89.mjs.map +1 -0
  157. package/dist-lib/index-a57664c9.mjs +204 -0
  158. package/dist-lib/index-a57664c9.mjs.map +1 -0
  159. package/dist-lib/index-a83288bf.mjs +180 -0
  160. package/dist-lib/index-a83288bf.mjs.map +1 -0
  161. package/dist-lib/index-adf15a9e.mjs +392 -0
  162. package/dist-lib/index-adf15a9e.mjs.map +1 -0
  163. package/dist-lib/index-b5b20206.mjs +617 -0
  164. package/dist-lib/index-b5b20206.mjs.map +1 -0
  165. package/dist-lib/index-b6f446cf.mjs +92 -0
  166. package/dist-lib/index-b6f446cf.mjs.map +1 -0
  167. package/dist-lib/index-b9e3947c.mjs +156 -0
  168. package/dist-lib/index-b9e3947c.mjs.map +1 -0
  169. package/dist-lib/index-bde150fa.mjs +261 -0
  170. package/dist-lib/index-bde150fa.mjs.map +1 -0
  171. package/dist-lib/index-be097ef0.mjs +188 -0
  172. package/dist-lib/index-be097ef0.mjs.map +1 -0
  173. package/dist-lib/index-bff033bc.mjs +563 -0
  174. package/dist-lib/index-bff033bc.mjs.map +1 -0
  175. package/dist-lib/index-c4d74c6c.mjs +258 -0
  176. package/dist-lib/index-c4d74c6c.mjs.map +1 -0
  177. package/dist-lib/index-c708e214.mjs +96 -0
  178. package/dist-lib/index-c708e214.mjs.map +1 -0
  179. package/dist-lib/index-d936d570.mjs +191 -0
  180. package/dist-lib/index-d936d570.mjs.map +1 -0
  181. package/dist-lib/index-da857153.mjs +223 -0
  182. package/dist-lib/index-da857153.mjs.map +1 -0
  183. package/dist-lib/index.vue_vue_type_script_setup_true_lang-0eb8f454.mjs +136 -0
  184. package/dist-lib/index.vue_vue_type_script_setup_true_lang-0eb8f454.mjs.map +1 -0
  185. package/dist-lib/index.vue_vue_type_script_setup_true_lang-10a915e2.mjs +137 -0
  186. package/dist-lib/index.vue_vue_type_script_setup_true_lang-10a915e2.mjs.map +1 -0
  187. package/dist-lib/index.vue_vue_type_script_setup_true_lang-570dd942.mjs +131 -0
  188. package/dist-lib/index.vue_vue_type_script_setup_true_lang-570dd942.mjs.map +1 -0
  189. package/dist-lib/interfaceOauth-bb8e782e.mjs +40 -0
  190. package/dist-lib/interfaceOauth-bb8e782e.mjs.map +1 -0
  191. package/dist-lib/preview-e588e33c.mjs +194 -0
  192. package/dist-lib/preview-e588e33c.mjs.map +1 -0
  193. package/dist-lib/resource/emoji/100.gif +0 -0
  194. package/dist-lib/resource/emoji/101.gif +0 -0
  195. package/dist-lib/resource/emoji/102.gif +0 -0
  196. package/dist-lib/resource/emoji/103.gif +0 -0
  197. package/dist-lib/resource/emoji/104.gif +0 -0
  198. package/dist-lib/resource/emoji/105.gif +0 -0
  199. package/dist-lib/resource/emoji/106.gif +0 -0
  200. package/dist-lib/resource/emoji/107.gif +0 -0
  201. package/dist-lib/resource/emoji/108.gif +0 -0
  202. package/dist-lib/resource/emoji/109.gif +0 -0
  203. package/dist-lib/resource/emoji/110.gif +0 -0
  204. package/dist-lib/resource/emoji/111.gif +0 -0
  205. package/dist-lib/resource/emoji/112.gif +0 -0
  206. package/dist-lib/resource/emoji/113.gif +0 -0
  207. package/dist-lib/resource/emoji/114.gif +0 -0
  208. package/dist-lib/resource/emoji/115.gif +0 -0
  209. package/dist-lib/resource/emoji/116.gif +0 -0
  210. package/dist-lib/resource/emoji/117.gif +0 -0
  211. package/dist-lib/resource/emoji/118.gif +0 -0
  212. package/dist-lib/resource/emoji/119.gif +0 -0
  213. package/dist-lib/resource/emoji/120.gif +0 -0
  214. package/dist-lib/resource/emoji/121.gif +0 -0
  215. package/dist-lib/resource/emoji/122.gif +0 -0
  216. package/dist-lib/resource/emoji/123.gif +0 -0
  217. package/dist-lib/resource/emoji/124.gif +0 -0
  218. package/dist-lib/resource/emoji/125.gif +0 -0
  219. package/dist-lib/resource/emoji/126.gif +0 -0
  220. package/dist-lib/resource/emoji/127.gif +0 -0
  221. package/dist-lib/resource/emoji/128.gif +0 -0
  222. package/dist-lib/resource/emoji/129.gif +0 -0
  223. package/dist-lib/resource/emoji/130.gif +0 -0
  224. package/dist-lib/resource/emoji/131.gif +0 -0
  225. package/dist-lib/resource/emoji/132.gif +0 -0
  226. package/dist-lib/resource/emoji/133.gif +0 -0
  227. package/dist-lib/resource/emoji/134.gif +0 -0
  228. package/dist-lib/resource/emoji/135.gif +0 -0
  229. package/dist-lib/resource/emoji/136.gif +0 -0
  230. package/dist-lib/resource/emoji/137.gif +0 -0
  231. package/dist-lib/resource/emoji/138.gif +0 -0
  232. package/dist-lib/resource/emoji/139.gif +0 -0
  233. package/dist-lib/resource/emoji/140.gif +0 -0
  234. package/dist-lib/resource/emoji/141.gif +0 -0
  235. package/dist-lib/resource/emoji/142.gif +0 -0
  236. package/dist-lib/resource/emoji/143.gif +0 -0
  237. package/dist-lib/resource/emoji/144.gif +0 -0
  238. package/dist-lib/resource/emoji/145.gif +0 -0
  239. package/dist-lib/resource/emoji/146.gif +0 -0
  240. package/dist-lib/resource/emoji/147.gif +0 -0
  241. package/dist-lib/resource/emoji/148.gif +0 -0
  242. package/dist-lib/resource/emoji/149.gif +0 -0
  243. package/dist-lib/resource/emoji/150.gif +0 -0
  244. package/dist-lib/resource/emoji/151.gif +0 -0
  245. package/dist-lib/resource/emoji/152.gif +0 -0
  246. package/dist-lib/resource/emoji/153.gif +0 -0
  247. package/dist-lib/resource/emoji/154.gif +0 -0
  248. package/dist-lib/resource/emoji/155.gif +0 -0
  249. package/dist-lib/resource/emoji/156.gif +0 -0
  250. package/dist-lib/resource/emoji/157.gif +0 -0
  251. package/dist-lib/resource/emoji/158.gif +0 -0
  252. package/dist-lib/resource/emoji/159.gif +0 -0
  253. package/dist-lib/resource/emoji/160.gif +0 -0
  254. package/dist-lib/resource/emoji/161.gif +0 -0
  255. package/dist-lib/resource/emoji/162.gif +0 -0
  256. package/dist-lib/resource/emoji/163.gif +0 -0
  257. package/dist-lib/resource/emoji/164.gif +0 -0
  258. package/dist-lib/resource/emoji/165.gif +0 -0
  259. package/dist-lib/resource/emoji/166.gif +0 -0
  260. package/dist-lib/resource/emoji/167.gif +0 -0
  261. package/dist-lib/resource/emoji/168.gif +0 -0
  262. package/dist-lib/resource/emoji/169.gif +0 -0
  263. package/dist-lib/resource/emoji/170.gif +0 -0
  264. package/dist-lib/resource/emoji/171.gif +0 -0
  265. package/dist-lib/resource/emoji/172.gif +0 -0
  266. package/dist-lib/resource/emoji/173.gif +0 -0
  267. package/dist-lib/resource/emoji/174.gif +0 -0
  268. package/dist-lib/resource/emoji/175.gif +0 -0
  269. package/dist-lib/resource/emoji/176.gif +0 -0
  270. package/dist-lib/resource/emoji/177.gif +0 -0
  271. package/dist-lib/resource/emoji/178.gif +0 -0
  272. package/dist-lib/resource/emoji/179.gif +0 -0
  273. package/dist-lib/resource/emoji/180.gif +0 -0
  274. package/dist-lib/resource/emoji/181.gif +0 -0
  275. package/dist-lib/resource/emoji/182.gif +0 -0
  276. package/dist-lib/resource/emoji/183.gif +0 -0
  277. package/dist-lib/resource/emoji/184.gif +0 -0
  278. package/dist-lib/resource/emoji/185.gif +0 -0
  279. package/dist-lib/resource/emoji/186.gif +0 -0
  280. package/dist-lib/resource/emoji/187.gif +0 -0
  281. package/dist-lib/resource/emoji/188.gif +0 -0
  282. package/dist-lib/resource/emoji/189.gif +0 -0
  283. package/dist-lib/resource/emoji/190.gif +0 -0
  284. package/dist-lib/resource/emoji/191.gif +0 -0
  285. package/dist-lib/resource/emoji/192.gif +0 -0
  286. package/dist-lib/resource/emoji/193.gif +0 -0
  287. package/dist-lib/resource/emoji/194.gif +0 -0
  288. package/dist-lib/resource/emoji/195.gif +0 -0
  289. package/dist-lib/resource/emoji/196.gif +0 -0
  290. package/dist-lib/resource/emoji/197.gif +0 -0
  291. package/dist-lib/resource/emoji/198.gif +0 -0
  292. package/dist-lib/resource/emoji/199.gif +0 -0
  293. package/dist-lib/resource/emoji/200.png +0 -0
  294. package/dist-lib/resource/emoji/201.png +0 -0
  295. package/dist-lib/resource/emoji/202.png +0 -0
  296. package/dist-lib/resource/emoji/203.png +0 -0
  297. package/dist-lib/resource/emoji/204.png +0 -0
  298. package/dist-lib/resource/emoji/205.png +0 -0
  299. package/dist-lib/resource/emoji/206.png +0 -0
  300. package/dist-lib/resource/emoji/207.png +0 -0
  301. package/dist-lib/resource/emoji/208.png +0 -0
  302. package/dist-lib/resource/emoji/209.png +0 -0
  303. package/dist-lib/resource/emoji/210.png +0 -0
  304. package/dist-lib/resource/emoji/211.png +0 -0
  305. package/dist-lib/resource/emoji/212.png +0 -0
  306. package/dist-lib/resource/emoji/213.png +0 -0
  307. package/dist-lib/resource/emoji/214.png +0 -0
  308. package/dist-lib/resource/emoji/215.png +0 -0
  309. package/dist-lib/resource/emoji/216.png +0 -0
  310. package/dist-lib/resource/emoji/217.png +0 -0
  311. package/dist-lib/resource/emoji/218.png +0 -0
  312. package/dist-lib/resource/emoji/219.png +0 -0
  313. package/dist-lib/resource/img/logo.png +0 -0
  314. package/dist-lib/resource/img/pwa-192x192.png +0 -0
  315. package/dist-lib/resource/img/pwa-512x512.png +0 -0
  316. package/dist-lib/resource/tinymce/langs/en.js +419 -0
  317. package/dist-lib/resource/tinymce/langs/zh_CN.js +389 -0
  318. package/dist-lib/resource/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
  319. package/dist-lib/resource/tinymce/skins/ui/oxide/content.min.css +7 -0
  320. package/dist-lib/resource/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
  321. package/dist-lib/resource/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
  322. package/dist-lib/resource/tinymce/skins/ui/oxide/skin.min.css +7 -0
  323. package/dist-lib/resource/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
  324. package/dist-lib/resource/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
  325. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
  326. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
  327. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
  328. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
  329. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
  330. package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
  331. package/dist-lib/useCommon-36969e5f.mjs +110 -0
  332. package/dist-lib/useCommon-36969e5f.mjs.map +1 -0
  333. package/dist-lib/useECharts-bb3ba984.mjs +77 -0
  334. package/dist-lib/useECharts-bb3ba984.mjs.map +1 -0
  335. package/dist-lib/useTable-99fc521a.mjs +172 -0
  336. package/dist-lib/useTable-99fc521a.mjs.map +1 -0
  337. package/dist-lib/zh_CN-5eabc04b.mjs +772 -0
  338. package/dist-lib/zh_CN-5eabc04b.mjs.map +1 -0
  339. package/dist-lib/zh_TW-ef5c69c0.mjs +774 -0
  340. package/dist-lib/zh_TW-ef5c69c0.mjs.map +1 -0
  341. package/package.json +247 -0
  342. package/src/components/PortalPreview/__tests__/index.spec.ts +258 -0
  343. package/src/components/PortalPreview/fonts/ym/iconfont.css +2419 -0
  344. package/src/components/PortalPreview/fonts/ym/iconfont.ttf +0 -0
  345. package/src/components/PortalPreview/fonts/ym/iconfont.woff +0 -0
  346. package/src/components/PortalPreview/fonts/ym/iconfont.woff2 +0 -0
  347. package/src/components/PortalPreview/fonts/ym-custom/iconfont.css +7203 -0
  348. package/src/components/PortalPreview/fonts/ym-custom/iconfont.ttf +0 -0
  349. package/src/components/PortalPreview/fonts/ym-custom/iconfont.woff +0 -0
  350. package/src/components/PortalPreview/fonts/ym-custom/iconfont.woff2 +0 -0
  351. package/src/components/PortalPreview/index.ts +31 -0
  352. package/src/components/PortalPreview/index.vue +329 -0
  353. package/src/components/PortalPreview/style/overrides.css +15 -0
  354. package/src/components/PortalPreview/types.ts +61 -0
@@ -0,0 +1,131 @@
1
+ import { defineComponent as w, resolveComponent as y, openBlock as m, createElementBlock as C, Fragment as k, createVNode as o, unref as a, mergeProps as I, withCtx as l, createTextVNode as R, toDisplayString as B, createBlock as F, createCommentVNode as D, h as M } from "vue";
2
+ import { g as O, d as v } from "./commonFields-5ff2332b.mjs";
3
+ import { Checkbox as V } from "ant-design-vue";
4
+ import { _ as $ } from "./Form.vue_vue_type_script_setup_true_lang-039f5c88.mjs";
5
+ import { af as A, b as H, c as L, ag as z, B as E, h as P, m as S } from "./index-5b8b1ba9.mjs";
6
+ import { T as U } from "./TableAction-fcabc30c.mjs";
7
+ const X = /* @__PURE__ */ w({
8
+ __name: "index",
9
+ setup(j) {
10
+ const { createMessage: c } = S(), { t: i } = P(), [u, {}] = A(), [f, { openModal: p }] = H(), g = [
11
+ {
12
+ title: "列名",
13
+ dataIndex: "field"
14
+ },
15
+ {
16
+ title: "说明",
17
+ dataIndex: "fieldName",
18
+ width: 150
19
+ },
20
+ {
21
+ title: "类型",
22
+ dataIndex: "dataType",
23
+ width: 80
24
+ },
25
+ {
26
+ title: "长度",
27
+ dataIndex: "dataLength",
28
+ width: 60
29
+ },
30
+ {
31
+ title: "允许空",
32
+ dataIndex: "allowNull",
33
+ width: 60,
34
+ align: "center",
35
+ customRender: ({ record: e }) => M(V, { checked: e.allowNull === 1 })
36
+ }
37
+ ], b = [
38
+ { fullName: "字符串", id: "varchar" },
39
+ { fullName: "整型", id: "int" },
40
+ { fullName: "日期时间", id: "datetime" },
41
+ { fullName: "浮点", id: "decimal" },
42
+ { fullName: "长整型", id: "bigint" },
43
+ { fullName: "文本", id: "text" }
44
+ ], [x, { reload: r }] = L({
45
+ api: O,
46
+ columns: g,
47
+ pagination: !1,
48
+ resizeHeightOffset: -10,
49
+ actionColumn: {
50
+ width: 100,
51
+ title: "操作",
52
+ dataIndex: "action"
53
+ },
54
+ afterFetch: (e) => e.map((n) => ({
55
+ ...n,
56
+ dataType: h(n.dataType)
57
+ }))
58
+ });
59
+ function h(e) {
60
+ let t = b.filter((n) => n.id == e)[0];
61
+ return t && t.fullName ? t.fullName : "";
62
+ }
63
+ function T(e) {
64
+ return [
65
+ {
66
+ label: i("common.editText"),
67
+ onClick: s.bind(null, e.id)
68
+ },
69
+ {
70
+ label: i("common.delText"),
71
+ color: "error",
72
+ modelConfirm: {
73
+ onOk: _.bind(null, e.id)
74
+ }
75
+ }
76
+ ];
77
+ }
78
+ function s(e = "") {
79
+ p(!0, { id: e });
80
+ }
81
+ function _(e) {
82
+ v(e).then((t) => {
83
+ c.success(t.msg), r();
84
+ });
85
+ }
86
+ return (e, t) => {
87
+ const n = y("a-button");
88
+ return m(), C(k, null, [
89
+ o(a(z), I(e.$attrs, {
90
+ onRegister: a(u),
91
+ title: "常用字段管理",
92
+ width: "700px",
93
+ class: "full-drawer"
94
+ }), {
95
+ default: l(() => [
96
+ o(a(E), { onRegister: a(x) }, {
97
+ tableTitle: l(() => [
98
+ o(n, {
99
+ type: "primary",
100
+ preIcon: "icon-ym icon-ym-btn-add",
101
+ onClick: t[0] || (t[0] = (d) => s())
102
+ }, {
103
+ default: l(() => [
104
+ R(B(a(i)("common.addText")), 1)
105
+ ]),
106
+ _: 1
107
+ })
108
+ ]),
109
+ bodyCell: l(({ column: d, record: N }) => [
110
+ d.key === "action" ? (m(), F(a(U), {
111
+ key: 0,
112
+ actions: T(N)
113
+ }, null, 8, ["actions"])) : D("", !0)
114
+ ]),
115
+ _: 1
116
+ }, 8, ["onRegister"])
117
+ ]),
118
+ _: 1
119
+ }, 16, ["onRegister"]),
120
+ o($, {
121
+ onRegister: a(f),
122
+ onReload: a(r)
123
+ }, null, 8, ["onRegister", "onReload"])
124
+ ], 64);
125
+ };
126
+ }
127
+ });
128
+ export {
129
+ X as _
130
+ };
131
+ //# sourceMappingURL=index.vue_vue_type_script_setup_true_lang-570dd942.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.vue_vue_type_script_setup_true_lang-570dd942.mjs","sources":["../src/views/systemData/dataModel/components/index.vue"],"sourcesContent":["<template>\r\n <BasicDrawer v-bind=\"$attrs\" @register=\"registerDrawer\" title=\"常用字段管理\" width=\"700px\" class=\"full-drawer\">\r\n <BasicTable @register=\"registerTable\">\r\n <template #tableTitle>\r\n <a-button type=\"primary\" preIcon=\"icon-ym icon-ym-btn-add\" @click=\"addOrUpdateHandle()\">{{ t('common.addText') }}</a-button>\r\n </template>\r\n <template #bodyCell=\"{ column, record }\">\r\n <template v-if=\"column.key === 'action'\">\r\n <TableAction :actions=\"getTableActions(record)\" />\r\n </template>\r\n </template>\r\n </BasicTable>\r\n </BasicDrawer>\r\n <Form @register=\"registerForm\" @reload=\"reload\" />\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import { getCommonFieldsList, delCommonFields } from '@/api/systemData/commonFields';\r\n import { h } from 'vue';\r\n import { Checkbox } from 'ant-design-vue';\r\n import Form from './Form.vue';\r\n import { BasicDrawer, useDrawerInner } from '@/components/Drawer';\r\n import { BasicTable, useTable, TableAction, BasicColumn, ActionItem } from '@/components/Table';\r\n import { useModal } from '@/components/Modal';\r\n import { useMessage } from '@/hooks/web/useMessage';\r\n import { useI18n } from '@/hooks/web/useI18n';\r\n\r\n const { createMessage } = useMessage();\r\n const { t } = useI18n();\r\n const [registerDrawer, {}] = useDrawerInner();\r\n const [registerForm, { openModal: openFormModal }] = useModal();\r\n const columns: BasicColumn[] = [\r\n {\r\n title: '列名',\r\n dataIndex: 'field',\r\n },\r\n {\r\n title: '说明',\r\n dataIndex: 'fieldName',\r\n width: 150,\r\n },\r\n {\r\n title: '类型',\r\n dataIndex: 'dataType',\r\n width: 80,\r\n },\r\n {\r\n title: '长度',\r\n dataIndex: 'dataLength',\r\n width: 60,\r\n },\r\n {\r\n title: '允许空',\r\n dataIndex: 'allowNull',\r\n width: 60,\r\n align: 'center',\r\n customRender: ({ record }) => {\r\n return h(Checkbox, { checked: record.allowNull === 1 });\r\n },\r\n },\r\n ];\r\n const typeOptions: any[] = [\r\n { fullName: '字符串', id: 'varchar' },\r\n { fullName: '整型', id: 'int' },\r\n { fullName: '日期时间', id: 'datetime' },\r\n { fullName: '浮点', id: 'decimal' },\r\n { fullName: '长整型', id: 'bigint' },\r\n { fullName: '文本', id: 'text' },\r\n ];\r\n const [registerTable, { reload }] = useTable({\r\n api: getCommonFieldsList,\r\n columns,\r\n pagination: false,\r\n resizeHeightOffset: -10,\r\n actionColumn: {\r\n width: 100,\r\n title: '操作',\r\n dataIndex: 'action',\r\n },\r\n afterFetch: data => {\r\n const list = data.map(o => ({\r\n ...o,\r\n dataType: getTypeText(o.dataType),\r\n }));\r\n return list;\r\n },\r\n });\r\n function getTypeText(type) {\r\n let item = typeOptions.filter(o => o.id == type)[0];\r\n return item && item.fullName ? item.fullName : '';\r\n }\r\n function getTableActions(record): ActionItem[] {\r\n return [\r\n {\r\n label: t('common.editText'),\r\n onClick: addOrUpdateHandle.bind(null, record.id),\r\n },\r\n {\r\n label: t('common.delText'),\r\n color: 'error',\r\n modelConfirm: {\r\n onOk: handleDelete.bind(null, record.id),\r\n },\r\n },\r\n ];\r\n }\r\n function addOrUpdateHandle(id = '') {\r\n openFormModal(true, { id });\r\n }\r\n function handleDelete(id) {\r\n delCommonFields(id).then(res => {\r\n createMessage.success(res.msg);\r\n reload();\r\n });\r\n }\r\n</script>\r\n"],"names":["createMessage","useMessage","t","useI18n","registerDrawer","useDrawerInner","registerForm","openFormModal","useModal","columns","record","h","Checkbox","typeOptions","registerTable","reload","useTable","getCommonFieldsList","data","o","getTypeText","type","item","getTableActions","addOrUpdateHandle","handleDelete","id","delCommonFields","res"],"mappings":";;;;;;;;;AA0BQ,UAAA,EAAE,eAAAA,MAAkBC,KACpB,EAAE,GAAAC,MAAMC,KACR,CAACC,GAAgB,EAAE,IAAIC,EAAe,GACtC,CAACC,GAAc,EAAE,WAAWC,EAAe,CAAA,IAAIC,KAC/CC,IAAyB;AAAA,MAC7B;AAAA,QACE,OAAO;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA;AAAA,QACE,OAAO;AAAA,QACP,WAAW;AAAA,QACX,OAAO;AAAA,MACT;AAAA,MACA;AAAA,QACE,OAAO;AAAA,QACP,WAAW;AAAA,QACX,OAAO;AAAA,MACT;AAAA,MACA;AAAA,QACE,OAAO;AAAA,QACP,WAAW;AAAA,QACX,OAAO;AAAA,MACT;AAAA,MACA;AAAA,QACE,OAAO;AAAA,QACP,WAAW;AAAA,QACX,OAAO;AAAA,QACP,OAAO;AAAA,QACP,cAAc,CAAC,EAAE,QAAAC,QACRC,EAAEC,GAAU,EAAE,SAASF,EAAO,cAAc,GAAG;AAAA,MAE1D;AAAA,IAAA,GAEIG,IAAqB;AAAA,MACzB,EAAE,UAAU,OAAO,IAAI,UAAU;AAAA,MACjC,EAAE,UAAU,MAAM,IAAI,MAAM;AAAA,MAC5B,EAAE,UAAU,QAAQ,IAAI,WAAW;AAAA,MACnC,EAAE,UAAU,MAAM,IAAI,UAAU;AAAA,MAChC,EAAE,UAAU,OAAO,IAAI,SAAS;AAAA,MAChC,EAAE,UAAU,MAAM,IAAI,OAAO;AAAA,IAAA,GAEzB,CAACC,GAAe,EAAE,QAAAC,EAAQ,CAAA,IAAIC,EAAS;AAAA,MAC3C,KAAKC;AAAA,MACL,SAAAR;AAAA,MACA,YAAY;AAAA,MACZ,oBAAoB;AAAA,MACpB,cAAc;AAAA,QACZ,OAAO;AAAA,QACP,OAAO;AAAA,QACP,WAAW;AAAA,MACb;AAAA,MACA,YAAY,CAAQS,MACLA,EAAK,IAAI,CAAMC,OAAA;AAAA,QAC1B,GAAGA;AAAA,QACH,UAAUC,EAAYD,EAAE,QAAQ;AAAA,MAChC,EAAA;AAAA,IAEJ,CACD;AACD,aAASC,EAAYC,GAAM;AACrB,UAAAC,IAAOT,EAAY,OAAO,CAAAM,MAAKA,EAAE,MAAME,CAAI,EAAE,CAAC;AAClD,aAAOC,KAAQA,EAAK,WAAWA,EAAK,WAAW;AAAA,IACjD;AACA,aAASC,EAAgBb,GAAsB;AACtC,aAAA;AAAA,QACL;AAAA,UACE,OAAOR,EAAE,iBAAiB;AAAA,UAC1B,SAASsB,EAAkB,KAAK,MAAMd,EAAO,EAAE;AAAA,QACjD;AAAA,QACA;AAAA,UACE,OAAOR,EAAE,gBAAgB;AAAA,UACzB,OAAO;AAAA,UACP,cAAc;AAAA,YACZ,MAAMuB,EAAa,KAAK,MAAMf,EAAO,EAAE;AAAA,UACzC;AAAA,QACF;AAAA,MAAA;AAAA,IAEJ;AACS,aAAAc,EAAkBE,IAAK,IAAI;AACpB,MAAAnB,EAAA,IAAM,EAAE,IAAAmB,EAAA,CAAI;AAAA,IAC5B;AACA,aAASD,EAAaC,GAAI;AACR,MAAAC,EAAAD,CAAE,EAAE,KAAK,CAAOE,MAAA;AAChB,QAAA5B,EAAA,QAAQ4B,EAAI,GAAG,GACtBb;MAAA,CACR;AAAA,IACH;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1,40 @@
1
+ import { a3 as e } from "./index-5b8b1ba9.mjs";
2
+ function r(t) {
3
+ return e.get({ url: "/api/system/InterfaceOauth", data: t });
4
+ }
5
+ function s(t) {
6
+ return e.post({ url: "/api/system/InterfaceOauth", data: t });
7
+ }
8
+ function n(t) {
9
+ return e.put({ url: "/api/system/InterfaceOauth/" + t.id, data: t });
10
+ }
11
+ function u(t) {
12
+ return e.delete({ url: "/api/system/InterfaceOauth/" + t });
13
+ }
14
+ function c(t) {
15
+ return e.get({ url: "/api/system/InterfaceOauth/" + t });
16
+ }
17
+ function f() {
18
+ return e.get({ url: "/api/system/InterfaceOauth/getAppSecret" });
19
+ }
20
+ function i(t) {
21
+ return e.post({ url: "/api/system/InterfaceOauth/saveInterfaceList", data: t });
22
+ }
23
+ function p(t) {
24
+ return e.get({ url: "/api/system/InterfaceOauth/dataInterfaceLog/" + t.id, data: t });
25
+ }
26
+ function o(t) {
27
+ return e.post({ url: "/api/system/InterfaceOauth/SaveUserList", data: t });
28
+ }
29
+ export {
30
+ f as a,
31
+ p as b,
32
+ s as c,
33
+ o as d,
34
+ r as e,
35
+ u as f,
36
+ c as g,
37
+ i as s,
38
+ n as u
39
+ };
40
+ //# sourceMappingURL=interfaceOauth-bb8e782e.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"interfaceOauth-bb8e782e.mjs","sources":["../src/api/systemData/interfaceOauth.ts"],"sourcesContent":["import { defHttp } from '@/utils/http/axios';\r\n\r\nenum Api {\r\n Prefix = '/api/system/InterfaceOauth',\r\n}\r\n\r\n// 获取接口认证列表(分页)\r\nexport function getInterfaceOauthList(data) {\r\n return defHttp.get({ url: Api.Prefix, data });\r\n}\r\n// 创建接口认证\r\nexport function create(data) {\r\n return defHttp.post({ url: Api.Prefix, data });\r\n}\r\n// 修改接口认证\r\nexport function update(data) {\r\n return defHttp.put({ url: Api.Prefix + '/' + data.id, data });\r\n}\r\n// 删除接口认证数据\r\nexport function delInterfaceOauth(id) {\r\n return defHttp.delete({ url: Api.Prefix + '/' + id });\r\n}\r\n// 获取详情\r\nexport function getInfo(id) {\r\n return defHttp.get({ url: Api.Prefix + '/' + id });\r\n}\r\n// 获取秘钥\r\nexport function getAppSecret() {\r\n return defHttp.get({ url: Api.Prefix + '/getAppSecret' });\r\n}\r\n// 保存认证接口列表\r\nexport function saveInterfaceList(data) {\r\n return defHttp.post({ url: Api.Prefix + '/saveInterfaceList', data });\r\n}\r\n// 获取认证接口列表\r\nexport function getInterfaceList(id) {\r\n return defHttp.get({ url: Api.Prefix + '/getInterfaceList/' + id });\r\n}\r\n// 获取接口日志列表\r\nexport function getLogList(data) {\r\n return defHttp.get({ url: Api.Prefix + '/dataInterfaceLog/' + data.id, data });\r\n}\r\n//保存授权用户\r\nexport function saveUserList(data) {\r\n return defHttp.post({ url: Api.Prefix + '/SaveUserList', data });\r\n}\r\n"],"names":["getInterfaceOauthList","data","defHttp","create","update","delInterfaceOauth","id","getInfo","getAppSecret","saveInterfaceList","getLogList","saveUserList"],"mappings":";AAOO,SAASA,EAAsBC,GAAM;AAC1C,SAAOC,EAAQ,IAAI,EAAE,KAAK,8BAAY,MAAAD,GAAM;AAC9C;AAEO,SAASE,EAAOF,GAAM;AAC3B,SAAOC,EAAQ,KAAK,EAAE,KAAK,8BAAY,MAAAD,GAAM;AAC/C;AAEO,SAASG,EAAOH,GAAM;AACpB,SAAAC,EAAQ,IAAI,EAAE,KAAK,gCAAmBD,EAAK,IAAI,MAAAA,GAAM;AAC9D;AAEO,SAASI,EAAkBC,GAAI;AACpC,SAAOJ,EAAQ,OAAO,EAAE,KAAK,gCAAmBI,GAAI;AACtD;AAEO,SAASC,EAAQD,GAAI;AAC1B,SAAOJ,EAAQ,IAAI,EAAE,KAAK,gCAAmBI,GAAI;AACnD;AAEO,SAASE,IAAe;AAC7B,SAAON,EAAQ,IAAI,EAAE,KAAK,0CAA8B,CAAA;AAC1D;AAEO,SAASO,EAAkBR,GAAM;AACtC,SAAOC,EAAQ,KAAK,EAAE,KAAK,gDAAmC,MAAAD,GAAM;AACtE;AAMO,SAASS,EAAWT,GAAM;AACxB,SAAAC,EAAQ,IAAI,EAAE,KAAK,iDAAoCD,EAAK,IAAI,MAAAA,GAAM;AAC/E;AAEO,SAASU,EAAaV,GAAM;AACjC,SAAOC,EAAQ,KAAK,EAAE,KAAK,2CAA8B,MAAAD,GAAM;AACjE;"}
@@ -0,0 +1,194 @@
1
+ import { defineComponent as n, ref as l, onMounted as d, openBlock as s, createElementBlock as c, createVNode as u, unref as f } from "vue";
2
+ import { u as h, a as w, b as o, c as x, g as I, f as b, h as g } from "./index-5b8b1ba9.mjs";
3
+ import "lodash-es";
4
+ import "ant-design-vue";
5
+ import "vue-i18n";
6
+ import "pinia";
7
+ import "crypto-js/aes";
8
+ import "crypto-js/enc-utf8";
9
+ import "crypto-js/pad-pkcs7";
10
+ import "crypto-js/mode-ecb";
11
+ import "crypto-js/md5";
12
+ import "crypto-js/enc-base64";
13
+ import "crypto-js/enc-hex";
14
+ import "dayjs";
15
+ import "@vueuse/core";
16
+ import "vue-router";
17
+ import "axios";
18
+ import "@ant-design/icons-vue";
19
+ import "@ant-design/colors";
20
+ import "@iconify/iconify";
21
+ import "vue-types";
22
+ import "@firefly-plus/icons-vue";
23
+ import "qrcode";
24
+ import "vue-simple-uploader";
25
+ import "spark-md5";
26
+ import "vue-simple-uploader/dist/style.css";
27
+ import "tinymce/tinymce";
28
+ import "tinymce/themes/silver";
29
+ import "tinymce/icons/default/icons";
30
+ import "tinymce/plugins/advlist";
31
+ import "tinymce/plugins/anchor";
32
+ import "tinymce/plugins/autolink";
33
+ import "tinymce/plugins/autosave";
34
+ import "tinymce/plugins/code";
35
+ import "tinymce/plugins/codesample";
36
+ import "tinymce/plugins/directionality";
37
+ import "tinymce/plugins/fullscreen";
38
+ import "tinymce/plugins/hr";
39
+ import "tinymce/plugins/insertdatetime";
40
+ import "tinymce/plugins/link";
41
+ import "tinymce/plugins/lists";
42
+ import "tinymce/plugins/media";
43
+ import "tinymce/plugins/nonbreaking";
44
+ import "tinymce/plugins/noneditable";
45
+ import "tinymce/plugins/pagebreak";
46
+ import "tinymce/plugins/paste";
47
+ import "tinymce/plugins/preview";
48
+ import "tinymce/plugins/print";
49
+ import "tinymce/plugins/save";
50
+ import "tinymce/plugins/searchreplace";
51
+ import "tinymce/plugins/spellchecker";
52
+ import "tinymce/plugins/tabfocus";
53
+ import "tinymce/plugins/table";
54
+ import "tinymce/plugins/template";
55
+ import "tinymce/plugins/textpattern";
56
+ import "tinymce/plugins/visualblocks";
57
+ import "tinymce/plugins/visualchars";
58
+ import "tinymce/plugins/wordcount";
59
+ import "tinymce/plugins/image";
60
+ import "tinymce/plugins/charmap";
61
+ import "tinymce/plugins/imagetools";
62
+ import "tinymce/plugins/help";
63
+ import "tinymce/plugins/quickbars";
64
+ import "tinymce/plugins/importcss";
65
+ import "tinymce/plugins/toc";
66
+ import "tinymce/plugins/emoticons";
67
+ import "sortablejs";
68
+ import "codemirror";
69
+ import "codemirror/theme/idea.css";
70
+ import "codemirror/theme/material-palenight.css";
71
+ import "codemirror/mode/javascript/javascript";
72
+ import "codemirror/mode/css/css";
73
+ import "codemirror/mode/htmlmixed/htmlmixed";
74
+ import "monaco-editor/esm/vs/language/json/json.worker?worker";
75
+ import "monaco-editor/esm/vs/language/css/css.worker?worker";
76
+ import "monaco-editor/esm/vs/language/html/html.worker?worker";
77
+ import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
78
+ import "monaco-editor/esm/vs/editor/editor.worker?worker";
79
+ import "monaco-editor";
80
+ import "vue-json-pretty";
81
+ import "vue-json-pretty/lib/styles.css";
82
+ import "firefly-plus-components";
83
+ import "vuedraggable";
84
+ import "uuid";
85
+ import "element-plus";
86
+ import "firefly-plus-components/index.css";
87
+ import "element-plus/dist/index.css";
88
+ import "vue-grid-layout";
89
+ const y = { class: "jnpf-content-wrapper" }, io = /* @__PURE__ */ n({
90
+ name: "onlineDev-visualPortal",
91
+ __name: "preview",
92
+ setup(P) {
93
+ h(), w();
94
+ const { t: e } = g();
95
+ o(), o(), o(), o();
96
+ const [r, { openModal: i }] = o(), m = [
97
+ { title: "名称", dataIndex: "fullName", width: 200 },
98
+ { title: "编码", dataIndex: "enCode", width: 180 },
99
+ { title: "分类", dataIndex: "category", width: 100 },
100
+ { title: "类型", dataIndex: "type", width: 100, align: "center", customRender: ({ record: t }) => t.type === 1 ? "配置路径" : "门户设计" },
101
+ {
102
+ title: "锁定",
103
+ dataIndex: "enabledLock",
104
+ width: 100,
105
+ align: "center",
106
+ customRender: ({ record: t }) => t.type === 1 ? "" : t.enabledLock === 1 ? "是" : "否"
107
+ },
108
+ { title: "创建人", dataIndex: "creatorUser", width: 120 },
109
+ { title: "创建时间", dataIndex: "creatorTime", width: 150, format: "date|YYYY-MM-DD HH:mm:ss" },
110
+ { title: "最后修改时间", dataIndex: "lastModifyTime", width: 150, format: "date|YYYY-MM-DD HH:mm:ss" },
111
+ { title: "排序", dataIndex: "sortCode", width: 70, align: "center" },
112
+ { title: "发布状态", dataIndex: "isRelease", width: 80, align: "center" }
113
+ ], p = [
114
+ { fullName: "配置路径", id: 1 },
115
+ { fullName: "门户设计", id: 0 }
116
+ ], a = [
117
+ { fullName: "是", id: 1 },
118
+ { fullName: "否", id: 0 }
119
+ ];
120
+ return l([]), x({
121
+ api: I,
122
+ columns: m,
123
+ useSearchForm: !0,
124
+ formConfig: {
125
+ schemas: [
126
+ {
127
+ field: "keyword",
128
+ label: e("common.keyword"),
129
+ component: "Input",
130
+ componentProps: {
131
+ placeholder: e("common.enterKeyword"),
132
+ submitOnPressEnter: !0
133
+ }
134
+ },
135
+ {
136
+ field: "category",
137
+ label: "分类",
138
+ component: "Select",
139
+ componentProps: {
140
+ placeholder: "请选择",
141
+ showSearch: !0
142
+ }
143
+ },
144
+ {
145
+ field: "type",
146
+ label: "类型",
147
+ component: "Select",
148
+ componentProps: {
149
+ placeholder: "请选择",
150
+ showSearch: !0,
151
+ options: p
152
+ }
153
+ },
154
+ {
155
+ field: "enabledLock",
156
+ label: "锁定",
157
+ component: "Select",
158
+ componentProps: {
159
+ placeholder: "请选择",
160
+ showSearch: !0,
161
+ options: a
162
+ }
163
+ },
164
+ {
165
+ field: "isRelease",
166
+ label: "发布状态",
167
+ component: "Select",
168
+ componentProps: {
169
+ placeholder: "请选择",
170
+ options: [
171
+ { fullName: "未发布", id: 0 },
172
+ { fullName: "已发布", id: 1 },
173
+ { fullName: "已修改", id: 2 }
174
+ ]
175
+ }
176
+ }
177
+ ]
178
+ },
179
+ actionColumn: {
180
+ width: 180,
181
+ title: "操作",
182
+ dataIndex: "action"
183
+ }
184
+ }), d(() => {
185
+ i(!0, { id: "585481192002814853" });
186
+ }), (t, S) => (s(), c("div", y, [
187
+ u(b, { onRegister: f(r) }, null, 8, ["onRegister"])
188
+ ]));
189
+ }
190
+ });
191
+ export {
192
+ io as default
193
+ };
194
+ //# sourceMappingURL=preview-e588e33c.mjs.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"preview-e588e33c.mjs","sources":["../src/views/basic/home/preview.vue"],"sourcesContent":["<template>\r\n <div class=\"jnpf-content-wrapper\">\r\n <!-- <div class=\"jnpf-content-wrapper-center\">\r\n <div class=\"jnpf-content-wrapper-content\">\r\n <a-button @click=\"handleMenuClick\">退出</a-button>\r\n <BasicTable @register=\"registerTable\">\r\n <template #tableTitle>\r\n <a-button type=\"primary\" preIcon=\"icon-ym icon-ym-btn-add\" @click=\"addOrUpdateHandle()\">{{ t('common.addText') }}</a-button>\r\n <jnpf-upload-btn url=\"/api/visualdev/Portal/Actions/Import\" accept=\".vp\" @on-success=\"reload\"></jnpf-upload-btn>\r\n </template>\r\n <template #bodyCell=\"{ column, record }\">\r\n <template v-if=\"column.key === 'isRelease'\">\r\n <a-tag :color=\"record.isRelease === 1 ? 'success' : record.isRelease == 2 ? 'warning' : ''\">\r\n {{ record.isRelease == 1 ? '已发布' : record.isRelease == 2 ? '已修改' : '未发布' }}\r\n </a-tag>\r\n </template>\r\n <template v-if=\"column.key === 'action'\">\r\n <TableAction :actions=\"getTableActions(record)\" :dropDownActions=\"getDropDownActions(record)\" />\r\n </template>\r\n </template>\r\n </BasicTable>\r\n </div>\r\n </div>\r\n \r\n <Form @register=\"registerForm\" @reload=\"reload\" @design=\"handleDesignFun\" />\r\n <PortalDesign @register=\"registerPortalDesign\" @reload=\"reload\" />\r\n <ReleaseModal @register=\"registerReleaseModal\" @reload=\"reload\" />\r\n <PreviewModal @register=\"registerPreviewModal\" @previewPc=\"previewPc\" /> -->\r\n <Preview @register=\"registerPreview\" />\r\n </div>\r\n <!-- <div>\r\n <PortalDesign @register=\"registerPortalDesign\" @reload=\"reload\" />\r\n </div> -->\r\n </template>\r\n <script lang=\"ts\" setup>\r\n import { onMounted, ref } from 'vue';\r\n import { getPortalList, delPortal, copyPortal, exportPortal } from '@/api/onlineDev/portal';\r\n import { BasicTable, useTable, TableAction, BasicColumn, ActionItem } from '@/components/Table';\r\n import { useMessage } from '@/hooks/web/useMessage';\r\n import { useI18n } from '@/hooks/web/useI18n';\r\n import { useModal } from '@/components/Modal';\r\n import { useBaseStore } from '@/store/modules/base';\r\n import Form from './Form.vue';\r\n import PortalDesign from '@/components/VisualPortal/Design/index.vue';\r\n import ReleaseModal from '@/components/VisualPortal/Design/components/ReleaseModal.vue';\r\n import { downloadByUrl } from '@/utils/file/download';\r\n import Preview from '@/components/VisualPortal/Design/components/Preview.vue';\r\n import { PreviewModal } from '@/components/CommonModal';\r\n import { useUserStore } from '@/store/modules/user';\r\n \r\n defineOptions({ name: 'onlineDev-visualPortal' });\r\n \r\n const userStore = useUserStore();\r\n const handleMenuClick = () => {\r\n userStore.confirmLoginOut();\r\n }\r\n \r\n const { createMessage } = useMessage();\r\n const baseStore = useBaseStore();\r\n const { t } = useI18n();\r\n const [registerForm, { openModal: openFormModal }] = useModal();\r\n const [registerPortalDesign, { openModal: openPortalDesign }] = useModal();\r\n const [registerReleaseModal, { openModal: openReleaseModal }] = useModal();\r\n const [registerPreviewModal, { openModal: openPreviewModal }] = useModal();\r\n const [registerPreview, { openModal: openPreview }] = useModal();\r\n \r\n const columns: BasicColumn[] = [\r\n { title: '名称', dataIndex: 'fullName', width: 200 },\r\n { title: '编码', dataIndex: 'enCode', width: 180 },\r\n { title: '分类', dataIndex: 'category', width: 100 },\r\n { title: '类型', dataIndex: 'type', width: 100, align: 'center', customRender: ({ record }) => (record.type === 1 ? '配置路径' : '门户设计') },\r\n {\r\n title: '锁定',\r\n dataIndex: 'enabledLock',\r\n width: 100,\r\n align: 'center',\r\n customRender: ({ record }) => (record.type === 1 ? '' : record.enabledLock === 1 ? '是' : '否'),\r\n },\r\n { title: '创建人', dataIndex: 'creatorUser', width: 120 },\r\n { title: '创建时间', dataIndex: 'creatorTime', width: 150, format: 'date|YYYY-MM-DD HH:mm:ss' },\r\n { title: '最后修改时间', dataIndex: 'lastModifyTime', width: 150, format: 'date|YYYY-MM-DD HH:mm:ss' },\r\n { title: '排序', dataIndex: 'sortCode', width: 70, align: 'center' },\r\n { title: '发布状态', dataIndex: 'isRelease', width: 80, align: 'center' },\r\n ];\r\n const typeList = [\r\n { fullName: '配置路径', id: 1 },\r\n { fullName: '门户设计', id: 0 },\r\n ];\r\n const enabledLockList = [\r\n { fullName: '是', id: 1 },\r\n { fullName: '否', id: 0 },\r\n ];\r\n const categoryList = ref<any[]>([]);\r\n const [registerTable, { reload, getForm }] = useTable({\r\n api: getPortalList,\r\n columns,\r\n useSearchForm: true,\r\n formConfig: {\r\n schemas: [\r\n {\r\n field: 'keyword',\r\n label: t('common.keyword'),\r\n component: 'Input',\r\n componentProps: {\r\n placeholder: t('common.enterKeyword'),\r\n submitOnPressEnter: true,\r\n },\r\n },\r\n {\r\n field: 'category',\r\n label: '分类',\r\n component: 'Select',\r\n componentProps: {\r\n placeholder: '请选择',\r\n showSearch: true,\r\n },\r\n },\r\n {\r\n field: 'type',\r\n label: '类型',\r\n component: 'Select',\r\n componentProps: {\r\n placeholder: '请选择',\r\n showSearch: true,\r\n options: typeList,\r\n },\r\n },\r\n {\r\n field: 'enabledLock',\r\n label: '锁定',\r\n component: 'Select',\r\n componentProps: {\r\n placeholder: '请选择',\r\n showSearch: true,\r\n options: enabledLockList,\r\n },\r\n },\r\n {\r\n field: 'isRelease',\r\n label: '发布状态',\r\n component: 'Select',\r\n componentProps: {\r\n placeholder: '请选择',\r\n options: [\r\n { fullName: '未发布', id: 0 },\r\n { fullName: '已发布', id: 1 },\r\n { fullName: '已修改', id: 2 },\r\n ],\r\n },\r\n },\r\n ],\r\n },\r\n actionColumn: {\r\n width: 180,\r\n title: '操作',\r\n dataIndex: 'action',\r\n },\r\n });\r\n function getTableActions(record): ActionItem[] {\r\n return [\r\n {\r\n label: t('common.editText'),\r\n onClick: addOrUpdateHandle.bind(null, record.id),\r\n },\r\n {\r\n label: '发布',\r\n color: 'error',\r\n onClick: handleRelease.bind(null, record),\r\n },\r\n {\r\n label: '设计',\r\n disabled: record.type !== 0,\r\n onClick: handleDesign.bind(null, record),\r\n },\r\n ];\r\n }\r\n function getDropDownActions(record): ActionItem[] {\r\n return [\r\n {\r\n label: t('common.previewText'),\r\n onClick: handlePreview.bind(null, record.id),\r\n },\r\n {\r\n label: t('common.copyText'),\r\n modelConfirm: {\r\n content: '您确定要复制该门户, 是否继续?',\r\n onOk: handleCopy.bind(null, record.id),\r\n },\r\n },\r\n {\r\n label: t('common.exportText'),\r\n modelConfirm: {\r\n content: '您确定要导出该门户, 是否继续?',\r\n onOk: handleExport.bind(null, record.id),\r\n },\r\n },\r\n {\r\n label: t('common.delText'),\r\n modelConfirm: {\r\n onOk: handleDelete.bind(null, record.id),\r\n },\r\n },\r\n ];\r\n }\r\n function addOrUpdateHandle(id = '') {\r\n openFormModal(true, { id, categoryList });\r\n }\r\n function handleDelete(id) {\r\n delPortal(id).then(res => {\r\n createMessage.success(res.msg);\r\n reload();\r\n });\r\n }\r\n function handleRelease(record) {\r\n openReleaseModal(true, record);\r\n }\r\n function handleDesign(record) {\r\n console.log(record)\r\n openPortalDesign(true, data);\r\n }\r\n function handleDesignFun(item) {\r\n handleDesign(item);\r\n }\r\n function handlePreview(id) {\r\n openPreviewModal(true, { type: 'portal', id });\r\n }\r\n function previewPc({ id }) {\r\n openPreview(true, { id });\r\n }\r\n function handleCopy(id) {\r\n copyPortal(id).then(res => {\r\n createMessage.success(res.msg);\r\n reload();\r\n });\r\n }\r\n function handleExport(id) {\r\n exportPortal(id).then(res => {\r\n downloadByUrl({ url: res.data.url });\r\n });\r\n }\r\n\r\n \r\n onMounted(() => {\r\n // openPortalDesign(true, {\r\n // id: \"585481192002814853\"\r\n // });\r\n openPreview(true, {id:\"585481192002814853\" });\r\n });\r\n </script>\r\n \r\n\r\n<!-- <template>\r\n <div class=\"jnpf-content-wrapper\">\r\n <Preview @register=\"registerPreview\" />\r\n </div>\r\n</template>\r\n\r\n\r\n<script lang=\"ts\" setup>\r\nimport { onMounted } from 'vue';\r\nimport Preview from '@/components/VisualPortal/Design/components/Preview.vue';\r\nimport { useModal } from '@/components/Modal';\r\nconst [registerPreview, { openModal: openPreview }] = useModal();\r\n\r\n\r\nfunction queryURLParams(url, paramName) {\r\n // 正则表达式模式,用于匹配URL中的参数部分。正则表达式的含义是匹配不包含 ?、&、= 的字符作为参数名,之后是等号和不包含 & 的字符作为参数值\r\n let pattern = /([^?&=]+)=([^&]+)/g;\r\n let params = {};\r\n \r\n // match用于存储正则匹配的结果\r\n let match;\r\n // while 循环和正则表达式 exec 方法来迭代匹配URL中的参数\r\n while ((match = pattern.exec(url)) !== null) {\r\n // 在字符串url中循环匹配pattern,并对每个匹配项进行解码操作,将解码后的键和值分别存储在key和value变量中\r\n let key = decodeURIComponent(match[1]);\r\n let value = decodeURIComponent(match[2]);\r\n \r\n if (params[key]) {\r\n if (Array.isArray(params[key])) {\r\n params[key].push(value);\r\n } else {\r\n params[key] = [params[key], value];\r\n }\r\n } else {\r\n // 参数名在 params 对象中不存在,将该参数名和对应的值添加到 params 对象中\r\n params[key] = value;\r\n }\r\n }\r\n \r\n if (!paramName) {\r\n // 没有传入参数名称, 返回含有所有参数的对象params\r\n return params;\r\n } else {\r\n if (params[paramName]) {\r\n return params[paramName];\r\n } else {\r\n return '';\r\n }\r\n }\r\n}\r\n\r\n\r\nonMounted(()=>{\r\n let data = JSON.parse(queryURLParams(location.href,'data'))\r\n openPreview(true, {id:\"585481192002814853\" });\r\n})\r\n</script>\r\n\r\n\r\n<style scss=\"less\" scoped>\r\n@import \"@/components/VisualPortal/style/index.less\"\r\n\r\n</style> -->"],"names":["useUserStore","useBaseStore","t","useI18n","useModal","registerPreview","openPreview","columns","record","typeList","enabledLockList","ref","useTable","getPortalList","onMounted"],"mappings":"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"}
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file
Binary file