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.
- package/README.md +132 -0
- package/dist-lib/Empower-789f2826.mjs +94 -0
- package/dist-lib/Empower-789f2826.mjs.map +1 -0
- package/dist-lib/Empower.vue_vue_type_script_setup_true_lang-c454e7a0.mjs +134 -0
- package/dist-lib/Empower.vue_vue_type_script_setup_true_lang-c454e7a0.mjs.map +1 -0
- package/dist-lib/Field-40d74a96.mjs +94 -0
- package/dist-lib/Field-40d74a96.mjs.map +1 -0
- package/dist-lib/Field.vue_vue_type_script_setup_true_lang-e1964a74.mjs +148 -0
- package/dist-lib/Field.vue_vue_type_script_setup_true_lang-e1964a74.mjs.map +1 -0
- package/dist-lib/FieldForm-a5d4038b.mjs +93 -0
- package/dist-lib/FieldForm-a5d4038b.mjs.map +1 -0
- package/dist-lib/FieldForm.vue_vue_type_script_setup_true_lang-f92c7e23.mjs +160 -0
- package/dist-lib/FieldForm.vue_vue_type_script_setup_true_lang-f92c7e23.mjs.map +1 -0
- package/dist-lib/Form-06ee1b64.mjs +97 -0
- package/dist-lib/Form-06ee1b64.mjs.map +1 -0
- package/dist-lib/Form-15a7f801.mjs +95 -0
- package/dist-lib/Form-15a7f801.mjs.map +1 -0
- package/dist-lib/Form-465fe45d.mjs +237 -0
- package/dist-lib/Form-465fe45d.mjs.map +1 -0
- package/dist-lib/Form-6e6a6a0d.mjs +94 -0
- package/dist-lib/Form-6e6a6a0d.mjs.map +1 -0
- package/dist-lib/Form-a61f1446.mjs +93 -0
- package/dist-lib/Form-a61f1446.mjs.map +1 -0
- package/dist-lib/Form-aeafea39.mjs +93 -0
- package/dist-lib/Form-aeafea39.mjs.map +1 -0
- package/dist-lib/Form-b0b8b1f3.mjs +94 -0
- package/dist-lib/Form-b0b8b1f3.mjs.map +1 -0
- package/dist-lib/Form-b2915cd3.mjs +95 -0
- package/dist-lib/Form-b2915cd3.mjs.map +1 -0
- package/dist-lib/Form-b2ce5535.mjs +93 -0
- package/dist-lib/Form-b2ce5535.mjs.map +1 -0
- package/dist-lib/Form-ca6e92bd.mjs +421 -0
- package/dist-lib/Form-ca6e92bd.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-039f5c88.mjs +101 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-039f5c88.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-1883a047.mjs +91 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-1883a047.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-5fbc0f96.mjs +302 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-5fbc0f96.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-61497691.mjs +181 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-61497691.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-69cc4bfc.mjs +94 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-69cc4bfc.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-a3d7f865.mjs +263 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-a3d7f865.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-ae83b1bb.mjs +104 -0
- package/dist-lib/Form.vue_vue_type_script_setup_true_lang-ae83b1bb.mjs.map +1 -0
- package/dist-lib/Form.vue_vue_type_style_index_0_lang-f240a568.mjs +838 -0
- package/dist-lib/Form.vue_vue_type_style_index_0_lang-f240a568.mjs.map +1 -0
- package/dist-lib/Info-e9cb4268.mjs +747 -0
- package/dist-lib/Info-e9cb4268.mjs.map +1 -0
- package/dist-lib/Log-b1cc7014.mjs +94 -0
- package/dist-lib/Log-b1cc7014.mjs.map +1 -0
- package/dist-lib/Log.vue_vue_type_script_setup_true_lang-0ba0615b.mjs +93 -0
- package/dist-lib/Log.vue_vue_type_script_setup_true_lang-0ba0615b.mjs.map +1 -0
- package/dist-lib/Login-fc04d844.mjs +109 -0
- package/dist-lib/Login-fc04d844.mjs.map +1 -0
- package/dist-lib/LoginForm-eafdf0bc.mjs +93 -0
- package/dist-lib/LoginForm-eafdf0bc.mjs.map +1 -0
- package/dist-lib/LoginForm.vue_vue_type_script_setup_true_lang-2a241386.mjs +202 -0
- package/dist-lib/LoginForm.vue_vue_type_script_setup_true_lang-2a241386.mjs.map +1 -0
- package/dist-lib/PageExplainModal-efbb4616.mjs +140 -0
- package/dist-lib/PageExplainModal-efbb4616.mjs.map +1 -0
- package/dist-lib/Preview-531e9361.mjs +93 -0
- package/dist-lib/Preview-531e9361.mjs.map +1 -0
- package/dist-lib/Preview-6086e84b.mjs +93 -0
- package/dist-lib/Preview-6086e84b.mjs.map +1 -0
- package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-0013b21d.mjs +137 -0
- package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-0013b21d.mjs.map +1 -0
- package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-815bfd98.mjs +67 -0
- package/dist-lib/Preview.vue_vue_type_script_setup_true_lang-815bfd98.mjs.map +1 -0
- package/dist-lib/TableAction-fcabc30c.mjs +114 -0
- package/dist-lib/TableAction-fcabc30c.mjs.map +1 -0
- package/dist-lib/UserSelect-4e259116.mjs +94 -0
- package/dist-lib/UserSelect-4e259116.mjs.map +1 -0
- package/dist-lib/UserSelect.vue_vue_type_script_setup_true_lang-aa25c5fc.mjs +282 -0
- package/dist-lib/UserSelect.vue_vue_type_script_setup_true_lang-aa25c5fc.mjs.map +1 -0
- package/dist-lib/cdn/socials/dingtalk.png +0 -0
- package/dist-lib/cdn/socials/feishu.png +0 -0
- package/dist-lib/cdn/socials/gitHub.png +0 -0
- package/dist-lib/cdn/socials/qq.png +0 -0
- package/dist-lib/cdn/socials/wechat_open.png +0 -0
- package/dist-lib/cdn/socials/wxWork.png +0 -0
- package/dist-lib/commonFields-5ff2332b.mjs +24 -0
- package/dist-lib/commonFields-5ff2332b.mjs.map +1 -0
- package/dist-lib/css/fonts/ym/iconfont.css +2419 -0
- package/dist-lib/css/fonts/ym/iconfont.ttf +0 -0
- package/dist-lib/css/fonts/ym/iconfont.woff +0 -0
- package/dist-lib/css/fonts/ym/iconfont.woff2 +0 -0
- package/dist-lib/css/fonts/ym-custom/iconfont.css +7203 -0
- package/dist-lib/css/fonts/ym-custom/iconfont.ttf +0 -0
- package/dist-lib/css/fonts/ym-custom/iconfont.woff +0 -0
- package/dist-lib/css/fonts/ym-custom/iconfont.woff2 +0 -0
- package/dist-lib/css/index.css +135 -0
- package/dist-lib/css/print-lock.css +352 -0
- package/dist-lib/emtryImg-85b013aa.mjs +5 -0
- package/dist-lib/emtryImg-85b013aa.mjs.map +1 -0
- package/dist-lib/en_US-6b59f0a7.mjs +774 -0
- package/dist-lib/en_US-6b59f0a7.mjs.map +1 -0
- package/dist-lib/favicon.ico +0 -0
- package/dist-lib/firefly-portal-preview.css +1 -0
- package/dist-lib/firefly-portal-preview.d.ts +82 -0
- package/dist-lib/firefly-portal-preview.es.js +92 -0
- package/dist-lib/firefly-portal-preview.es.js.map +1 -0
- package/dist-lib/firefly-portal-preview.umd.js +79 -0
- package/dist-lib/firefly-portal-preview.umd.js.map +1 -0
- package/dist-lib/formValidate-33d5595a.mjs +68 -0
- package/dist-lib/formValidate-33d5595a.mjs.map +1 -0
- package/dist-lib/index-1a090e82.mjs +173 -0
- package/dist-lib/index-1a090e82.mjs.map +1 -0
- package/dist-lib/index-28ba2ea1.mjs +154 -0
- package/dist-lib/index-28ba2ea1.mjs.map +1 -0
- package/dist-lib/index-29f92d0d.mjs +130 -0
- package/dist-lib/index-29f92d0d.mjs.map +1 -0
- package/dist-lib/index-2c2c19d4.mjs +160 -0
- package/dist-lib/index-2c2c19d4.mjs.map +1 -0
- package/dist-lib/index-2f898c1f.mjs +103 -0
- package/dist-lib/index-2f898c1f.mjs.map +1 -0
- package/dist-lib/index-3462ba0d.mjs +139 -0
- package/dist-lib/index-3462ba0d.mjs.map +1 -0
- package/dist-lib/index-3ebbb3a9.mjs +97 -0
- package/dist-lib/index-3ebbb3a9.mjs.map +1 -0
- package/dist-lib/index-436ec82c.mjs +145 -0
- package/dist-lib/index-436ec82c.mjs.map +1 -0
- package/dist-lib/index-44e8def1.mjs +267 -0
- package/dist-lib/index-44e8def1.mjs.map +1 -0
- package/dist-lib/index-47596f01.mjs +144 -0
- package/dist-lib/index-47596f01.mjs.map +1 -0
- package/dist-lib/index-5888a3a4.mjs +226 -0
- package/dist-lib/index-5888a3a4.mjs.map +1 -0
- package/dist-lib/index-58fb457c.mjs +179 -0
- package/dist-lib/index-58fb457c.mjs.map +1 -0
- package/dist-lib/index-5b8b1ba9.mjs +119766 -0
- package/dist-lib/index-5b8b1ba9.mjs.map +1 -0
- package/dist-lib/index-687fd3de.mjs +396 -0
- package/dist-lib/index-687fd3de.mjs.map +1 -0
- package/dist-lib/index-6eca8dab.mjs +135 -0
- package/dist-lib/index-6eca8dab.mjs.map +1 -0
- package/dist-lib/index-73df4468.mjs +187 -0
- package/dist-lib/index-73df4468.mjs.map +1 -0
- package/dist-lib/index-7ae97180.mjs +597 -0
- package/dist-lib/index-7ae97180.mjs.map +1 -0
- package/dist-lib/index-8374b2f2.mjs +354 -0
- package/dist-lib/index-8374b2f2.mjs.map +1 -0
- package/dist-lib/index-89a27c27.mjs +255 -0
- package/dist-lib/index-89a27c27.mjs.map +1 -0
- package/dist-lib/index-9263cd45.mjs +482 -0
- package/dist-lib/index-9263cd45.mjs.map +1 -0
- package/dist-lib/index-934ca5d0.mjs +93 -0
- package/dist-lib/index-934ca5d0.mjs.map +1 -0
- package/dist-lib/index-97081729.mjs +269 -0
- package/dist-lib/index-97081729.mjs.map +1 -0
- package/dist-lib/index-9dec931e.mjs +145 -0
- package/dist-lib/index-9dec931e.mjs.map +1 -0
- package/dist-lib/index-9fc40c89.mjs +298 -0
- package/dist-lib/index-9fc40c89.mjs.map +1 -0
- package/dist-lib/index-a57664c9.mjs +204 -0
- package/dist-lib/index-a57664c9.mjs.map +1 -0
- package/dist-lib/index-a83288bf.mjs +180 -0
- package/dist-lib/index-a83288bf.mjs.map +1 -0
- package/dist-lib/index-adf15a9e.mjs +392 -0
- package/dist-lib/index-adf15a9e.mjs.map +1 -0
- package/dist-lib/index-b5b20206.mjs +617 -0
- package/dist-lib/index-b5b20206.mjs.map +1 -0
- package/dist-lib/index-b6f446cf.mjs +92 -0
- package/dist-lib/index-b6f446cf.mjs.map +1 -0
- package/dist-lib/index-b9e3947c.mjs +156 -0
- package/dist-lib/index-b9e3947c.mjs.map +1 -0
- package/dist-lib/index-bde150fa.mjs +261 -0
- package/dist-lib/index-bde150fa.mjs.map +1 -0
- package/dist-lib/index-be097ef0.mjs +188 -0
- package/dist-lib/index-be097ef0.mjs.map +1 -0
- package/dist-lib/index-bff033bc.mjs +563 -0
- package/dist-lib/index-bff033bc.mjs.map +1 -0
- package/dist-lib/index-c4d74c6c.mjs +258 -0
- package/dist-lib/index-c4d74c6c.mjs.map +1 -0
- package/dist-lib/index-c708e214.mjs +96 -0
- package/dist-lib/index-c708e214.mjs.map +1 -0
- package/dist-lib/index-d936d570.mjs +191 -0
- package/dist-lib/index-d936d570.mjs.map +1 -0
- package/dist-lib/index-da857153.mjs +223 -0
- package/dist-lib/index-da857153.mjs.map +1 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-0eb8f454.mjs +136 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-0eb8f454.mjs.map +1 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-10a915e2.mjs +137 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-10a915e2.mjs.map +1 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-570dd942.mjs +131 -0
- package/dist-lib/index.vue_vue_type_script_setup_true_lang-570dd942.mjs.map +1 -0
- package/dist-lib/interfaceOauth-bb8e782e.mjs +40 -0
- package/dist-lib/interfaceOauth-bb8e782e.mjs.map +1 -0
- package/dist-lib/preview-e588e33c.mjs +194 -0
- package/dist-lib/preview-e588e33c.mjs.map +1 -0
- package/dist-lib/resource/emoji/100.gif +0 -0
- package/dist-lib/resource/emoji/101.gif +0 -0
- package/dist-lib/resource/emoji/102.gif +0 -0
- package/dist-lib/resource/emoji/103.gif +0 -0
- package/dist-lib/resource/emoji/104.gif +0 -0
- package/dist-lib/resource/emoji/105.gif +0 -0
- package/dist-lib/resource/emoji/106.gif +0 -0
- package/dist-lib/resource/emoji/107.gif +0 -0
- package/dist-lib/resource/emoji/108.gif +0 -0
- package/dist-lib/resource/emoji/109.gif +0 -0
- package/dist-lib/resource/emoji/110.gif +0 -0
- package/dist-lib/resource/emoji/111.gif +0 -0
- package/dist-lib/resource/emoji/112.gif +0 -0
- package/dist-lib/resource/emoji/113.gif +0 -0
- package/dist-lib/resource/emoji/114.gif +0 -0
- package/dist-lib/resource/emoji/115.gif +0 -0
- package/dist-lib/resource/emoji/116.gif +0 -0
- package/dist-lib/resource/emoji/117.gif +0 -0
- package/dist-lib/resource/emoji/118.gif +0 -0
- package/dist-lib/resource/emoji/119.gif +0 -0
- package/dist-lib/resource/emoji/120.gif +0 -0
- package/dist-lib/resource/emoji/121.gif +0 -0
- package/dist-lib/resource/emoji/122.gif +0 -0
- package/dist-lib/resource/emoji/123.gif +0 -0
- package/dist-lib/resource/emoji/124.gif +0 -0
- package/dist-lib/resource/emoji/125.gif +0 -0
- package/dist-lib/resource/emoji/126.gif +0 -0
- package/dist-lib/resource/emoji/127.gif +0 -0
- package/dist-lib/resource/emoji/128.gif +0 -0
- package/dist-lib/resource/emoji/129.gif +0 -0
- package/dist-lib/resource/emoji/130.gif +0 -0
- package/dist-lib/resource/emoji/131.gif +0 -0
- package/dist-lib/resource/emoji/132.gif +0 -0
- package/dist-lib/resource/emoji/133.gif +0 -0
- package/dist-lib/resource/emoji/134.gif +0 -0
- package/dist-lib/resource/emoji/135.gif +0 -0
- package/dist-lib/resource/emoji/136.gif +0 -0
- package/dist-lib/resource/emoji/137.gif +0 -0
- package/dist-lib/resource/emoji/138.gif +0 -0
- package/dist-lib/resource/emoji/139.gif +0 -0
- package/dist-lib/resource/emoji/140.gif +0 -0
- package/dist-lib/resource/emoji/141.gif +0 -0
- package/dist-lib/resource/emoji/142.gif +0 -0
- package/dist-lib/resource/emoji/143.gif +0 -0
- package/dist-lib/resource/emoji/144.gif +0 -0
- package/dist-lib/resource/emoji/145.gif +0 -0
- package/dist-lib/resource/emoji/146.gif +0 -0
- package/dist-lib/resource/emoji/147.gif +0 -0
- package/dist-lib/resource/emoji/148.gif +0 -0
- package/dist-lib/resource/emoji/149.gif +0 -0
- package/dist-lib/resource/emoji/150.gif +0 -0
- package/dist-lib/resource/emoji/151.gif +0 -0
- package/dist-lib/resource/emoji/152.gif +0 -0
- package/dist-lib/resource/emoji/153.gif +0 -0
- package/dist-lib/resource/emoji/154.gif +0 -0
- package/dist-lib/resource/emoji/155.gif +0 -0
- package/dist-lib/resource/emoji/156.gif +0 -0
- package/dist-lib/resource/emoji/157.gif +0 -0
- package/dist-lib/resource/emoji/158.gif +0 -0
- package/dist-lib/resource/emoji/159.gif +0 -0
- package/dist-lib/resource/emoji/160.gif +0 -0
- package/dist-lib/resource/emoji/161.gif +0 -0
- package/dist-lib/resource/emoji/162.gif +0 -0
- package/dist-lib/resource/emoji/163.gif +0 -0
- package/dist-lib/resource/emoji/164.gif +0 -0
- package/dist-lib/resource/emoji/165.gif +0 -0
- package/dist-lib/resource/emoji/166.gif +0 -0
- package/dist-lib/resource/emoji/167.gif +0 -0
- package/dist-lib/resource/emoji/168.gif +0 -0
- package/dist-lib/resource/emoji/169.gif +0 -0
- package/dist-lib/resource/emoji/170.gif +0 -0
- package/dist-lib/resource/emoji/171.gif +0 -0
- package/dist-lib/resource/emoji/172.gif +0 -0
- package/dist-lib/resource/emoji/173.gif +0 -0
- package/dist-lib/resource/emoji/174.gif +0 -0
- package/dist-lib/resource/emoji/175.gif +0 -0
- package/dist-lib/resource/emoji/176.gif +0 -0
- package/dist-lib/resource/emoji/177.gif +0 -0
- package/dist-lib/resource/emoji/178.gif +0 -0
- package/dist-lib/resource/emoji/179.gif +0 -0
- package/dist-lib/resource/emoji/180.gif +0 -0
- package/dist-lib/resource/emoji/181.gif +0 -0
- package/dist-lib/resource/emoji/182.gif +0 -0
- package/dist-lib/resource/emoji/183.gif +0 -0
- package/dist-lib/resource/emoji/184.gif +0 -0
- package/dist-lib/resource/emoji/185.gif +0 -0
- package/dist-lib/resource/emoji/186.gif +0 -0
- package/dist-lib/resource/emoji/187.gif +0 -0
- package/dist-lib/resource/emoji/188.gif +0 -0
- package/dist-lib/resource/emoji/189.gif +0 -0
- package/dist-lib/resource/emoji/190.gif +0 -0
- package/dist-lib/resource/emoji/191.gif +0 -0
- package/dist-lib/resource/emoji/192.gif +0 -0
- package/dist-lib/resource/emoji/193.gif +0 -0
- package/dist-lib/resource/emoji/194.gif +0 -0
- package/dist-lib/resource/emoji/195.gif +0 -0
- package/dist-lib/resource/emoji/196.gif +0 -0
- package/dist-lib/resource/emoji/197.gif +0 -0
- package/dist-lib/resource/emoji/198.gif +0 -0
- package/dist-lib/resource/emoji/199.gif +0 -0
- package/dist-lib/resource/emoji/200.png +0 -0
- package/dist-lib/resource/emoji/201.png +0 -0
- package/dist-lib/resource/emoji/202.png +0 -0
- package/dist-lib/resource/emoji/203.png +0 -0
- package/dist-lib/resource/emoji/204.png +0 -0
- package/dist-lib/resource/emoji/205.png +0 -0
- package/dist-lib/resource/emoji/206.png +0 -0
- package/dist-lib/resource/emoji/207.png +0 -0
- package/dist-lib/resource/emoji/208.png +0 -0
- package/dist-lib/resource/emoji/209.png +0 -0
- package/dist-lib/resource/emoji/210.png +0 -0
- package/dist-lib/resource/emoji/211.png +0 -0
- package/dist-lib/resource/emoji/212.png +0 -0
- package/dist-lib/resource/emoji/213.png +0 -0
- package/dist-lib/resource/emoji/214.png +0 -0
- package/dist-lib/resource/emoji/215.png +0 -0
- package/dist-lib/resource/emoji/216.png +0 -0
- package/dist-lib/resource/emoji/217.png +0 -0
- package/dist-lib/resource/emoji/218.png +0 -0
- package/dist-lib/resource/emoji/219.png +0 -0
- package/dist-lib/resource/img/logo.png +0 -0
- package/dist-lib/resource/img/pwa-192x192.png +0 -0
- package/dist-lib/resource/img/pwa-512x512.png +0 -0
- package/dist-lib/resource/tinymce/langs/en.js +419 -0
- package/dist-lib/resource/tinymce/langs/zh_CN.js +389 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/content.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/skin.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
- package/dist-lib/resource/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
- package/dist-lib/useCommon-36969e5f.mjs +110 -0
- package/dist-lib/useCommon-36969e5f.mjs.map +1 -0
- package/dist-lib/useECharts-bb3ba984.mjs +77 -0
- package/dist-lib/useECharts-bb3ba984.mjs.map +1 -0
- package/dist-lib/useTable-99fc521a.mjs +172 -0
- package/dist-lib/useTable-99fc521a.mjs.map +1 -0
- package/dist-lib/zh_CN-5eabc04b.mjs +772 -0
- package/dist-lib/zh_CN-5eabc04b.mjs.map +1 -0
- package/dist-lib/zh_TW-ef5c69c0.mjs +774 -0
- package/dist-lib/zh_TW-ef5c69c0.mjs.map +1 -0
- package/package.json +247 -0
- package/src/components/PortalPreview/__tests__/index.spec.ts +258 -0
- package/src/components/PortalPreview/fonts/ym/iconfont.css +2419 -0
- package/src/components/PortalPreview/fonts/ym/iconfont.ttf +0 -0
- package/src/components/PortalPreview/fonts/ym/iconfont.woff +0 -0
- package/src/components/PortalPreview/fonts/ym/iconfont.woff2 +0 -0
- package/src/components/PortalPreview/fonts/ym-custom/iconfont.css +7203 -0
- package/src/components/PortalPreview/fonts/ym-custom/iconfont.ttf +0 -0
- package/src/components/PortalPreview/fonts/ym-custom/iconfont.woff +0 -0
- package/src/components/PortalPreview/fonts/ym-custom/iconfont.woff2 +0 -0
- package/src/components/PortalPreview/index.ts +31 -0
- package/src/components/PortalPreview/index.vue +329 -0
- package/src/components/PortalPreview/style/overrides.css +15 -0
- package/src/components/PortalPreview/types.ts +61 -0
|
@@ -0,0 +1,226 @@
|
|
|
1
|
+
import { defineComponent as S, resolveComponent as g, openBlock as e, createBlock as y, createSlots as $, withCtx as m, createElementVNode as l, normalizeClass as b, unref as o, createElementBlock as n, Fragment as s, renderList as E, toDisplayString as a, createVNode as h, createTextVNode as B } from "vue";
|
|
2
|
+
import { u as L } from "./useCommon-36969e5f.mjs";
|
|
3
|
+
import { aQ as O, aT as V, _ as j } from "./index-5b8b1ba9.mjs";
|
|
4
|
+
import "lodash-es";
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import "vue-i18n";
|
|
7
|
+
import "pinia";
|
|
8
|
+
import "crypto-js/aes";
|
|
9
|
+
import "crypto-js/enc-utf8";
|
|
10
|
+
import "crypto-js/pad-pkcs7";
|
|
11
|
+
import "crypto-js/mode-ecb";
|
|
12
|
+
import "crypto-js/md5";
|
|
13
|
+
import "crypto-js/enc-base64";
|
|
14
|
+
import "crypto-js/enc-hex";
|
|
15
|
+
import "dayjs";
|
|
16
|
+
import "@vueuse/core";
|
|
17
|
+
import "vue-router";
|
|
18
|
+
import "axios";
|
|
19
|
+
import "@ant-design/icons-vue";
|
|
20
|
+
import "@ant-design/colors";
|
|
21
|
+
import "@iconify/iconify";
|
|
22
|
+
import "vue-types";
|
|
23
|
+
import "@firefly-plus/icons-vue";
|
|
24
|
+
import "qrcode";
|
|
25
|
+
import "vue-simple-uploader";
|
|
26
|
+
import "spark-md5";
|
|
27
|
+
import "vue-simple-uploader/dist/style.css";
|
|
28
|
+
import "tinymce/tinymce";
|
|
29
|
+
import "tinymce/themes/silver";
|
|
30
|
+
import "tinymce/icons/default/icons";
|
|
31
|
+
import "tinymce/plugins/advlist";
|
|
32
|
+
import "tinymce/plugins/anchor";
|
|
33
|
+
import "tinymce/plugins/autolink";
|
|
34
|
+
import "tinymce/plugins/autosave";
|
|
35
|
+
import "tinymce/plugins/code";
|
|
36
|
+
import "tinymce/plugins/codesample";
|
|
37
|
+
import "tinymce/plugins/directionality";
|
|
38
|
+
import "tinymce/plugins/fullscreen";
|
|
39
|
+
import "tinymce/plugins/hr";
|
|
40
|
+
import "tinymce/plugins/insertdatetime";
|
|
41
|
+
import "tinymce/plugins/link";
|
|
42
|
+
import "tinymce/plugins/lists";
|
|
43
|
+
import "tinymce/plugins/media";
|
|
44
|
+
import "tinymce/plugins/nonbreaking";
|
|
45
|
+
import "tinymce/plugins/noneditable";
|
|
46
|
+
import "tinymce/plugins/pagebreak";
|
|
47
|
+
import "tinymce/plugins/paste";
|
|
48
|
+
import "tinymce/plugins/preview";
|
|
49
|
+
import "tinymce/plugins/print";
|
|
50
|
+
import "tinymce/plugins/save";
|
|
51
|
+
import "tinymce/plugins/searchreplace";
|
|
52
|
+
import "tinymce/plugins/spellchecker";
|
|
53
|
+
import "tinymce/plugins/tabfocus";
|
|
54
|
+
import "tinymce/plugins/table";
|
|
55
|
+
import "tinymce/plugins/template";
|
|
56
|
+
import "tinymce/plugins/textpattern";
|
|
57
|
+
import "tinymce/plugins/visualblocks";
|
|
58
|
+
import "tinymce/plugins/visualchars";
|
|
59
|
+
import "tinymce/plugins/wordcount";
|
|
60
|
+
import "tinymce/plugins/image";
|
|
61
|
+
import "tinymce/plugins/charmap";
|
|
62
|
+
import "tinymce/plugins/imagetools";
|
|
63
|
+
import "tinymce/plugins/help";
|
|
64
|
+
import "tinymce/plugins/quickbars";
|
|
65
|
+
import "tinymce/plugins/importcss";
|
|
66
|
+
import "tinymce/plugins/toc";
|
|
67
|
+
import "tinymce/plugins/emoticons";
|
|
68
|
+
import "sortablejs";
|
|
69
|
+
import "codemirror";
|
|
70
|
+
import "codemirror/theme/idea.css";
|
|
71
|
+
import "codemirror/theme/material-palenight.css";
|
|
72
|
+
import "codemirror/mode/javascript/javascript";
|
|
73
|
+
import "codemirror/mode/css/css";
|
|
74
|
+
import "codemirror/mode/htmlmixed/htmlmixed";
|
|
75
|
+
import "monaco-editor/esm/vs/language/json/json.worker?worker";
|
|
76
|
+
import "monaco-editor/esm/vs/language/css/css.worker?worker";
|
|
77
|
+
import "monaco-editor/esm/vs/language/html/html.worker?worker";
|
|
78
|
+
import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
|
|
79
|
+
import "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
80
|
+
import "monaco-editor";
|
|
81
|
+
import "vue-json-pretty";
|
|
82
|
+
import "vue-json-pretty/lib/styles.css";
|
|
83
|
+
import "firefly-plus-components";
|
|
84
|
+
import "vuedraggable";
|
|
85
|
+
import "uuid";
|
|
86
|
+
import "element-plus";
|
|
87
|
+
import "firefly-plus-components/index.css";
|
|
88
|
+
import "element-plus/dist/index.css";
|
|
89
|
+
import "vue-grid-layout";
|
|
90
|
+
const F = { class: "timestamp" }, I = { class: "timestamp" }, J = { class: "timestamp" }, z = { class: "timestamp" }, G = {
|
|
91
|
+
key: 1,
|
|
92
|
+
class: "portal-common-noData"
|
|
93
|
+
}, H = /* @__PURE__ */ S({
|
|
94
|
+
__name: "index",
|
|
95
|
+
props: ["activeData"],
|
|
96
|
+
setup(v) {
|
|
97
|
+
const c = v, { CardHeader: N, timeList: k, getOption: i } = L(c.activeData), T = O();
|
|
98
|
+
function w(r) {
|
|
99
|
+
if (r == 1)
|
|
100
|
+
return "alternate";
|
|
101
|
+
if (r == 2)
|
|
102
|
+
return "alternate-reverse";
|
|
103
|
+
if (r == 3)
|
|
104
|
+
return "end";
|
|
105
|
+
if (r == 4)
|
|
106
|
+
return "start";
|
|
107
|
+
}
|
|
108
|
+
function C(r) {
|
|
109
|
+
var p;
|
|
110
|
+
return r == 0 ? "#3ED538" : ((p = k.value) == null ? void 0 : p.length) - 1 == r ? "#1990FA" : "#E4E7ED";
|
|
111
|
+
}
|
|
112
|
+
function D(r) {
|
|
113
|
+
var u;
|
|
114
|
+
if (!((u = c.activeData.option) != null && u.urlAddress))
|
|
115
|
+
return;
|
|
116
|
+
let p = JSON.parse(JSON.stringify(c.activeData.option.urlAddress));
|
|
117
|
+
const d = /\${[^{}]+}/g;
|
|
118
|
+
p = p.replace(d, (_) => {
|
|
119
|
+
const x = _.slice(2, -1);
|
|
120
|
+
let t = "";
|
|
121
|
+
return x == "name" && (t = r.content), x == "timestamp" && (t = r.timestamp), t || _;
|
|
122
|
+
}), c.activeData.option.target == "_self" ? T(`/externalLink?href=${encodeURIComponent(V(p))}`) : window.open(p, c.activeData.option.target);
|
|
123
|
+
}
|
|
124
|
+
return (r, p) => {
|
|
125
|
+
const d = g("el-card"), u = g("el-timeline-item"), _ = g("el-timeline"), x = g("jnpf-empty");
|
|
126
|
+
return e(), y(d, { class: "portal-card-box" }, $({
|
|
127
|
+
default: m(() => [
|
|
128
|
+
l("div", {
|
|
129
|
+
class: b(["portal-card-body portal-card-timeline", { "portal-card-timeline-vertical": o(i).layout > 4 }])
|
|
130
|
+
}, [
|
|
131
|
+
o(k).length ? (e(), n(s, { key: 0 }, [
|
|
132
|
+
o(i).layout <= 4 ? (e(), y(_, {
|
|
133
|
+
key: 0,
|
|
134
|
+
mode: w(o(i).layout)
|
|
135
|
+
}, {
|
|
136
|
+
default: m(() => [
|
|
137
|
+
(e(!0), n(s, null, E(o(k), (t, f) => (e(), y(u, {
|
|
138
|
+
key: f,
|
|
139
|
+
color: C(f),
|
|
140
|
+
onClick: (A) => D(t)
|
|
141
|
+
}, {
|
|
142
|
+
default: m(() => [
|
|
143
|
+
o(i).styleType == 1 ? (e(), n(s, { key: 0 }, [
|
|
144
|
+
l("p", F, a(t.timestamp), 1),
|
|
145
|
+
l("p", null, a(t.content), 1)
|
|
146
|
+
], 64)) : (e(), n(s, { key: 1 }, [
|
|
147
|
+
l("p", I, a(t.timestamp), 1),
|
|
148
|
+
h(d, {
|
|
149
|
+
class: "!p-[10px] !mt-[5px]",
|
|
150
|
+
shadow: "never"
|
|
151
|
+
}, {
|
|
152
|
+
default: m(() => [
|
|
153
|
+
B(a(t.content), 1)
|
|
154
|
+
]),
|
|
155
|
+
_: 2
|
|
156
|
+
}, 1024)
|
|
157
|
+
], 64))
|
|
158
|
+
]),
|
|
159
|
+
_: 2
|
|
160
|
+
}, 1032, ["color", "onClick"]))), 128))
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}, 8, ["mode"])) : (e(), y(_, {
|
|
164
|
+
key: 1,
|
|
165
|
+
class: b(["timeline-top-bottom", {
|
|
166
|
+
"timeline-top": o(i).layout == 5,
|
|
167
|
+
"timeline-bottom": o(i).layout == 6,
|
|
168
|
+
"timeline-bottom-box": o(i).layout == 7,
|
|
169
|
+
"timeline-top-box": o(i).layout == 8,
|
|
170
|
+
"card-timeline-box": o(i).styleType == 2
|
|
171
|
+
}])
|
|
172
|
+
}, {
|
|
173
|
+
default: m(() => [
|
|
174
|
+
(e(!0), n(s, null, E(o(k), (t, f) => (e(), y(u, {
|
|
175
|
+
key: f,
|
|
176
|
+
color: C(f),
|
|
177
|
+
onClick: (A) => D(t)
|
|
178
|
+
}, {
|
|
179
|
+
default: m(() => [
|
|
180
|
+
o(i).styleType == 1 ? (e(), n(s, { key: 0 }, [
|
|
181
|
+
l("p", J, a(t.timestamp), 1),
|
|
182
|
+
l("p", null, a(t.content), 1)
|
|
183
|
+
], 64)) : (e(), n(s, { key: 1 }, [
|
|
184
|
+
l("p", z, a(t.timestamp), 1),
|
|
185
|
+
h(d, {
|
|
186
|
+
class: "!p-[10px] !mt-[5px]",
|
|
187
|
+
shadow: "never"
|
|
188
|
+
}, {
|
|
189
|
+
default: m(() => [
|
|
190
|
+
B(a(t.content), 1)
|
|
191
|
+
]),
|
|
192
|
+
_: 2
|
|
193
|
+
}, 1024)
|
|
194
|
+
], 64))
|
|
195
|
+
]),
|
|
196
|
+
_: 2
|
|
197
|
+
}, 1032, ["color", "onClick"]))), 128))
|
|
198
|
+
]),
|
|
199
|
+
_: 1
|
|
200
|
+
}, 8, ["class"]))
|
|
201
|
+
], 64)) : (e(), n("div", G, [
|
|
202
|
+
h(x)
|
|
203
|
+
]))
|
|
204
|
+
], 2)
|
|
205
|
+
]),
|
|
206
|
+
_: 2
|
|
207
|
+
}, [
|
|
208
|
+
v.activeData.title ? {
|
|
209
|
+
name: "header",
|
|
210
|
+
fn: m(() => [
|
|
211
|
+
h(o(N), {
|
|
212
|
+
title: v.activeData.title,
|
|
213
|
+
card: v.activeData.card
|
|
214
|
+
}, null, 8, ["title", "card"])
|
|
215
|
+
]),
|
|
216
|
+
key: "0"
|
|
217
|
+
} : void 0
|
|
218
|
+
]), 1024);
|
|
219
|
+
};
|
|
220
|
+
}
|
|
221
|
+
});
|
|
222
|
+
const Eo = /* @__PURE__ */ j(H, [["__scopeId", "data-v-690b736d"]]);
|
|
223
|
+
export {
|
|
224
|
+
Eo as default
|
|
225
|
+
};
|
|
226
|
+
//# sourceMappingURL=index-5888a3a4.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-5888a3a4.mjs","sources":["../src/components/VisualPortal/Portal/HTimeAxis/index.vue"],"sourcesContent":["<template>\r\n <el-card class=\"portal-card-box\">\r\n <template #header v-if=\"activeData.title\">\r\n <CardHeader :title=\"activeData.title\" :card=\"activeData.card\" />\r\n </template>\r\n <div class=\"portal-card-body portal-card-timeline\" :class=\"{ 'portal-card-timeline-vertical': getOption.layout > 4 }\">\r\n <template v-if=\"timeList.length\">\r\n <el-timeline v-if=\"getOption.layout <= 4\" :mode=\"getMode(getOption.layout)\">\r\n <el-timeline-item v-for=\"(item, index) in timeList\" :key=\"index\" :color=\"getColor(index)\" @click=\"handleClick(item)\">\r\n <template v-if=\"getOption.styleType == 1\">\r\n <p class=\"timestamp\">{{ item.timestamp }}</p>\r\n <p>{{ item.content }}</p>\r\n </template>\r\n <template v-else>\r\n <p class=\"timestamp\">{{ item.timestamp }}</p>\r\n <el-card class=\"!p-[10px] !mt-[5px]\" shadow=\"never\">\r\n {{ item.content }}\r\n </el-card>\r\n </template>\r\n </el-timeline-item>\r\n </el-timeline>\r\n <el-timeline\r\n class=\"timeline-top-bottom\"\r\n :class=\"{\r\n 'timeline-top': getOption.layout == 5,\r\n 'timeline-bottom': getOption.layout == 6,\r\n 'timeline-bottom-box': getOption.layout == 7,\r\n 'timeline-top-box': getOption.layout == 8,\r\n 'card-timeline-box': getOption.styleType == 2,\r\n }\"\r\n v-else>\r\n <el-timeline-item v-for=\"(item, index) in timeList\" :key=\"index\" :color=\"getColor(index)\" @click=\"handleClick(item)\">\r\n <template v-if=\"getOption.styleType == 1\">\r\n <p class=\"timestamp\">{{ item.timestamp }}</p>\r\n <p>{{ item.content }}</p>\r\n </template>\r\n <template v-else>\r\n <p class=\"timestamp\">{{ item.timestamp }}</p>\r\n <el-card class=\"!p-[10px] !mt-[5px]\" shadow=\"never\">\r\n {{ item.content }}\r\n </el-card>\r\n </template>\r\n </el-timeline-item>\r\n </el-timeline>\r\n </template>\r\n <div class=\"portal-common-noData\" v-else>\r\n <jnpf-empty />\r\n </div>\r\n </div>\r\n </el-card>\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import { useCommon } from '../../Design/hooks/useCommon';\r\n import { useGo } from '@/hooks/web/usePage';\r\n import { encryptByBase64 } from '@/utils/cipher';\r\n\r\n const props = defineProps(['activeData']);\r\n const { CardHeader, timeList, getOption } = useCommon(props.activeData);\r\n const go = useGo();\r\n\r\n function getMode(layout) {\r\n if (layout == 1) return 'alternate';\r\n if (layout == 2) return 'alternate-reverse';\r\n if (layout == 3) return 'end';\r\n if (layout == 4) return 'start';\r\n }\r\n function getColor(index) {\r\n if (index == 0) return '#3ED538';\r\n if (timeList.value?.length - 1 == index) return '#1990FA';\r\n return '#E4E7ED';\r\n }\r\n function handleClick(row) {\r\n if (!props.activeData.option?.urlAddress) return;\r\n let urlAddress = JSON.parse(JSON.stringify(props.activeData.option.urlAddress));\r\n const regex = /\\${[^{}]+}/g;\r\n urlAddress = urlAddress.replace(regex, match => {\r\n const key = match.slice(2, -1);\r\n let value = '';\r\n if (key == 'name') value = row['content'];\r\n if (key == 'timestamp') value = row['timestamp'];\r\n return value || match;\r\n });\r\n if (props.activeData.option.target == '_self') {\r\n go(`/externalLink?href=${encodeURIComponent(encryptByBase64(urlAddress))}`);\r\n } else {\r\n window.open(urlAddress, props.activeData.option.target);\r\n }\r\n }\r\n</script>\r\n<style lang=\"less\" scoped>\r\n .portal-card-timeline {\r\n :deep(.el-timeline) {\r\n padding-left: 0;\r\n }\r\n .timestamp {\r\n color: @text-color-secondary;\r\n }\r\n }\r\n .portal-card-timeline-vertical {\r\n display: flex;\r\n align-items: center;\r\n /* 水平时间轴基础样式 */\r\n :deep(.el-timeline) {\r\n display: flex;\r\n width: 100%;\r\n white-space: nowrap;\r\n .el-timeline-item {\r\n position: relative;\r\n padding-right: 20px;\r\n .el-timeline-item__tail {\r\n position: absolute;\r\n top: calc(50% - 2px);\r\n left: 0;\r\n width: 100%;\r\n height: 0;\r\n border-left: none;\r\n border-top: 2px solid #e4e7ed;\r\n }\r\n .el-timeline-item__node {\r\n position: absolute;\r\n top: calc(50% - 7px);\r\n }\r\n .el-timeline-item__wrapper {\r\n top: 0;\r\n padding-left: 0;\r\n }\r\n .el-timeline-item__content {\r\n position: relative;\r\n }\r\n }\r\n .el-timeline-item:last-child {\r\n .el-timeline-item__tail {\r\n display: block;\r\n }\r\n }\r\n }\r\n .timeline-top {\r\n :deep(.el-timeline-item:nth-of-type(even)) {\r\n .el-timeline-item__content {\r\n top: 40px;\r\n }\r\n }\r\n :deep(.el-timeline-item:nth-of-type(odd)) {\r\n .el-timeline-item__content {\r\n top: -24px;\r\n }\r\n }\r\n }\r\n .timeline-bottom {\r\n :deep(.el-timeline-item:nth-of-type(even)) {\r\n .el-timeline-item__content {\r\n top: -24px;\r\n }\r\n }\r\n :deep(.el-timeline-item:nth-of-type(odd)) {\r\n .el-timeline-item__content {\r\n top: 40px;\r\n }\r\n }\r\n }\r\n .timeline-top-box {\r\n display: flex;\r\n white-space: nowrap;\r\n :deep(.el-timeline-item__tail) {\r\n width: 100%;\r\n left: unset;\r\n top: 4px;\r\n border-left: unset;\r\n border-top: 2px solid #e4e7ed;\r\n }\r\n :deep(.el-timeline-item__node) {\r\n top: -1px;\r\n bottom: unset;\r\n }\r\n :deep(.el-timeline-item__wrapper) {\r\n padding-left: 0;\r\n }\r\n :deep(.el-timeline-item__content) {\r\n padding: 20px 20px 0 0;\r\n }\r\n }\r\n .timeline-bottom-box {\r\n display: flex;\r\n white-space: nowrap;\r\n margin-bottom: 43px;\r\n :deep(.el-timeline-item) {\r\n padding-bottom: 10px;\r\n }\r\n :deep(.el-timeline-item__tail) {\r\n width: 100%;\r\n top: unset;\r\n bottom: 4px;\r\n border-left: unset;\r\n border-top: unset;\r\n border-bottom: 2px solid #e4e7ed;\r\n }\r\n :deep(.el-timeline-item__node) {\r\n top: unset;\r\n bottom: -1px;\r\n }\r\n :deep(.el-timeline-item__wrapper) {\r\n padding-left: 0;\r\n }\r\n :deep(.el-timeline-item__content) {\r\n padding: 20px 20px 0 0;\r\n }\r\n }\r\n .card-timeline-box {\r\n &.timeline-top {\r\n :deep(.el-timeline-item:nth-of-type(even)) {\r\n .el-timeline-item__content {\r\n top: 55px;\r\n }\r\n }\r\n :deep(.el-timeline-item:nth-of-type(odd)) {\r\n .el-timeline-item__content {\r\n top: -42px;\r\n }\r\n }\r\n }\r\n\r\n &.timeline-bottom {\r\n :deep(.el-timeline-item:nth-of-type(even)) {\r\n .el-timeline-item__content {\r\n top: -42px;\r\n }\r\n }\r\n :deep(.el-timeline-item:nth-of-type(odd)) {\r\n .el-timeline-item__content {\r\n top: 55px;\r\n }\r\n }\r\n }\r\n }\r\n }\r\n</style>\r\n"],"names":["props","__props","CardHeader","timeList","getOption","useCommon","go","useGo","getMode","layout","getColor","index","_a","handleClick","row","urlAddress","regex","match","key","value","encryptByBase64"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAwDE,UAAMA,IAAQC,GACR,EAAE,YAAAC,GAAY,UAAAC,GAAU,WAAAC,EAAc,IAAAC,EAAUL,EAAM,UAAU,GAChEM,IAAKC;AAEX,aAASC,EAAQC,GAAQ;AACvB,UAAIA,KAAU;AAAU,eAAA;AACxB,UAAIA,KAAU;AAAU,eAAA;AACxB,UAAIA,KAAU;AAAU,eAAA;AACxB,UAAIA,KAAU;AAAU,eAAA;AAAA,IAC1B;AACA,aAASC,EAASC,GAAO;;AACvB,aAAIA,KAAS,IAAU,cACnBC,IAAAT,EAAS,UAAT,gBAAAS,EAAgB,UAAS,KAAKD,IAAc,YACzC;AAAA,IACT;AACA,aAASE,EAAYC,GAAK;;AACpB,UAAA,GAACF,IAAAZ,EAAM,WAAW,WAAjB,QAAAY,EAAyB;AAAY;AACtC,UAAAG,IAAa,KAAK,MAAM,KAAK,UAAUf,EAAM,WAAW,OAAO,UAAU,CAAC;AAC9E,YAAMgB,IAAQ;AACD,MAAAD,IAAAA,EAAW,QAAQC,GAAO,CAASC,MAAA;AAC9C,cAAMC,IAAMD,EAAM,MAAM,GAAG,EAAE;AAC7B,YAAIE,IAAQ;AACZ,eAAID,KAAO,WAAQC,IAAQL,EAAI,UAC3BI,KAAO,gBAAaC,IAAQL,EAAI,YAC7BK,KAASF;AAAA,MAAA,CACjB,GACGjB,EAAM,WAAW,OAAO,UAAU,UACpCM,EAAG,sBAAsB,mBAAmBc,EAAgBL,CAAU,CAAC,CAAC,EAAE,IAE1E,OAAO,KAAKA,GAAYf,EAAM,WAAW,OAAO,MAAM;AAAA,IAE1D;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,179 @@
|
|
|
1
|
+
import { defineComponent as y, ref as f, computed as x, onMounted as g, resolveComponent as k, openBlock as e, createBlock as l, createSlots as h, withCtx as a, createElementVNode as p, createElementBlock as r, normalizeStyle as s, toDisplayString as S, createCommentVNode as b, createVNode as V, pushScopeId as T, popScopeId as C } from "vue";
|
|
2
|
+
import { _ } from "./emtryImg-85b013aa.mjs";
|
|
3
|
+
import { Z as w, aO as A, aP as F, aR as I, a0 as B, _ as J } from "./index-5b8b1ba9.mjs";
|
|
4
|
+
import "lodash-es";
|
|
5
|
+
import "ant-design-vue";
|
|
6
|
+
import "vue-i18n";
|
|
7
|
+
import "pinia";
|
|
8
|
+
import "crypto-js/aes";
|
|
9
|
+
import "crypto-js/enc-utf8";
|
|
10
|
+
import "crypto-js/pad-pkcs7";
|
|
11
|
+
import "crypto-js/mode-ecb";
|
|
12
|
+
import "crypto-js/md5";
|
|
13
|
+
import "crypto-js/enc-base64";
|
|
14
|
+
import "crypto-js/enc-hex";
|
|
15
|
+
import "dayjs";
|
|
16
|
+
import "@vueuse/core";
|
|
17
|
+
import "vue-router";
|
|
18
|
+
import "axios";
|
|
19
|
+
import "@ant-design/icons-vue";
|
|
20
|
+
import "@ant-design/colors";
|
|
21
|
+
import "@iconify/iconify";
|
|
22
|
+
import "vue-types";
|
|
23
|
+
import "@firefly-plus/icons-vue";
|
|
24
|
+
import "qrcode";
|
|
25
|
+
import "vue-simple-uploader";
|
|
26
|
+
import "spark-md5";
|
|
27
|
+
import "vue-simple-uploader/dist/style.css";
|
|
28
|
+
import "tinymce/tinymce";
|
|
29
|
+
import "tinymce/themes/silver";
|
|
30
|
+
import "tinymce/icons/default/icons";
|
|
31
|
+
import "tinymce/plugins/advlist";
|
|
32
|
+
import "tinymce/plugins/anchor";
|
|
33
|
+
import "tinymce/plugins/autolink";
|
|
34
|
+
import "tinymce/plugins/autosave";
|
|
35
|
+
import "tinymce/plugins/code";
|
|
36
|
+
import "tinymce/plugins/codesample";
|
|
37
|
+
import "tinymce/plugins/directionality";
|
|
38
|
+
import "tinymce/plugins/fullscreen";
|
|
39
|
+
import "tinymce/plugins/hr";
|
|
40
|
+
import "tinymce/plugins/insertdatetime";
|
|
41
|
+
import "tinymce/plugins/link";
|
|
42
|
+
import "tinymce/plugins/lists";
|
|
43
|
+
import "tinymce/plugins/media";
|
|
44
|
+
import "tinymce/plugins/nonbreaking";
|
|
45
|
+
import "tinymce/plugins/noneditable";
|
|
46
|
+
import "tinymce/plugins/pagebreak";
|
|
47
|
+
import "tinymce/plugins/paste";
|
|
48
|
+
import "tinymce/plugins/preview";
|
|
49
|
+
import "tinymce/plugins/print";
|
|
50
|
+
import "tinymce/plugins/save";
|
|
51
|
+
import "tinymce/plugins/searchreplace";
|
|
52
|
+
import "tinymce/plugins/spellchecker";
|
|
53
|
+
import "tinymce/plugins/tabfocus";
|
|
54
|
+
import "tinymce/plugins/table";
|
|
55
|
+
import "tinymce/plugins/template";
|
|
56
|
+
import "tinymce/plugins/textpattern";
|
|
57
|
+
import "tinymce/plugins/visualblocks";
|
|
58
|
+
import "tinymce/plugins/visualchars";
|
|
59
|
+
import "tinymce/plugins/wordcount";
|
|
60
|
+
import "tinymce/plugins/image";
|
|
61
|
+
import "tinymce/plugins/charmap";
|
|
62
|
+
import "tinymce/plugins/imagetools";
|
|
63
|
+
import "tinymce/plugins/help";
|
|
64
|
+
import "tinymce/plugins/quickbars";
|
|
65
|
+
import "tinymce/plugins/importcss";
|
|
66
|
+
import "tinymce/plugins/toc";
|
|
67
|
+
import "tinymce/plugins/emoticons";
|
|
68
|
+
import "sortablejs";
|
|
69
|
+
import "codemirror";
|
|
70
|
+
import "codemirror/theme/idea.css";
|
|
71
|
+
import "codemirror/theme/material-palenight.css";
|
|
72
|
+
import "codemirror/mode/javascript/javascript";
|
|
73
|
+
import "codemirror/mode/css/css";
|
|
74
|
+
import "codemirror/mode/htmlmixed/htmlmixed";
|
|
75
|
+
import "monaco-editor/esm/vs/language/json/json.worker?worker";
|
|
76
|
+
import "monaco-editor/esm/vs/language/css/css.worker?worker";
|
|
77
|
+
import "monaco-editor/esm/vs/language/html/html.worker?worker";
|
|
78
|
+
import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
|
|
79
|
+
import "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
80
|
+
import "monaco-editor";
|
|
81
|
+
import "vue-json-pretty";
|
|
82
|
+
import "vue-json-pretty/lib/styles.css";
|
|
83
|
+
import "firefly-plus-components";
|
|
84
|
+
import "vuedraggable";
|
|
85
|
+
import "uuid";
|
|
86
|
+
import "element-plus";
|
|
87
|
+
import "firefly-plus-components/index.css";
|
|
88
|
+
import "element-plus/dist/index.css";
|
|
89
|
+
import "vue-grid-layout";
|
|
90
|
+
const d = (t) => (T("data-v-0ade5e70"), t = t(), C(), t), z = { class: "portal-card-body" }, L = ["src"], N = {
|
|
91
|
+
key: 1,
|
|
92
|
+
class: "portal-common-noData"
|
|
93
|
+
}, E = /* @__PURE__ */ d(() => /* @__PURE__ */ p("img", {
|
|
94
|
+
src: _,
|
|
95
|
+
alt: "",
|
|
96
|
+
class: "noData-img"
|
|
97
|
+
}, null, -1)), P = /* @__PURE__ */ d(() => /* @__PURE__ */ p("p", { class: "noData-txt" }, "请配置图片", -1)), R = [
|
|
98
|
+
E,
|
|
99
|
+
P
|
|
100
|
+
], j = /* @__PURE__ */ y({
|
|
101
|
+
__name: "index",
|
|
102
|
+
props: ["activeData"],
|
|
103
|
+
setup(t) {
|
|
104
|
+
const o = t, m = f(), u = w(), n = x(() => {
|
|
105
|
+
m.value = +/* @__PURE__ */ new Date();
|
|
106
|
+
const i = o.activeData.option.defaultValue;
|
|
107
|
+
return o.activeData.option.styleType == 1 && i ? u.apiUrl + i : i;
|
|
108
|
+
});
|
|
109
|
+
function v() {
|
|
110
|
+
if (o.activeData.dataType === "dynamic") {
|
|
111
|
+
o.activeData.option.defaultValue = "";
|
|
112
|
+
const i = o.activeData.propsApi;
|
|
113
|
+
if (!i)
|
|
114
|
+
return;
|
|
115
|
+
I(o.activeData.templateJson), B(i).then((c) => {
|
|
116
|
+
o.activeData.option.defaultValue = c.data;
|
|
117
|
+
});
|
|
118
|
+
}
|
|
119
|
+
}
|
|
120
|
+
return g(() => v()), (i, c) => {
|
|
121
|
+
const D = k("el-card");
|
|
122
|
+
return e(), l(D, { class: "portal-card-box" }, h({
|
|
123
|
+
default: a(() => [
|
|
124
|
+
p("div", z, [
|
|
125
|
+
n.value ? (e(), l(A, {
|
|
126
|
+
key: 0,
|
|
127
|
+
class: "web-link",
|
|
128
|
+
linkType: t.activeData.option.linkType,
|
|
129
|
+
urlAddress: t.activeData.option.urlAddress,
|
|
130
|
+
linkTarget: t.activeData.option.linkTarget,
|
|
131
|
+
type: t.activeData.option.type,
|
|
132
|
+
propertyJson: t.activeData.option.propertyJson
|
|
133
|
+
}, {
|
|
134
|
+
default: a(() => [
|
|
135
|
+
(e(), r("img", {
|
|
136
|
+
class: "image",
|
|
137
|
+
key: m.value,
|
|
138
|
+
style: s({ "object-fit": t.activeData.option.imageFillStyle }),
|
|
139
|
+
src: n.value
|
|
140
|
+
}, null, 12, L)),
|
|
141
|
+
t.activeData.option.textDefaultValue ? (e(), r("div", {
|
|
142
|
+
key: 0,
|
|
143
|
+
class: "text-ellipsis bottom-text",
|
|
144
|
+
style: s({
|
|
145
|
+
color: t.activeData.option.textFontColor,
|
|
146
|
+
"font-size": t.activeData.option.textFontSize + "px",
|
|
147
|
+
"text-align": t.activeData.option.textLeft,
|
|
148
|
+
background: t.activeData.option.textBgColor,
|
|
149
|
+
"font-weight": t.activeData.option.textFontWeight ? "bolder" : "normal",
|
|
150
|
+
"font-style": t.activeData.option.textFontStyle ? "italic" : "",
|
|
151
|
+
"text-decoration": t.activeData.option.cardDecoration ? "underline" : "normal"
|
|
152
|
+
})
|
|
153
|
+
}, S(t.activeData.option.textDefaultValue), 5)) : b("", !0)
|
|
154
|
+
]),
|
|
155
|
+
_: 1
|
|
156
|
+
}, 8, ["linkType", "urlAddress", "linkTarget", "type", "propertyJson"])) : (e(), r("div", N, R))
|
|
157
|
+
])
|
|
158
|
+
]),
|
|
159
|
+
_: 2
|
|
160
|
+
}, [
|
|
161
|
+
t.activeData.title ? {
|
|
162
|
+
name: "header",
|
|
163
|
+
fn: a(() => [
|
|
164
|
+
V(F, {
|
|
165
|
+
title: t.activeData.title,
|
|
166
|
+
card: t.activeData.card
|
|
167
|
+
}, null, 8, ["title", "card"])
|
|
168
|
+
]),
|
|
169
|
+
key: "0"
|
|
170
|
+
} : void 0
|
|
171
|
+
]), 1024);
|
|
172
|
+
};
|
|
173
|
+
}
|
|
174
|
+
});
|
|
175
|
+
const bo = /* @__PURE__ */ J(j, [["__scopeId", "data-v-0ade5e70"]]);
|
|
176
|
+
export {
|
|
177
|
+
bo as default
|
|
178
|
+
};
|
|
179
|
+
//# sourceMappingURL=index-58fb457c.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-58fb457c.mjs","sources":["../src/components/VisualPortal/Portal/HImage/index.vue"],"sourcesContent":["<template>\r\n <el-card class=\"portal-card-box\">\r\n <template #header v-if=\"activeData.title\">\r\n <CardHeader :title=\"activeData.title\" :card=\"activeData.card\" />\r\n </template>\r\n <div class=\"portal-card-body\">\r\n <web-link\r\n class=\"web-link\"\r\n v-if=\"getValue\"\r\n :linkType=\"activeData.option.linkType\"\r\n :urlAddress=\"activeData.option.urlAddress\"\r\n :linkTarget=\"activeData.option.linkTarget\"\r\n :type=\"activeData.option.type\"\r\n :propertyJson=\"activeData.option.propertyJson\">\r\n <img class=\"image\" :key=\"key\" :style=\"{ 'object-fit': activeData.option.imageFillStyle }\" :src=\"getValue\" />\r\n <div\r\n class=\"text-ellipsis bottom-text\"\r\n v-if=\"activeData.option.textDefaultValue\"\r\n :style=\"{\r\n color: activeData.option.textFontColor,\r\n 'font-size': activeData.option.textFontSize + 'px',\r\n 'text-align': activeData.option.textLeft,\r\n background: activeData.option.textBgColor,\r\n 'font-weight': activeData.option.textFontWeight ? 'bolder' : 'normal',\r\n 'font-style': activeData.option.textFontStyle ? 'italic' : '',\r\n 'text-decoration': activeData.option.cardDecoration ? 'underline' : 'normal'\r\n }\"\r\n >{{ activeData.option.textDefaultValue }}\r\n </div>\r\n </web-link>\r\n <div class=\"portal-common-noData\" v-else>\r\n <img src=\"../../../../assets/images/emtryImg.png\" alt=\"\" class=\"noData-img\" />\r\n <p class=\"noData-txt\">请配置图片</p>\r\n </div>\r\n </div>\r\n </el-card>\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import { ref, onMounted, computed } from 'vue';\r\n import CardHeader from '../CardHeader/index.vue';\r\n import webLink from '../Link/index.vue';\r\n import { getDataInterfaceRes } from '@/api/systemData/dataInterface';\r\n import { useGlobSetting } from '@/hooks/setting';\r\n import { getParamList } from '@/utils/jnpf';\r\n\r\n const props = defineProps(['activeData']);\r\n const key = ref<any>();\r\n const globSetting = useGlobSetting();\r\n\r\n const getValue = computed(() => {\r\n key.value = +new Date();\r\n const val = props.activeData.option.defaultValue;\r\n if (props.activeData.option.styleType == 1 && val) return globSetting.apiUrl + val;\r\n return val;\r\n });\r\n\r\n function initData() {\r\n if (props.activeData.dataType === 'dynamic') {\r\n props.activeData.option.defaultValue = '';\r\n const propsApi = props.activeData.propsApi;\r\n if (!propsApi) return;\r\n const query = { paramList: getParamList(props.activeData.templateJson) };\r\n getDataInterfaceRes(propsApi, query).then(res => {\r\n props.activeData.option.defaultValue = res.data;\r\n });\r\n }\r\n }\r\n\r\n onMounted(() => initData());\r\n</script>\r\n<style lang=\"less\" scoped>\r\n .portal-card-body {\r\n height: 100%;\r\n .web-link,\r\n .image {\r\n width: 100%;\r\n height: 100%;\r\n }\r\n .bottom-text {\r\n position: absolute;\r\n width: 100%;\r\n height: 30px;\r\n line-height: 30px;\r\n bottom: 0;\r\n font-size: var(--plus-font-size-sm);\r\n background: #000;\r\n color: #fff;\r\n padding: 0 10px;\r\n }\r\n }\r\n :deep(.el-card__header) {\r\n padding:0;\r\n }\r\n :deep(.el-card__body) {\r\n padding:0;\r\n }\r\n</style>\r\n"],"names":["props","__props","key","ref","globSetting","useGlobSetting","getValue","computed","val","initData","propsApi","getParamList","getDataInterfaceRes","res","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA6CE,UAAMA,IAAQC,GACRC,IAAMC,KACNC,IAAcC,KAEdC,IAAWC,EAAS,MAAM;AAC1B,MAAAL,EAAA,QAAQ,CAAC,oBAAI;AACX,YAAAM,IAAMR,EAAM,WAAW,OAAO;AACpC,aAAIA,EAAM,WAAW,OAAO,aAAa,KAAKQ,IAAYJ,EAAY,SAASI,IACxEA;AAAA,IAAA,CACR;AAED,aAASC,IAAW;AACd,UAAAT,EAAM,WAAW,aAAa,WAAW;AACrC,QAAAA,EAAA,WAAW,OAAO,eAAe;AACjC,cAAAU,IAAWV,EAAM,WAAW;AAClC,YAAI,CAACU;AAAU;AACD,QAAaC,EAAaX,EAAM,WAAW,YAAY,GACrEY,EAAoBF,CAAe,EAAE,KAAK,CAAOG,MAAA;AACzC,UAAAb,EAAA,WAAW,OAAO,eAAea,EAAI;AAAA,QAAA,CAC5C;AAAA,MACH;AAAA,IACF;AAEU,WAAAC,EAAA,MAAML,GAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|