epx-frame 3.5.0-shpgy.1
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/.browserslistrc +4 -0
- package/.dockerignore +2 -0
- package/.editorconfig +5 -0
- package/.env.dev +6 -0
- package/.env.development +4 -0
- package/.env.localize +7 -0
- package/.env.ppe +6 -0
- package/.env.prd +6 -0
- package/.env.pre +6 -0
- package/.env.production +6 -0
- package/.env.simple +8 -0
- package/.eslintignore +2 -0
- package/.eslintrc.js +24 -0
- package/Dockerfile +12 -0
- package/README.md +108 -0
- package/babel.config.js +26 -0
- package/build/webpack.component.js +54 -0
- package/build/webpack.dev.js +114 -0
- package/build/webpack.prod.js +133 -0
- package/nginx.conf +38 -0
- package/package.json +93 -0
- package/public/403.html +77 -0
- package/public/cmaps/78-EUC-H.bcmap +0 -0
- package/public/cmaps/78-EUC-V.bcmap +0 -0
- package/public/cmaps/78-H.bcmap +0 -0
- package/public/cmaps/78-RKSJ-H.bcmap +0 -0
- package/public/cmaps/78-RKSJ-V.bcmap +0 -0
- package/public/cmaps/78-V.bcmap +0 -0
- package/public/cmaps/78ms-RKSJ-H.bcmap +0 -0
- package/public/cmaps/78ms-RKSJ-V.bcmap +0 -0
- package/public/cmaps/83pv-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90ms-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90ms-RKSJ-V.bcmap +0 -0
- package/public/cmaps/90msp-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90msp-RKSJ-V.bcmap +0 -0
- package/public/cmaps/90pv-RKSJ-H.bcmap +0 -0
- package/public/cmaps/90pv-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Add-H.bcmap +0 -0
- package/public/cmaps/Add-RKSJ-H.bcmap +0 -0
- package/public/cmaps/Add-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Add-V.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-0.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-1.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-2.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-3.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-4.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-5.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-6.bcmap +0 -0
- package/public/cmaps/Adobe-CNS1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-0.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-1.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-2.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-3.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-4.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-5.bcmap +0 -0
- package/public/cmaps/Adobe-GB1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-0.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-1.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-2.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-3.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-4.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-5.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-6.bcmap +0 -0
- package/public/cmaps/Adobe-Japan1-UCS2.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-0.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-1.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-2.bcmap +0 -0
- package/public/cmaps/Adobe-Korea1-UCS2.bcmap +0 -0
- package/public/cmaps/B5-H.bcmap +0 -0
- package/public/cmaps/B5-V.bcmap +0 -0
- package/public/cmaps/B5pc-H.bcmap +0 -0
- package/public/cmaps/B5pc-V.bcmap +0 -0
- package/public/cmaps/CNS-EUC-H.bcmap +0 -0
- package/public/cmaps/CNS-EUC-V.bcmap +0 -0
- package/public/cmaps/CNS1-H.bcmap +0 -0
- package/public/cmaps/CNS1-V.bcmap +0 -0
- package/public/cmaps/CNS2-H.bcmap +0 -0
- package/public/cmaps/CNS2-V.bcmap +3 -0
- package/public/cmaps/ETHK-B5-H.bcmap +0 -0
- package/public/cmaps/ETHK-B5-V.bcmap +0 -0
- package/public/cmaps/ETen-B5-H.bcmap +0 -0
- package/public/cmaps/ETen-B5-V.bcmap +0 -0
- package/public/cmaps/ETenms-B5-H.bcmap +3 -0
- package/public/cmaps/ETenms-B5-V.bcmap +0 -0
- package/public/cmaps/EUC-H.bcmap +0 -0
- package/public/cmaps/EUC-V.bcmap +0 -0
- package/public/cmaps/Ext-H.bcmap +0 -0
- package/public/cmaps/Ext-RKSJ-H.bcmap +0 -0
- package/public/cmaps/Ext-RKSJ-V.bcmap +0 -0
- package/public/cmaps/Ext-V.bcmap +0 -0
- package/public/cmaps/GB-EUC-H.bcmap +0 -0
- package/public/cmaps/GB-EUC-V.bcmap +0 -0
- package/public/cmaps/GB-H.bcmap +4 -0
- package/public/cmaps/GB-V.bcmap +0 -0
- package/public/cmaps/GBK-EUC-H.bcmap +0 -0
- package/public/cmaps/GBK-EUC-V.bcmap +0 -0
- package/public/cmaps/GBK2K-H.bcmap +0 -0
- package/public/cmaps/GBK2K-V.bcmap +0 -0
- package/public/cmaps/GBKp-EUC-H.bcmap +0 -0
- package/public/cmaps/GBKp-EUC-V.bcmap +0 -0
- package/public/cmaps/GBT-EUC-H.bcmap +0 -0
- package/public/cmaps/GBT-EUC-V.bcmap +0 -0
- package/public/cmaps/GBT-H.bcmap +0 -0
- package/public/cmaps/GBT-V.bcmap +0 -0
- package/public/cmaps/GBTpc-EUC-H.bcmap +0 -0
- package/public/cmaps/GBTpc-EUC-V.bcmap +0 -0
- package/public/cmaps/GBpc-EUC-H.bcmap +0 -0
- package/public/cmaps/GBpc-EUC-V.bcmap +0 -0
- package/public/cmaps/H.bcmap +0 -0
- package/public/cmaps/HKdla-B5-H.bcmap +0 -0
- package/public/cmaps/HKdla-B5-V.bcmap +0 -0
- package/public/cmaps/HKdlb-B5-H.bcmap +0 -0
- package/public/cmaps/HKdlb-B5-V.bcmap +0 -0
- package/public/cmaps/HKgccs-B5-H.bcmap +0 -0
- package/public/cmaps/HKgccs-B5-V.bcmap +0 -0
- package/public/cmaps/HKm314-B5-H.bcmap +0 -0
- package/public/cmaps/HKm314-B5-V.bcmap +0 -0
- package/public/cmaps/HKm471-B5-H.bcmap +0 -0
- package/public/cmaps/HKm471-B5-V.bcmap +0 -0
- package/public/cmaps/HKscs-B5-H.bcmap +0 -0
- package/public/cmaps/HKscs-B5-V.bcmap +0 -0
- package/public/cmaps/Hankaku.bcmap +0 -0
- package/public/cmaps/Hiragana.bcmap +0 -0
- package/public/cmaps/KSC-EUC-H.bcmap +0 -0
- package/public/cmaps/KSC-EUC-V.bcmap +0 -0
- package/public/cmaps/KSC-H.bcmap +0 -0
- package/public/cmaps/KSC-Johab-H.bcmap +0 -0
- package/public/cmaps/KSC-Johab-V.bcmap +0 -0
- package/public/cmaps/KSC-V.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-H.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-HW-H.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-HW-V.bcmap +0 -0
- package/public/cmaps/KSCms-UHC-V.bcmap +0 -0
- package/public/cmaps/KSCpc-EUC-H.bcmap +0 -0
- package/public/cmaps/KSCpc-EUC-V.bcmap +0 -0
- package/public/cmaps/Katakana.bcmap +0 -0
- package/public/cmaps/LICENSE +36 -0
- package/public/cmaps/NWP-H.bcmap +0 -0
- package/public/cmaps/NWP-V.bcmap +0 -0
- package/public/cmaps/RKSJ-H.bcmap +0 -0
- package/public/cmaps/RKSJ-V.bcmap +0 -0
- package/public/cmaps/Roman.bcmap +0 -0
- package/public/cmaps/UniCNS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniCNS-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniGB-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniGB-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniGB-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniGB-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-HW-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-HW-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniJIS-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniJIS2004-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UCS2-HW-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniJISPro-UTF8-V.bcmap +0 -0
- package/public/cmaps/UniJISX0213-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJISX0213-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniJISX02132004-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniJISX02132004-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniKS-UCS2-H.bcmap +0 -0
- package/public/cmaps/UniKS-UCS2-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF16-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF16-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF32-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF32-V.bcmap +0 -0
- package/public/cmaps/UniKS-UTF8-H.bcmap +0 -0
- package/public/cmaps/UniKS-UTF8-V.bcmap +0 -0
- package/public/cmaps/V.bcmap +0 -0
- package/public/cmaps/WP-Symbol.bcmap +0 -0
- package/public/favicon.ico +0 -0
- package/public/font/font_2530548_ikl5ryc86u.css +535 -0
- package/public/font/font_2530548_ikl5ryc86u.ttf +0 -0
- package/public/font/font_2530548_ikl5ryc86u.woff +0 -0
- package/public/font/font_2530548_ikl5ryc86u.woff2 +0 -0
- package/public/font/font_2612462_d2s6adyaymf.css +93 -0
- package/public/font/font_2612462_d2s6adyaymf.ttf +0 -0
- package/public/font/font_2612462_d2s6adyaymf.woff +0 -0
- package/public/font/font_2612462_d2s6adyaymf.woff2 +0 -0
- package/public/img/banner.png +0 -0
- package/public/img/icons/android-chrome-192x192.png +0 -0
- package/public/img/icons/android-chrome-512x512.png +0 -0
- package/public/img/icons/android-chrome-maskable-192x192.png +0 -0
- package/public/img/icons/android-chrome-maskable-512x512.png +0 -0
- package/public/img/icons/apple-touch-icon-120x120.png +0 -0
- package/public/img/icons/apple-touch-icon-152x152.png +0 -0
- package/public/img/icons/apple-touch-icon-180x180.png +0 -0
- package/public/img/icons/apple-touch-icon-60x60.png +0 -0
- package/public/img/icons/apple-touch-icon-76x76.png +0 -0
- package/public/img/icons/apple-touch-icon.png +0 -0
- package/public/img/icons/favicon-16x16.png +0 -0
- package/public/img/icons/favicon-32x32.png +0 -0
- package/public/img/icons/msapplication-icon-144x144.png +0 -0
- package/public/img/icons/mstile-150x150.png +0 -0
- package/public/img/icons/safari-pinned-tab.svg +149 -0
- package/public/img/success.png +0 -0
- package/public/img/tip.png +0 -0
- package/public/index.html +132 -0
- package/public/js/babel-standalone.min.js +25 -0
- package/public/js/config.js +0 -0
- package/public/js/jquery-3.6.0.min.js +2 -0
- package/public/js/pdf.worker.js +45929 -0
- package/public/js/signature_pad.min.js +6 -0
- package/public/js/tinymce/icons/default/icons.js +170 -0
- package/public/js/tinymce/icons/default/icons.min.js +1 -0
- package/public/js/tinymce/jquery.tinymce.min.js +92 -0
- package/public/js/tinymce/langs/readme.md +3 -0
- package/public/js/tinymce/langs/zh_CN.js +419 -0
- package/public/js/tinymce/license.txt +504 -0
- package/public/js/tinymce/plugins/advlist/plugin.js +281 -0
- package/public/js/tinymce/plugins/advlist/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/anchor/plugin.js +216 -0
- package/public/js/tinymce/plugins/anchor/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autolink/plugin.js +185 -0
- package/public/js/tinymce/plugins/autolink/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autoresize/plugin.js +171 -0
- package/public/js/tinymce/plugins/autoresize/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/autosave/plugin.js +214 -0
- package/public/js/tinymce/plugins/autosave/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/bbcode/plugin.js +99 -0
- package/public/js/tinymce/plugins/bbcode/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/charmap/plugin.js +1706 -0
- package/public/js/tinymce/plugins/charmap/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/code/plugin.js +92 -0
- package/public/js/tinymce/plugins/code/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/codesample/plugin.js +1717 -0
- package/public/js/tinymce/plugins/codesample/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/colorpicker/plugin.js +22 -0
- package/public/js/tinymce/plugins/colorpicker/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/contextmenu/plugin.js +22 -0
- package/public/js/tinymce/plugins/contextmenu/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/data/plugin.min.js +209 -0
- package/public/js/tinymce/plugins/directionality/plugin.js +314 -0
- package/public/js/tinymce/plugins/directionality/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/emoticons/js/emojiimages.js +9424 -0
- package/public/js/tinymce/plugins/emoticons/js/emojiimages.min.js +3 -0
- package/public/js/tinymce/plugins/emoticons/js/emojis.js +9423 -0
- package/public/js/tinymce/plugins/emoticons/js/emojis.min.js +2 -0
- package/public/js/tinymce/plugins/emoticons/plugin.js +564 -0
- package/public/js/tinymce/plugins/emoticons/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/fullpage/plugin.js +544 -0
- package/public/js/tinymce/plugins/fullpage/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/fullscreen/plugin.js +851 -0
- package/public/js/tinymce/plugins/fullscreen/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/help/plugin.js +846 -0
- package/public/js/tinymce/plugins/help/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/hr/plugin.js +46 -0
- package/public/js/tinymce/plugins/hr/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/image/plugin.js +1660 -0
- package/public/js/tinymce/plugins/image/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/imagetools/plugin.js +1304 -0
- package/public/js/tinymce/plugins/imagetools/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/importcss/plugin.js +337 -0
- package/public/js/tinymce/plugins/importcss/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/insertdatetime/plugin.js +177 -0
- package/public/js/tinymce/plugins/insertdatetime/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/legacyoutput/plugin.js +199 -0
- package/public/js/tinymce/plugins/legacyoutput/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/link/plugin.js +1219 -0
- package/public/js/tinymce/plugins/link/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/lists/plugin.js +2163 -0
- package/public/js/tinymce/plugins/lists/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/media/plugin.js +1315 -0
- package/public/js/tinymce/plugins/media/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/nonbreaking/plugin.js +101 -0
- package/public/js/tinymce/plugins/nonbreaking/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/noneditable/plugin.js +117 -0
- package/public/js/tinymce/plugins/noneditable/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/pagebreak/plugin.js +107 -0
- package/public/js/tinymce/plugins/pagebreak/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/pagelink/plugin.min.js +171 -0
- package/public/js/tinymce/plugins/paper/plugin.min.js +80 -0
- package/public/js/tinymce/plugins/paste/plugin.js +1707 -0
- package/public/js/tinymce/plugins/paste/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/preview/plugin.js +127 -0
- package/public/js/tinymce/plugins/preview/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/print/plugin.js +53 -0
- package/public/js/tinymce/plugins/print/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/quickbars/plugin.js +488 -0
- package/public/js/tinymce/plugins/quickbars/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/save/plugin.js +119 -0
- package/public/js/tinymce/plugins/save/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/searchreplace/plugin.js +1167 -0
- package/public/js/tinymce/plugins/searchreplace/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/spellchecker/plugin.js +737 -0
- package/public/js/tinymce/plugins/spellchecker/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/tabfocus/plugin.js +128 -0
- package/public/js/tinymce/plugins/tabfocus/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/table/plugin.min.js +9805 -0
- package/public/js/tinymce/plugins/table/plugin.min.js1 +9 -0
- package/public/js/tinymce/plugins/template/plugin.js +562 -0
- package/public/js/tinymce/plugins/template/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/textattribute/plugin.min.js +76 -0
- package/public/js/tinymce/plugins/textcolor/plugin.js +22 -0
- package/public/js/tinymce/plugins/textcolor/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/textpattern/plugin.js +1392 -0
- package/public/js/tinymce/plugins/textpattern/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/toc/plugin.js +235 -0
- package/public/js/tinymce/plugins/toc/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/visualblocks/plugin.js +104 -0
- package/public/js/tinymce/plugins/visualblocks/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/visualchars/plugin.js +541 -0
- package/public/js/tinymce/plugins/visualchars/plugin.min.js +9 -0
- package/public/js/tinymce/plugins/wordcount/plugin.js +416 -0
- package/public/js/tinymce/plugins/wordcount/plugin.min.js +9 -0
- package/public/js/tinymce/readme.md +77 -0
- package/public/js/tinymce/skins/content/dark/content.css +59 -0
- package/public/js/tinymce/skins/content/dark/content.min.css +7 -0
- package/public/js/tinymce/skins/content/dark/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/default/content.css +49 -0
- package/public/js/tinymce/skins/content/default/content.min.css +7 -0
- package/public/js/tinymce/skins/content/default/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/document/content.css +54 -0
- package/public/js/tinymce/skins/content/document/content.min.css +7 -0
- package/public/js/tinymce/skins/content/document/content.min.css.map +1 -0
- package/public/js/tinymce/skins/content/writer/content.css +50 -0
- package/public/js/tinymce/skins/content/writer/content.min.css +7 -0
- package/public/js/tinymce/skins/content/writer/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.css +693 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.css +687 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.inline.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.css +29 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/content.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/fonts/tinymce-mobile.woff +0 -0
- package/public/js/tinymce/skins/ui/oxide/skin.css +2937 -0
- package/public/js/tinymce/skins/ui/oxide/skin.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/skin.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.css +673 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide/skin.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide/skin.shadowdom.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.css +675 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.css +687 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.inline.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.css +29 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/content.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/fonts/tinymce-mobile.woff +0 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.css +2937 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.css +673 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css +7 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.mobile.min.css.map +1 -0
- package/public/js/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +7 -0
- package/public/js/tinymce/themes/mobile/theme.js +13612 -0
- package/public/js/tinymce/themes/mobile/theme.min.js +9 -0
- package/public/js/tinymce/themes/silver/theme.js +31769 -0
- package/public/js/tinymce/themes/silver/theme.min.js +9 -0
- package/public/js/tinymce/tinymce.d.ts +2916 -0
- package/public/js/tinymce/tinymce.min.js +9 -0
- package/public/luckysheet/iconfont.css +456 -0
- package/public/luckysheet/luckysheet.css +1 -0
- package/public/luckysheet/luckysheet.umd.js +27 -0
- package/public/luckysheet/plugin.js +1 -0
- package/public/luckysheet/plugins.css +10 -0
- package/public/luckysheet/pluginsCss.css +1 -0
- package/public/robots.txt +2 -0
- package/public/signature.html +445 -0
- package/sh.exe.stackdump +11 -0
- package/src/App.vue +31 -0
- package/src/api/README.md +1 -0
- package/src/api/config.js +187 -0
- package/src/api/createHttp.js +160 -0
- package/src/api/index.js +32 -0
- package/src/assets/bdrz/banlizhong.png +0 -0
- package/src/assets/bdrz/chenggong.png +0 -0
- package/src/assets/bdrz/danwei.png +0 -0
- package/src/assets/bdrz/hedui.png +0 -0
- package/src/assets/bdrz/laoziguanli.png +0 -0
- package/src/assets/bdrz/location.png +0 -0
- package/src/assets/bdrz/locationl.png +0 -0
- package/src/assets/bdrz/phone.png +0 -0
- package/src/assets/bdrz/phonel.png +0 -0
- package/src/assets/bdrz/shouzhi.png +0 -0
- package/src/assets/bdrz/time.png +0 -0
- package/src/assets/bdrz/timel.png +0 -0
- package/src/assets/bdrz/wancheng.png +0 -0
- package/src/assets/bdrz/zuobiao.png +0 -0
- package/src/assets/customTranslate/customTranslate.js +13 -0
- package/src/assets/customTranslate/translations.js +218 -0
- package/src/assets/data/card.png +0 -0
- package/src/assets/data/code.png +0 -0
- package/src/assets/home/apply.png +0 -0
- package/src/assets/home/banner1.png +0 -0
- package/src/assets/home/banner11.png +0 -0
- package/src/assets/home/banner12.png +0 -0
- package/src/assets/home/banner2.png +0 -0
- package/src/assets/home/banner3.png +0 -0
- package/src/assets/home/benke.png +0 -0
- package/src/assets/home/chengguo.png +0 -0
- package/src/assets/home/gaojirencaisousuo.png +0 -0
- package/src/assets/home/hangyebiaozhun.png +0 -0
- package/src/assets/home/huojiang.png +0 -0
- package/src/assets/home/icon-test.png +0 -0
- package/src/assets/home/kaoshi.png +0 -0
- package/src/assets/home/kejichengguo.png +0 -0
- package/src/assets/home/keyanxiangmu.png +0 -0
- package/src/assets/home/lunwendao.png +0 -0
- package/src/assets/home/message.png +0 -0
- package/src/assets/home/my-yanjiubaogao.png +0 -0
- package/src/assets/home/nodata.png +0 -0
- package/src/assets/home/people.png +0 -0
- package/src/assets/home/qita.png +0 -0
- package/src/assets/home/schoollogo.png +0 -0
- package/src/assets/home/search.png +0 -0
- package/src/assets/home/shenbaoguanli.png +0 -0
- package/src/assets/home/shouye.png +0 -0
- package/src/assets/home/title.png +0 -0
- package/src/assets/home/todo.png +0 -0
- package/src/assets/home/wave0.png +0 -0
- package/src/assets/home/wave1.png +0 -0
- package/src/assets/home/wave2.png +0 -0
- package/src/assets/home/wodeshuju(1).png +0 -0
- package/src/assets/home/xinxizhongxin.png +0 -0
- package/src/assets/home/yanjiusheng.png +0 -0
- package/src/assets/home/yeji.png +0 -0
- package/src/assets/home/zhengjiuniandukaohe.png +0 -0
- package/src/assets/home/zhengshu.png +0 -0
- package/src/assets/home/zhidao.png +0 -0
- package/src/assets/home/zhuanli.png +0 -0
- package/src/assets/home/zhuanye.png +0 -0
- package/src/assets/home/zhuzuoquan.png +0 -0
- package/src/assets/images/add.png +0 -0
- package/src/assets/images/app.png +0 -0
- package/src/assets/images/apply_bg.png +0 -0
- package/src/assets/images/auto.png +0 -0
- package/src/assets/images/book.png +0 -0
- package/src/assets/images/clear.png +0 -0
- package/src/assets/images/contact_bg.png +0 -0
- package/src/assets/images/data/benke.png +0 -0
- package/src/assets/images/data/chengguo.png +0 -0
- package/src/assets/images/data/chubanwu.png +0 -0
- package/src/assets/images/data/erjidanwei.png +0 -0
- package/src/assets/images/data/hangyebiaozhun.png +0 -0
- package/src/assets/images/data/huojiang(1).png +0 -0
- package/src/assets/images/data/huojiang(2).png +0 -0
- package/src/assets/images/data/icon-test.png +0 -0
- package/src/assets/images/data/jianzhi.png +0 -0
- package/src/assets/images/data/jiaozhigong.png +0 -0
- package/src/assets/images/data/keyanxiangmu.png +0 -0
- package/src/assets/images/data/keyanxiangmu/346/213/267/350/264/2352.png +0 -0
- package/src/assets/images/data/lunwen(1).png +0 -0
- package/src/assets/images/data/lunwendao.png +0 -0
- package/src/assets/images/data/lunwendao/346/213/267/350/264/2352.png +0 -0
- package/src/assets/images/data/pingtai.png +0 -0
- package/src/assets/images/data/pingtai/346/213/267/350/264/235.png +0 -0
- package/src/assets/images/data/shengbujijiaoxuechengguojiang.png +0 -0
- package/src/assets/images/data/wudachengguozhuanhuazhongxin.png +0 -0
- package/src/assets/images/data/xueke(1).png +0 -0
- package/src/assets/images/data/yanjiusheng.png +0 -0
- package/src/assets/images/data/zhidao.png +0 -0
- package/src/assets/images/data/zhuanli.png +0 -0
- package/src/assets/images/data/zhuzuoquan.png +0 -0
- package/src/assets/images/error.png +0 -0
- package/src/assets/images/file.png +0 -0
- package/src/assets/images/hall_banner.png +0 -0
- package/src/assets/images/hr.png +0 -0
- package/src/assets/images/index/benke.png +0 -0
- package/src/assets/images/index/chengguo.png +0 -0
- package/src/assets/images/index/gaojirencaisousuo.png +0 -0
- package/src/assets/images/index/hangyebiaozhun.png +0 -0
- package/src/assets/images/index/huojiang.png +0 -0
- package/src/assets/images/index/icon-test.png +0 -0
- package/src/assets/images/index/kaoshi.png +0 -0
- package/src/assets/images/index/kejichengguo.png +0 -0
- package/src/assets/images/index/keyanxiangmu.png +0 -0
- package/src/assets/images/index/lunwendao.png +0 -0
- package/src/assets/images/index/my-yanjiubaogao.png +0 -0
- package/src/assets/images/index/qita.png +0 -0
- package/src/assets/images/index/shenbaoguanli.png +0 -0
- package/src/assets/images/index/wodeshuju(1).png +0 -0
- package/src/assets/images/index/xinxizhongxin.png +0 -0
- package/src/assets/images/index/yanjiusheng.png +0 -0
- package/src/assets/images/index/yeji.png +0 -0
- package/src/assets/images/index/zhengjiuniandukaohe.png +0 -0
- package/src/assets/images/index/zhengshu.png +0 -0
- package/src/assets/images/index/zhidao.png +0 -0
- package/src/assets/images/index/zhuanli.png +0 -0
- package/src/assets/images/index/zhuanye.png +0 -0
- package/src/assets/images/index/zhuzuoquan.png +0 -0
- package/src/assets/images/index//344/270/232/345/212/241/347/224/263/346/212/245/344/270/200/347/253/231/345/274/217/345/212/236/347/220/206.png +0 -0
- package/src/assets/images/index//345/276/205/345/212/236.png +0 -0
- package/src/assets/images/index//346/244/255/345/234/2064/346/213/267/350/264/2355.png +0 -0
- package/src/assets/images/index//346/244/255/345/234/2065/346/213/267/350/264/235.png +0 -0
- package/src/assets/images/index//346/266/210/346/201/257.png +0 -0
- package/src/assets/images/index//347/224/263/350/257/267.png +0 -0
- package/src/assets/images/index//351/273/230/350/256/244/345/255/246/346/240/241logo.png +0 -0
- package/src/assets/images/jian.png +0 -0
- package/src/assets/images/login.jpg +0 -0
- package/src/assets/images/logo.png +0 -0
- package/src/assets/images/m_hall_banner.png +0 -0
- package/src/assets/images/mlogin.png +0 -0
- package/src/assets/images/module.png +0 -0
- package/src/assets/images/offical/111.png +0 -0
- package/src/assets/images/offical/haiwaigaocengcirencai.png +0 -0
- package/src/assets/images/offical/jiaoxue(1).png +0 -0
- package/src/assets/images/offical/niandukaohe-weikaohe.png +0 -0
- package/src/assets/images/offical/pinqikaohe.png +0 -0
- package/src/assets/images/offical/renshiguanlixinxi_yingongchuguo.png +0 -0
- package/src/assets/images/offical/shengbujijiaoxuechengguojiang.png +0 -0
- package/src/assets/images/offical/shujucaiji.png +0 -0
- package/src/assets/images/offical/yeji(1).png +0 -0
- package/src/assets/images/offical/zhuanye.png +0 -0
- package/src/assets/images/offical//345/244/232/350/276/271/345/275/2421/346/213/267/350/264/23510.png +0 -0
- package/src/assets/images/qq.png +0 -0
- package/src/assets/images/role_select.png +0 -0
- package/src/assets/images/staff.png +0 -0
- package/src/assets/images/success.png +0 -0
- package/src/assets/images/theme/aurorablue.png +0 -0
- package/src/assets/images/theme/classicblue.png +0 -0
- package/src/assets/images/theme/deepblue.png +0 -0
- package/src/assets/images/theme/forestgreen.png +0 -0
- package/src/assets/images/theme/orange.png +0 -0
- package/src/assets/images/theme/palevioletred.png +0 -0
- package/src/assets/images/theme/purple.png +0 -0
- package/src/assets/images/theme/skyblue.png +0 -0
- package/src/assets/images/theme/tiffanyblue.png +0 -0
- package/src/assets/images/user_bg.png +0 -0
- package/src/assets/images/weixin.png +0 -0
- package/src/assets/login/bgimg.jpg +0 -0
- package/src/assets/moren.png +0 -0
- package/src/assets/wage/baseBanner.png +0 -0
- package/src/frame/base/AppModuleTreeFind.vue +51 -0
- package/src/frame/base/AttributeSubAdd.vue +29 -0
- package/src/frame/base/ChooseApplication.vue +176 -0
- package/src/frame/base/ChooseApplicationSet.vue +165 -0
- package/src/frame/base/ClientAppItem.vue +217 -0
- package/src/frame/base/ClientApplication.vue +446 -0
- package/src/frame/base/ClientApplicationList.vue +180 -0
- package/src/frame/base/ClientModule.vue +65 -0
- package/src/frame/base/ClientModuleIndex.vue +413 -0
- package/src/frame/base/ClientTreePage.vue +29 -0
- package/src/frame/base/ConfigModuleIndex.vue +82 -0
- package/src/frame/base/CurrentClientApplication.vue +33 -0
- package/src/frame/base/DeptTreeFind.vue +51 -0
- package/src/frame/base/EntityList.vue +71 -0
- package/src/frame/base/ModuleTreeFind.vue +51 -0
- package/src/frame/base/PageList.vue +47 -0
- package/src/frame/base/PermissManage.vue +95 -0
- package/src/frame/base/RoleAccredit.vue +961 -0
- package/src/frame/base/ServiceAccredit.vue +956 -0
- package/src/frame/base/ServiceMenu.vue +380 -0
- package/src/frame/base/ServiceOperate.vue +929 -0
- package/src/frame/base/ServiceTreePage.vue +31 -0
- package/src/frame/components/AddUsedInterface.vue +154 -0
- package/src/frame/components/Alert.vue +35 -0
- package/src/frame/components/AppList.vue +254 -0
- package/src/frame/components/Apply/ApplyIndex.vue +207 -0
- package/src/frame/components/AttributeList.vue +612 -0
- package/src/frame/components/Banner.vue +25 -0
- package/src/frame/components/CardO.vue +112 -0
- package/src/frame/components/CheckForm.vue +20 -0
- package/src/frame/components/ClientAdminFormItem.vue +49 -0
- package/src/frame/components/ClientFormItem.vue +45 -0
- package/src/frame/components/ClientList.vue +135 -0
- package/src/frame/components/CodeDetail.vue +374 -0
- package/src/frame/components/CodeManage.vue +755 -0
- package/src/frame/components/ComponentFind.vue +356 -0
- package/src/frame/components/ComponentList.vue +521 -0
- package/src/frame/components/ConfigParamFormItem.vue +193 -0
- package/src/frame/components/CreatePage.vue +329 -0
- package/src/frame/components/DataLog.vue +91 -0
- package/src/frame/components/DblogList.vue +158 -0
- package/src/frame/components/DeptFind.vue +126 -0
- package/src/frame/components/DropDown/DropDownMenu.vue +267 -0
- package/src/frame/components/DropDown/DropDownMenuItem.vue +489 -0
- package/src/frame/components/DynamicUserList.vue +69 -0
- package/src/frame/components/EditListTable.vue +774 -0
- package/src/frame/components/EntityCheckboxFind.vue +88 -0
- package/src/frame/components/EntityRelationAdd.vue +201 -0
- package/src/frame/components/EntityRelationAddFormItem.vue +100 -0
- package/src/frame/components/EntityRightFormItem.vue +616 -0
- package/src/frame/components/EntityRightSubList.vue +588 -0
- package/src/frame/components/EntityTreeManage.vue +852 -0
- package/src/frame/components/EntityViewFields.vue +401 -0
- package/src/frame/components/EntityViewSubList.vue +976 -0
- package/src/frame/components/ExportSystemConfig.vue +103 -0
- package/src/frame/components/FieldAddFormItem.vue +35 -0
- package/src/frame/components/Footer.vue +120 -0
- package/src/frame/components/FormulaEditor.vue +1216 -0
- package/src/frame/components/HallNav.vue +450 -0
- package/src/frame/components/HeaderNav.vue +417 -0
- package/src/frame/components/IconCard.vue +158 -0
- package/src/frame/components/IconFontLibrary.vue +59 -0
- package/src/frame/components/IconFontList.vue +75 -0
- package/src/frame/components/IdentifyList.vue +33 -0
- package/src/frame/components/ImportSystemConfig.vue +206 -0
- package/src/frame/components/InterfaceSubList.vue +295 -0
- package/src/frame/components/JsPanel.vue +103 -0
- package/src/frame/components/LanguageImportPage.vue +598 -0
- package/src/frame/components/LanguageSetting.vue +449 -0
- package/src/frame/components/List/LinkItem.vue +98 -0
- package/src/frame/components/List/List.vue +17 -0
- package/src/frame/components/List/ListItem.vue +52 -0
- package/src/frame/components/ListTable.vue +796 -0
- package/src/frame/components/MEntitySubList.vue +199 -0
- package/src/frame/components/MenuTreeFind.vue +107 -0
- package/src/frame/components/MessageList.vue +137 -0
- package/src/frame/components/MessageRuleFormItem.vue +61 -0
- package/src/frame/components/MessageRuleReceiverFormItem.vue +173 -0
- package/src/frame/components/MessageTemplate.vue +791 -0
- package/src/frame/components/MetaList.vue +65 -0
- package/src/frame/components/Mine.vue +114 -0
- package/src/frame/components/Nav.vue +599 -0
- package/src/frame/components/NavFormCatalogItem.vue +9 -0
- package/src/frame/components/NumList.vue +108 -0
- package/src/frame/components/OperateLog.vue +168 -0
- package/src/frame/components/PageCatalog.vue +454 -0
- package/src/frame/components/PageChart.vue +306 -0
- package/src/frame/components/PageSwipes.vue +179 -0
- package/src/frame/components/PersonFormItem.vue +92 -0
- package/src/frame/components/Popup.vue +181 -0
- package/src/frame/components/PrintFormList.vue +495 -0
- package/src/frame/components/PublishEntity.vue +87 -0
- package/src/frame/components/ReportFormList.vue +247 -0
- package/src/frame/components/ReportList.vue +493 -0
- package/src/frame/components/RightSubList.vue +253 -0
- package/src/frame/components/RoleAddUser.vue +50 -0
- package/src/frame/components/RoleApplicationCard.vue +299 -0
- package/src/frame/components/RoleApplicationList.vue +766 -0
- package/src/frame/components/RoleApplicationSet.vue +845 -0
- package/src/frame/components/RuleText.vue +98 -0
- package/src/frame/components/Search.vue +270 -0
- package/src/frame/components/ServiceFormItem.vue +29 -0
- package/src/frame/components/SubAdd.vue +0 -0
- package/src/frame/components/SystemNav.vue +18 -0
- package/src/frame/components/TaskNumCard.vue +26 -0
- package/src/frame/components/TimerRuleFormItem.vue +227 -0
- package/src/frame/components/TodoList.vue +429 -0
- package/src/frame/components/UpdateSystemConfig.vue +186 -0
- package/src/frame/components/UserCard.vue +110 -0
- package/src/frame/components/UserFind.vue +438 -0
- package/src/frame/components/UserFormItem.vue +666 -0
- package/src/frame/components/UserList.vue +17 -0
- package/src/frame/components/UserManage.vue +716 -0
- package/src/frame/components/ValidateRuleFormItem.vue +40 -0
- package/src/frame/components/ViewFieldDefine.vue +554 -0
- package/src/frame/components/attribute/Form.vue +439 -0
- package/src/frame/components/authorization/AddApiPermiss.vue +179 -0
- package/src/frame/components/authorization/AddAuthorization.vue +135 -0
- package/src/frame/components/authorization/AddEntityFind.vue +68 -0
- package/src/frame/components/authorization/AddNoApi.vue +143 -0
- package/src/frame/components/authorization/AddRoleScope.vue +291 -0
- package/src/frame/components/authorization/ApiShareOtherList.vue +353 -0
- package/src/frame/components/authorization/ApiSystemList.vue +315 -0
- package/src/frame/components/authorization/AuthorizationRoleSystem.vue +213 -0
- package/src/frame/components/authorization/EntityConstraintFormItem.vue +255 -0
- package/src/frame/components/authorization/OtherShareApiList.vue +248 -0
- package/src/frame/components/authorization/PermissRoleAuthorization.vue +583 -0
- package/src/frame/components/authorization/PermissRoleTabs.vue +117 -0
- package/src/frame/components/authorization/RoleLevel.vue +113 -0
- package/src/frame/components/authorization/RoleLevelScope.vue +247 -0
- package/src/frame/components/card/CardList.vue +78 -0
- package/src/frame/components/card/CardListItem.vue +147 -0
- package/src/frame/components/card/Title.vue +38 -0
- package/src/frame/components/chart/CircularPie.vue +11 -0
- package/src/frame/components/chart/Column.vue +11 -0
- package/src/frame/components/chart/HoriColumn.vue +11 -0
- package/src/frame/components/chart/Line.vue +11 -0
- package/src/frame/components/chart/Pie.vue +11 -0
- package/src/frame/components/custom-bpmn/CustomContextPad.js +58 -0
- package/src/frame/components/custom-bpmn/CustomPalette.js +257 -0
- package/src/frame/components/custom-bpmn/CustomRenderer.js +115 -0
- package/src/frame/components/custom-bpmn/CustomRendererBpmn.js +45 -0
- package/src/frame/components/custom-bpmn/PropertiesView.vue +4046 -0
- package/src/frame/components/custom-bpmn/img/chaxun.png +0 -0
- package/src/frame/components/custom-bpmn/img/fasong.png +0 -0
- package/src/frame/components/custom-bpmn/img/gengxin.png +0 -0
- package/src/frame/components/custom-bpmn/img/jiagong.png +0 -0
- package/src/frame/components/custom-bpmn/img/jiekou.png +0 -0
- package/src/frame/components/custom-bpmn/img/shanchu.png +0 -0
- package/src/frame/components/custom-bpmn/img/tongbu.png +0 -0
- package/src/frame/components/custom-bpmn/img/xinzeng.png +0 -0
- package/src/frame/components/custom-bpmn/img/xunhuanend.png +0 -0
- package/src/frame/components/custom-bpmn/img/xunhuanstart.png +0 -0
- package/src/frame/components/custom-bpmn/img/ywgz.png +0 -0
- package/src/frame/components/custom-bpmn/index.js +6 -0
- package/src/frame/components/custom-bpmn/palette.js +18 -0
- package/src/frame/components/custom-bpmn/util.js +5 -0
- package/src/frame/components/expand/AddForm.vue +91 -0
- package/src/frame/components/expand/AddFormItem.vue +144 -0
- package/src/frame/components/filter/Filter.vue +744 -0
- package/src/frame/components/filter/FilterItem.vue +516 -0
- package/src/frame/components/form/Cascader.vue +79 -0
- package/src/frame/components/form/CheckBox.vue +88 -0
- package/src/frame/components/form/Date.vue +154 -0
- package/src/frame/components/form/DateRange.vue +108 -0
- package/src/frame/components/form/Field.vue +91 -0
- package/src/frame/components/form/File.vue +415 -0
- package/src/frame/components/form/FormItem.vue +128 -0
- package/src/frame/components/form/Hidden.vue +77 -0
- package/src/frame/components/form/Input.vue +123 -0
- package/src/frame/components/form/List.vue +149 -0
- package/src/frame/components/form/Object.vue +225 -0
- package/src/frame/components/form/Photo.vue +235 -0
- package/src/frame/components/form/Textarea.vue +133 -0
- package/src/frame/components/grid/Module.vue +63 -0
- package/src/frame/components/grid/ModuleItem.vue +205 -0
- package/src/frame/components/hall/AppCollect.vue +189 -0
- package/src/frame/components/hall/AppList.vue +407 -0
- package/src/frame/components/hall/AppVisitRecord.vue +170 -0
- package/src/frame/components/hall/Banner.vue +21 -0
- package/src/frame/components/hall/ServiceCard.vue +202 -0
- package/src/frame/components/hall/UserCard.vue +112 -0
- package/src/frame/components/mscope/Scope.vue +90 -0
- package/src/frame/components/mscope/ScopeItem.vue +372 -0
- package/src/frame/components/mscope/drawer.vue +43 -0
- package/src/frame/components/permiss/AddApi.vue +119 -0
- package/src/frame/components/permiss/AddNoEntityApi.vue +131 -0
- package/src/frame/components/permiss/AddSystemPermiss.vue +107 -0
- package/src/frame/components/permiss/AllocateRole.vue +107 -0
- package/src/frame/components/permiss/ApiSubList.vue +193 -0
- package/src/frame/components/permiss/FieldScope.vue +138 -0
- package/src/frame/components/permiss/ListTable.vue +842 -0
- package/src/frame/components/permiss/PermissEdit.vue +61 -0
- package/src/frame/components/permiss/PermissManage.vue +96 -0
- package/src/frame/components/permiss/PermissManageAdd.vue +203 -0
- package/src/frame/components/permiss/RoleMenu.vue +405 -0
- package/src/frame/components/permiss/RoleSubList.vue +264 -0
- package/src/frame/components/permiss/jurisdiction.vue +425 -0
- package/src/frame/components/report/ChartLine.vue +253 -0
- package/src/frame/components/report/ChartPie.vue +345 -0
- package/src/frame/components/report/Config.vue +709 -0
- package/src/frame/components/report/Design.vue +2783 -0
- package/src/frame/components/report/Index.vue +115 -0
- package/src/frame/components/report/ReportTable.vue +1051 -0
- package/src/frame/components/report/StatList.vue +229 -0
- package/src/frame/components/right/RoleDataList.vue +291 -0
- package/src/frame/components/right/RoleFieldList.vue +348 -0
- package/src/frame/components/scope/Scope.vue +497 -0
- package/src/frame/components/scope/ScopeDrawer.vue +195 -0
- package/src/frame/components/scope/ScopeItem.vue +973 -0
- package/src/frame/components/task-list/TaskList.vue +617 -0
- package/src/frame/components/task-list/Visual.vue +45 -0
- package/src/frame/components/task-list/index.js +3 -0
- package/src/frame/components/task-list-page/TaskListPage.vue +26 -0
- package/src/frame/components/task-list-page/index.js +8 -0
- package/src/frame/components/upLoad.vue +69 -0
- package/src/frame/components/viewport/LookViewList.vue +28 -0
- package/src/frame/components/viewport/ViewAddForm.vue +151 -0
- package/src/frame/components/viewport/ViewDefineList.vue +53 -0
- package/src/frame/components/viewport/ViewFiedList.vue +646 -0
- package/src/frame/components/viewport/ViewScope.vue +109 -0
- package/src/frame/index.js +37 -0
- package/src/frame/packages/add-form/AddForm.vue +2128 -0
- package/src/frame/packages/add-form/Preview.vue +312 -0
- package/src/frame/packages/add-form/index.js +8 -0
- package/src/frame/packages/add-form-item/AddFormItem.vue +446 -0
- package/src/frame/packages/add-form-item/Preview.vue +92 -0
- package/src/frame/packages/add-form-item/index.js +8 -0
- package/src/frame/packages/alter/Alert.vue +42 -0
- package/src/frame/packages/alter/Visual.vue +58 -0
- package/src/frame/packages/alter/index.js +8 -0
- package/src/frame/packages/app-index/AppIndex.vue +188 -0
- package/src/frame/packages/app-index/index.js +8 -0
- package/src/frame/packages/app-nav/AppNav.vue +1553 -0
- package/src/frame/packages/app-nav/Preview.vue +13 -0
- package/src/frame/packages/app-nav/index.js +8 -0
- package/src/frame/packages/app-tabs/Tabs.vue +121 -0
- package/src/frame/packages/app-tabs/index.js +8 -0
- package/src/frame/packages/apply-form/ApplyForm.vue +68 -0
- package/src/frame/packages/apply-form/index.js +3 -0
- package/src/frame/packages/approval-index/ApprovalIndex.vue +465 -0
- package/src/frame/packages/approval-index/index.js +8 -0
- package/src/frame/packages/approval-index-page/ApprovalIndexPage.vue +21 -0
- package/src/frame/packages/approval-index-page/index.js +8 -0
- package/src/frame/packages/base-page/BasePage.vue +221 -0
- package/src/frame/packages/base-page/index.js +8 -0
- package/src/frame/packages/button/Button.vue +47 -0
- package/src/frame/packages/button/Preview.vue +33 -0
- package/src/frame/packages/button/index.js +8 -0
- package/src/frame/packages/card/Card.vue +291 -0
- package/src/frame/packages/card/index.js +8 -0
- package/src/frame/packages/card-form-item/CardFormItem.vue +301 -0
- package/src/frame/packages/card-form-item/Visual.vue +101 -0
- package/src/frame/packages/card-form-item/index.js +3 -0
- package/src/frame/packages/category-list/CategoryList.vue +854 -0
- package/src/frame/packages/category-list/index.js +8 -0
- package/src/frame/packages/chart/Chart.vue +124 -0
- package/src/frame/packages/chart/ChartColumn.vue +365 -0
- package/src/frame/packages/chart/ChartFormItem.vue +241 -0
- package/src/frame/packages/chart/ChartLine.vue +317 -0
- package/src/frame/packages/chart/ChartPie.vue +384 -0
- package/src/frame/packages/chart/Funnel.vue +379 -0
- package/src/frame/packages/chart/ReportTable.vue +1139 -0
- package/src/frame/packages/chart/index.js +23 -0
- package/src/frame/packages/check-history/CheckHistory.vue +510 -0
- package/src/frame/packages/check-history/Steps.vue +213 -0
- package/src/frame/packages/check-history/index.js +8 -0
- package/src/frame/packages/component/Component.vue +16 -0
- package/src/frame/packages/component/index.js +8 -0
- package/src/frame/packages/contacts/Card.vue +133 -0
- package/src/frame/packages/contacts/Contacts.vue +167 -0
- package/src/frame/packages/contacts/index.js +8 -0
- package/src/frame/packages/edit-entity-list/EditEntityList.vue +108 -0
- package/src/frame/packages/entity-add-page/EntityAddPage.vue +100 -0
- package/src/frame/packages/entity-add-page/index.js +8 -0
- package/src/frame/packages/entity-apply-page/EntityApplyPage.vue +60 -0
- package/src/frame/packages/entity-apply-page/index.js +3 -0
- package/src/frame/packages/entity-list/Config.vue +275 -0
- package/src/frame/packages/entity-list/EntityList.scss +88 -0
- package/src/frame/packages/entity-list/EntityList.vue +2105 -0
- package/src/frame/packages/entity-list/Preview.vue +232 -0
- package/src/frame/packages/entity-list/components/EditField.vue +76 -0
- package/src/frame/packages/entity-list/components/Field.vue +166 -0
- package/src/frame/packages/entity-list/config.js +0 -0
- package/src/frame/packages/entity-list/index.js +20 -0
- package/src/frame/packages/entity-list-find/EntityListFind.vue +161 -0
- package/src/frame/packages/entity-list-find/index.js +8 -0
- package/src/frame/packages/entity-list-find-page/EntityListFindPage.vue +72 -0
- package/src/frame/packages/entity-list-find-page/index.js +8 -0
- package/src/frame/packages/entity-list-page/EntityListPage.vue +91 -0
- package/src/frame/packages/entity-list-page/index.js +8 -0
- package/src/frame/packages/entity-no-submit-sub-list/EntityNoSubmitSubList.vue +302 -0
- package/src/frame/packages/entity-no-submit-sub-list/index.js +8 -0
- package/src/frame/packages/entity-sub-grid/EntitySubGrid.vue +46 -0
- package/src/frame/packages/entity-sub-grid/EntitySubGridItem.vue +68 -0
- package/src/frame/packages/entity-sub-grid/index.js +13 -0
- package/src/frame/packages/entity-sub-list/EntitySubList.vue +418 -0
- package/src/frame/packages/entity-sub-list/index.js +8 -0
- package/src/frame/packages/entity-tree-find/EntitytTreeFind.vue +460 -0
- package/src/frame/packages/entity-tree-find/index.js +8 -0
- package/src/frame/packages/entity-tree-find-page/EntityTreeFindPage.vue +29 -0
- package/src/frame/packages/entity-tree-find-page/index.js +8 -0
- package/src/frame/packages/export/Export.vue +530 -0
- package/src/frame/packages/export/index.js +8 -0
- package/src/frame/packages/footer/Footer.vue +142 -0
- package/src/frame/packages/footer/index.js +3 -0
- package/src/frame/packages/form/Form.vue +611 -0
- package/src/frame/packages/form/index.js +8 -0
- package/src/frame/packages/form-item/CheckBox.vue +160 -0
- package/src/frame/packages/form-item/Color.vue +135 -0
- package/src/frame/packages/form-item/Date.vue +330 -0
- package/src/frame/packages/form-item/File.vue +712 -0
- package/src/frame/packages/form-item/FormItem.vue +464 -0
- package/src/frame/packages/form-item/Hidden.vue +55 -0
- package/src/frame/packages/form-item/Html.vue +291 -0
- package/src/frame/packages/form-item/Input.vue +320 -0
- package/src/frame/packages/form-item/Location.vue +313 -0
- package/src/frame/packages/form-item/Number.vue +217 -0
- package/src/frame/packages/form-item/Object.vue +1195 -0
- package/src/frame/packages/form-item/Password.vue +128 -0
- package/src/frame/packages/form-item/Photo.vue +362 -0
- package/src/frame/packages/form-item/Radio.vue +157 -0
- package/src/frame/packages/form-item/Rule.vue +989 -0
- package/src/frame/packages/form-item/Scope.vue +224 -0
- package/src/frame/packages/form-item/Select.vue +226 -0
- package/src/frame/packages/form-item/Signature.vue +242 -0
- package/src/frame/packages/form-item/Switch.vue +124 -0
- package/src/frame/packages/form-item/Tag.vue +216 -0
- package/src/frame/packages/form-item/Textarea.vue +279 -0
- package/src/frame/packages/form-item/index.js +45 -0
- package/src/frame/packages/grid/Grid.vue +70 -0
- package/src/frame/packages/grid/GridItem.vue +190 -0
- package/src/frame/packages/grid/index.js +13 -0
- package/src/frame/packages/header/Breadcrumb.vue +55 -0
- package/src/frame/packages/header/Header.vue +602 -0
- package/src/frame/packages/header/Preview.vue +252 -0
- package/src/frame/packages/header/index.js +16 -0
- package/src/frame/packages/icon/Icon.vue +47 -0
- package/src/frame/packages/icon/index.js +7 -0
- package/src/frame/packages/iframe/Iframe.vue +17 -0
- package/src/frame/packages/iframe/index.js +8 -0
- package/src/frame/packages/image/image.vue +23 -0
- package/src/frame/packages/import/Import.vue +832 -0
- package/src/frame/packages/import/index.js +8 -0
- package/src/frame/packages/layout/Column.vue +47 -0
- package/src/frame/packages/layout/ColumnPreview.vue +119 -0
- package/src/frame/packages/layout/Config.vue +114 -0
- package/src/frame/packages/layout/Layout.vue +62 -0
- package/src/frame/packages/layout/Preview.vue +111 -0
- package/src/frame/packages/layout/index.js +10 -0
- package/src/frame/packages/list/List.vue +426 -0
- package/src/frame/packages/list/index.js +8 -0
- package/src/frame/packages/list/visual/List.vue +349 -0
- package/src/frame/packages/load-page/LoadPage.vue +29 -0
- package/src/frame/packages/load-page/index.js +8 -0
- package/src/frame/packages/m-entity-add-page/MEntityAddPage.vue +100 -0
- package/src/frame/packages/m-entity-add-page/index.js +8 -0
- package/src/frame/packages/m-entity-list/MEntityList.vue +1083 -0
- package/src/frame/packages/m-entity-list/index.js +3 -0
- package/src/frame/packages/m-entity-list-find/MEntityListFind.vue +329 -0
- package/src/frame/packages/m-entity-list-find/Visual.vue +105 -0
- package/src/frame/packages/m-entity-list-find/index.js +3 -0
- package/src/frame/packages/m-entity-tree-find/MEntityTreeFind.vue +339 -0
- package/src/frame/packages/m-entity-tree-find/index.js +8 -0
- package/src/frame/packages/menu/Menu.vue +174 -0
- package/src/frame/packages/menu/MenuItem.vue +94 -0
- package/src/frame/packages/menu/index.js +16 -0
- package/src/frame/packages/menu-index/MenuIndex.vue +444 -0
- package/src/frame/packages/menu-index/index.js +8 -0
- package/src/frame/packages/mine/Mine.vue +404 -0
- package/src/frame/packages/module-index-page/ModuleIndexPage.vue +250 -0
- package/src/frame/packages/module-index-page/index.js +7 -0
- package/src/frame/packages/module-list/ModuleList.vue +222 -0
- package/src/frame/packages/module-list/index.js +8 -0
- package/src/frame/packages/module-list-page/ModuleListPage.vue +24 -0
- package/src/frame/packages/module-list-page/index.js +8 -0
- package/src/frame/packages/nav-add-form/NavAddForm.vue +626 -0
- package/src/frame/packages/nav-add-form/index.js +8 -0
- package/src/frame/packages/num/CardNum.vue +267 -0
- package/src/frame/packages/num/NumItem.vue +192 -0
- package/src/frame/packages/num/NumSubItem.vue +137 -0
- package/src/frame/packages/num/Statistic.vue +42 -0
- package/src/frame/packages/num/index.js +17 -0
- package/src/frame/packages/org-chart/OrgChart.vue +301 -0
- package/src/frame/packages/org-chart/index.js +8 -0
- package/src/frame/packages/page/Page.vue +322 -0
- package/src/frame/packages/page/index.js +8 -0
- package/src/frame/packages/page-help/PageHelp.vue +28 -0
- package/src/frame/packages/page-help/Preview.vue +35 -0
- package/src/frame/packages/page-help/index.js +8 -0
- package/src/frame/packages/page-tabs/PageTabs.vue +188 -0
- package/src/frame/packages/page-tabs/index.js +8 -0
- package/src/frame/packages/progress/Progress.vue +287 -0
- package/src/frame/packages/progress/ProgressItem.vue +39 -0
- package/src/frame/packages/progress/index.js +13 -0
- package/src/frame/packages/progress-chart/ProcessChart.vue +210 -0
- package/src/frame/packages/progress-chart/index.js +8 -0
- package/src/frame/packages/report-form-list/ReportFormList.vue +0 -0
- package/src/frame/packages/router-view/RouterView.vue +229 -0
- package/src/frame/packages/router-view/index.js +8 -0
- package/src/frame/packages/scope/Scope.vue +594 -0
- package/src/frame/packages/scope/ScopeDrawer.vue +201 -0
- package/src/frame/packages/scope/ScopeItem.vue +987 -0
- package/src/frame/packages/scope/index.js +15 -0
- package/src/frame/packages/search/Fields.vue +326 -0
- package/src/frame/packages/search/Filter.vue +473 -0
- package/src/frame/packages/search/Keyword.vue +106 -0
- package/src/frame/packages/search/Mobile.vue +314 -0
- package/src/frame/packages/search/Select.vue +238 -0
- package/src/frame/packages/search/index.js +22 -0
- package/src/frame/packages/step/Step.vue +149 -0
- package/src/frame/packages/step/index.js +8 -0
- package/src/frame/packages/step-item/StepItem.vue +126 -0
- package/src/frame/packages/step-item/index.js +8 -0
- package/src/frame/packages/tab-bar/Config.vue +11 -0
- package/src/frame/packages/tab-bar/TabBar.vue +25 -0
- package/src/frame/packages/tab-bar/index.js +3 -0
- package/src/frame/packages/text/Text.vue +25 -0
- package/src/frame/packages/text-editor/TextEditor.vue +22 -0
- package/src/frame/packages/title/Title.vue +21 -0
- package/src/frame/packages/title/index.js +8 -0
- package/src/frame/packages/visual-config-page/ComponentLibrary.vue +198 -0
- package/src/frame/packages/visual-config-page/ComponentList.vue +565 -0
- package/src/frame/packages/visual-config-page/ComponentPreview.vue +153 -0
- package/src/frame/packages/visual-config-page/ConfigOption.vue +16 -0
- package/src/frame/packages/visual-config-page/ConfigPanel.vue +576 -0
- package/src/frame/packages/visual-config-page/PagePreview.vue +53 -0
- package/src/frame/packages/visual-config-page/VisualConfigPage.vue +632 -0
- package/src/frame/packages/visual-config-page/index.js +24 -0
- package/src/frame/popup.js +31 -0
- package/src/frame/views/Add.vue +823 -0
- package/src/frame/views/App.vue +49 -0
- package/src/frame/views/AppRoleSelect.vue +272 -0
- package/src/frame/views/AppSubModule.vue +50 -0
- package/src/frame/views/BatchEdit.vue +206 -0
- package/src/frame/views/Bpmn.vue +553 -0
- package/src/frame/views/Container.vue +294 -0
- package/src/frame/views/DblogList.vue +348 -0
- package/src/frame/views/EntityCheckList.vue +164 -0
- package/src/frame/views/EntityCheckPage.vue +44 -0
- package/src/frame/views/EntityDetailPage.vue +75 -0
- package/src/frame/views/EntityEditApply.vue +136 -0
- package/src/frame/views/EntityEditPage.vue +13 -0
- package/src/frame/views/EntityFind.vue +135 -0
- package/src/frame/views/EntitySingleAdd.vue +31 -0
- package/src/frame/views/EntitySubListPage.vue +44 -0
- package/src/frame/views/EntityTreeFind.vue +188 -0
- package/src/frame/views/EntityTreePage.vue +37 -0
- package/src/frame/views/EntityTreePageOld.vue +536 -0
- package/src/frame/views/Error.vue +29 -0
- package/src/frame/views/ExcelDesign.vue +1795 -0
- package/src/frame/views/ExcelPreview.vue +173 -0
- package/src/frame/views/ExportPage.vue +19 -0
- package/src/frame/views/FormDesign.vue +1049 -0
- package/src/frame/views/IconFontLibraryPage.vue +74 -0
- package/src/frame/views/ImportPage.vue +19 -0
- package/src/frame/views/List.vue +955 -0
- package/src/frame/views/LocalLogin.vue +27 -0
- package/src/frame/views/Login.vue +1059 -0
- package/src/frame/views/MEntityListPage.vue +83 -0
- package/src/frame/views/MEntitySubListPage.vue +44 -0
- package/src/frame/views/MainModule.vue +83 -0
- package/src/frame/views/MenuIndex.vue +444 -0
- package/src/frame/views/MinePage.vue +18 -0
- package/src/frame/views/Module.vue +203 -0
- package/src/frame/views/ModuleIndex.vue +377 -0
- package/src/frame/views/PageAttriTree.vue +419 -0
- package/src/frame/views/PageAttributeTreePage.vue +424 -0
- package/src/frame/views/PageConfig.vue +218 -0
- package/src/frame/views/Permission.vue +695 -0
- package/src/frame/views/PersonalInfo.vue +659 -0
- package/src/frame/views/QyWechat.vue +69 -0
- package/src/frame/views/ReportFormList.vue +146 -0
- package/src/frame/views/ReportFormListPage.vue +91 -0
- package/src/frame/views/RoleTreePage.vue +180 -0
- package/src/frame/views/ServiceHelp.vue +177 -0
- package/src/frame/views/SubModule.vue +67 -0
- package/src/frame/views/SystemIndex.vue +105 -0
- package/src/frame/views/SystemTabs.vue +87 -0
- package/src/frame/views/TaskPage.vue +46 -0
- package/src/frame/views/client/AddForm.vue +64 -0
- package/src/frame/views/client/AppMarket.vue +345 -0
- package/src/frame/views/client/ClientIndex.vue +261 -0
- package/src/frame/views/client/ClientModuleIndexPage.vue +25 -0
- package/src/frame/views/client/CopySystem.vue +179 -0
- package/src/frame/views/client/CreateMethod.vue +133 -0
- package/src/frame/views/client/Login.vue +234 -0
- package/src/frame/views/client/OpenClientManage.vue +53 -0
- package/src/frame/views/client/PageTabsCyclic.vue +121 -0
- package/src/frame/views/client/SelfBuiltSystem.vue +272 -0
- package/src/frame/views/client/StandardProduct.vue +325 -0
- package/src/frame/views/client/SystemList.vue +160 -0
- package/src/frame/views/client/SystemManager.vue +346 -0
- package/src/frame/views/layout/CardList.vue +123 -0
- package/src/frame/views/layout/Grid.vue +95 -0
- package/src/frame/views/match/AddTargetField.vue +118 -0
- package/src/frame/views/match/MatchAddFormItem.vue +34 -0
- package/src/frame/views/match/conversion.vue +209 -0
- package/src/frame/views/match/customize.vue +344 -0
- package/src/frame/views/match/fieldMatch.vue +518 -0
- package/src/frame/views/report/AddFormItem.vue +67 -0
- package/src/frame/views/report/DesignReport.vue +1213 -0
- package/src/frame/views/report/LookReport.vue +221 -0
- package/src/frame/views/report/ReportAdd.vue +237 -0
- package/src/frame/views/report/ReportFormList.vue +235 -0
- package/src/frame/views/report/ReportList.vue +163 -0
- package/src/frame/views/report/ReportTreeFind.vue +188 -0
- package/src/frame/views/visual/Add.vue +1818 -0
- package/src/frame/views/visual/AddForm.vue +228 -0
- package/src/frame/views/visual/AddFormItem.vue +242 -0
- package/src/frame/views/visual/AppIndex.vue +149 -0
- package/src/frame/views/visual/ApplyForm.vue +142 -0
- package/src/frame/views/visual/AttributeList.vue +329 -0
- package/src/frame/views/visual/BasePage.vue +73 -0
- package/src/frame/views/visual/Button.vue +119 -0
- package/src/frame/views/visual/Card.vue +68 -0
- package/src/frame/views/visual/CardNum.vue +74 -0
- package/src/frame/views/visual/CategoryList.vue +566 -0
- package/src/frame/views/visual/Chart.vue +53 -0
- package/src/frame/views/visual/CheckForm.vue +106 -0
- package/src/frame/views/visual/CheckHistory.vue +28 -0
- package/src/frame/views/visual/ClientList.vue +42 -0
- package/src/frame/views/visual/CodeManage.vue +128 -0
- package/src/frame/views/visual/Component.vue +1142 -0
- package/src/frame/views/visual/ComponentList.vue +288 -0
- package/src/frame/views/visual/Config.vue +888 -0
- package/src/frame/views/visual/ConfigItem.vue +218 -0
- package/src/frame/views/visual/ConfigSelectItems.vue +521 -0
- package/src/frame/views/visual/CreatePage.vue +397 -0
- package/src/frame/views/visual/DblogList.vue +137 -0
- package/src/frame/views/visual/EntityAddPage.vue +52 -0
- package/src/frame/views/visual/EntityApplyPage.vue +57 -0
- package/src/frame/views/visual/EntityCheckPage.vue +69 -0
- package/src/frame/views/visual/EntityFindPage.vue +55 -0
- package/src/frame/views/visual/EntityList.vue +442 -0
- package/src/frame/views/visual/EntityListPage.vue +97 -0
- package/src/frame/views/visual/EntityNoSubmitSubList.vue +252 -0
- package/src/frame/views/visual/EntityRightSubList.vue +32 -0
- package/src/frame/views/visual/EntitySubAdd.vue +11 -0
- package/src/frame/views/visual/EntitySubGrid.vue +39 -0
- package/src/frame/views/visual/EntitySubGridItem.vue +96 -0
- package/src/frame/views/visual/EntitySubList.vue +298 -0
- package/src/frame/views/visual/EntityTreeFindPage.vue +36 -0
- package/src/frame/views/visual/EntityTreeManage.vue +144 -0
- package/src/frame/views/visual/EntityTreePage.vue +46 -0
- package/src/frame/views/visual/Grid.vue +46 -0
- package/src/frame/views/visual/GridItem.vue +41 -0
- package/src/frame/views/visual/HeaderNew.vue +326 -0
- package/src/frame/views/visual/Iframe.vue +32 -0
- package/src/frame/views/visual/Image.vue +49 -0
- package/src/frame/views/visual/Import.vue +59 -0
- package/src/frame/views/visual/InterfaceSubList.vue +23 -0
- package/src/frame/views/visual/Layout.vue +0 -0
- package/src/frame/views/visual/ListFirst.vue +613 -0
- package/src/frame/views/visual/LoadPage.vue +42 -0
- package/src/frame/views/visual/MEntityAddPage.vue +71 -0
- package/src/frame/views/visual/MEntityList.vue +472 -0
- package/src/frame/views/visual/MEntityListPage.vue +46 -0
- package/src/frame/views/visual/MEntitySubList.vue +237 -0
- package/src/frame/views/visual/MetaList.vue +23 -0
- package/src/frame/views/visual/Mine.vue +37 -0
- package/src/frame/views/visual/ModuleIndexPage.vue +68 -0
- package/src/frame/views/visual/ModuleList.vue +44 -0
- package/src/frame/views/visual/NavAddForm.vue +144 -0
- package/src/frame/views/visual/NavFormCatalogItem.vue +21 -0
- package/src/frame/views/visual/NumItem.vue +69 -0
- package/src/frame/views/visual/NumStatistic.vue +85 -0
- package/src/frame/views/visual/NumSubItem.vue +63 -0
- package/src/frame/views/visual/OrgChart.vue +121 -0
- package/src/frame/views/visual/PageCatalog.vue +26 -0
- package/src/frame/views/visual/PageConfig.vue +278 -0
- package/src/frame/views/visual/PageTabs.vue +54 -0
- package/src/frame/views/visual/ProcessChart.vue +24 -0
- package/src/frame/views/visual/Progress.vue +39 -0
- package/src/frame/views/visual/ProgressItem.vue +43 -0
- package/src/frame/views/visual/Text.vue +36 -0
- package/src/frame/views/visual/TextEditor.vue +36 -0
- package/src/frame/views/visual/Title.vue +44 -0
- package/src/frame/views/visual/TodoList.vue +18 -0
- package/src/frame/views/visual/TreeFind.vue +39 -0
- package/src/frame/views/visual/UserFormItem.vue +50 -0
- package/src/frame/views/visual/UserManage.vue +36 -0
- package/src/frame/views/visual/chart/CircularPie.vue +7 -0
- package/src/frame/views/visual/chart/Column.vue +73 -0
- package/src/frame/views/visual/chart/HoriColumn.vue +7 -0
- package/src/frame/views/visual/chart/Line.vue +7 -0
- package/src/frame/views/visual/chart/Pie.vue +7 -0
- package/src/frame/views/visual/config/Chart.vue +136 -0
- package/src/frame/views/visual/config/Color.vue +39 -0
- package/src/frame/views/visual/config/DesignReport.vue +20 -0
- package/src/frame/views/visual/config/Event.vue +218 -0
- package/src/frame/views/visual/config/Field.vue +494 -0
- package/src/frame/views/visual/config/Html.vue +26 -0
- package/src/frame/views/visual/config/Image.vue +118 -0
- package/src/frame/views/visual/config/Input.vue +52 -0
- package/src/frame/views/visual/config/List.vue +63 -0
- package/src/frame/views/visual/config/ListField.vue +1229 -0
- package/src/frame/views/visual/config/MField.vue +594 -0
- package/src/frame/views/visual/config/Number.vue +36 -0
- package/src/frame/views/visual/config/Object.vue +106 -0
- package/src/frame/views/visual/config/Operate.vue +1657 -0
- package/src/frame/views/visual/config/OrderField.vue +507 -0
- package/src/frame/views/visual/config/Page.vue +44 -0
- package/src/frame/views/visual/config/Params.vue +104 -0
- package/src/frame/views/visual/config/Radio.vue +54 -0
- package/src/frame/views/visual/config/Row.vue +64 -0
- package/src/frame/views/visual/config/Scope.vue +314 -0
- package/src/frame/views/visual/config/Select.vue +54 -0
- package/src/frame/views/visual/config/Switch.vue +36 -0
- package/src/frame/views/visual/config/Textarea.vue +38 -0
- package/src/frame/views/visual/config/Tree.vue +111 -0
- package/src/frame/views/visual/search/Fields.vue +52 -0
- package/src/frame/views/visual/search/Filter.vue +50 -0
- package/src/frame/views/visual/search/Mobile.vue +54 -0
- package/src/frame/views/visual/step/Index.vue +11 -0
- package/src/frame/views/visual/step/Item.vue +157 -0
- package/src/index.js +369 -0
- package/src/main.js +54 -0
- package/src/plugins/element.js +167 -0
- package/src/plugins/frame.js +12 -0
- package/src/plugins/i18n.js +51 -0
- package/src/plugins/index.js +11 -0
- package/src/plugins/oa.js +3 -0
- package/src/plugins/vant.js +80 -0
- package/src/product/oa/components/AddForm.vue +87 -0
- package/src/product/oa/components/MeetingAddForm.vue +85 -0
- package/src/product/oa/components/MeetingExport.vue +422 -0
- package/src/product/oa/components/MeetingRoomUse.vue +371 -0
- package/src/product/oa/index.js +31 -0
- package/src/registerServiceWorker.js +32 -0
- package/src/router/config.js +416 -0
- package/src/router/index.js +26 -0
- package/src/store/actions.js +46 -0
- package/src/store/export.js +23 -0
- package/src/store/index.js +17 -0
- package/src/store/modules/config.js +201 -0
- package/src/store/modules/file.js +32 -0
- package/src/store/modules/index.js +9 -0
- package/src/store/modules/list.js +130 -0
- package/src/store/modules/meta.js +210 -0
- package/src/store/modules/page.js +75 -0
- package/src/store/modules/router.js +140 -0
- package/src/store/modules/tabs.js +62 -0
- package/src/store/modules/user.js +71 -0
- package/src/styles/index.scss +143 -0
- package/src/styles/theme/element.scss +240 -0
- package/src/styles/theme/utils/config.scss +4 -0
- package/src/styles/theme/utils/function.scss +44 -0
- package/src/styles/theme/utils/mixins.scss +317 -0
- package/src/styles/theme/utils/var.scss +112 -0
- package/src/utils/Config.js +25 -0
- package/src/utils/axios.js +121 -0
- package/src/utils/chartTheme.js +471 -0
- package/src/utils/directives/global.js +127 -0
- package/src/utils/fieldFactory.js +147 -0
- package/src/utils/index.js +21 -0
- package/src/utils/loadComponent.js +39 -0
- package/src/utils/meta.js +355 -0
- package/src/utils/mixins/component.js +368 -0
- package/src/utils/mixins/global.js +985 -0
- package/src/utils/mixins/index.js +11 -0
- package/src/utils/page.js +126 -0
- package/src/utils/util.js +381 -0
- package/src/vant-variables.less +1 -0
- package/src/vue.bus.js +18 -0
- package/start-code-dev.sh +24 -0
- package/start-code-pgy.sh +25 -0
- package/start-code-ppe.sh +23 -0
- package/start-code-prd.sh +25 -0
- package/start-code-pre.sh +25 -0
- package/vue.config.js +101 -0
- package/webpack.config.js +97 -0
|
@@ -0,0 +1,1219 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
3
|
+
* Licensed under the LGPL or a commercial license.
|
|
4
|
+
* For LGPL see License.txt in the project root for license information.
|
|
5
|
+
* For commercial licenses see https://www.tiny.cloud/
|
|
6
|
+
*
|
|
7
|
+
* Version: 5.4.2 (2020-08-17)
|
|
8
|
+
*/
|
|
9
|
+
(function (domGlobals) {
|
|
10
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
13
|
+
|
|
14
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.VK');
|
|
15
|
+
|
|
16
|
+
var typeOf = function (x) {
|
|
17
|
+
var t = typeof x;
|
|
18
|
+
if (x === null) {
|
|
19
|
+
return 'null';
|
|
20
|
+
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
21
|
+
return 'array';
|
|
22
|
+
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
23
|
+
return 'string';
|
|
24
|
+
} else {
|
|
25
|
+
return t;
|
|
26
|
+
}
|
|
27
|
+
};
|
|
28
|
+
var isType = function (type) {
|
|
29
|
+
return function (value) {
|
|
30
|
+
return typeOf(value) === type;
|
|
31
|
+
};
|
|
32
|
+
};
|
|
33
|
+
var isSimpleType = function (type) {
|
|
34
|
+
return function (value) {
|
|
35
|
+
return typeof value === type;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
var eq = function (t) {
|
|
39
|
+
return function (a) {
|
|
40
|
+
return t === a;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
var isString = isType('string');
|
|
44
|
+
var isArray = isType('array');
|
|
45
|
+
var isNull = eq(null);
|
|
46
|
+
var isBoolean = isSimpleType('boolean');
|
|
47
|
+
var isFunction = isSimpleType('function');
|
|
48
|
+
|
|
49
|
+
var assumeExternalTargets = function (editor) {
|
|
50
|
+
var externalTargets = editor.getParam('link_assume_external_targets', false);
|
|
51
|
+
if (isBoolean(externalTargets) && externalTargets) {
|
|
52
|
+
return 1;
|
|
53
|
+
} else if (isString(externalTargets) && (externalTargets === 'http' || externalTargets === 'https')) {
|
|
54
|
+
return externalTargets;
|
|
55
|
+
}
|
|
56
|
+
return 0;
|
|
57
|
+
};
|
|
58
|
+
var hasContextToolbar = function (editor) {
|
|
59
|
+
return editor.getParam('link_context_toolbar', false, 'boolean');
|
|
60
|
+
};
|
|
61
|
+
var getLinkList = function (editor) {
|
|
62
|
+
return editor.getParam('link_list');
|
|
63
|
+
};
|
|
64
|
+
var getDefaultLinkTarget = function (editor) {
|
|
65
|
+
return editor.getParam('default_link_target');
|
|
66
|
+
};
|
|
67
|
+
var getTargetList = function (editor) {
|
|
68
|
+
return editor.getParam('target_list', true);
|
|
69
|
+
};
|
|
70
|
+
var getRelList = function (editor) {
|
|
71
|
+
return editor.getParam('rel_list', [], 'array');
|
|
72
|
+
};
|
|
73
|
+
var getLinkClassList = function (editor) {
|
|
74
|
+
return editor.getParam('link_class_list', [], 'array');
|
|
75
|
+
};
|
|
76
|
+
var shouldShowLinkTitle = function (editor) {
|
|
77
|
+
return editor.getParam('link_title', true, 'boolean');
|
|
78
|
+
};
|
|
79
|
+
var allowUnsafeLinkTarget = function (editor) {
|
|
80
|
+
return editor.getParam('allow_unsafe_link_target', false, 'boolean');
|
|
81
|
+
};
|
|
82
|
+
var useQuickLink = function (editor) {
|
|
83
|
+
return editor.getParam('link_quicklink', false, 'boolean');
|
|
84
|
+
};
|
|
85
|
+
var getDefaultLinkProtocol = function (editor) {
|
|
86
|
+
return editor.getParam('link_default_protocol', 'http', 'string');
|
|
87
|
+
};
|
|
88
|
+
|
|
89
|
+
var noop = function () {
|
|
90
|
+
};
|
|
91
|
+
var constant = function (value) {
|
|
92
|
+
return function () {
|
|
93
|
+
return value;
|
|
94
|
+
};
|
|
95
|
+
};
|
|
96
|
+
var never = constant(false);
|
|
97
|
+
var always = constant(true);
|
|
98
|
+
|
|
99
|
+
var none = function () {
|
|
100
|
+
return NONE;
|
|
101
|
+
};
|
|
102
|
+
var NONE = function () {
|
|
103
|
+
var eq = function (o) {
|
|
104
|
+
return o.isNone();
|
|
105
|
+
};
|
|
106
|
+
var call = function (thunk) {
|
|
107
|
+
return thunk();
|
|
108
|
+
};
|
|
109
|
+
var id = function (n) {
|
|
110
|
+
return n;
|
|
111
|
+
};
|
|
112
|
+
var me = {
|
|
113
|
+
fold: function (n, _s) {
|
|
114
|
+
return n();
|
|
115
|
+
},
|
|
116
|
+
is: never,
|
|
117
|
+
isSome: never,
|
|
118
|
+
isNone: always,
|
|
119
|
+
getOr: id,
|
|
120
|
+
getOrThunk: call,
|
|
121
|
+
getOrDie: function (msg) {
|
|
122
|
+
throw new Error(msg || 'error: getOrDie called on none.');
|
|
123
|
+
},
|
|
124
|
+
getOrNull: constant(null),
|
|
125
|
+
getOrUndefined: constant(undefined),
|
|
126
|
+
or: id,
|
|
127
|
+
orThunk: call,
|
|
128
|
+
map: none,
|
|
129
|
+
each: noop,
|
|
130
|
+
bind: none,
|
|
131
|
+
exists: never,
|
|
132
|
+
forall: always,
|
|
133
|
+
filter: none,
|
|
134
|
+
equals: eq,
|
|
135
|
+
equals_: eq,
|
|
136
|
+
toArray: function () {
|
|
137
|
+
return [];
|
|
138
|
+
},
|
|
139
|
+
toString: constant('none()')
|
|
140
|
+
};
|
|
141
|
+
return me;
|
|
142
|
+
}();
|
|
143
|
+
var some = function (a) {
|
|
144
|
+
var constant_a = constant(a);
|
|
145
|
+
var self = function () {
|
|
146
|
+
return me;
|
|
147
|
+
};
|
|
148
|
+
var bind = function (f) {
|
|
149
|
+
return f(a);
|
|
150
|
+
};
|
|
151
|
+
var me = {
|
|
152
|
+
fold: function (n, s) {
|
|
153
|
+
return s(a);
|
|
154
|
+
},
|
|
155
|
+
is: function (v) {
|
|
156
|
+
return a === v;
|
|
157
|
+
},
|
|
158
|
+
isSome: always,
|
|
159
|
+
isNone: never,
|
|
160
|
+
getOr: constant_a,
|
|
161
|
+
getOrThunk: constant_a,
|
|
162
|
+
getOrDie: constant_a,
|
|
163
|
+
getOrNull: constant_a,
|
|
164
|
+
getOrUndefined: constant_a,
|
|
165
|
+
or: self,
|
|
166
|
+
orThunk: self,
|
|
167
|
+
map: function (f) {
|
|
168
|
+
return some(f(a));
|
|
169
|
+
},
|
|
170
|
+
each: function (f) {
|
|
171
|
+
f(a);
|
|
172
|
+
},
|
|
173
|
+
bind: bind,
|
|
174
|
+
exists: bind,
|
|
175
|
+
forall: bind,
|
|
176
|
+
filter: function (f) {
|
|
177
|
+
return f(a) ? me : NONE;
|
|
178
|
+
},
|
|
179
|
+
toArray: function () {
|
|
180
|
+
return [a];
|
|
181
|
+
},
|
|
182
|
+
toString: function () {
|
|
183
|
+
return 'some(' + a + ')';
|
|
184
|
+
},
|
|
185
|
+
equals: function (o) {
|
|
186
|
+
return o.is(a);
|
|
187
|
+
},
|
|
188
|
+
equals_: function (o, elementEq) {
|
|
189
|
+
return o.fold(never, function (b) {
|
|
190
|
+
return elementEq(a, b);
|
|
191
|
+
});
|
|
192
|
+
}
|
|
193
|
+
};
|
|
194
|
+
return me;
|
|
195
|
+
};
|
|
196
|
+
var from = function (value) {
|
|
197
|
+
return value === null || value === undefined ? NONE : some(value);
|
|
198
|
+
};
|
|
199
|
+
var Option = {
|
|
200
|
+
some: some,
|
|
201
|
+
none: none,
|
|
202
|
+
from: from
|
|
203
|
+
};
|
|
204
|
+
|
|
205
|
+
var nativeIndexOf = Array.prototype.indexOf;
|
|
206
|
+
var nativePush = Array.prototype.push;
|
|
207
|
+
var rawIndexOf = function (ts, t) {
|
|
208
|
+
return nativeIndexOf.call(ts, t);
|
|
209
|
+
};
|
|
210
|
+
var contains = function (xs, x) {
|
|
211
|
+
return rawIndexOf(xs, x) > -1;
|
|
212
|
+
};
|
|
213
|
+
var map = function (xs, f) {
|
|
214
|
+
var len = xs.length;
|
|
215
|
+
var r = new Array(len);
|
|
216
|
+
for (var i = 0; i < len; i++) {
|
|
217
|
+
var x = xs[i];
|
|
218
|
+
r[i] = f(x, i);
|
|
219
|
+
}
|
|
220
|
+
return r;
|
|
221
|
+
};
|
|
222
|
+
var each = function (xs, f) {
|
|
223
|
+
for (var i = 0, len = xs.length; i < len; i++) {
|
|
224
|
+
var x = xs[i];
|
|
225
|
+
f(x, i);
|
|
226
|
+
}
|
|
227
|
+
};
|
|
228
|
+
var foldl = function (xs, f, acc) {
|
|
229
|
+
each(xs, function (x) {
|
|
230
|
+
acc = f(acc, x);
|
|
231
|
+
});
|
|
232
|
+
return acc;
|
|
233
|
+
};
|
|
234
|
+
var flatten = function (xs) {
|
|
235
|
+
var r = [];
|
|
236
|
+
for (var i = 0, len = xs.length; i < len; ++i) {
|
|
237
|
+
if (!isArray(xs[i])) {
|
|
238
|
+
throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
|
|
239
|
+
}
|
|
240
|
+
nativePush.apply(r, xs[i]);
|
|
241
|
+
}
|
|
242
|
+
return r;
|
|
243
|
+
};
|
|
244
|
+
var bind = function (xs, f) {
|
|
245
|
+
return flatten(map(xs, f));
|
|
246
|
+
};
|
|
247
|
+
var findMap = function (arr, f) {
|
|
248
|
+
for (var i = 0; i < arr.length; i++) {
|
|
249
|
+
var r = f(arr[i], i);
|
|
250
|
+
if (r.isSome()) {
|
|
251
|
+
return r;
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
return Option.none();
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
var cat = function (arr) {
|
|
258
|
+
var r = [];
|
|
259
|
+
var push = function (x) {
|
|
260
|
+
r.push(x);
|
|
261
|
+
};
|
|
262
|
+
for (var i = 0; i < arr.length; i++) {
|
|
263
|
+
arr[i].each(push);
|
|
264
|
+
}
|
|
265
|
+
return r;
|
|
266
|
+
};
|
|
267
|
+
var someIf = function (b, a) {
|
|
268
|
+
return b ? Option.some(a) : Option.none();
|
|
269
|
+
};
|
|
270
|
+
|
|
271
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
272
|
+
|
|
273
|
+
var getValue = function (item) {
|
|
274
|
+
return isString(item.value) ? item.value : '';
|
|
275
|
+
};
|
|
276
|
+
var sanitizeList = function (list, extractValue) {
|
|
277
|
+
var out = [];
|
|
278
|
+
global$2.each(list, function (item) {
|
|
279
|
+
var text = isString(item.text) ? item.text : isString(item.title) ? item.title : '';
|
|
280
|
+
if (item.menu !== undefined) ; else {
|
|
281
|
+
var value = extractValue(item);
|
|
282
|
+
out.push({
|
|
283
|
+
text: text,
|
|
284
|
+
value: value
|
|
285
|
+
});
|
|
286
|
+
}
|
|
287
|
+
});
|
|
288
|
+
return out;
|
|
289
|
+
};
|
|
290
|
+
var sanitizeWith = function (extracter) {
|
|
291
|
+
if (extracter === void 0) {
|
|
292
|
+
extracter = getValue;
|
|
293
|
+
}
|
|
294
|
+
return function (list) {
|
|
295
|
+
return Option.from(list).map(function (list) {
|
|
296
|
+
return sanitizeList(list, extracter);
|
|
297
|
+
});
|
|
298
|
+
};
|
|
299
|
+
};
|
|
300
|
+
var sanitize = function (list) {
|
|
301
|
+
return sanitizeWith(getValue)(list);
|
|
302
|
+
};
|
|
303
|
+
var createUi = function (name, label) {
|
|
304
|
+
return function (items) {
|
|
305
|
+
return {
|
|
306
|
+
name: name,
|
|
307
|
+
type: 'selectbox',
|
|
308
|
+
label: label,
|
|
309
|
+
items: items
|
|
310
|
+
};
|
|
311
|
+
};
|
|
312
|
+
};
|
|
313
|
+
var ListOptions = {
|
|
314
|
+
sanitize: sanitize,
|
|
315
|
+
sanitizeWith: sanitizeWith,
|
|
316
|
+
createUi: createUi,
|
|
317
|
+
getValue: getValue
|
|
318
|
+
};
|
|
319
|
+
|
|
320
|
+
var __assign = function () {
|
|
321
|
+
__assign = Object.assign || function __assign(t) {
|
|
322
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
323
|
+
s = arguments[i];
|
|
324
|
+
for (var p in s)
|
|
325
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
326
|
+
t[p] = s[p];
|
|
327
|
+
}
|
|
328
|
+
return t;
|
|
329
|
+
};
|
|
330
|
+
return __assign.apply(this, arguments);
|
|
331
|
+
};
|
|
332
|
+
|
|
333
|
+
var keys = Object.keys;
|
|
334
|
+
var each$1 = function (obj, f) {
|
|
335
|
+
var props = keys(obj);
|
|
336
|
+
for (var k = 0, len = props.length; k < len; k++) {
|
|
337
|
+
var i = props[k];
|
|
338
|
+
var x = obj[i];
|
|
339
|
+
f(x, i);
|
|
340
|
+
}
|
|
341
|
+
};
|
|
342
|
+
var objAcc = function (r) {
|
|
343
|
+
return function (x, i) {
|
|
344
|
+
r[i] = x;
|
|
345
|
+
};
|
|
346
|
+
};
|
|
347
|
+
var internalFilter = function (obj, pred, onTrue, onFalse) {
|
|
348
|
+
var r = {};
|
|
349
|
+
each$1(obj, function (x, i) {
|
|
350
|
+
(pred(x, i) ? onTrue : onFalse)(x, i);
|
|
351
|
+
});
|
|
352
|
+
return r;
|
|
353
|
+
};
|
|
354
|
+
var filter = function (obj, pred) {
|
|
355
|
+
var t = {};
|
|
356
|
+
internalFilter(obj, pred, objAcc(t), noop);
|
|
357
|
+
return t;
|
|
358
|
+
};
|
|
359
|
+
|
|
360
|
+
var hasRtcPlugin = function (editor) {
|
|
361
|
+
if (/(^|[ ,])rtc([, ]|$)/.test(editor.getParam('plugins', '', 'string')) && global.get('rtc')) {
|
|
362
|
+
return true;
|
|
363
|
+
} else {
|
|
364
|
+
return false;
|
|
365
|
+
}
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
var hasProtocol = function (url) {
|
|
369
|
+
return /^\w+:/i.test(url);
|
|
370
|
+
};
|
|
371
|
+
var getHref = function (elm) {
|
|
372
|
+
var href = elm.getAttribute('data-mce-href');
|
|
373
|
+
return href ? href : elm.getAttribute('href');
|
|
374
|
+
};
|
|
375
|
+
var applyRelTargetRules = function (rel, isUnsafe) {
|
|
376
|
+
var rules = ['noopener'];
|
|
377
|
+
var rels = rel ? rel.split(/\s+/) : [];
|
|
378
|
+
var toString = function (rels) {
|
|
379
|
+
return global$2.trim(rels.sort().join(' '));
|
|
380
|
+
};
|
|
381
|
+
var addTargetRules = function (rels) {
|
|
382
|
+
rels = removeTargetRules(rels);
|
|
383
|
+
return rels.length > 0 ? rels.concat(rules) : rules;
|
|
384
|
+
};
|
|
385
|
+
var removeTargetRules = function (rels) {
|
|
386
|
+
return rels.filter(function (val) {
|
|
387
|
+
return global$2.inArray(rules, val) === -1;
|
|
388
|
+
});
|
|
389
|
+
};
|
|
390
|
+
var newRels = isUnsafe ? addTargetRules(rels) : removeTargetRules(rels);
|
|
391
|
+
return newRels.length > 0 ? toString(newRels) : '';
|
|
392
|
+
};
|
|
393
|
+
var trimCaretContainers = function (text) {
|
|
394
|
+
return text.replace(/\uFEFF/g, '');
|
|
395
|
+
};
|
|
396
|
+
var getAnchorElement = function (editor, selectedElm) {
|
|
397
|
+
selectedElm = selectedElm || editor.selection.getNode();
|
|
398
|
+
if (isImageFigure(selectedElm)) {
|
|
399
|
+
return editor.dom.select('a[href]', selectedElm)[0];
|
|
400
|
+
} else {
|
|
401
|
+
return editor.dom.getParent(selectedElm, 'a[href]');
|
|
402
|
+
}
|
|
403
|
+
};
|
|
404
|
+
var getAnchorText = function (selection, anchorElm) {
|
|
405
|
+
var text = anchorElm ? anchorElm.innerText || anchorElm.textContent : selection.getContent({ format: 'text' });
|
|
406
|
+
return trimCaretContainers(text);
|
|
407
|
+
};
|
|
408
|
+
var isLink = function (elm) {
|
|
409
|
+
return elm && elm.nodeName === 'A' && !!getHref(elm);
|
|
410
|
+
};
|
|
411
|
+
var hasLinks = function (elements) {
|
|
412
|
+
return global$2.grep(elements, isLink).length > 0;
|
|
413
|
+
};
|
|
414
|
+
var isOnlyTextSelected = function (html) {
|
|
415
|
+
if (/</.test(html) && (!/^<a [^>]+>[^<]+<\/a>$/.test(html) || html.indexOf('href=') === -1)) {
|
|
416
|
+
return false;
|
|
417
|
+
}
|
|
418
|
+
return true;
|
|
419
|
+
};
|
|
420
|
+
var isImageFigure = function (elm) {
|
|
421
|
+
return elm && elm.nodeName === 'FIGURE' && /\bimage\b/i.test(elm.className);
|
|
422
|
+
};
|
|
423
|
+
var getLinkAttrs = function (data) {
|
|
424
|
+
return foldl([
|
|
425
|
+
'title',
|
|
426
|
+
'rel',
|
|
427
|
+
'class',
|
|
428
|
+
'target'
|
|
429
|
+
], function (acc, key) {
|
|
430
|
+
data[key].each(function (value) {
|
|
431
|
+
acc[key] = value.length > 0 ? value : null;
|
|
432
|
+
});
|
|
433
|
+
return acc;
|
|
434
|
+
}, { href: data.href });
|
|
435
|
+
};
|
|
436
|
+
var handleExternalTargets = function (href, assumeExternalTargets) {
|
|
437
|
+
if ((assumeExternalTargets === 'http' || assumeExternalTargets === 'https') && !hasProtocol(href)) {
|
|
438
|
+
return assumeExternalTargets + '://' + href;
|
|
439
|
+
}
|
|
440
|
+
return href;
|
|
441
|
+
};
|
|
442
|
+
var applyLinkOverrides = function (editor, linkAttrs) {
|
|
443
|
+
var newLinkAttrs = __assign({}, linkAttrs);
|
|
444
|
+
if (!(getRelList(editor).length > 0) && allowUnsafeLinkTarget(editor) === false) {
|
|
445
|
+
var newRel = applyRelTargetRules(newLinkAttrs.rel, newLinkAttrs.target === '_blank');
|
|
446
|
+
newLinkAttrs.rel = newRel ? newRel : null;
|
|
447
|
+
}
|
|
448
|
+
if (Option.from(newLinkAttrs.target).isNone() && getTargetList(editor) === false) {
|
|
449
|
+
newLinkAttrs.target = getDefaultLinkTarget(editor);
|
|
450
|
+
}
|
|
451
|
+
newLinkAttrs.href = handleExternalTargets(newLinkAttrs.href, assumeExternalTargets(editor));
|
|
452
|
+
return newLinkAttrs;
|
|
453
|
+
};
|
|
454
|
+
var updateLink = function (editor, anchorElm, text, linkAttrs) {
|
|
455
|
+
text.each(function (text) {
|
|
456
|
+
if (anchorElm.hasOwnProperty('innerText')) {
|
|
457
|
+
anchorElm.innerText = text;
|
|
458
|
+
} else {
|
|
459
|
+
anchorElm.textContent = text;
|
|
460
|
+
}
|
|
461
|
+
});
|
|
462
|
+
editor.dom.setAttribs(anchorElm, linkAttrs);
|
|
463
|
+
editor.selection.select(anchorElm);
|
|
464
|
+
};
|
|
465
|
+
var createLink = function (editor, selectedElm, text, linkAttrs) {
|
|
466
|
+
if (isImageFigure(selectedElm)) {
|
|
467
|
+
linkImageFigure(editor, selectedElm, linkAttrs);
|
|
468
|
+
} else {
|
|
469
|
+
text.fold(function () {
|
|
470
|
+
editor.execCommand('mceInsertLink', false, linkAttrs);
|
|
471
|
+
}, function (text) {
|
|
472
|
+
editor.insertContent(editor.dom.createHTML('a', linkAttrs, editor.dom.encode(text)));
|
|
473
|
+
});
|
|
474
|
+
}
|
|
475
|
+
};
|
|
476
|
+
var linkDomMutation = function (editor, attachState, data) {
|
|
477
|
+
var selectedElm = editor.selection.getNode();
|
|
478
|
+
var anchorElm = getAnchorElement(editor, selectedElm);
|
|
479
|
+
var linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));
|
|
480
|
+
editor.undoManager.transact(function () {
|
|
481
|
+
if (data.href === attachState.href) {
|
|
482
|
+
attachState.attach();
|
|
483
|
+
}
|
|
484
|
+
if (anchorElm) {
|
|
485
|
+
editor.focus();
|
|
486
|
+
updateLink(editor, anchorElm, data.text, linkAttrs);
|
|
487
|
+
} else {
|
|
488
|
+
createLink(editor, selectedElm, data.text, linkAttrs);
|
|
489
|
+
}
|
|
490
|
+
});
|
|
491
|
+
};
|
|
492
|
+
var unlinkDomMutation = function (editor) {
|
|
493
|
+
editor.undoManager.transact(function () {
|
|
494
|
+
var node = editor.selection.getNode();
|
|
495
|
+
if (isImageFigure(node)) {
|
|
496
|
+
unlinkImageFigure(editor, node);
|
|
497
|
+
} else {
|
|
498
|
+
var anchorElm = editor.dom.getParent(node, 'a[href]', editor.getBody());
|
|
499
|
+
if (anchorElm) {
|
|
500
|
+
editor.dom.remove(anchorElm, true);
|
|
501
|
+
}
|
|
502
|
+
}
|
|
503
|
+
editor.focus();
|
|
504
|
+
});
|
|
505
|
+
};
|
|
506
|
+
var unwrapOptions = function (data) {
|
|
507
|
+
var cls = data.class, href = data.href, rel = data.rel, target = data.target, text = data.text, title = data.title;
|
|
508
|
+
return filter({
|
|
509
|
+
class: cls.getOrNull(),
|
|
510
|
+
href: href,
|
|
511
|
+
rel: rel.getOrNull(),
|
|
512
|
+
target: target.getOrNull(),
|
|
513
|
+
text: text.getOrNull(),
|
|
514
|
+
title: title.getOrNull()
|
|
515
|
+
}, function (v, _k) {
|
|
516
|
+
return isNull(v) === false;
|
|
517
|
+
});
|
|
518
|
+
};
|
|
519
|
+
var link = function (editor, attachState, data) {
|
|
520
|
+
hasRtcPlugin(editor) ? editor.execCommand('createlink', false, unwrapOptions(data)) : linkDomMutation(editor, attachState, data);
|
|
521
|
+
};
|
|
522
|
+
var unlink = function (editor) {
|
|
523
|
+
hasRtcPlugin(editor) ? editor.execCommand('unlink') : unlinkDomMutation(editor);
|
|
524
|
+
};
|
|
525
|
+
var unlinkImageFigure = function (editor, fig) {
|
|
526
|
+
var img = editor.dom.select('img', fig)[0];
|
|
527
|
+
if (img) {
|
|
528
|
+
var a = editor.dom.getParents(img, 'a[href]', fig)[0];
|
|
529
|
+
if (a) {
|
|
530
|
+
a.parentNode.insertBefore(img, a);
|
|
531
|
+
editor.dom.remove(a);
|
|
532
|
+
}
|
|
533
|
+
}
|
|
534
|
+
};
|
|
535
|
+
var linkImageFigure = function (editor, fig, attrs) {
|
|
536
|
+
var img = editor.dom.select('img', fig)[0];
|
|
537
|
+
if (img) {
|
|
538
|
+
var a = editor.dom.create('a', attrs);
|
|
539
|
+
img.parentNode.insertBefore(a, img);
|
|
540
|
+
a.appendChild(img);
|
|
541
|
+
}
|
|
542
|
+
};
|
|
543
|
+
|
|
544
|
+
var findTextByValue = function (value, catalog) {
|
|
545
|
+
return findMap(catalog, function (item) {
|
|
546
|
+
return someIf(item.value === value, item);
|
|
547
|
+
});
|
|
548
|
+
};
|
|
549
|
+
var getDelta = function (persistentText, fieldName, catalog, data) {
|
|
550
|
+
var value = data[fieldName];
|
|
551
|
+
var hasPersistentText = persistentText.length > 0;
|
|
552
|
+
return value !== undefined ? findTextByValue(value, catalog).map(function (i) {
|
|
553
|
+
return {
|
|
554
|
+
url: {
|
|
555
|
+
value: i.value,
|
|
556
|
+
meta: {
|
|
557
|
+
text: hasPersistentText ? persistentText : i.text,
|
|
558
|
+
attach: noop
|
|
559
|
+
}
|
|
560
|
+
},
|
|
561
|
+
text: hasPersistentText ? persistentText : i.text
|
|
562
|
+
};
|
|
563
|
+
}) : Option.none();
|
|
564
|
+
};
|
|
565
|
+
var findCatalog = function (catalogs, fieldName) {
|
|
566
|
+
if (fieldName === 'link') {
|
|
567
|
+
return catalogs.link;
|
|
568
|
+
} else if (fieldName === 'anchor') {
|
|
569
|
+
return catalogs.anchor;
|
|
570
|
+
} else {
|
|
571
|
+
return Option.none();
|
|
572
|
+
}
|
|
573
|
+
};
|
|
574
|
+
var init = function (initialData, linkCatalog) {
|
|
575
|
+
var persistentData = {
|
|
576
|
+
text: initialData.text,
|
|
577
|
+
title: initialData.title
|
|
578
|
+
};
|
|
579
|
+
var getTitleFromUrlChange = function (url) {
|
|
580
|
+
return someIf(persistentData.title.length <= 0, Option.from(url.meta.title).getOr(''));
|
|
581
|
+
};
|
|
582
|
+
var getTextFromUrlChange = function (url) {
|
|
583
|
+
return someIf(persistentData.text.length <= 0, Option.from(url.meta.text).getOr(url.value));
|
|
584
|
+
};
|
|
585
|
+
var onUrlChange = function (data) {
|
|
586
|
+
var text = getTextFromUrlChange(data.url);
|
|
587
|
+
var title = getTitleFromUrlChange(data.url);
|
|
588
|
+
if (text.isSome() || title.isSome()) {
|
|
589
|
+
return Option.some(__assign(__assign({}, text.map(function (text) {
|
|
590
|
+
return { text: text };
|
|
591
|
+
}).getOr({})), title.map(function (title) {
|
|
592
|
+
return { title: title };
|
|
593
|
+
}).getOr({})));
|
|
594
|
+
} else {
|
|
595
|
+
return Option.none();
|
|
596
|
+
}
|
|
597
|
+
};
|
|
598
|
+
var onCatalogChange = function (data, change) {
|
|
599
|
+
var catalog = findCatalog(linkCatalog, change.name).getOr([]);
|
|
600
|
+
return getDelta(persistentData.text, change.name, catalog, data);
|
|
601
|
+
};
|
|
602
|
+
var onChange = function (getData, change) {
|
|
603
|
+
var name = change.name;
|
|
604
|
+
if (name === 'url') {
|
|
605
|
+
return onUrlChange(getData());
|
|
606
|
+
} else if (contains([
|
|
607
|
+
'anchor',
|
|
608
|
+
'link'
|
|
609
|
+
], name)) {
|
|
610
|
+
return onCatalogChange(getData(), change);
|
|
611
|
+
} else if (name === 'text' || name === 'title') {
|
|
612
|
+
persistentData[name] = getData()[name];
|
|
613
|
+
return Option.none();
|
|
614
|
+
} else {
|
|
615
|
+
return Option.none();
|
|
616
|
+
}
|
|
617
|
+
};
|
|
618
|
+
return { onChange: onChange };
|
|
619
|
+
};
|
|
620
|
+
var DialogChanges = {
|
|
621
|
+
init: init,
|
|
622
|
+
getDelta: getDelta
|
|
623
|
+
};
|
|
624
|
+
|
|
625
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.util.Delay');
|
|
626
|
+
|
|
627
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.util.Promise');
|
|
628
|
+
|
|
629
|
+
var delayedConfirm = function (editor, message, callback) {
|
|
630
|
+
var rng = editor.selection.getRng();
|
|
631
|
+
global$3.setEditorTimeout(editor, function () {
|
|
632
|
+
editor.windowManager.confirm(message, function (state) {
|
|
633
|
+
editor.selection.setRng(rng);
|
|
634
|
+
callback(state);
|
|
635
|
+
});
|
|
636
|
+
});
|
|
637
|
+
};
|
|
638
|
+
var tryEmailTransform = function (data) {
|
|
639
|
+
var url = data.href;
|
|
640
|
+
var suggestMailTo = url.indexOf('@') > 0 && url.indexOf('/') === -1 && url.indexOf('mailto:') === -1;
|
|
641
|
+
return suggestMailTo ? Option.some({
|
|
642
|
+
message: 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',
|
|
643
|
+
preprocess: function (oldData) {
|
|
644
|
+
return __assign(__assign({}, oldData), { href: 'mailto:' + url });
|
|
645
|
+
}
|
|
646
|
+
}) : Option.none();
|
|
647
|
+
};
|
|
648
|
+
var tryProtocolTransform = function (assumeExternalTargets, defaultLinkProtocol) {
|
|
649
|
+
return function (data) {
|
|
650
|
+
var url = data.href;
|
|
651
|
+
var suggestProtocol = assumeExternalTargets === 1 && !hasProtocol(url) || assumeExternalTargets === 0 && /^\s*www[\.|\d\.]/i.test(url);
|
|
652
|
+
return suggestProtocol ? Option.some({
|
|
653
|
+
message: 'The URL you entered seems to be an external link. Do you want to add the required ' + defaultLinkProtocol + ':// prefix?',
|
|
654
|
+
preprocess: function (oldData) {
|
|
655
|
+
return __assign(__assign({}, oldData), { href: defaultLinkProtocol + '://' + url });
|
|
656
|
+
}
|
|
657
|
+
}) : Option.none();
|
|
658
|
+
};
|
|
659
|
+
};
|
|
660
|
+
var preprocess = function (editor, data) {
|
|
661
|
+
return findMap([
|
|
662
|
+
tryEmailTransform,
|
|
663
|
+
tryProtocolTransform(assumeExternalTargets(editor), getDefaultLinkProtocol(editor))
|
|
664
|
+
], function (f) {
|
|
665
|
+
return f(data);
|
|
666
|
+
}).fold(function () {
|
|
667
|
+
return global$4.resolve(data);
|
|
668
|
+
}, function (transform) {
|
|
669
|
+
return new global$4(function (callback) {
|
|
670
|
+
delayedConfirm(editor, transform.message, function (state) {
|
|
671
|
+
callback(state ? transform.preprocess(data) : data);
|
|
672
|
+
});
|
|
673
|
+
});
|
|
674
|
+
});
|
|
675
|
+
};
|
|
676
|
+
var DialogConfirms = { preprocess: preprocess };
|
|
677
|
+
|
|
678
|
+
var getAnchors = function (editor) {
|
|
679
|
+
var anchorNodes = editor.dom.select('a:not([href])');
|
|
680
|
+
var anchors = bind(anchorNodes, function (anchor) {
|
|
681
|
+
var id = anchor.name || anchor.id;
|
|
682
|
+
return id ? [{
|
|
683
|
+
text: id,
|
|
684
|
+
value: '#' + id
|
|
685
|
+
}] : [];
|
|
686
|
+
});
|
|
687
|
+
return anchors.length > 0 ? Option.some([{
|
|
688
|
+
text: 'None',
|
|
689
|
+
value: ''
|
|
690
|
+
}].concat(anchors)) : Option.none();
|
|
691
|
+
};
|
|
692
|
+
var AnchorListOptions = { getAnchors: getAnchors };
|
|
693
|
+
|
|
694
|
+
var getClasses = function (editor) {
|
|
695
|
+
var list = getLinkClassList(editor);
|
|
696
|
+
if (list.length > 0) {
|
|
697
|
+
return ListOptions.sanitize(list);
|
|
698
|
+
}
|
|
699
|
+
return Option.none();
|
|
700
|
+
};
|
|
701
|
+
var ClassListOptions = { getClasses: getClasses };
|
|
702
|
+
|
|
703
|
+
var global$5 = tinymce.util.Tools.resolve('tinymce.util.XHR');
|
|
704
|
+
|
|
705
|
+
var parseJson = function (text) {
|
|
706
|
+
try {
|
|
707
|
+
return Option.some(JSON.parse(text));
|
|
708
|
+
} catch (err) {
|
|
709
|
+
return Option.none();
|
|
710
|
+
}
|
|
711
|
+
};
|
|
712
|
+
var getLinks = function (editor) {
|
|
713
|
+
var extractor = function (item) {
|
|
714
|
+
return editor.convertURL(item.value || item.url, 'href');
|
|
715
|
+
};
|
|
716
|
+
var linkList = getLinkList(editor);
|
|
717
|
+
return new global$4(function (callback) {
|
|
718
|
+
if (isString(linkList)) {
|
|
719
|
+
global$5.send({
|
|
720
|
+
url: linkList,
|
|
721
|
+
success: function (text) {
|
|
722
|
+
return callback(parseJson(text));
|
|
723
|
+
},
|
|
724
|
+
error: function (_) {
|
|
725
|
+
return callback(Option.none());
|
|
726
|
+
}
|
|
727
|
+
});
|
|
728
|
+
} else if (isFunction(linkList)) {
|
|
729
|
+
linkList(function (output) {
|
|
730
|
+
return callback(Option.some(output));
|
|
731
|
+
});
|
|
732
|
+
} else {
|
|
733
|
+
callback(Option.from(linkList));
|
|
734
|
+
}
|
|
735
|
+
}).then(function (optItems) {
|
|
736
|
+
return optItems.bind(ListOptions.sanitizeWith(extractor)).map(function (items) {
|
|
737
|
+
if (items.length > 0) {
|
|
738
|
+
return [{
|
|
739
|
+
text: 'None',
|
|
740
|
+
value: ''
|
|
741
|
+
}].concat(items);
|
|
742
|
+
} else {
|
|
743
|
+
return items;
|
|
744
|
+
}
|
|
745
|
+
});
|
|
746
|
+
});
|
|
747
|
+
};
|
|
748
|
+
var LinkListOptions = { getLinks: getLinks };
|
|
749
|
+
|
|
750
|
+
var getRels = function (editor, initialTarget) {
|
|
751
|
+
var list = getRelList(editor);
|
|
752
|
+
if (list.length > 0) {
|
|
753
|
+
var isTargetBlank_1 = initialTarget.is('_blank');
|
|
754
|
+
var enforceSafe = allowUnsafeLinkTarget(editor) === false;
|
|
755
|
+
var safeRelExtractor = function (item) {
|
|
756
|
+
return applyRelTargetRules(ListOptions.getValue(item), isTargetBlank_1);
|
|
757
|
+
};
|
|
758
|
+
var sanitizer = enforceSafe ? ListOptions.sanitizeWith(safeRelExtractor) : ListOptions.sanitize;
|
|
759
|
+
return sanitizer(list);
|
|
760
|
+
}
|
|
761
|
+
return Option.none();
|
|
762
|
+
};
|
|
763
|
+
var RelOptions = { getRels: getRels };
|
|
764
|
+
|
|
765
|
+
var fallbacks = [
|
|
766
|
+
{
|
|
767
|
+
text: 'Current window',
|
|
768
|
+
value: ''
|
|
769
|
+
},
|
|
770
|
+
{
|
|
771
|
+
text: 'New window',
|
|
772
|
+
value: '_blank'
|
|
773
|
+
}
|
|
774
|
+
];
|
|
775
|
+
var getTargets = function (editor) {
|
|
776
|
+
var list = getTargetList(editor);
|
|
777
|
+
if (isArray(list)) {
|
|
778
|
+
return ListOptions.sanitize(list).orThunk(function () {
|
|
779
|
+
return Option.some(fallbacks);
|
|
780
|
+
});
|
|
781
|
+
} else if (list === false) {
|
|
782
|
+
return Option.none();
|
|
783
|
+
}
|
|
784
|
+
return Option.some(fallbacks);
|
|
785
|
+
};
|
|
786
|
+
var TargetOptions = { getTargets: getTargets };
|
|
787
|
+
|
|
788
|
+
var nonEmptyAttr = function (dom, elem, name) {
|
|
789
|
+
var val = dom.getAttrib(elem, name);
|
|
790
|
+
return val !== null && val.length > 0 ? Option.some(val) : Option.none();
|
|
791
|
+
};
|
|
792
|
+
var extractFromAnchor = function (editor, anchor) {
|
|
793
|
+
var dom = editor.dom;
|
|
794
|
+
var onlyText = isOnlyTextSelected(editor.selection.getContent());
|
|
795
|
+
var text = onlyText ? Option.some(getAnchorText(editor.selection, anchor)) : Option.none();
|
|
796
|
+
var url = anchor ? Option.some(dom.getAttrib(anchor, 'href')) : Option.none();
|
|
797
|
+
var target = anchor ? Option.from(dom.getAttrib(anchor, 'target')) : Option.none();
|
|
798
|
+
var rel = nonEmptyAttr(dom, anchor, 'rel');
|
|
799
|
+
var linkClass = nonEmptyAttr(dom, anchor, 'class');
|
|
800
|
+
var title = nonEmptyAttr(dom, anchor, 'title');
|
|
801
|
+
return {
|
|
802
|
+
url: url,
|
|
803
|
+
text: text,
|
|
804
|
+
title: title,
|
|
805
|
+
target: target,
|
|
806
|
+
rel: rel,
|
|
807
|
+
linkClass: linkClass
|
|
808
|
+
};
|
|
809
|
+
};
|
|
810
|
+
var collect = function (editor, linkNode) {
|
|
811
|
+
return LinkListOptions.getLinks(editor).then(function (links) {
|
|
812
|
+
var anchor = extractFromAnchor(editor, linkNode);
|
|
813
|
+
return {
|
|
814
|
+
anchor: anchor,
|
|
815
|
+
catalogs: {
|
|
816
|
+
targets: TargetOptions.getTargets(editor),
|
|
817
|
+
rels: RelOptions.getRels(editor, anchor.target),
|
|
818
|
+
classes: ClassListOptions.getClasses(editor),
|
|
819
|
+
anchor: AnchorListOptions.getAnchors(editor),
|
|
820
|
+
link: links
|
|
821
|
+
},
|
|
822
|
+
optNode: Option.from(linkNode),
|
|
823
|
+
flags: { titleEnabled: shouldShowLinkTitle(editor) }
|
|
824
|
+
};
|
|
825
|
+
});
|
|
826
|
+
};
|
|
827
|
+
var DialogInfo = { collect: collect };
|
|
828
|
+
|
|
829
|
+
var handleSubmit = function (editor, info) {
|
|
830
|
+
return function (api) {
|
|
831
|
+
var data = api.getData();
|
|
832
|
+
if (!data.url.value) {
|
|
833
|
+
unlink(editor);
|
|
834
|
+
api.close();
|
|
835
|
+
return;
|
|
836
|
+
}
|
|
837
|
+
var getChangedValue = function (key) {
|
|
838
|
+
return Option.from(data[key]).filter(function (value) {
|
|
839
|
+
return !info.anchor[key].is(value);
|
|
840
|
+
});
|
|
841
|
+
};
|
|
842
|
+
var changedData = {
|
|
843
|
+
href: data.url.value,
|
|
844
|
+
text: getChangedValue('text'),
|
|
845
|
+
target: getChangedValue('target'),
|
|
846
|
+
rel: getChangedValue('rel'),
|
|
847
|
+
class: getChangedValue('linkClass'),
|
|
848
|
+
title: getChangedValue('title')
|
|
849
|
+
};
|
|
850
|
+
var attachState = {
|
|
851
|
+
href: data.url.value,
|
|
852
|
+
attach: data.url.meta !== undefined && data.url.meta.attach ? data.url.meta.attach : function () {
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
DialogConfirms.preprocess(editor, changedData).then(function (pData) {
|
|
856
|
+
link(editor, attachState, pData);
|
|
857
|
+
});
|
|
858
|
+
api.close();
|
|
859
|
+
};
|
|
860
|
+
};
|
|
861
|
+
var collectData = function (editor) {
|
|
862
|
+
var anchorNode = getAnchorElement(editor);
|
|
863
|
+
return DialogInfo.collect(editor, anchorNode);
|
|
864
|
+
};
|
|
865
|
+
var getInitialData = function (info, defaultTarget) {
|
|
866
|
+
var anchor = info.anchor;
|
|
867
|
+
var url = anchor.url.getOr('');
|
|
868
|
+
return {
|
|
869
|
+
url: {
|
|
870
|
+
value: url,
|
|
871
|
+
meta: { original: { value: url } }
|
|
872
|
+
},
|
|
873
|
+
text: anchor.text.getOr(''),
|
|
874
|
+
title: anchor.title.getOr(''),
|
|
875
|
+
anchor: url,
|
|
876
|
+
link: url,
|
|
877
|
+
rel: anchor.rel.getOr(''),
|
|
878
|
+
target: anchor.target.or(defaultTarget).getOr(''),
|
|
879
|
+
linkClass: anchor.linkClass.getOr('')
|
|
880
|
+
};
|
|
881
|
+
};
|
|
882
|
+
var makeDialog = function (settings, onSubmit, editor) {
|
|
883
|
+
var urlInput = [{
|
|
884
|
+
name: 'url',
|
|
885
|
+
type: 'urlinput',
|
|
886
|
+
filetype: 'file',
|
|
887
|
+
label: 'URL'
|
|
888
|
+
}];
|
|
889
|
+
var displayText = settings.anchor.text.map(function () {
|
|
890
|
+
return {
|
|
891
|
+
name: 'text',
|
|
892
|
+
type: 'input',
|
|
893
|
+
label: 'Text to display'
|
|
894
|
+
};
|
|
895
|
+
}).toArray();
|
|
896
|
+
var titleText = settings.flags.titleEnabled ? [{
|
|
897
|
+
name: 'title',
|
|
898
|
+
type: 'input',
|
|
899
|
+
label: 'Title'
|
|
900
|
+
}] : [];
|
|
901
|
+
var defaultTarget = Option.from(getDefaultLinkTarget(editor));
|
|
902
|
+
var initialData = getInitialData(settings, defaultTarget);
|
|
903
|
+
var catalogs = settings.catalogs;
|
|
904
|
+
var dialogDelta = DialogChanges.init(initialData, catalogs);
|
|
905
|
+
var body = {
|
|
906
|
+
type: 'panel',
|
|
907
|
+
items: flatten([
|
|
908
|
+
urlInput,
|
|
909
|
+
displayText,
|
|
910
|
+
titleText,
|
|
911
|
+
cat([
|
|
912
|
+
catalogs.anchor.map(ListOptions.createUi('anchor', 'Anchors')),
|
|
913
|
+
catalogs.rels.map(ListOptions.createUi('rel', 'Rel')),
|
|
914
|
+
catalogs.targets.map(ListOptions.createUi('target', 'Open link in...')),
|
|
915
|
+
catalogs.link.map(ListOptions.createUi('link', 'Link list')),
|
|
916
|
+
catalogs.classes.map(ListOptions.createUi('linkClass', 'Class'))
|
|
917
|
+
])
|
|
918
|
+
])
|
|
919
|
+
};
|
|
920
|
+
return {
|
|
921
|
+
title: 'Insert/Edit Link',
|
|
922
|
+
size: 'normal',
|
|
923
|
+
body: body,
|
|
924
|
+
buttons: [
|
|
925
|
+
{
|
|
926
|
+
type: 'cancel',
|
|
927
|
+
name: 'cancel',
|
|
928
|
+
text: 'Cancel'
|
|
929
|
+
},
|
|
930
|
+
{
|
|
931
|
+
type: 'submit',
|
|
932
|
+
name: 'save',
|
|
933
|
+
text: 'Save',
|
|
934
|
+
primary: true
|
|
935
|
+
}
|
|
936
|
+
],
|
|
937
|
+
initialData: initialData,
|
|
938
|
+
onChange: function (api, _a) {
|
|
939
|
+
var name = _a.name;
|
|
940
|
+
dialogDelta.onChange(api.getData, { name: name }).each(function (newData) {
|
|
941
|
+
api.setData(newData);
|
|
942
|
+
});
|
|
943
|
+
},
|
|
944
|
+
onSubmit: onSubmit
|
|
945
|
+
};
|
|
946
|
+
};
|
|
947
|
+
var open = function (editor) {
|
|
948
|
+
var data = collectData(editor);
|
|
949
|
+
data.then(function (info) {
|
|
950
|
+
var onSubmit = handleSubmit(editor, info);
|
|
951
|
+
return makeDialog(info, onSubmit, editor);
|
|
952
|
+
}).then(function (spec) {
|
|
953
|
+
editor.windowManager.open(spec);
|
|
954
|
+
});
|
|
955
|
+
};
|
|
956
|
+
|
|
957
|
+
var appendClickRemove = function (link, evt) {
|
|
958
|
+
domGlobals.document.body.appendChild(link);
|
|
959
|
+
link.dispatchEvent(evt);
|
|
960
|
+
domGlobals.document.body.removeChild(link);
|
|
961
|
+
};
|
|
962
|
+
var open$1 = function (url) {
|
|
963
|
+
var link = domGlobals.document.createElement('a');
|
|
964
|
+
link.target = '_blank';
|
|
965
|
+
link.href = url;
|
|
966
|
+
link.rel = 'noreferrer noopener';
|
|
967
|
+
var evt = domGlobals.document.createEvent('MouseEvents');
|
|
968
|
+
evt.initMouseEvent('click', true, true, domGlobals.window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
|
|
969
|
+
appendClickRemove(link, evt);
|
|
970
|
+
};
|
|
971
|
+
|
|
972
|
+
var getLink = function (editor, elm) {
|
|
973
|
+
return editor.dom.getParent(elm, 'a[href]');
|
|
974
|
+
};
|
|
975
|
+
var getSelectedLink = function (editor) {
|
|
976
|
+
return getLink(editor, editor.selection.getStart());
|
|
977
|
+
};
|
|
978
|
+
var hasOnlyAltModifier = function (e) {
|
|
979
|
+
return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false;
|
|
980
|
+
};
|
|
981
|
+
var gotoLink = function (editor, a) {
|
|
982
|
+
if (a) {
|
|
983
|
+
var href = getHref(a);
|
|
984
|
+
if (/^#/.test(href)) {
|
|
985
|
+
var targetEl = editor.$(href);
|
|
986
|
+
if (targetEl.length) {
|
|
987
|
+
editor.selection.scrollIntoView(targetEl[0], true);
|
|
988
|
+
}
|
|
989
|
+
} else {
|
|
990
|
+
open$1(a.href);
|
|
991
|
+
}
|
|
992
|
+
}
|
|
993
|
+
};
|
|
994
|
+
var openDialog = function (editor) {
|
|
995
|
+
return function () {
|
|
996
|
+
open(editor);
|
|
997
|
+
};
|
|
998
|
+
};
|
|
999
|
+
var gotoSelectedLink = function (editor) {
|
|
1000
|
+
return function () {
|
|
1001
|
+
gotoLink(editor, getSelectedLink(editor));
|
|
1002
|
+
};
|
|
1003
|
+
};
|
|
1004
|
+
var setupGotoLinks = function (editor) {
|
|
1005
|
+
editor.on('click', function (e) {
|
|
1006
|
+
var link = getLink(editor, e.target);
|
|
1007
|
+
if (link && global$1.metaKeyPressed(e)) {
|
|
1008
|
+
e.preventDefault();
|
|
1009
|
+
gotoLink(editor, link);
|
|
1010
|
+
}
|
|
1011
|
+
});
|
|
1012
|
+
editor.on('keydown', function (e) {
|
|
1013
|
+
var link = getSelectedLink(editor);
|
|
1014
|
+
if (link && e.keyCode === 13 && hasOnlyAltModifier(e)) {
|
|
1015
|
+
e.preventDefault();
|
|
1016
|
+
gotoLink(editor, link);
|
|
1017
|
+
}
|
|
1018
|
+
});
|
|
1019
|
+
};
|
|
1020
|
+
var toggleActiveState = function (editor) {
|
|
1021
|
+
return function (api) {
|
|
1022
|
+
var nodeChangeHandler = function (e) {
|
|
1023
|
+
return api.setActive(!editor.mode.isReadOnly() && !!getAnchorElement(editor, e.element));
|
|
1024
|
+
};
|
|
1025
|
+
editor.on('NodeChange', nodeChangeHandler);
|
|
1026
|
+
return function () {
|
|
1027
|
+
return editor.off('NodeChange', nodeChangeHandler);
|
|
1028
|
+
};
|
|
1029
|
+
};
|
|
1030
|
+
};
|
|
1031
|
+
var toggleEnabledState = function (editor) {
|
|
1032
|
+
return function (api) {
|
|
1033
|
+
var parents = editor.dom.getParents(editor.selection.getStart());
|
|
1034
|
+
api.setDisabled(!hasLinks(parents));
|
|
1035
|
+
var nodeChangeHandler = function (e) {
|
|
1036
|
+
return api.setDisabled(!hasLinks(e.parents));
|
|
1037
|
+
};
|
|
1038
|
+
editor.on('NodeChange', nodeChangeHandler);
|
|
1039
|
+
return function () {
|
|
1040
|
+
return editor.off('NodeChange', nodeChangeHandler);
|
|
1041
|
+
};
|
|
1042
|
+
};
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
var register = function (editor) {
|
|
1046
|
+
editor.addCommand('mceLink', function () {
|
|
1047
|
+
if (useQuickLink(editor)) {
|
|
1048
|
+
editor.fire('contexttoolbar-show', { toolbarKey: 'quicklink' });
|
|
1049
|
+
} else {
|
|
1050
|
+
openDialog(editor)();
|
|
1051
|
+
}
|
|
1052
|
+
});
|
|
1053
|
+
};
|
|
1054
|
+
|
|
1055
|
+
var setup = function (editor) {
|
|
1056
|
+
editor.addShortcut('Meta+K', '', function () {
|
|
1057
|
+
editor.execCommand('mceLink');
|
|
1058
|
+
});
|
|
1059
|
+
};
|
|
1060
|
+
|
|
1061
|
+
var setupButtons = function (editor) {
|
|
1062
|
+
editor.ui.registry.addToggleButton('link', {
|
|
1063
|
+
icon: 'link',
|
|
1064
|
+
tooltip: 'Insert/edit link',
|
|
1065
|
+
onAction: openDialog(editor),
|
|
1066
|
+
onSetup: toggleActiveState(editor)
|
|
1067
|
+
});
|
|
1068
|
+
editor.ui.registry.addButton('openlink', {
|
|
1069
|
+
icon: 'new-tab',
|
|
1070
|
+
tooltip: 'Open link',
|
|
1071
|
+
onAction: gotoSelectedLink(editor),
|
|
1072
|
+
onSetup: toggleEnabledState(editor)
|
|
1073
|
+
});
|
|
1074
|
+
editor.ui.registry.addButton('unlink', {
|
|
1075
|
+
icon: 'unlink',
|
|
1076
|
+
tooltip: 'Remove link',
|
|
1077
|
+
onAction: function () {
|
|
1078
|
+
return unlink(editor);
|
|
1079
|
+
},
|
|
1080
|
+
onSetup: toggleEnabledState(editor)
|
|
1081
|
+
});
|
|
1082
|
+
};
|
|
1083
|
+
var setupMenuItems = function (editor) {
|
|
1084
|
+
editor.ui.registry.addMenuItem('openlink', {
|
|
1085
|
+
text: 'Open link',
|
|
1086
|
+
icon: 'new-tab',
|
|
1087
|
+
onAction: gotoSelectedLink(editor),
|
|
1088
|
+
onSetup: toggleEnabledState(editor)
|
|
1089
|
+
});
|
|
1090
|
+
editor.ui.registry.addMenuItem('link', {
|
|
1091
|
+
icon: 'link',
|
|
1092
|
+
text: 'Link...',
|
|
1093
|
+
shortcut: 'Meta+K',
|
|
1094
|
+
onAction: openDialog(editor)
|
|
1095
|
+
});
|
|
1096
|
+
editor.ui.registry.addMenuItem('unlink', {
|
|
1097
|
+
icon: 'unlink',
|
|
1098
|
+
text: 'Remove link',
|
|
1099
|
+
onAction: function () {
|
|
1100
|
+
return unlink(editor);
|
|
1101
|
+
},
|
|
1102
|
+
onSetup: toggleEnabledState(editor)
|
|
1103
|
+
});
|
|
1104
|
+
};
|
|
1105
|
+
var setupContextMenu = function (editor) {
|
|
1106
|
+
var inLink = 'link unlink openlink';
|
|
1107
|
+
var noLink = 'link';
|
|
1108
|
+
editor.ui.registry.addContextMenu('link', {
|
|
1109
|
+
update: function (element) {
|
|
1110
|
+
return hasLinks(editor.dom.getParents(element, 'a')) ? inLink : noLink;
|
|
1111
|
+
}
|
|
1112
|
+
});
|
|
1113
|
+
};
|
|
1114
|
+
var setupContextToolbars = function (editor) {
|
|
1115
|
+
var collapseSelectionToEnd = function (editor) {
|
|
1116
|
+
editor.selection.collapse(false);
|
|
1117
|
+
};
|
|
1118
|
+
var onSetupLink = function (buttonApi) {
|
|
1119
|
+
var node = editor.selection.getNode();
|
|
1120
|
+
buttonApi.setDisabled(!getAnchorElement(editor, node));
|
|
1121
|
+
return function () {
|
|
1122
|
+
};
|
|
1123
|
+
};
|
|
1124
|
+
editor.ui.registry.addContextForm('quicklink', {
|
|
1125
|
+
launch: {
|
|
1126
|
+
type: 'contextformtogglebutton',
|
|
1127
|
+
icon: 'link',
|
|
1128
|
+
tooltip: 'Link',
|
|
1129
|
+
onSetup: toggleActiveState(editor)
|
|
1130
|
+
},
|
|
1131
|
+
label: 'Link',
|
|
1132
|
+
predicate: function (node) {
|
|
1133
|
+
return !!getAnchorElement(editor, node) && hasContextToolbar(editor);
|
|
1134
|
+
},
|
|
1135
|
+
initValue: function () {
|
|
1136
|
+
var elm = getAnchorElement(editor);
|
|
1137
|
+
return !!elm ? getHref(elm) : '';
|
|
1138
|
+
},
|
|
1139
|
+
commands: [
|
|
1140
|
+
{
|
|
1141
|
+
type: 'contextformtogglebutton',
|
|
1142
|
+
icon: 'link',
|
|
1143
|
+
tooltip: 'Link',
|
|
1144
|
+
primary: true,
|
|
1145
|
+
onSetup: function (buttonApi) {
|
|
1146
|
+
var node = editor.selection.getNode();
|
|
1147
|
+
buttonApi.setActive(!!getAnchorElement(editor, node));
|
|
1148
|
+
return toggleActiveState(editor)(buttonApi);
|
|
1149
|
+
},
|
|
1150
|
+
onAction: function (formApi) {
|
|
1151
|
+
var anchor = getAnchorElement(editor);
|
|
1152
|
+
var value = formApi.getValue();
|
|
1153
|
+
if (!anchor) {
|
|
1154
|
+
var attachState = {
|
|
1155
|
+
href: value,
|
|
1156
|
+
attach: function () {
|
|
1157
|
+
}
|
|
1158
|
+
};
|
|
1159
|
+
var onlyText = isOnlyTextSelected(editor.selection.getContent());
|
|
1160
|
+
var text = onlyText ? Option.some(getAnchorText(editor.selection, anchor)).filter(function (t) {
|
|
1161
|
+
return t.length > 0;
|
|
1162
|
+
}).or(Option.from(value)) : Option.none();
|
|
1163
|
+
link(editor, attachState, {
|
|
1164
|
+
href: value,
|
|
1165
|
+
text: text,
|
|
1166
|
+
title: Option.none(),
|
|
1167
|
+
rel: Option.none(),
|
|
1168
|
+
target: Option.none(),
|
|
1169
|
+
class: Option.none()
|
|
1170
|
+
});
|
|
1171
|
+
formApi.hide();
|
|
1172
|
+
} else {
|
|
1173
|
+
editor.undoManager.transact(function () {
|
|
1174
|
+
editor.dom.setAttrib(anchor, 'href', value);
|
|
1175
|
+
collapseSelectionToEnd(editor);
|
|
1176
|
+
formApi.hide();
|
|
1177
|
+
});
|
|
1178
|
+
}
|
|
1179
|
+
}
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
type: 'contextformbutton',
|
|
1183
|
+
icon: 'unlink',
|
|
1184
|
+
tooltip: 'Remove link',
|
|
1185
|
+
onSetup: onSetupLink,
|
|
1186
|
+
onAction: function (formApi) {
|
|
1187
|
+
unlink(editor);
|
|
1188
|
+
formApi.hide();
|
|
1189
|
+
}
|
|
1190
|
+
},
|
|
1191
|
+
{
|
|
1192
|
+
type: 'contextformbutton',
|
|
1193
|
+
icon: 'new-tab',
|
|
1194
|
+
tooltip: 'Open link',
|
|
1195
|
+
onSetup: onSetupLink,
|
|
1196
|
+
onAction: function (formApi) {
|
|
1197
|
+
gotoSelectedLink(editor)();
|
|
1198
|
+
formApi.hide();
|
|
1199
|
+
}
|
|
1200
|
+
}
|
|
1201
|
+
]
|
|
1202
|
+
});
|
|
1203
|
+
};
|
|
1204
|
+
|
|
1205
|
+
function Plugin () {
|
|
1206
|
+
global.add('link', function (editor) {
|
|
1207
|
+
setupButtons(editor);
|
|
1208
|
+
setupMenuItems(editor);
|
|
1209
|
+
setupContextMenu(editor);
|
|
1210
|
+
setupContextToolbars(editor);
|
|
1211
|
+
setupGotoLinks(editor);
|
|
1212
|
+
register(editor);
|
|
1213
|
+
setup(editor);
|
|
1214
|
+
});
|
|
1215
|
+
}
|
|
1216
|
+
|
|
1217
|
+
Plugin();
|
|
1218
|
+
|
|
1219
|
+
}(window));
|