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,145 @@
|
|
|
1
|
+
import { defineComponent as h, ref as k, onMounted as D, resolveComponent as e, openBlock as t, createBlock as y, createSlots as x, withCtx as a, createElementVNode as n, createElementBlock as c, Fragment as g, renderList as C, createVNode as l, toDisplayString as s, unref as B } from "vue";
|
|
2
|
+
import { a_ as E, aP as N, a$ as b } 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 j = { class: "portal-card-body portal-card-email" }, L = { class: "name com-hover" }, S = { class: "time" }, T = {
|
|
90
|
+
key: 1,
|
|
91
|
+
class: "portal-common-noData"
|
|
92
|
+
}, _o = /* @__PURE__ */ h({
|
|
93
|
+
__name: "index",
|
|
94
|
+
props: ["activeData"],
|
|
95
|
+
setup(o) {
|
|
96
|
+
const i = k([]);
|
|
97
|
+
function d() {
|
|
98
|
+
b().then((r) => {
|
|
99
|
+
var m;
|
|
100
|
+
i.value = (m = r.data.list) != null && m.length ? r.data.list.slice(0, 7) : [];
|
|
101
|
+
});
|
|
102
|
+
}
|
|
103
|
+
return D(() => d()), (r, m) => {
|
|
104
|
+
const _ = e("router-link"), u = e("jnpf-empty"), f = e("a-card");
|
|
105
|
+
return t(), y(f, { class: "portal-card-box" }, x({
|
|
106
|
+
default: a(() => [
|
|
107
|
+
n("div", j, [
|
|
108
|
+
i.value.length ? (t(!0), c(g, { key: 0 }, C(i.value, (p, v) => (t(), c("div", {
|
|
109
|
+
class: "item",
|
|
110
|
+
key: v
|
|
111
|
+
}, [
|
|
112
|
+
l(_, {
|
|
113
|
+
to: "/emailDetail?id=" + p.id
|
|
114
|
+
}, {
|
|
115
|
+
default: a(() => [
|
|
116
|
+
n("span", L, s(p.fullName), 1)
|
|
117
|
+
]),
|
|
118
|
+
_: 2
|
|
119
|
+
}, 1032, ["to"]),
|
|
120
|
+
n("span", S, s(B(E)(p.creatorTime)), 1)
|
|
121
|
+
]))), 128)) : (t(), c("div", T, [
|
|
122
|
+
l(u)
|
|
123
|
+
]))
|
|
124
|
+
])
|
|
125
|
+
]),
|
|
126
|
+
_: 2
|
|
127
|
+
}, [
|
|
128
|
+
o.activeData.title ? {
|
|
129
|
+
name: "title",
|
|
130
|
+
fn: a(() => [
|
|
131
|
+
l(N, {
|
|
132
|
+
title: o.activeData.title,
|
|
133
|
+
card: o.activeData.card
|
|
134
|
+
}, null, 8, ["title", "card"])
|
|
135
|
+
]),
|
|
136
|
+
key: "0"
|
|
137
|
+
} : void 0
|
|
138
|
+
]), 1024);
|
|
139
|
+
};
|
|
140
|
+
}
|
|
141
|
+
});
|
|
142
|
+
export {
|
|
143
|
+
_o as default
|
|
144
|
+
};
|
|
145
|
+
//# sourceMappingURL=index-436ec82c.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-436ec82c.mjs","sources":["../src/components/VisualPortal/Portal/HEmail/index.vue"],"sourcesContent":["<template>\r\n <a-card class=\"portal-card-box\">\r\n <template #title 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-email\">\r\n <template v-if=\"list.length\">\r\n <div class=\"item\" v-for=\"(item, i) in list\" :key=\"i\">\r\n <router-link :to=\"'/emailDetail?id=' + item.id\">\r\n <span class=\"name com-hover\">{{ item.fullName }}</span>\r\n </router-link>\r\n <span class=\"time\">{{ toDateText(item.creatorTime) }}</span>\r\n </div>\r\n </template>\r\n <div class=\"portal-common-noData\" v-else>\r\n <jnpf-empty />\r\n </div>\r\n </div>\r\n </a-card>\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import { ref, onMounted } from 'vue';\r\n import CardHeader from '../CardHeader/index.vue';\r\n import { getEmailList } from '@/api/onlineDev/portal';\r\n import { toDateText } from '@/utils/jnpf';\r\n\r\n defineProps(['activeData']);\r\n const list = ref<any[]>([]);\r\n\r\n function initData() {\r\n getEmailList().then(res => {\r\n list.value = res.data.list?.length ? res.data.list.slice(0, 7) : [];\r\n });\r\n }\r\n\r\n onMounted(() => initData());\r\n</script>\r\n"],"names":["list","ref","initData","getEmailList","res","_a","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AA2BQ,UAAAA,IAAOC,EAAW,CAAA,CAAE;AAE1B,aAASC,IAAW;AACL,MAAAC,EAAA,EAAE,KAAK,CAAOC,MAAA;;AACzB,QAAAJ,EAAK,SAAQK,IAAAD,EAAI,KAAK,SAAT,QAAAC,EAAe,SAASD,EAAI,KAAK,KAAK,MAAM,GAAG,CAAC,IAAI,CAAA;AAAA,MAAC,CACnE;AAAA,IACH;AAEU,WAAAE,EAAA,MAAMJ,GAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,267 @@
|
|
|
1
|
+
import { defineComponent as C, ref as U, resolveComponent as h, openBlock as a, createBlock as Y, createSlots as B, withCtx as s, createElementVNode as g, normalizeStyle as R, createVNode as m, createTextVNode as _, toDisplayString as d, unref as p, createElementBlock as l, Fragment as z, createCommentVNode as O } from "vue";
|
|
2
|
+
import { bd as F, be as G, bf as P, bg as D, aP as V, _ as j } from "./index-5b8b1ba9.mjs";
|
|
3
|
+
import S from "dayjs";
|
|
4
|
+
import { TodoLine as L } from "@firefly-plus/icons-vue";
|
|
5
|
+
import "lodash-es";
|
|
6
|
+
import "ant-design-vue";
|
|
7
|
+
import "vue-i18n";
|
|
8
|
+
import "pinia";
|
|
9
|
+
import "crypto-js/aes";
|
|
10
|
+
import "crypto-js/enc-utf8";
|
|
11
|
+
import "crypto-js/pad-pkcs7";
|
|
12
|
+
import "crypto-js/mode-ecb";
|
|
13
|
+
import "crypto-js/md5";
|
|
14
|
+
import "crypto-js/enc-base64";
|
|
15
|
+
import "crypto-js/enc-hex";
|
|
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 "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
|
+
var I = { exports: {} };
|
|
90
|
+
(function(f, t) {
|
|
91
|
+
(function(e, n) {
|
|
92
|
+
f.exports = n();
|
|
93
|
+
})(G, function() {
|
|
94
|
+
var e = "week", n = "year";
|
|
95
|
+
return function(N, v, o) {
|
|
96
|
+
var x = v.prototype;
|
|
97
|
+
x.week = function(r) {
|
|
98
|
+
if (r === void 0 && (r = null), r !== null)
|
|
99
|
+
return this.add(7 * (r - this.week()), "day");
|
|
100
|
+
var y = this.$locale().yearStart || 1;
|
|
101
|
+
if (this.month() === 11 && this.date() > 25) {
|
|
102
|
+
var c = o(this).startOf(n).add(1, n).date(y), i = o(this).endOf(e);
|
|
103
|
+
if (c.isBefore(i))
|
|
104
|
+
return 1;
|
|
105
|
+
}
|
|
106
|
+
var k = o(this).startOf(n).date(y).startOf(e).subtract(1, "millisecond"), u = this.diff(k, e, !0);
|
|
107
|
+
return u < 0 ? o(this).startOf("week").week() : Math.ceil(u);
|
|
108
|
+
}, x.weeks = function(r) {
|
|
109
|
+
return r === void 0 && (r = null), this.week(r);
|
|
110
|
+
};
|
|
111
|
+
};
|
|
112
|
+
});
|
|
113
|
+
})(I);
|
|
114
|
+
var M = I.exports;
|
|
115
|
+
const $ = /* @__PURE__ */ F(M), J = { class: "user-name" }, T = {
|
|
116
|
+
key: 0,
|
|
117
|
+
class: "font-bold text-16px"
|
|
118
|
+
}, A = {
|
|
119
|
+
key: 1,
|
|
120
|
+
class: "font-bold text-16px"
|
|
121
|
+
}, H = {
|
|
122
|
+
key: 1,
|
|
123
|
+
class: "font-bold text-16px"
|
|
124
|
+
}, q = {
|
|
125
|
+
key: 0,
|
|
126
|
+
class: "user-dept"
|
|
127
|
+
}, K = {
|
|
128
|
+
key: 1,
|
|
129
|
+
class: "user-dept"
|
|
130
|
+
}, Q = {
|
|
131
|
+
key: 0,
|
|
132
|
+
class: "in-days flex items-center"
|
|
133
|
+
}, W = {
|
|
134
|
+
class: "font-bold text-16px text-primary",
|
|
135
|
+
style: { color: "var(--gp-color-primary)!important" }
|
|
136
|
+
}, X = {
|
|
137
|
+
key: 1,
|
|
138
|
+
class: "in-days"
|
|
139
|
+
}, Z = /* @__PURE__ */ C({
|
|
140
|
+
__name: "index",
|
|
141
|
+
props: ["activeData"],
|
|
142
|
+
setup(f) {
|
|
143
|
+
const t = U(localStorage.getItem("GP_USER_USERINFO") ? JSON.parse(localStorage.getItem("GP_USER_USERINFO")) : null);
|
|
144
|
+
P().then((N) => {
|
|
145
|
+
t.value && (t.value.inDays = N.data.inDays, localStorage.setItem("GP_USER_USERINFO", JSON.stringify(t.value)));
|
|
146
|
+
});
|
|
147
|
+
const e = localStorage.getItem("Authorization") || "";
|
|
148
|
+
S.extend($);
|
|
149
|
+
const n = S().week();
|
|
150
|
+
return S().format("YYYY-MM-DD dddd") + ` 第${n}周`, (N, v) => {
|
|
151
|
+
const o = h("el-space"), x = h("el-avatar"), r = h("el-icon"), y = h("el-card");
|
|
152
|
+
return a(), Y(y, { class: "portal-card-box" }, B({
|
|
153
|
+
default: s(() => [
|
|
154
|
+
g("div", {
|
|
155
|
+
class: "portal-card-body",
|
|
156
|
+
style: R({ background: f.activeData.option.textBgColor })
|
|
157
|
+
}, [
|
|
158
|
+
m(o, { class: "weekBox" }, {
|
|
159
|
+
default: s(() => [
|
|
160
|
+
_("第" + d(p(n)) + "周", 1)
|
|
161
|
+
]),
|
|
162
|
+
_: 1
|
|
163
|
+
}),
|
|
164
|
+
m(o, {
|
|
165
|
+
direction: "vertical",
|
|
166
|
+
size: 16,
|
|
167
|
+
alignment: "flex-start"
|
|
168
|
+
}, {
|
|
169
|
+
default: s(() => [
|
|
170
|
+
m(o, {
|
|
171
|
+
class: "basic-info",
|
|
172
|
+
size: 20
|
|
173
|
+
}, {
|
|
174
|
+
default: s(() => {
|
|
175
|
+
var c;
|
|
176
|
+
return [
|
|
177
|
+
m(x, {
|
|
178
|
+
size: 60,
|
|
179
|
+
src: p(e) ? (c = t.value) == null ? void 0 : c.avatarInfo : ""
|
|
180
|
+
}, {
|
|
181
|
+
default: s(() => {
|
|
182
|
+
var i;
|
|
183
|
+
return [
|
|
184
|
+
_(d(p(e) ? (i = t.value) == null ? void 0 : i.nickName : "未登录"), 1)
|
|
185
|
+
];
|
|
186
|
+
}),
|
|
187
|
+
_: 1
|
|
188
|
+
}, 8, ["src"]),
|
|
189
|
+
m(o, {
|
|
190
|
+
direction: "vertical",
|
|
191
|
+
class: "info",
|
|
192
|
+
alignment: "flex-start"
|
|
193
|
+
}, {
|
|
194
|
+
default: s(() => {
|
|
195
|
+
var i, k, u, b, w;
|
|
196
|
+
return [
|
|
197
|
+
g("div", J, [
|
|
198
|
+
p(e) ? (a(), l(z, { key: 0 }, [
|
|
199
|
+
(i = t.value) != null && i.anotherName ? (a(), l("span", T, d((k = t.value) == null ? void 0 : k.anotherName), 1)) : O("", !0),
|
|
200
|
+
(u = t.value) != null && u.nickName ? (a(), l("span", A, "「" + d((b = t.value) == null ? void 0 : b.nickName) + "」", 1)) : O("", !0)
|
|
201
|
+
], 64)) : (a(), l("span", H, "未登录"))
|
|
202
|
+
]),
|
|
203
|
+
p(e) ? (a(), l("div", q, d((w = t.value) == null ? void 0 : w.deptName), 1)) : (a(), l("div", K, [
|
|
204
|
+
_("暂无个人信息,请先"),
|
|
205
|
+
g("span", {
|
|
206
|
+
class: "text-primary cursor-pointer",
|
|
207
|
+
onClick: v[0] || (v[0] = //@ts-ignore
|
|
208
|
+
(...E) => p(D) && p(D)(...E))
|
|
209
|
+
}, "登录")
|
|
210
|
+
]))
|
|
211
|
+
];
|
|
212
|
+
}),
|
|
213
|
+
_: 1
|
|
214
|
+
})
|
|
215
|
+
];
|
|
216
|
+
}),
|
|
217
|
+
_: 1
|
|
218
|
+
}),
|
|
219
|
+
m(o, {
|
|
220
|
+
direction: "vertical",
|
|
221
|
+
class: "user-date",
|
|
222
|
+
alignment: "flex-start"
|
|
223
|
+
}, {
|
|
224
|
+
default: s(() => {
|
|
225
|
+
var c, i;
|
|
226
|
+
return [
|
|
227
|
+
p(e) ? (a(), l("div", Q, [
|
|
228
|
+
m(r, { style: { color: "var(--gp-color-primary)", "margin-right": "var(--gp-space-sm)" } }, {
|
|
229
|
+
default: s(() => [
|
|
230
|
+
m(p(L))
|
|
231
|
+
]),
|
|
232
|
+
_: 1
|
|
233
|
+
}),
|
|
234
|
+
_(" 这是您在" + d((c = t.value) == null ? void 0 : c.unitName) + "的第 ", 1),
|
|
235
|
+
g("span", W, d((i = t.value) == null ? void 0 : i.inDays), 1),
|
|
236
|
+
_(" 天 ")
|
|
237
|
+
])) : (a(), l("div", X, " 登录后可查看在职天数 "))
|
|
238
|
+
];
|
|
239
|
+
}),
|
|
240
|
+
_: 1
|
|
241
|
+
})
|
|
242
|
+
]),
|
|
243
|
+
_: 1
|
|
244
|
+
})
|
|
245
|
+
], 4)
|
|
246
|
+
]),
|
|
247
|
+
_: 2
|
|
248
|
+
}, [
|
|
249
|
+
f.activeData.title ? {
|
|
250
|
+
name: "header",
|
|
251
|
+
fn: s(() => [
|
|
252
|
+
m(V, {
|
|
253
|
+
title: f.activeData.title,
|
|
254
|
+
card: f.activeData.card
|
|
255
|
+
}, null, 8, ["title", "card"])
|
|
256
|
+
]),
|
|
257
|
+
key: "0"
|
|
258
|
+
} : void 0
|
|
259
|
+
]), 1024);
|
|
260
|
+
};
|
|
261
|
+
}
|
|
262
|
+
});
|
|
263
|
+
const Re = /* @__PURE__ */ j(Z, [["__scopeId", "data-v-6a1790d9"]]);
|
|
264
|
+
export {
|
|
265
|
+
Re as default
|
|
266
|
+
};
|
|
267
|
+
//# sourceMappingURL=index-44e8def1.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-44e8def1.mjs","sources":["../node_modules/.pnpm/dayjs@1.11.12/node_modules/dayjs/plugin/weekOfYear.js","../src/components/VisualPortal/Portal/HUserInfo/index.vue"],"sourcesContent":["!function(e,t){\"object\"==typeof exports&&\"undefined\"!=typeof module?module.exports=t():\"function\"==typeof define&&define.amd?define(t):(e=\"undefined\"!=typeof globalThis?globalThis:e||self).dayjs_plugin_weekOfYear=t()}(this,(function(){\"use strict\";var e=\"week\",t=\"year\";return function(i,n,r){var f=n.prototype;f.week=function(i){if(void 0===i&&(i=null),null!==i)return this.add(7*(i-this.week()),\"day\");var n=this.$locale().yearStart||1;if(11===this.month()&&this.date()>25){var f=r(this).startOf(t).add(1,t).date(n),s=r(this).endOf(e);if(f.isBefore(s))return 1}var a=r(this).startOf(t).date(n).startOf(e).subtract(1,\"millisecond\"),o=this.diff(a,e,!0);return o<0?r(this).startOf(\"week\").week():Math.ceil(o)},f.weeks=function(e){return void 0===e&&(e=null),this.week(e)}}}));","<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\" :style=\"{ background: activeData.option.textBgColor }\">\r\n <el-space class=\"weekBox\">第{{week}}周</el-space>\r\n <el-space direction=\"vertical\" :size=\"16\" alignment=\"flex-start\">\r\n \r\n <el-space class=\"basic-info\" :size=\"20\">\r\n <el-avatar :size=\"60\" :src=\"token ? userInfo?.avatarInfo : ''\">{{ token ? userInfo?.nickName : '未登录' }}</el-avatar>\r\n <el-space direction=\"vertical\" class=\"info\" alignment=\"flex-start\">\r\n <div class=\"user-name\">\r\n <template v-if=\"token\">\r\n <span v-if=\"userInfo?.anotherName\" class=\"font-bold text-16px\">{{ userInfo?.anotherName }}</span>\r\n <span v-if=\"userInfo?.nickName\" class=\"font-bold text-16px\">「{{ userInfo?.nickName }}」</span>\r\n </template>\r\n <template v-else>\r\n <span class=\"font-bold text-16px\">未登录</span>\r\n </template>\r\n </div>\r\n <template v-if=\"token\">\r\n <div class=\"user-dept\">{{ userInfo?.deptName }}</div>\r\n </template>\r\n <template v-else>\r\n <div class=\"user-dept\">暂无个人信息,请先<span class=\"text-primary cursor-pointer\" @click=\"handleLogin\">登录</span></div>\r\n </template>\r\n </el-space>\r\n </el-space>\r\n <el-space direction=\"vertical\" class=\"user-date\" alignment=\"flex-start\">\r\n <!-- <div class=\"date\">{{ date }}</div> -->\r\n <div class=\"in-days flex items-center\" v-if=\"token\">\r\n <el-icon style=\"color: var(--gp-color-primary); margin-right: var(--gp-space-sm);\">\r\n <TodoLine />\r\n </el-icon>\r\n <!-- <i class=\"icon-ym icon-ym-app-document\" ></i> -->\r\n 这是您在{{ userInfo?.unitName }}的第\r\n <span class=\"font-bold text-16px text-primary\" style=\"color: var(--gp-color-primary)!important;\">{{ userInfo?.inDays }}</span>\r\n 天\r\n </div>\r\n <div class=\"in-days\" v-else> 登录后可查看在职天数 </div>\r\n </el-space>\r\n </el-space>\r\n </div>\r\n </el-card>\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import CardHeader from '../CardHeader/index.vue';\r\n import dayjs from 'dayjs';\r\n import weekOfYear from 'dayjs/plugin/weekOfYear';\r\n import { handleLogin } from '@/components/VisualPortal/Design/helper/action';\r\n import { getUserInfoList } from '@/api/basic/user';\r\n import { ref } from 'vue';\r\n import {\r\n TodoLine\r\n } from '@firefly-plus/icons-vue'\r\n const props = defineProps(['activeData']);\r\n\r\n const userInfo = ref(localStorage.getItem('GP_USER_USERINFO') ? JSON.parse(localStorage.getItem('GP_USER_USERINFO')!) : null);\r\n getUserInfoList().then(res => {\r\n if (userInfo.value) {\r\n userInfo.value.inDays = res.data.inDays;\r\n localStorage.setItem('GP_USER_USERINFO', JSON.stringify(userInfo.value));\r\n }\r\n });\r\n\r\n const token = localStorage.getItem('Authorization') || '';\r\n\r\n dayjs.extend(weekOfYear);\r\n const week = dayjs().week();\r\n\r\n const date = dayjs().format('YYYY-MM-DD dddd') + ` 第${week}周`;\r\n</script>\r\n<style lang=\"less\" scoped>\r\n .portal-card-body {\r\n display: flex;\r\n flex-direction: column;\r\n justify-content: center;\r\n padding: 20px;\r\n position: relative;\r\n }\r\n .weekBox{\r\n position: absolute;\r\n top: 12px;\r\n right: 12px;\r\n color: #1677ff;\r\n background-color: #e6f4ff;\r\n border: 1px solid #BAE0FF;\r\n padding: 0 8px;\r\n border-radius: 2px;\r\n }\r\n .in-days{\r\n color: var(--gp-text-color-primary);\r\n }\r\n .user-date{\r\n background-color: var(--gp-user-date-bg);\r\n width: 100%;\r\n padding: 4px 8px;\r\n color: #1b2129;\r\n border-radius: var(--gp-radius-xs);\r\n }\r\n</style>\r\n"],"names":["t","module","this","i","n","r","f","s","a","o","e","userInfo","ref","getUserInfoList","res","token","dayjs","weekOfYear","week"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,GAAC,SAAS,GAAEA,GAAE;AAAsD,IAAAC,EAAe,UAAAD,EAAqI;AAAA,EAAA,GAAEE,GAAM,WAAU;AAAc,QAAI,IAAE,QAAOF,IAAE;AAAO,WAAO,SAASG,GAAEC,GAAEC,GAAE;AAAC,UAAIC,IAAEF,EAAE;AAAU,MAAAE,EAAE,OAAK,SAASH,GAAE;AAAC,YAAYA,MAAT,WAAaA,IAAE,OAAaA,MAAP;AAAS,iBAAO,KAAK,IAAI,KAAGA,IAAE,KAAK,KAAI,IAAI,KAAK;AAAE,YAAIC,IAAE,KAAK,QAAO,EAAG,aAAW;AAAE,YAAQ,KAAK,MAAO,MAAjB,MAAmB,KAAK,KAAI,IAAG,IAAG;AAAC,cAAIE,IAAED,EAAE,IAAI,EAAE,QAAQL,CAAC,EAAE,IAAI,GAAEA,CAAC,EAAE,KAAKI,CAAC,GAAEG,IAAEF,EAAE,IAAI,EAAE,MAAM,CAAC;AAAE,cAAGC,EAAE,SAASC,CAAC;AAAE,mBAAO;AAAA,QAAC;AAAC,YAAIC,IAAEH,EAAE,IAAI,EAAE,QAAQL,CAAC,EAAE,KAAKI,CAAC,EAAE,QAAQ,CAAC,EAAE,SAAS,GAAE,aAAa,GAAEK,IAAE,KAAK,KAAKD,GAAE,GAAE,EAAE;AAAE,eAAOC,IAAE,IAAEJ,EAAE,IAAI,EAAE,QAAQ,MAAM,EAAE,KAAI,IAAG,KAAK,KAAKI,CAAC;AAAA,MAAC,GAAEH,EAAE,QAAM,SAASI,GAAE;AAAC,eAAgBA,MAAT,WAAaA,IAAE,OAAM,KAAK,KAAKA,CAAC;AAAA,MAAC;AAAA,IAAC;AAAA,EAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AC0DjwB,UAAMC,IAAWC,EAAI,aAAa,QAAQ,kBAAkB,IAAI,KAAK,MAAM,aAAa,QAAQ,kBAAkB,CAAE,IAAI,IAAI;AAC5G,IAAAC,EAAA,EAAE,KAAK,CAAOC,MAAA;AAC5B,MAAIH,EAAS,UACFA,EAAA,MAAM,SAASG,EAAI,KAAK,QACjC,aAAa,QAAQ,oBAAoB,KAAK,UAAUH,EAAS,KAAK,CAAC;AAAA,IACzE,CACD;AAED,UAAMI,IAAQ,aAAa,QAAQ,eAAe,KAAK;AAEvD,IAAAC,EAAM,OAAOC,CAAU;AACjB,UAAAC,IAAOF,IAAQ;AAER,WAAAA,EAAM,EAAE,OAAO,iBAAiB,IAAI,KAAKE,CAAI;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;","x_google_ignoreList":[0]}
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
import { defineComponent as g, ref as d, onMounted as S, openBlock as s, createElementBlock as h, createBlock as y, unref as O, createCommentVNode as _ } from "vue";
|
|
2
|
+
import { b as J, I as b, J as k, d as N, K as R } 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 no = /* @__PURE__ */ g({
|
|
90
|
+
__name: "index",
|
|
91
|
+
setup(v) {
|
|
92
|
+
const [u, { openModal: e }] = J(), c = d(!0);
|
|
93
|
+
function l(i, o) {
|
|
94
|
+
let r = /([^?&=]+)=([^&]+)/g, t = {}, m;
|
|
95
|
+
for (; (m = r.exec(i)) !== null; ) {
|
|
96
|
+
let a = decodeURIComponent(m[1]), n = decodeURIComponent(m[2]);
|
|
97
|
+
t[a] ? Array.isArray(t[a]) ? t[a].push(n) : t[a] = [t[a], n] : t[a] = n;
|
|
98
|
+
}
|
|
99
|
+
return o ? t[o] ? t[o] : "" : t;
|
|
100
|
+
}
|
|
101
|
+
function p(i) {
|
|
102
|
+
return Object.prototype.toString.call(i) === "[object Object]";
|
|
103
|
+
}
|
|
104
|
+
const f = d();
|
|
105
|
+
function D() {
|
|
106
|
+
R().then((i) => {
|
|
107
|
+
let o = i.data ? i.data : {}, r = o.formData ? JSON.parse(o.formData) : { layout: {} }, t = p(r.formData) ? r.formData : JSON.parse(r.formData);
|
|
108
|
+
t.layoutId = "1231234123", t.defaultSetting = f.value, e(!0, {
|
|
109
|
+
formData: t
|
|
110
|
+
});
|
|
111
|
+
});
|
|
112
|
+
}
|
|
113
|
+
return S(() => {
|
|
114
|
+
if (l(location.href, "type"))
|
|
115
|
+
b({
|
|
116
|
+
edit: !0
|
|
117
|
+
}).then((o) => {
|
|
118
|
+
let r = o.data ? o.data : {}, t = r.formData ? JSON.parse(r.formData) : { layout: {} }, m = p(t.formData) ? t.formData : JSON.parse(t.formData);
|
|
119
|
+
m.defaultSetting = o.data.defaultSetting, f.value = o.data.defaultSetting - 0, e(!0, {
|
|
120
|
+
formData: m
|
|
121
|
+
});
|
|
122
|
+
});
|
|
123
|
+
else {
|
|
124
|
+
let o = l(location.href, "data");
|
|
125
|
+
o && k(o).then((r) => {
|
|
126
|
+
let t = { formData: {} };
|
|
127
|
+
r.data.formData && (t = {
|
|
128
|
+
formData: p(JSON.parse(r.data.formData).formData) ? JSON.parse(r.data.formData).formData : JSON.parse(JSON.parse(r.data.formData).formData)
|
|
129
|
+
}), e(!0, t);
|
|
130
|
+
});
|
|
131
|
+
}
|
|
132
|
+
}), (i, o) => (s(), h("div", null, [
|
|
133
|
+
c.value ? (s(), y(N, {
|
|
134
|
+
key: 0,
|
|
135
|
+
onRegister: O(u),
|
|
136
|
+
onReload: D
|
|
137
|
+
}, null, 8, ["onRegister"])) : _("", !0)
|
|
138
|
+
]));
|
|
139
|
+
}
|
|
140
|
+
});
|
|
141
|
+
export {
|
|
142
|
+
no as default
|
|
143
|
+
};
|
|
144
|
+
//# sourceMappingURL=index-47596f01.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-47596f01.mjs","sources":["../src/views/iframe/index.vue"],"sourcesContent":["<template>\r\n <div>\r\n <PortalDesign v-if=\"show\" @register=\"registerPortalDesign\" @reload=\"reload\" />\r\n </div>\r\n</template>\r\n\r\n<script lang=\"ts\" setup>\r\nimport { onMounted ,ref,onBeforeUnmount} from 'vue';\r\nimport PortalDesign from '@/components/VisualPortal/Design/index.vue';\r\nimport { useModal } from '@/components/Modal';\r\nimport { portalDesignDetail ,getWorkbench,getAdminWorkbench} from '@/api/newApi/newApi';\r\nconst [registerPortalDesign, { openModal: openPortalDesign }] = useModal();\r\nconst show = ref(true)\r\n// window.addEventListener(\"message\", function(event) {\r\n// let data = JSON.parse(event.data.message)\r\n// openPortalDesign(true,data)\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\nfunction isObject(obj){\r\n return Object.prototype.toString.call(obj) === '[object Object]'\r\n}\r\nconst itemsSetting = ref()\r\nfunction reload(){\r\n getAdminWorkbench().then((res)=>{\r\n let data = res.data? res.data: {}\r\n let formData = data.formData ? JSON.parse(data.formData) : {layout:{}}\r\n let items = isObject(formData.formData) ? formData.formData : JSON.parse(formData.formData)\r\n items.layoutId = \"1231234123\"\r\n items.defaultSetting = itemsSetting.value\r\n openPortalDesign(true, {\r\n formData: items\r\n });\r\n })\r\n}\r\nonMounted(()=>{\r\n let type = queryURLParams(location.href,'type')\r\n if(type){\r\n getWorkbench({\r\n edit: true\r\n }).then((res)=>{\r\n let data = res.data? res.data: {}\r\n let formData = data.formData ? JSON.parse(data.formData) : {layout:{}}\r\n let items = isObject(formData.formData) ? formData.formData : JSON.parse(formData.formData)\r\n items.defaultSetting = res.data.defaultSetting\r\n itemsSetting.value = res.data.defaultSetting - 0\r\n openPortalDesign(true, {\r\n formData: items\r\n });\r\n })\r\n }else{\r\n let data = queryURLParams(location.href,'data')\r\n if(data){\r\n portalDesignDetail(data).then((res)=>{\r\n let datas = {formData:{}}\r\n if(res.data.formData){\r\n datas = {\r\n formData: isObject(JSON.parse(res.data.formData).formData) ? JSON.parse(res.data.formData).formData : JSON.parse(JSON.parse(res.data.formData).formData)\r\n }\r\n }\r\n openPortalDesign(true, datas);\r\n })\r\n }\r\n }\r\n \r\n \r\n})\r\n\r\n\r\n</script>"],"names":["registerPortalDesign","openPortalDesign","useModal","show","ref","queryURLParams","url","paramName","pattern","params","match","key","value","isObject","obj","itemsSetting","reload","getAdminWorkbench","res","data","formData","items","onMounted","getWorkbench","portalDesignDetail","datas"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAWA,UAAM,CAACA,GAAsB,EAAE,WAAWC,EAAkB,CAAA,IAAIC,KAC1DC,IAAOC,EAAI,EAAI;AAKZ,aAAAC,EAAeC,GAAKC,GAAW;AAEpC,UAAIC,IAAU,sBACVC,IAAS,CAAA,GAGTC;AAEJ,cAAQA,IAAQF,EAAQ,KAAKF,CAAG,OAAO,QAAM;AAEzC,YAAIK,IAAM,mBAAmBD,EAAM,CAAC,CAAC,GACjCE,IAAQ,mBAAmBF,EAAM,CAAC,CAAC;AAEnC,QAAAD,EAAOE,CAAG,IACN,MAAM,QAAQF,EAAOE,CAAG,CAAC,IAClBF,EAAAE,CAAG,EAAE,KAAKC,CAAK,IAEtBH,EAAOE,CAAG,IAAI,CAACF,EAAOE,CAAG,GAAGC,CAAK,IAIrCH,EAAOE,CAAG,IAAIC;AAAA,MAEtB;AAEA,aAAKL,IAIGE,EAAOF,CAAS,IACTE,EAAOF,CAAS,IAEhB,KALJE;AAAA,IAQf;AAEA,aAASI,EAASC,GAAI;AACnB,aAAQ,OAAO,UAAU,SAAS,KAAKA,CAAG,MAAM;AAAA,IACnD;AACA,UAAMC,IAAeX;AACrB,aAASY,IAAQ;AACK,MAAAC,EAAA,EAAE,KAAK,CAACC,MAAM;AAC5B,YAAIC,IAAOD,EAAI,OAAMA,EAAI,OAAM,CAAA,GAC3BE,IAAWD,EAAK,WAAW,KAAK,MAAMA,EAAK,QAAQ,IAAI,EAAC,QAAO,CAAE,EAAA,GACjEE,IAAQR,EAASO,EAAS,QAAQ,IAAIA,EAAS,WAAW,KAAK,MAAMA,EAAS,QAAQ;AAC1F,QAAAC,EAAM,WAAW,cACjBA,EAAM,iBAAiBN,EAAa,OACpCd,EAAiB,IAAM;AAAA,UACnB,UAAUoB;AAAA,QAAA,CACb;AAAA,MAAA,CACJ;AAAA,IACL;AACA,WAAAC,EAAU,MAAI;AAEV,UADWjB,EAAe,SAAS,MAAK,MAAM;AAE7B,QAAAkB,EAAA;AAAA,UACT,MAAM;AAAA,QAAA,CACT,EAAE,KAAK,CAACL,MAAM;AACX,cAAIC,IAAOD,EAAI,OAAMA,EAAI,OAAM,CAAA,GAC3BE,IAAWD,EAAK,WAAW,KAAK,MAAMA,EAAK,QAAQ,IAAI,EAAC,QAAO,CAAE,EAAA,GACjEE,IAAQR,EAASO,EAAS,QAAQ,IAAIA,EAAS,WAAW,KAAK,MAAMA,EAAS,QAAQ;AACpF,UAAAC,EAAA,iBAAiBH,EAAI,KAAK,gBACnBH,EAAA,QAAQG,EAAI,KAAK,iBAAiB,GAC/CjB,EAAiB,IAAM;AAAA,YACnB,UAAUoB;AAAA,UAAA,CACb;AAAA,QAAA,CACJ;AAAA,WACA;AACD,YAAIF,IAAOd,EAAe,SAAS,MAAK,MAAM;AAC9C,QAAGc,KACCK,EAAmBL,CAAI,EAAE,KAAK,CAACD,MAAM;AACjC,cAAIO,IAAQ,EAAC,UAAS,CAAA;AACnB,UAAAP,EAAI,KAAK,aACAO,IAAA;AAAA,YACJ,UAAUZ,EAAS,KAAK,MAAMK,EAAI,KAAK,QAAQ,EAAE,QAAQ,IAAI,KAAK,MAAMA,EAAI,KAAK,QAAQ,EAAE,WAAW,KAAK,MAAM,KAAK,MAAMA,EAAI,KAAK,QAAQ,EAAE,QAAQ;AAAA,UAAA,IAG/JjB,EAAiB,IAAMwB,CAAK;AAAA,QAAA,CAC/B;AAAA,MAET;AAAA,IAAA,CAGH;;;;;;;;;"}
|