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,617 @@
1
+ import { defineComponent as O, mergeModels as oe, useModel as te, openBlock as p, createBlock as y, unref as _, withCtx as f, createElementVNode as b, normalizeClass as Q, createVNode as h, resolveDynamicComponent as W, createElementBlock as g, Fragment as P, renderList as X, reactive as ne, nextTick as q, resolveComponent as k, mergeProps as le, createTextVNode as K, createCommentVNode as x, toDisplayString as J, createSlots as Y, ref as N, onMounted as ae, resolveDirective as ie, withDirectives as re, normalizeStyle as j, pushScopeId as se, popScopeId as pe } from "vue";
2
+ import { PlusIconRender as de } from "firefly-plus-components";
3
+ import { _ as H, n as ce, q as ue, b3 as me, b4 as he, a2 as fe, s as ye, m as Z, b as _e, b5 as ge, b6 as ve, aO as ke, aP as be, b7 as Ce } from "./index-5b8b1ba9.mjs";
4
+ import { FullScreenLine as Te, DeleteBinLine as Ie } from "@firefly-plus/icons-vue";
5
+ import * as we from "@element-plus/icons-vue";
6
+ import { ElPopover as xe, ElIcon as G, ElScrollbar as Se } from "element-plus";
7
+ import Me from "sortablejs";
8
+ import "lodash-es";
9
+ import "ant-design-vue";
10
+ import "vue-i18n";
11
+ import "pinia";
12
+ import "crypto-js/aes";
13
+ import "crypto-js/enc-utf8";
14
+ import "crypto-js/pad-pkcs7";
15
+ import "crypto-js/mode-ecb";
16
+ import "crypto-js/md5";
17
+ import "crypto-js/enc-base64";
18
+ import "crypto-js/enc-hex";
19
+ import "dayjs";
20
+ import "@vueuse/core";
21
+ import "vue-router";
22
+ import "axios";
23
+ import "@ant-design/icons-vue";
24
+ import "@ant-design/colors";
25
+ import "@iconify/iconify";
26
+ import "vue-types";
27
+ import "qrcode";
28
+ import "vue-simple-uploader";
29
+ import "spark-md5";
30
+ import "vue-simple-uploader/dist/style.css";
31
+ import "tinymce/tinymce";
32
+ import "tinymce/themes/silver";
33
+ import "tinymce/icons/default/icons";
34
+ import "tinymce/plugins/advlist";
35
+ import "tinymce/plugins/anchor";
36
+ import "tinymce/plugins/autolink";
37
+ import "tinymce/plugins/autosave";
38
+ import "tinymce/plugins/code";
39
+ import "tinymce/plugins/codesample";
40
+ import "tinymce/plugins/directionality";
41
+ import "tinymce/plugins/fullscreen";
42
+ import "tinymce/plugins/hr";
43
+ import "tinymce/plugins/insertdatetime";
44
+ import "tinymce/plugins/link";
45
+ import "tinymce/plugins/lists";
46
+ import "tinymce/plugins/media";
47
+ import "tinymce/plugins/nonbreaking";
48
+ import "tinymce/plugins/noneditable";
49
+ import "tinymce/plugins/pagebreak";
50
+ import "tinymce/plugins/paste";
51
+ import "tinymce/plugins/preview";
52
+ import "tinymce/plugins/print";
53
+ import "tinymce/plugins/save";
54
+ import "tinymce/plugins/searchreplace";
55
+ import "tinymce/plugins/spellchecker";
56
+ import "tinymce/plugins/tabfocus";
57
+ import "tinymce/plugins/table";
58
+ import "tinymce/plugins/template";
59
+ import "tinymce/plugins/textpattern";
60
+ import "tinymce/plugins/visualblocks";
61
+ import "tinymce/plugins/visualchars";
62
+ import "tinymce/plugins/wordcount";
63
+ import "tinymce/plugins/image";
64
+ import "tinymce/plugins/charmap";
65
+ import "tinymce/plugins/imagetools";
66
+ import "tinymce/plugins/help";
67
+ import "tinymce/plugins/quickbars";
68
+ import "tinymce/plugins/importcss";
69
+ import "tinymce/plugins/toc";
70
+ import "tinymce/plugins/emoticons";
71
+ import "codemirror";
72
+ import "codemirror/theme/idea.css";
73
+ import "codemirror/theme/material-palenight.css";
74
+ import "codemirror/mode/javascript/javascript";
75
+ import "codemirror/mode/css/css";
76
+ import "codemirror/mode/htmlmixed/htmlmixed";
77
+ import "monaco-editor/esm/vs/language/json/json.worker?worker";
78
+ import "monaco-editor/esm/vs/language/css/css.worker?worker";
79
+ import "monaco-editor/esm/vs/language/html/html.worker?worker";
80
+ import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
81
+ import "monaco-editor/esm/vs/editor/editor.worker?worker";
82
+ import "monaco-editor";
83
+ import "vue-json-pretty";
84
+ import "vue-json-pretty/lib/styles.css";
85
+ import "vuedraggable";
86
+ import "uuid";
87
+ import "firefly-plus-components/index.css";
88
+ import "element-plus/dist/index.css";
89
+ import "vue-grid-layout";
90
+ const Ue = { class: "outer-wrapper" }, Le = { class: "icons-wrapper" }, Ne = /* @__PURE__ */ O({
91
+ name: "IconSelector",
92
+ __name: "iconSelector",
93
+ props: /* @__PURE__ */ oe({
94
+ disabled: {
95
+ type: Boolean,
96
+ default: !1
97
+ }
98
+ }, {
99
+ modelValue: { required: !0 },
100
+ modelModifiers: {}
101
+ }),
102
+ emits: ["update:modelValue"],
103
+ setup(u) {
104
+ const M = [];
105
+ for (const [I, U] of Object.entries(we))
106
+ M.push(I);
107
+ const n = te(u, "modelValue"), C = u, T = (I) => {
108
+ n.value = I;
109
+ };
110
+ return (I, U) => (p(), y(_(xe), {
111
+ trigger: "click",
112
+ placement: "top",
113
+ width: "unset",
114
+ disabled: C.disabled
115
+ }, {
116
+ reference: f(() => [
117
+ b("div", {
118
+ class: Q([
119
+ "p-pc-xs",
120
+ "flex",
121
+ "border",
122
+ "border-[--el-border-color-light]",
123
+ "rounded",
124
+ "cursor-pointer",
125
+ { "cursor-not-allowed": C.disabled }
126
+ ])
127
+ }, [
128
+ h(_(G), { size: "20" }, {
129
+ default: f(() => [
130
+ (p(), y(W(n.value)))
131
+ ]),
132
+ _: 1
133
+ })
134
+ ], 2)
135
+ ]),
136
+ default: f(() => [
137
+ b("div", Ue, [
138
+ h(_(Se), { height: "300" }, {
139
+ default: f(() => [
140
+ b("div", Le, [
141
+ (p(), g(P, null, X(M, (w) => b("div", {
142
+ key: w,
143
+ class: "cursor-pointer"
144
+ }, [
145
+ h(_(G), {
146
+ size: "24",
147
+ onClick: (L) => T(w)
148
+ }, {
149
+ default: f(() => [
150
+ (p(), y(W(w)))
151
+ ]),
152
+ _: 2
153
+ }, 1032, ["onClick"])
154
+ ])), 64))
155
+ ])
156
+ ]),
157
+ _: 1
158
+ })
159
+ ])
160
+ ]),
161
+ _: 1
162
+ }, 8, ["disabled"]));
163
+ }
164
+ });
165
+ const Ae = /* @__PURE__ */ H(Ne, [["__scopeId", "data-v-8afdf625"]]), $e = {
166
+ key: 0,
167
+ class: "drag-handler icon-ym icon-ym-darg",
168
+ title: "点击拖动"
169
+ }, Fe = { key: 3 }, De = { key: 5 }, Be = {
170
+ key: 6,
171
+ class: "flex items-center"
172
+ }, Ve = { class: "flex-1" }, Ee = {
173
+ key: 7,
174
+ class: "flex items-center"
175
+ }, ze = /* @__PURE__ */ O({
176
+ __name: "RCommonFunModal",
177
+ emits: ["register", "change"],
178
+ setup(u, { emit: M }) {
179
+ const n = ne({
180
+ list: [],
181
+ menuList: [],
182
+ appMenuList: [],
183
+ showType: ""
184
+ }), C = M, { createMessage: T } = Z(), [I, { closeModal: U }] = ce(L), w = [
185
+ // { title: '拖动', dataIndex: 'drag', key: 'drag', align: 'center', width: 50 },
186
+ { title: "名称", dataIndex: "fullName", key: "fullName", width: 220 },
187
+ // { title: '图标', dataIndex: 'icon', key: 'icon', width: 100 },
188
+ // { title: '图标颜色', dataIndex: 'iconBgColor', key: 'iconBgColor', width: 70 },
189
+ { title: "链接类型", dataIndex: "linkType", key: "linkType", width: 460 },
190
+ { title: "操作", dataIndex: "action", key: "action", width: 100, fixed: "right" }
191
+ ];
192
+ function L(l) {
193
+ n.list = JSON.parse(JSON.stringify(l.data)), n.menuList = l.menuList || [], n.appMenuList = l.appMenuList || [], n.showType = l.showType || "pc", console.log(n.list, n.appMenuList, "--------111111111-==="), q(() => A());
194
+ }
195
+ function A() {
196
+ const l = document.querySelector(".carousel-table .ant-table-tbody");
197
+ Me.create(l, {
198
+ handle: ".drag-handler",
199
+ animation: 150,
200
+ easing: "cubic-bezier(1, 0, 0, 1)",
201
+ onStart: () => {
202
+ },
203
+ onEnd: ({ newIndex: a, oldIndex: e }) => {
204
+ const t = n.list.splice(e, 1)[0];
205
+ n.list.splice(a, 0, t);
206
+ }
207
+ });
208
+ }
209
+ function $(l, a, e) {
210
+ n.list[e].fullName = a.fullName, n.list[e].type = a.type, n.list[e].urlAddress = a.linkUrl, n.list[e].path = a.path, n.list[e].appIcon = a.appIcon, n.list[e].iconBgColor = a.appThemeColor, a.linkTarget && (n.list[e].linkTarget = "_blank"), a.propertyJson && (n.list[e].propertyJson = a.propertyJson);
211
+ }
212
+ function D() {
213
+ const l = {
214
+ fullName: "",
215
+ moduleId: "",
216
+ linkType: "",
217
+ urlAddress: "",
218
+ linkTarget: "_blank",
219
+ appIcon: "",
220
+ iconBgColor: "#1890FF",
221
+ type: 2,
222
+ id: fe()
223
+ };
224
+ n.list.push(l);
225
+ }
226
+ function B(l) {
227
+ n.list.splice(l, 1);
228
+ }
229
+ function F(l, a, e = []) {
230
+ for (let t = 0; t < l.length; t++) {
231
+ const d = l[t], m = [...e, d.id];
232
+ if (d.id === a)
233
+ return m.pop(), m;
234
+ if (d.children && d.children.length > 0) {
235
+ const r = F(d.children, a, m);
236
+ if (r)
237
+ return r;
238
+ }
239
+ }
240
+ return null;
241
+ }
242
+ function V() {
243
+ n.list.forEach((l) => {
244
+ if (l.linkType == 1) {
245
+ let a = F(n.appMenuList, l.moduleId)[0], e = "";
246
+ n.appMenuList.forEach((t) => {
247
+ t.id == a && (e = t);
248
+ }), l.appIcon = e ? e.appIcon : "";
249
+ }
250
+ l.linkType == 2 && (l.appIcon = "HelpFilled");
251
+ });
252
+ for (let l = 0; l < n.list.length; l++) {
253
+ const a = n.list[l];
254
+ if (!a.fullName)
255
+ return T.warning("名称不能为空");
256
+ if (a.linkType == 1 && !a.urlAddress && !a.moduleId)
257
+ return T.warning("请选择菜单");
258
+ if (a.linkType == 2 && !a.urlAddress)
259
+ return T.warning("链接地址不能为空");
260
+ if (a.linkType == 2 && !ye(a.urlAddress))
261
+ return T.warning("请输入正确的链接地址");
262
+ }
263
+ if (n.list.length > 0) {
264
+ let l = {};
265
+ n.list.forEach((e) => {
266
+ e.moduleId && e.linkType == 1 ? e.appId = F(n.appMenuList, e.moduleId)[0] : e.appId = e.moduleId;
267
+ });
268
+ for (let e of n.list)
269
+ e.linkType == "3" && (l[e.appId] ? l[e.appId]++ : l[e.appId] = 1);
270
+ let a = [];
271
+ for (let e in l)
272
+ l[e] > 1 && a.push(e);
273
+ if (a.length > 0)
274
+ return T.warning("存在重复的应用");
275
+ }
276
+ C("change", n.list), q(() => U());
277
+ }
278
+ return (l, a) => {
279
+ const e = k("BasicHelp"), t = k("jnpf-i18n-input"), d = k("jnpf-color-picker"), m = k("jnpf-select"), r = k("jnpf-tree-select"), i = k("a-input"), o = k("el-icon"), S = k("a-table"), E = k("a-button");
280
+ return p(), y(_(ue), le(l.$attrs, {
281
+ width: "1000px",
282
+ canFullscreen: !1,
283
+ class: "jnpf-modal-portal paddingPortal",
284
+ onRegister: _(I),
285
+ title: "选项设置",
286
+ onOk: V,
287
+ destroyOnClose: ""
288
+ }), {
289
+ default: f(() => [
290
+ h(S, {
291
+ "data-source": n.list,
292
+ columns: w,
293
+ size: "small",
294
+ pagination: !1,
295
+ rowKey: "id",
296
+ class: "carousel-table"
297
+ }, {
298
+ headerCell: f(({ column: v }) => [
299
+ v.key === "linkType" ? (p(), g(P, { key: 0 }, [
300
+ K("链接类型"),
301
+ h(e, { text: "地址以http://或https://开头" })
302
+ ], 64)) : x("", !0)
303
+ ]),
304
+ bodyCell: f(({ column: v, record: s, index: z }) => [
305
+ v.key === "drag" ? (p(), g("i", $e)) : x("", !0),
306
+ v.key === "fullName" ? (p(), y(t, {
307
+ key: 1,
308
+ class: "ml-[12px]",
309
+ value: s.fullName,
310
+ "onUpdate:value": (c) => s.fullName = c,
311
+ disabled: s.linkType == 3,
312
+ i18n: s.fullNameI18nCode,
313
+ "onUpdate:i18n": (c) => s.fullNameI18nCode = c,
314
+ placeholder: "建议名称小于12个字符",
315
+ allowClear: "",
316
+ maxlength: 15
317
+ }, null, 8, ["value", "onUpdate:value", "disabled", "i18n", "onUpdate:i18n"])) : x("", !0),
318
+ v.key === "icon" && s.linkType != 3 && s.linkType != 1 ? (p(), y(Ae, {
319
+ key: 2,
320
+ modelValue: s.appIcon,
321
+ "onUpdate:modelValue": (c) => s.appIcon = c
322
+ }, null, 8, ["modelValue", "onUpdate:modelValue"])) : (p(), g("p", Fe, J(), 1)),
323
+ v.key === "iconBgColor" && s.linkType != 3 && s.linkType != 1 ? (p(), y(d, {
324
+ key: 4,
325
+ value: s.iconBgColor,
326
+ "onUpdate:value": (c) => s.iconBgColor = c,
327
+ size: "small"
328
+ }, null, 8, ["value", "onUpdate:value"])) : (p(), g("p", De, J(), 1)),
329
+ v.key === "linkType" ? (p(), g("div", Be, [
330
+ h(m, {
331
+ class: "!w-80px !mr-10px",
332
+ value: s[v.key],
333
+ "onUpdate:value": (c) => s[v.key] = c,
334
+ options: _(me),
335
+ placeholder: "请选择",
336
+ showSearch: "",
337
+ allowClear: ""
338
+ }, null, 8, ["value", "onUpdate:value", "options"]),
339
+ b("div", Ve, [
340
+ s.linkType == 3 ? (p(), y(r, {
341
+ key: 0,
342
+ value: s.moduleId,
343
+ "onUpdate:value": (c) => s.moduleId = c,
344
+ placeholder: "请选择",
345
+ lastLevel: "",
346
+ allowClear: "",
347
+ showSearch: "",
348
+ options: n.menuList,
349
+ onChange: (c, R) => $(c, R, z)
350
+ }, null, 8, ["value", "onUpdate:value", "options", "onChange"])) : x("", !0),
351
+ s.linkType == 2 ? (p(), y(i, {
352
+ key: 1,
353
+ value: s.urlAddress,
354
+ "onUpdate:value": (c) => s.urlAddress = c,
355
+ placeholder: "请输入"
356
+ }, Y({ _: 2 }, [
357
+ n.showType == "pc" ? {
358
+ name: "addonAfter",
359
+ fn: f(() => [
360
+ h(m, {
361
+ value: s.linkTarget,
362
+ "onUpdate:value": (c) => s.linkTarget = c,
363
+ options: _(he),
364
+ placeholder: "请选择",
365
+ class: "!w-90px"
366
+ }, null, 8, ["value", "onUpdate:value", "options"])
367
+ ]),
368
+ key: "0"
369
+ } : void 0
370
+ ]), 1032, ["value", "onUpdate:value"])) : x("", !0),
371
+ s.linkType == 1 ? (p(), y(r, {
372
+ key: 2,
373
+ value: s.moduleId,
374
+ "onUpdate:value": (c) => s.moduleId = c,
375
+ placeholder: "请选择",
376
+ lastLevel: "",
377
+ treeDefaultExpandAll: !1,
378
+ allowClear: "",
379
+ showSearch: "",
380
+ options: n.appMenuList,
381
+ onChange: (c, R) => $(c, R, z)
382
+ }, null, 8, ["value", "onUpdate:value", "options", "onChange"])) : x("", !0)
383
+ ])
384
+ ])) : x("", !0),
385
+ v.key === "action" ? (p(), g("div", Ee, [
386
+ h(o, {
387
+ color: "#90939b",
388
+ size: 16,
389
+ class: "drag-handler",
390
+ title: "点击拖动"
391
+ }, {
392
+ default: f(() => [
393
+ h(_(Te))
394
+ ]),
395
+ _: 1
396
+ }),
397
+ h(o, {
398
+ onClick: (c) => B(z),
399
+ color: "#90939b",
400
+ class: "ml-[8px]"
401
+ }, {
402
+ default: f(() => [
403
+ h(_(Ie))
404
+ ]),
405
+ _: 2
406
+ }, 1032, ["onClick"])
407
+ ])) : x("", !0)
408
+ ]),
409
+ _: 1
410
+ }, 8, ["data-source"]),
411
+ b("div", {
412
+ class: "table-add-action",
413
+ onClick: a[0] || (a[0] = (v) => D())
414
+ }, [
415
+ h(E, {
416
+ type: "text",
417
+ preIcon: "icon-ym icon-ym-btn-add"
418
+ }, {
419
+ default: f(() => [
420
+ K("添加")
421
+ ]),
422
+ _: 1
423
+ })
424
+ ])
425
+ ]),
426
+ _: 1
427
+ }, 16, ["onRegister"]);
428
+ };
429
+ }
430
+ });
431
+ const Re = /* @__PURE__ */ H(ze, [["__scopeId", "data-v-295f0948"]]), ee = (u) => (se("data-v-067422d6"), u = u(), pe(), u), je = {
432
+ key: 0,
433
+ style: { height: "100%" }
434
+ }, Je = {
435
+ key: 0,
436
+ style: { display: "flex", "align-items": "center", "justify-content": "center", height: "100%" }
437
+ }, Oe = /* @__PURE__ */ ee(() => /* @__PURE__ */ b("p", { style: { color: "rgb(96, 98, 102)", "font-size": "14px", "text-align": "center" } }, "成员自行收藏的应用、菜单或链接将自动同步至此处,无需单独配置 成员也可在此对收藏内容进行统一管理", -1)), Pe = [
438
+ Oe
439
+ ], He = {
440
+ key: 1,
441
+ class: "commonFunc-box-body"
442
+ }, We = { class: "iconRender" }, qe = {
443
+ key: 1,
444
+ style: { height: "100%", width: "100%", display: "flex", "justify-content": "center", "align-items": "center" }
445
+ }, Ke = /* @__PURE__ */ ee(() => /* @__PURE__ */ b("p", { style: { "font-size": "14px", "font-weight": "normal", color: "rgb(96, 98, 102)", "margin-top": "20px" } }, "登录后查看数据", -1)), Ge = [
446
+ Ke
447
+ ], Qe = /* @__PURE__ */ O({
448
+ __name: "index",
449
+ props: ["activeData"],
450
+ setup(u) {
451
+ const { createMessage: M } = Z(), n = u, C = N([]), [T, { openModal: I }] = _e(), U = N(!0), w = N(), L = N(), A = N(!1), $ = N("#FFFFFF");
452
+ function D() {
453
+ n.activeData.renderKey = +/* @__PURE__ */ new Date();
454
+ }
455
+ function B(e) {
456
+ console.log("joins", e), e.forEach((t) => {
457
+ t.appName = t.fullName, t.linkUrl = t.urlAddress, t.appThemeColor = t.iconBgColor, t.menuId = t.linkType == "1" ? t.moduleId : "";
458
+ }), Ce(e).then((t) => {
459
+ console.log(t), D();
460
+ }).catch((t) => {
461
+ M.error(t.message);
462
+ });
463
+ }
464
+ function F() {
465
+ I(!0, {
466
+ data: C.value,
467
+ menuList: w.value,
468
+ appMenuList: L.value
469
+ });
470
+ }
471
+ function V() {
472
+ return window.innerWidth <= 768;
473
+ }
474
+ ae(() => {
475
+ if (A.value = !0, !localStorage.getItem("Authorization"))
476
+ U.value = !1;
477
+ else {
478
+ const t = ge({
479
+ platformType: "2"
480
+ }).then((m) => {
481
+ let r = JSON.parse(JSON.stringify(m.data));
482
+ r.forEach((o) => {
483
+ o.fullName = o.appName, o.type = o.linkType, o.linkTarget = "_blank", o.hasModule = !0, o.children = null, o.urlAddress = o.linkUrl, o.hasChildren = !1, o.parentId = null, o.icon = "icon-ym icon-ym-btn-batch", o.iconBgColor = "#000000", o.disabled = !1, o.id = o.appId;
484
+ }), w.value = r;
485
+ let i = JSON.parse(JSON.stringify(m.data));
486
+ return i.forEach((o) => {
487
+ o.fullName = o.appName, o.linkTarget = "_blank", o.hasModule = !0, o.type = o.linkType, o.children = o.permissionMenuList, o.urlAddress = o.linkUrl, o.hasChildren = o.permissionMenuList > 0, o.parentId = null, o.icon = "icon-ym icon-ym-btn-batch", o.iconBgColor = "#000000", o.disabled = !0, o.id = o.appId;
488
+ }), i;
489
+ }), d = ve({
490
+ availablePlatform: V() ? "2" : "1"
491
+ //1 电脑 2 移动
492
+ }).then((m) => {
493
+ if (console.log(m.data, "--------------"), m.data) {
494
+ let r = JSON.parse(JSON.stringify(m.data[0].apps));
495
+ return r.forEach((i) => {
496
+ i.fullName = i.appName, i.linkTarget = "_blank", i.hasModule = !0, i.type = i.linkType, i.children = null, i.urlAddress = i.linkUrl, i.hasChildren = !1, i.parentId = null, i.icon = "icon-ym icon-ym-btn-batch", i.iconBgColor = i.appThemeColor, i.disabled = !1, i.id = i.appId, i.moduleId = i.linkType == "1" ? i.menuId : i.appId;
497
+ }), r;
498
+ }
499
+ return [];
500
+ });
501
+ Promise.all([t, d]).then((m) => {
502
+ L.value = m[0], A.value = !1, C.value = m[1].map((r) => {
503
+ if (r.appType === 1) {
504
+ const i = r.urlAddress;
505
+ let o = L.value.find((S) => S.appLink ? a(i) == a(S.urlAddress) : !1);
506
+ if (o)
507
+ try {
508
+ const S = new URL(o.urlAddress), E = l(i, S.search.replace("?", ""));
509
+ r.urlAddress = E;
510
+ } catch {
511
+ }
512
+ }
513
+ return r;
514
+ });
515
+ });
516
+ }
517
+ });
518
+ function l(e, t) {
519
+ if (e.indexOf("?") === -1)
520
+ return e + "?" + t;
521
+ try {
522
+ const d = new URL(e);
523
+ return console.log(d), `${d.origin}${d.pathname}${d.search || ""}${d.search ? "&" : "?"}${t}${d.hash}`;
524
+ } catch {
525
+ return e + "&" + t;
526
+ }
527
+ }
528
+ function a(e) {
529
+ try {
530
+ const t = new URL(e);
531
+ if (t.hostname) {
532
+ const d = t.pathname.split("/");
533
+ return `${t.origin}/${d[1]}`;
534
+ }
535
+ } catch {
536
+ return `/${e.split("/")[1]}`;
537
+ }
538
+ }
539
+ return (e, t) => {
540
+ const d = k("el-card"), m = ie("loading");
541
+ return p(), y(d, {
542
+ class: "portal-card-box",
543
+ style: { border: "1px solid var(--gp-border-color-md)" }
544
+ }, Y({
545
+ default: f(() => [
546
+ U.value ? re((p(), g("div", je, [
547
+ C.value.length <= 0 ? (p(), g("div", Je, Pe)) : (p(), g("div", He, [
548
+ (p(!0), g(P, null, X(C.value, (r, i) => (p(), y(ke, {
549
+ class: Q(["item com-hover", { "item-border": u.activeData.option.showBorder, "item-horizontal-box": u.activeData.option.styleType == 2 }]),
550
+ linkType: r.linkType,
551
+ urlAddress: r.urlAddress,
552
+ linkTarget: r.linkTarget,
553
+ type: r.type,
554
+ isCollect: r,
555
+ propertyJson: r.propertyJson,
556
+ key: i,
557
+ style: j({ width: 100 / (u.activeData.option.rowNumber || 5) + "%" })
558
+ }, {
559
+ default: f(() => [
560
+ b("div", We, [
561
+ h(_(de), {
562
+ isShowColor: !0,
563
+ style: j([{ color: "white" }, { "line-height": "60px", "text-align": "center", "border-radius": "5px", overflow: "hidden" }]),
564
+ modelValue: r.appIcon,
565
+ "onUpdate:modelValue": (o) => r.appIcon = o,
566
+ bgColor: $.value,
567
+ "onUpdate:bgColor": t[0] || (t[0] = (o) => $.value = o),
568
+ iconBgColor: r.appThemeColor,
569
+ iconSize: 26,
570
+ height: 46,
571
+ width: 46
572
+ }, null, 8, ["modelValue", "onUpdate:modelValue", "bgColor", "iconBgColor"])
573
+ ]),
574
+ b("p", {
575
+ class: "name",
576
+ style: j({
577
+ "font-size": u.activeData.option.labelFontSize + "px",
578
+ "margin-top": "5px",
579
+ "font-weight": u.activeData.option.labelFontWeight ? "bolder" : "normal",
580
+ color: u.activeData.option.labelFontColor
581
+ })
582
+ }, J(r.fullName), 5)
583
+ ]),
584
+ _: 2
585
+ }, 1032, ["linkType", "urlAddress", "linkTarget", "type", "isCollect", "propertyJson", "style", "class"]))), 128))
586
+ ]))
587
+ ])), [
588
+ [m, A.value]
589
+ ]) : (p(), g("div", qe, Ge)),
590
+ h(Re, {
591
+ onRegister: _(T),
592
+ onChange: B
593
+ }, null, 8, ["onRegister"])
594
+ ]),
595
+ _: 2
596
+ }, [
597
+ u.activeData.title ? {
598
+ name: "header",
599
+ fn: f(() => [
600
+ h(be, {
601
+ title: u.activeData.title,
602
+ card: u.activeData.card,
603
+ isShowSetting: !0,
604
+ onOpen: F
605
+ }, null, 8, ["title", "card"])
606
+ ]),
607
+ key: "0"
608
+ } : void 0
609
+ ]), 1024);
610
+ };
611
+ }
612
+ });
613
+ const At = /* @__PURE__ */ H(Qe, [["__scopeId", "data-v-067422d6"]]);
614
+ export {
615
+ At as default
616
+ };
617
+ //# sourceMappingURL=index-b5b20206.mjs.map