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,258 @@
|
|
|
1
|
+
import { defineComponent as U, onMounted as $, resolveComponent as u, openBlock as p, createElementBlock as f, createElementVNode as _, createVNode as i, unref as o, withCtx as a, createTextVNode as b, toDisplayString as g, Fragment as F, createCommentVNode as l, createBlock as h } from "vue";
|
|
2
|
+
import { M as k, b as w, c as V, B as j, h as K, aM as q, m as z } from "./index-5b8b1ba9.mjs";
|
|
3
|
+
import { T as G } from "./TableAction-fcabc30c.mjs";
|
|
4
|
+
import { e as J, f as Q } from "./interfaceOauth-bb8e782e.mjs";
|
|
5
|
+
import { _ as W } from "./Form.vue_vue_type_script_setup_true_lang-5fbc0f96.mjs";
|
|
6
|
+
import { _ as X } from "./Log.vue_vue_type_script_setup_true_lang-0ba0615b.mjs";
|
|
7
|
+
import { _ as Z } from "./Empower.vue_vue_type_script_setup_true_lang-c454e7a0.mjs";
|
|
8
|
+
import { _ as tt } from "./UserSelect.vue_vue_type_script_setup_true_lang-aa25c5fc.mjs";
|
|
9
|
+
import "lodash-es";
|
|
10
|
+
import "ant-design-vue";
|
|
11
|
+
import "vue-i18n";
|
|
12
|
+
import "pinia";
|
|
13
|
+
import "crypto-js/aes";
|
|
14
|
+
import "crypto-js/enc-utf8";
|
|
15
|
+
import "crypto-js/pad-pkcs7";
|
|
16
|
+
import "crypto-js/mode-ecb";
|
|
17
|
+
import "crypto-js/md5";
|
|
18
|
+
import "crypto-js/enc-base64";
|
|
19
|
+
import "crypto-js/enc-hex";
|
|
20
|
+
import "dayjs";
|
|
21
|
+
import "@vueuse/core";
|
|
22
|
+
import "vue-router";
|
|
23
|
+
import "axios";
|
|
24
|
+
import "@ant-design/icons-vue";
|
|
25
|
+
import "@ant-design/colors";
|
|
26
|
+
import "@iconify/iconify";
|
|
27
|
+
import "vue-types";
|
|
28
|
+
import "@firefly-plus/icons-vue";
|
|
29
|
+
import "qrcode";
|
|
30
|
+
import "vue-simple-uploader";
|
|
31
|
+
import "spark-md5";
|
|
32
|
+
import "vue-simple-uploader/dist/style.css";
|
|
33
|
+
import "tinymce/tinymce";
|
|
34
|
+
import "tinymce/themes/silver";
|
|
35
|
+
import "tinymce/icons/default/icons";
|
|
36
|
+
import "tinymce/plugins/advlist";
|
|
37
|
+
import "tinymce/plugins/anchor";
|
|
38
|
+
import "tinymce/plugins/autolink";
|
|
39
|
+
import "tinymce/plugins/autosave";
|
|
40
|
+
import "tinymce/plugins/code";
|
|
41
|
+
import "tinymce/plugins/codesample";
|
|
42
|
+
import "tinymce/plugins/directionality";
|
|
43
|
+
import "tinymce/plugins/fullscreen";
|
|
44
|
+
import "tinymce/plugins/hr";
|
|
45
|
+
import "tinymce/plugins/insertdatetime";
|
|
46
|
+
import "tinymce/plugins/link";
|
|
47
|
+
import "tinymce/plugins/lists";
|
|
48
|
+
import "tinymce/plugins/media";
|
|
49
|
+
import "tinymce/plugins/nonbreaking";
|
|
50
|
+
import "tinymce/plugins/noneditable";
|
|
51
|
+
import "tinymce/plugins/pagebreak";
|
|
52
|
+
import "tinymce/plugins/paste";
|
|
53
|
+
import "tinymce/plugins/preview";
|
|
54
|
+
import "tinymce/plugins/print";
|
|
55
|
+
import "tinymce/plugins/save";
|
|
56
|
+
import "tinymce/plugins/searchreplace";
|
|
57
|
+
import "tinymce/plugins/spellchecker";
|
|
58
|
+
import "tinymce/plugins/tabfocus";
|
|
59
|
+
import "tinymce/plugins/table";
|
|
60
|
+
import "tinymce/plugins/template";
|
|
61
|
+
import "tinymce/plugins/textpattern";
|
|
62
|
+
import "tinymce/plugins/visualblocks";
|
|
63
|
+
import "tinymce/plugins/visualchars";
|
|
64
|
+
import "tinymce/plugins/wordcount";
|
|
65
|
+
import "tinymce/plugins/image";
|
|
66
|
+
import "tinymce/plugins/charmap";
|
|
67
|
+
import "tinymce/plugins/imagetools";
|
|
68
|
+
import "tinymce/plugins/help";
|
|
69
|
+
import "tinymce/plugins/quickbars";
|
|
70
|
+
import "tinymce/plugins/importcss";
|
|
71
|
+
import "tinymce/plugins/toc";
|
|
72
|
+
import "tinymce/plugins/emoticons";
|
|
73
|
+
import "sortablejs";
|
|
74
|
+
import "codemirror";
|
|
75
|
+
import "codemirror/theme/idea.css";
|
|
76
|
+
import "codemirror/theme/material-palenight.css";
|
|
77
|
+
import "codemirror/mode/javascript/javascript";
|
|
78
|
+
import "codemirror/mode/css/css";
|
|
79
|
+
import "codemirror/mode/htmlmixed/htmlmixed";
|
|
80
|
+
import "monaco-editor/esm/vs/language/json/json.worker?worker";
|
|
81
|
+
import "monaco-editor/esm/vs/language/css/css.worker?worker";
|
|
82
|
+
import "monaco-editor/esm/vs/language/html/html.worker?worker";
|
|
83
|
+
import "monaco-editor/esm/vs/language/typescript/ts.worker?worker";
|
|
84
|
+
import "monaco-editor/esm/vs/editor/editor.worker?worker";
|
|
85
|
+
import "monaco-editor";
|
|
86
|
+
import "vue-json-pretty";
|
|
87
|
+
import "vue-json-pretty/lib/styles.css";
|
|
88
|
+
import "firefly-plus-components";
|
|
89
|
+
import "vuedraggable";
|
|
90
|
+
import "uuid";
|
|
91
|
+
import "element-plus";
|
|
92
|
+
import "firefly-plus-components/index.css";
|
|
93
|
+
import "element-plus/dist/index.css";
|
|
94
|
+
import "vue-grid-layout";
|
|
95
|
+
import "./Info-e9cb4268.mjs";
|
|
96
|
+
const ot = { class: "jnpf-content-wrapper" }, et = { class: "jnpf-content-wrapper-center" }, it = { class: "jnpf-content-wrapper-content" }, zo = /* @__PURE__ */ U({
|
|
97
|
+
name: "systemData-interfaceOauth",
|
|
98
|
+
__name: "index",
|
|
99
|
+
setup(rt) {
|
|
100
|
+
const { t: e } = K(), { createMessage: M } = z(), x = [
|
|
101
|
+
{ title: "appId", dataIndex: "appId", width: 250 },
|
|
102
|
+
{ title: "应用名称", dataIndex: "appName" },
|
|
103
|
+
{
|
|
104
|
+
title: "使用期限",
|
|
105
|
+
dataIndex: "usefulLife",
|
|
106
|
+
width: 120,
|
|
107
|
+
customRender: ({ record: t }) => t.usefulLife ? q(t.usefulLife) : "永久"
|
|
108
|
+
},
|
|
109
|
+
{ title: "创建人", dataIndex: "creatorUser", width: 120 },
|
|
110
|
+
{ title: "创建时间", dataIndex: "creatorTime", width: 150, format: "date|YYYY-MM-DD HH:mm:ss" },
|
|
111
|
+
{ title: "最后修改时间", dataIndex: "lastModifyTime", width: 150, format: "date|YYYY-MM-DD HH:mm:ss" },
|
|
112
|
+
{ title: "排序", dataIndex: "sortCode", width: 70 },
|
|
113
|
+
{ title: "状态", dataIndex: "enabledMark", width: 70 }
|
|
114
|
+
], [y, { openPopup: s }] = k(), [I, { openPopup: C }] = k(), [T, { openModal: D }] = w(), [R, { openModal: N }] = w(), [L, { reload: d }] = V({
|
|
115
|
+
api: J,
|
|
116
|
+
columns: x,
|
|
117
|
+
useSearchForm: !0,
|
|
118
|
+
formConfig: {
|
|
119
|
+
schemas: [
|
|
120
|
+
{
|
|
121
|
+
field: "keyword",
|
|
122
|
+
label: e("common.keyword"),
|
|
123
|
+
component: "Input",
|
|
124
|
+
componentProps: {
|
|
125
|
+
placeholder: e("common.enterKeyword"),
|
|
126
|
+
submitOnPressEnter: !0
|
|
127
|
+
}
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
field: "enabledMark",
|
|
131
|
+
label: "状态",
|
|
132
|
+
component: "Select",
|
|
133
|
+
componentProps: {
|
|
134
|
+
placeholder: "请选择",
|
|
135
|
+
options: [
|
|
136
|
+
{ fullName: "启用", id: 1 },
|
|
137
|
+
{ fullName: "禁用", id: 0 }
|
|
138
|
+
]
|
|
139
|
+
}
|
|
140
|
+
}
|
|
141
|
+
]
|
|
142
|
+
},
|
|
143
|
+
actionColumn: {
|
|
144
|
+
width: 150,
|
|
145
|
+
title: "操作",
|
|
146
|
+
dataIndex: "action"
|
|
147
|
+
}
|
|
148
|
+
});
|
|
149
|
+
function P(t) {
|
|
150
|
+
return [
|
|
151
|
+
{
|
|
152
|
+
label: e("common.editText"),
|
|
153
|
+
onClick: c.bind(null, t.id)
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
label: e("common.delText"),
|
|
157
|
+
color: "error",
|
|
158
|
+
modelConfirm: {
|
|
159
|
+
onOk: E.bind(null, t.id)
|
|
160
|
+
}
|
|
161
|
+
}
|
|
162
|
+
];
|
|
163
|
+
}
|
|
164
|
+
function Y(t) {
|
|
165
|
+
return [
|
|
166
|
+
{
|
|
167
|
+
label: e("common.detailText"),
|
|
168
|
+
onClick: A.bind(null, t.id)
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
label: "日志",
|
|
172
|
+
onClick: O.bind(null, t)
|
|
173
|
+
},
|
|
174
|
+
{
|
|
175
|
+
label: "授权",
|
|
176
|
+
onClick: v.bind(null, t.id)
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
label: "用户",
|
|
180
|
+
onClick: B.bind(null, t.id)
|
|
181
|
+
}
|
|
182
|
+
];
|
|
183
|
+
}
|
|
184
|
+
function A(t) {
|
|
185
|
+
s(!0, { id: t, isDetail: 1 });
|
|
186
|
+
}
|
|
187
|
+
function O(t) {
|
|
188
|
+
C(!0, { id: t.id, appName: t.appName });
|
|
189
|
+
}
|
|
190
|
+
function v(t) {
|
|
191
|
+
D(!0, { id: t });
|
|
192
|
+
}
|
|
193
|
+
function B(t) {
|
|
194
|
+
N(!0, { id: t });
|
|
195
|
+
}
|
|
196
|
+
function E(t) {
|
|
197
|
+
Q(t).then((r) => {
|
|
198
|
+
M.success(r.msg), d();
|
|
199
|
+
});
|
|
200
|
+
}
|
|
201
|
+
function c(t = "") {
|
|
202
|
+
s(!0, { id: t });
|
|
203
|
+
}
|
|
204
|
+
return $(() => {
|
|
205
|
+
}), (t, r) => {
|
|
206
|
+
const H = u("a-button"), S = u("a-tag");
|
|
207
|
+
return p(), f("div", ot, [
|
|
208
|
+
_("div", et, [
|
|
209
|
+
_("div", it, [
|
|
210
|
+
i(o(j), { onRegister: o(L) }, {
|
|
211
|
+
tableTitle: a(() => [
|
|
212
|
+
i(H, {
|
|
213
|
+
type: "primary",
|
|
214
|
+
preIcon: "icon-ym icon-ym-btn-add",
|
|
215
|
+
onClick: r[0] || (r[0] = (n) => c())
|
|
216
|
+
}, {
|
|
217
|
+
default: a(() => [
|
|
218
|
+
b(g(o(e)("common.addText")), 1)
|
|
219
|
+
]),
|
|
220
|
+
_: 1
|
|
221
|
+
})
|
|
222
|
+
]),
|
|
223
|
+
bodyCell: a(({ column: n, record: m }) => [
|
|
224
|
+
n.key === "usefulLife" ? (p(), f(F, { key: 0 }, [], 64)) : l("", !0),
|
|
225
|
+
n.key === "enabledMark" ? (p(), h(S, {
|
|
226
|
+
key: 1,
|
|
227
|
+
color: m.enabledMark == 1 ? "success" : "error"
|
|
228
|
+
}, {
|
|
229
|
+
default: a(() => [
|
|
230
|
+
b(g(m.enabledMark == 1 ? "启用" : "禁用"), 1)
|
|
231
|
+
]),
|
|
232
|
+
_: 2
|
|
233
|
+
}, 1032, ["color"])) : l("", !0),
|
|
234
|
+
n.key === "action" ? (p(), h(o(G), {
|
|
235
|
+
key: 2,
|
|
236
|
+
actions: P(m),
|
|
237
|
+
dropDownActions: Y(m)
|
|
238
|
+
}, null, 8, ["actions", "dropDownActions"])) : l("", !0)
|
|
239
|
+
]),
|
|
240
|
+
_: 1
|
|
241
|
+
}, 8, ["onRegister"])
|
|
242
|
+
])
|
|
243
|
+
]),
|
|
244
|
+
i(W, {
|
|
245
|
+
onRegister: o(y),
|
|
246
|
+
onReload: o(d)
|
|
247
|
+
}, null, 8, ["onRegister", "onReload"]),
|
|
248
|
+
i(X, { onRegister: o(I) }, null, 8, ["onRegister"]),
|
|
249
|
+
i(Z, { onRegister: o(T) }, null, 8, ["onRegister"]),
|
|
250
|
+
i(tt, { onRegister: o(R) }, null, 8, ["onRegister"])
|
|
251
|
+
]);
|
|
252
|
+
};
|
|
253
|
+
}
|
|
254
|
+
});
|
|
255
|
+
export {
|
|
256
|
+
zo as default
|
|
257
|
+
};
|
|
258
|
+
//# sourceMappingURL=index-c4d74c6c.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-c4d74c6c.mjs","sources":["../src/views/systemData/interfaceOauth/index.vue"],"sourcesContent":["<template>\r\n <div class=\"jnpf-content-wrapper\">\r\n <div class=\"jnpf-content-wrapper-center\">\r\n <div class=\"jnpf-content-wrapper-content\">\r\n <BasicTable @register=\"registerTable\">\r\n <template #tableTitle>\r\n <a-button type=\"primary\" preIcon=\"icon-ym icon-ym-btn-add\" @click=\"addOrUpdateHandle()\">{{ t('common.addText') }}</a-button>\r\n </template>\r\n <template #bodyCell=\"{ column, record }\">\r\n <template v-if=\"column.key === 'usefulLife'\"> </template>\r\n <template v-if=\"column.key === 'enabledMark'\">\r\n <a-tag :color=\"record.enabledMark == 1 ? 'success' : 'error'\">{{ record.enabledMark == 1 ? '启用' : '禁用' }}</a-tag>\r\n </template>\r\n <template v-if=\"column.key === 'action'\">\r\n <TableAction :actions=\"getTableActions(record)\" :dropDownActions=\"getDropDownActions(record)\" />\r\n </template>\r\n </template>\r\n </BasicTable>\r\n </div>\r\n </div>\r\n <Form @register=\"registerForm\" @reload=\"reload\" />\r\n <Log @register=\"registerLog\" />\r\n <Empower @register=\"registerEmpower\" />\r\n <UserSelect @register=\"registerUserSelect\" />\r\n </div>\r\n</template>\r\n<script lang=\"ts\" setup>\r\n import { BasicTable, useTable, TableAction, BasicColumn, ActionItem } from '@/components/Table';\r\n import { useI18n } from '@/hooks/web/useI18n';\r\n import { getInterfaceOauthList, delInterfaceOauth } from '@/api/systemData/interfaceOauth';\r\n import { useMessage } from '@/hooks/web/useMessage';\r\n import { usePopup } from '@/components/Popup';\r\n import { useModal } from '@/components/Modal';\r\n import { onMounted } from 'vue';\r\n import { formatToDate } from '@/utils/dateUtil';\r\n import Form from './Form.vue';\r\n import Log from './Log.vue';\r\n import Empower from './components/Empower.vue';\r\n import UserSelect from './components/UserSelect.vue';\r\n\r\n defineOptions({ name: 'systemData-interfaceOauth' });\r\n\r\n const { t } = useI18n();\r\n const { createMessage } = useMessage();\r\n const columns: BasicColumn[] = [\r\n { title: 'appId', dataIndex: 'appId', width: 250 },\r\n { title: '应用名称', dataIndex: 'appName' },\r\n {\r\n title: '使用期限',\r\n dataIndex: 'usefulLife',\r\n width: 120,\r\n customRender: ({ record }) => {\r\n return record.usefulLife ? formatToDate(record.usefulLife) : '永久';\r\n },\r\n },\r\n { title: '创建人', dataIndex: 'creatorUser', width: 120 },\r\n { title: '创建时间', dataIndex: 'creatorTime', width: 150, format: 'date|YYYY-MM-DD HH:mm:ss' },\r\n { title: '最后修改时间', dataIndex: 'lastModifyTime', width: 150, format: 'date|YYYY-MM-DD HH:mm:ss' },\r\n { title: '排序', dataIndex: 'sortCode', width: 70 },\r\n { title: '状态', dataIndex: 'enabledMark', width: 70 },\r\n ];\r\n const [registerForm, { openPopup: openFormPopup }] = usePopup();\r\n const [registerLog, { openPopup: openLogPopup }] = usePopup();\r\n const [registerEmpower, { openModal: openEmpowerModel }] = useModal();\r\n const [registerUserSelect, { openModal: openUserSelectModel }] = useModal();\r\n const [registerTable, { reload }] = useTable({\r\n api: getInterfaceOauthList,\r\n columns,\r\n useSearchForm: true,\r\n formConfig: {\r\n schemas: [\r\n {\r\n field: 'keyword',\r\n label: t('common.keyword'),\r\n component: 'Input',\r\n componentProps: {\r\n placeholder: t('common.enterKeyword'),\r\n submitOnPressEnter: true,\r\n },\r\n },\r\n {\r\n field: 'enabledMark',\r\n label: '状态',\r\n component: 'Select',\r\n componentProps: {\r\n placeholder: '请选择',\r\n options: [\r\n { fullName: '启用', id: 1 },\r\n { fullName: '禁用', id: 0 },\r\n ],\r\n },\r\n },\r\n ],\r\n },\r\n actionColumn: {\r\n width: 150,\r\n title: '操作',\r\n dataIndex: 'action',\r\n },\r\n });\r\n\r\n function getTableActions(record): ActionItem[] {\r\n return [\r\n {\r\n label: t('common.editText'),\r\n onClick: addOrUpdateHandle.bind(null, record.id),\r\n },\r\n {\r\n label: t('common.delText'),\r\n color: 'error',\r\n modelConfirm: {\r\n onOk: handleDelete.bind(null, record.id),\r\n },\r\n },\r\n ];\r\n }\r\n function getDropDownActions(record) {\r\n return [\r\n {\r\n label: t('common.detailText'),\r\n onClick: handleDetail.bind(null, record.id),\r\n },\r\n {\r\n label: '日志',\r\n onClick: handleLog.bind(null, record),\r\n },\r\n {\r\n label: '授权',\r\n onClick: handleAuth.bind(null, record.id),\r\n },\r\n {\r\n label: '用户',\r\n onClick: handleUser.bind(null, record.id),\r\n },\r\n ];\r\n }\r\n function handleDetail(id) {\r\n openFormPopup(true, { id, isDetail: 1 });\r\n }\r\n function handleLog(record) {\r\n openLogPopup(true, { id: record.id, appName: record.appName });\r\n }\r\n function handleAuth(id) {\r\n openEmpowerModel(true, { id });\r\n }\r\n function handleUser(id) {\r\n openUserSelectModel(true, { id });\r\n }\r\n function handleDelete(id) {\r\n delInterfaceOauth(id).then(res => {\r\n createMessage.success(res.msg);\r\n reload();\r\n });\r\n }\r\n function addOrUpdateHandle(id = '') {\r\n openFormPopup(true, { id });\r\n }\r\n\r\n onMounted(() => {});\r\n</script>\r\n"],"names":["t","useI18n","createMessage","useMessage","columns","record","formatToDate","registerForm","openFormPopup","usePopup","registerLog","openLogPopup","registerEmpower","openEmpowerModel","useModal","registerUserSelect","openUserSelectModel","registerTable","reload","useTable","getInterfaceOauthList","getTableActions","addOrUpdateHandle","handleDelete","getDropDownActions","handleDetail","handleLog","handleAuth","handleUser","id","delInterfaceOauth","res","onMounted"],"mappings":"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"}
|
|
@@ -0,0 +1,96 @@
|
|
|
1
|
+
import { _ as o } from "./index.vue_vue_type_script_setup_true_lang-0eb8f454.mjs";
|
|
2
|
+
import "vue";
|
|
3
|
+
import "./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
|
+
import "./Form.vue_vue_type_script_setup_true_lang-ae83b1bb.mjs";
|
|
91
|
+
import "./formValidate-33d5595a.mjs";
|
|
92
|
+
import "./TableAction-fcabc30c.mjs";
|
|
93
|
+
export {
|
|
94
|
+
o as default
|
|
95
|
+
};
|
|
96
|
+
//# sourceMappingURL=index-c708e214.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-c708e214.mjs","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|
|
@@ -0,0 +1,191 @@
|
|
|
1
|
+
import { defineComponent as C, ref as y, onMounted as w, resolveComponent as D, openBlock as l, createBlock as d, createSlots as F, withCtx as m, createElementVNode as e, normalizeClass as u, createElementBlock as S, Fragment as T, renderList as z, normalizeStyle as a, createVNode as h, resolveDynamicComponent as B, unref as _, toDisplayString as v } from "vue";
|
|
2
|
+
import { aO as N, aZ as W, aP as J, _ as A } 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 M = { class: "text" }, O = { class: "num" }, V = /* @__PURE__ */ C({
|
|
90
|
+
__name: "index",
|
|
91
|
+
props: ["activeData"],
|
|
92
|
+
setup(t) {
|
|
93
|
+
const c = t, r = y([]), s = y(!1);
|
|
94
|
+
function b() {
|
|
95
|
+
r.value = JSON.parse(JSON.stringify(c.activeData.option.defaultValue)), console.log(r.value, c.activeData, "数据面板获取的list"), r.value = r.value.map((i) => ({
|
|
96
|
+
...i,
|
|
97
|
+
urlAddress: g(i.urlAddress, i.num)
|
|
98
|
+
})), c.activeData.dataType == "dynamic";
|
|
99
|
+
}
|
|
100
|
+
function g(i, f) {
|
|
101
|
+
if (i)
|
|
102
|
+
return i.replace(/\${[^{}]+}/g, (n) => {
|
|
103
|
+
const p = n.slice(2, -1);
|
|
104
|
+
return p == "Field" || p == "field" ? f : n;
|
|
105
|
+
});
|
|
106
|
+
}
|
|
107
|
+
function x() {
|
|
108
|
+
return window.innerWidth <= 768;
|
|
109
|
+
}
|
|
110
|
+
return w(() => {
|
|
111
|
+
s.value = x(), b();
|
|
112
|
+
}), (i, f) => {
|
|
113
|
+
const n = D("el-icon"), p = D("el-card");
|
|
114
|
+
return l(), d(p, { class: "portal-card-box" }, F({
|
|
115
|
+
default: m(() => [
|
|
116
|
+
e("div", {
|
|
117
|
+
class: u(["dataBoard-box-body", s.value ? "oveflows" : ""])
|
|
118
|
+
}, [
|
|
119
|
+
(l(!0), S(T, null, z(r.value, (o, k) => (l(), d(N, {
|
|
120
|
+
linkType: o.linkType,
|
|
121
|
+
urlAddress: o.urlAddress,
|
|
122
|
+
linkTarget: o.linkTarget,
|
|
123
|
+
type: o.type,
|
|
124
|
+
propertyJson: o.propertyJson,
|
|
125
|
+
class: u(["dataBoard-item", { "item-border": t.activeData.option.showBorder, widths: s.value }]),
|
|
126
|
+
key: k,
|
|
127
|
+
style: a({ width: 100 / (t.activeData.option.rowNumber || 4) + "%" })
|
|
128
|
+
}, {
|
|
129
|
+
default: m(() => [
|
|
130
|
+
h(n, {
|
|
131
|
+
class: u(o.icon + " dataBoard-body-item"),
|
|
132
|
+
style: a({ color: o.iconColor, background: o.iconColor ? o.iconColor.replace("rgb", "rgba").replace(")", ",0.1)") : "" })
|
|
133
|
+
}, {
|
|
134
|
+
default: m(() => [
|
|
135
|
+
(l(), d(B(_(W)(o.icon))))
|
|
136
|
+
]),
|
|
137
|
+
_: 2
|
|
138
|
+
}, 1032, ["class", "style"]),
|
|
139
|
+
e("div", M, [
|
|
140
|
+
e("p", O, [
|
|
141
|
+
e("span", {
|
|
142
|
+
style: a({
|
|
143
|
+
"font-size": t.activeData.option.valueFontSize + "px",
|
|
144
|
+
"font-weight": t.activeData.option.valueFontWeight ? "bolder" : "normal",
|
|
145
|
+
color: t.activeData.option.valueFontColor
|
|
146
|
+
})
|
|
147
|
+
}, v(o.num), 5),
|
|
148
|
+
e("span", {
|
|
149
|
+
class: "unit",
|
|
150
|
+
style: a({
|
|
151
|
+
"font-size": t.activeData.option.unitFontSize + "px",
|
|
152
|
+
"font-weight": t.activeData.option.unitFontWeight ? "bolder" : "normal",
|
|
153
|
+
color: t.activeData.option.unitFontColor
|
|
154
|
+
})
|
|
155
|
+
}, v(o.unit), 5)
|
|
156
|
+
]),
|
|
157
|
+
e("p", {
|
|
158
|
+
class: "name",
|
|
159
|
+
style: a({
|
|
160
|
+
"font-size": t.activeData.option.labelFontSize + "px",
|
|
161
|
+
"font-weight": t.activeData.option.labelFontWeight ? "bolder" : "normal",
|
|
162
|
+
color: t.activeData.option.labelFontColor
|
|
163
|
+
})
|
|
164
|
+
}, v(o.fullName), 5)
|
|
165
|
+
])
|
|
166
|
+
]),
|
|
167
|
+
_: 2
|
|
168
|
+
}, 1032, ["linkType", "urlAddress", "linkTarget", "type", "propertyJson", "style", "class"]))), 128))
|
|
169
|
+
], 2)
|
|
170
|
+
]),
|
|
171
|
+
_: 2
|
|
172
|
+
}, [
|
|
173
|
+
t.activeData.title ? {
|
|
174
|
+
name: "header",
|
|
175
|
+
fn: m(() => [
|
|
176
|
+
h(J, {
|
|
177
|
+
title: t.activeData.title,
|
|
178
|
+
card: t.activeData.card
|
|
179
|
+
}, null, 8, ["title", "card"])
|
|
180
|
+
]),
|
|
181
|
+
key: "0"
|
|
182
|
+
} : void 0
|
|
183
|
+
]), 1024);
|
|
184
|
+
};
|
|
185
|
+
}
|
|
186
|
+
});
|
|
187
|
+
const bo = /* @__PURE__ */ A(V, [["__scopeId", "data-v-fae28389"]]);
|
|
188
|
+
export {
|
|
189
|
+
bo as default
|
|
190
|
+
};
|
|
191
|
+
//# sourceMappingURL=index-d936d570.mjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index-d936d570.mjs","sources":["../src/components/VisualPortal/Portal/HDataBoard/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=\"dataBoard-box-body\" :class=\"isMobile ? 'oveflows':''\">\r\n <web-link\r\n :linkType=\"item.linkType\"\r\n :urlAddress=\"item.urlAddress\"\r\n :linkTarget=\"item.linkTarget\"\r\n :type=\"item.type\"\r\n :propertyJson=\"item.propertyJson\"\r\n class=\"dataBoard-item\"\r\n v-for=\"(item, i) in list\"\r\n :key=\"i\"\r\n :style=\"{ width: 100 / (activeData.option.rowNumber || 4) + '%' }\"\r\n :class=\"{ 'item-border': activeData.option.showBorder, 'widths':isMobile }\">\r\n <!-- <i\r\n :class=\"item.icon + ' dataBoard-body-item'\"\r\n :style=\"{ color: item.iconColor, background: item.iconColor ? item.iconColor.replace('rgb', 'rgba').replace(')', ',0.1)') : '' }\"></i> -->\r\n <el-icon :class=\"item.icon + ' dataBoard-body-item'\"\r\n :style=\"{ color: item.iconColor, background: item.iconColor ? item.iconColor.replace('rgb', 'rgba').replace(')', ',0.1)') : '' }\">\r\n <component :is=\"getIconComponent(item.icon)\" />\r\n </el-icon>\r\n <div class=\"text\">\r\n <p class=\"num\">\r\n <span\r\n :style=\"{\r\n 'font-size': activeData.option.valueFontSize + 'px',\r\n 'font-weight': activeData.option.valueFontWeight ? 'bolder' : 'normal',\r\n color: activeData.option.valueFontColor,\r\n }\">\r\n {{ item.num }}\r\n </span>\r\n <span\r\n class=\"unit\"\r\n :style=\"{\r\n 'font-size': activeData.option.unitFontSize + 'px',\r\n 'font-weight': activeData.option.unitFontWeight ? 'bolder' : 'normal',\r\n color: activeData.option.unitFontColor,\r\n }\">\r\n {{ item.unit }}\r\n </span>\r\n </p>\r\n <p\r\n class=\"name\"\r\n :style=\"{\r\n 'font-size': activeData.option.labelFontSize + 'px',\r\n 'font-weight': activeData.option.labelFontWeight ? 'bolder' : 'normal',\r\n color: activeData.option.labelFontColor,\r\n }\">\r\n {{ item.fullName }}\r\n </p>\r\n </div>\r\n </web-link>\r\n </div>\r\n </el-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 webLink from '../Link/index.vue';\r\n import { getDataInterfaceRes } from '@/api/systemData/dataInterface';\r\n import { getParamList } from '@/utils/jnpf';\r\nimport { getIconComponent } from '@/utils/IconComponent.js';\r\n\r\n const props = defineProps(['activeData']);\r\n const list = ref<any[]>([]);\r\n const isMobile = ref(false)\r\n function initData() {\r\n list.value = JSON.parse(JSON.stringify(props.activeData.option.defaultValue));\r\n console.log(list.value,props.activeData,'数据面板获取的list',)\r\n list.value = list.value.map(o => ({\r\n ...o,\r\n urlAddress: resolvedURL(o.urlAddress, o.num),\r\n }));\r\n if (props.activeData.dataType == 'dynamic') {\r\n // for (let i = 0; i < list.value.length; i++) {\r\n // list.value[i].num = '';\r\n // }\r\n // if (!props.activeData.propsApi) return;\r\n // const query = { paramList: getParamList(props.activeData.templateJson) };\r\n // props.activeData.propsApi,\r\n // const query = { \r\n // dataSetId: props.activeData.propsApi, \r\n // appId: 'firefly-user',\r\n // paramList: getParamList(props.activeData.templateJson) };\r\n\r\n // getDataInterfaceRes( query).then(res => {\r\n // for (let i = 0; i < list.value.length; i++) {\r\n // list.value[i].num = list.value[i].field ? res.data.source[list.value[i].field] : '';\r\n // list.value[i].urlAddress = resolvedURL(list.value[i].urlAddress, list.value[i].num);\r\n // }\r\n // });\r\n }\r\n }\r\n function resolvedURL(urlAddress, val) {\r\n if (!urlAddress) return;\r\n return urlAddress.replace(/\\${[^{}]+}/g, match => {\r\n const key = match.slice(2, -1);\r\n return key == 'Field' || key == 'field' ? val : match;\r\n });\r\n }\r\n function isMobileScreen() {\r\n const mobileWidthThreshold = 768; // 可以根据需要调整这个阈值\r\n return window.innerWidth <= mobileWidthThreshold;\r\n }\r\n onMounted(() => {\r\n isMobile.value = isMobileScreen()\r\n initData()\r\n });\r\n</script>\r\n<style lang=\"less\" scoped>\r\n .oveflows{\r\n overflow-x: scroll !important;\r\n overflow-y: hidden;\r\n width: 100%;\r\n height: 100%;\r\n flex-wrap: nowrap !important;\r\n }\r\n .widths{\r\n flex-shrink: 0;\r\n width: 50% !important;\r\n }\r\n .dataBoard-box-body {\r\n display: flex;\r\n flex-wrap: wrap;\r\n .item-border {\r\n box-shadow: 1px 0 #f0f0f0, 0 1px #f0f0f0, 1px 1px #f0f0f0, 1px 0 #f0f0f0 inset, 0 1px #f0f0f0 inset;\r\n &:hover {\r\n position: relative;\r\n z-index: 1;\r\n box-shadow: 0 1px 2px -2px #00000029, 0 3px 6px #0000001f, 0 5px 12px 4px #00000017;\r\n }\r\n }\r\n .dataBoard-item {\r\n padding-left: 30px;\r\n height: 141px;\r\n display: flex;\r\n align-items: center;\r\n overflow: hidden;\r\n\r\n .dataBoard-body-item {\r\n width: 66px;\r\n height: 66px;\r\n margin-right: 16px;\r\n // border-radius: 50%;\r\n border-radius: var(--plus-border-radius-md);\r\n text-align: center;\r\n line-height: 66px;\r\n font-size: 36px;\r\n flex-shrink: 0;\r\n }\r\n .text {\r\n display: inline-block;\r\n min-width: 0;\r\n flex: 1; /* 占满剩余空间 */\r\n height: 56px;\r\n .num {\r\n font-size: 20px;\r\n line-height: 36px;\r\n height: 36px;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n .unit {\r\n padding-left: 3px;\r\n }\r\n }\r\n .name {\r\n font-size: 14px;\r\n color: #666;\r\n white-space: nowrap;\r\n overflow: hidden;\r\n text-overflow: ellipsis;\r\n }\r\n }\r\n }\r\n }\r\n</style>\r\n"],"names":["props","__props","list","ref","isMobile","initData","o","resolvedURL","urlAddress","val","match","key","isMobileScreen","onMounted"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAkEE,UAAMA,IAAQC,GACRC,IAAOC,EAAW,CAAA,CAAE,GACpBC,IAAWD,EAAI,EAAK;AAC1B,aAASE,IAAW;AACb,MAAAH,EAAA,QAAQ,KAAK,MAAM,KAAK,UAAUF,EAAM,WAAW,OAAO,YAAY,CAAC,GAC5E,QAAQ,IAAIE,EAAK,OAAMF,EAAM,YAAW,aAAc,GACtDE,EAAK,QAAQA,EAAK,MAAM,IAAI,CAAMI,OAAA;AAAA,QAChC,GAAGA;AAAA,QACH,YAAYC,EAAYD,EAAE,YAAYA,EAAE,GAAG;AAAA,MAC3C,EAAA,GACEN,EAAM,WAAW,YAAY;AAAA,IAmBnC;AACS,aAAAO,EAAYC,GAAYC,GAAK;AACpC,UAAKD;AACE,eAAAA,EAAW,QAAQ,eAAe,CAASE,MAAA;AAChD,gBAAMC,IAAMD,EAAM,MAAM,GAAG,EAAE;AAC7B,iBAAOC,KAAO,WAAWA,KAAO,UAAUF,IAAMC;AAAA,QAAA,CACjD;AAAA,IACH;AACA,aAASE,IAAiB;AAExB,aAAO,OAAO,cAAc;AAAA,IAC9B;AACA,WAAAC,EAAU,MAAM;AACd,MAAAT,EAAS,QAAQQ,KACRP;IAAA,CACV;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;"}
|