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,1315 @@
|
|
|
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 () {
|
|
10
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
13
|
+
|
|
14
|
+
var __assign = function () {
|
|
15
|
+
__assign = Object.assign || function __assign(t) {
|
|
16
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
17
|
+
s = arguments[i];
|
|
18
|
+
for (var p in s)
|
|
19
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
20
|
+
t[p] = s[p];
|
|
21
|
+
}
|
|
22
|
+
return t;
|
|
23
|
+
};
|
|
24
|
+
return __assign.apply(this, arguments);
|
|
25
|
+
};
|
|
26
|
+
|
|
27
|
+
var noop = function () {
|
|
28
|
+
};
|
|
29
|
+
var constant = function (value) {
|
|
30
|
+
return function () {
|
|
31
|
+
return value;
|
|
32
|
+
};
|
|
33
|
+
};
|
|
34
|
+
var never = constant(false);
|
|
35
|
+
var always = constant(true);
|
|
36
|
+
|
|
37
|
+
var none = function () {
|
|
38
|
+
return NONE;
|
|
39
|
+
};
|
|
40
|
+
var NONE = function () {
|
|
41
|
+
var eq = function (o) {
|
|
42
|
+
return o.isNone();
|
|
43
|
+
};
|
|
44
|
+
var call = function (thunk) {
|
|
45
|
+
return thunk();
|
|
46
|
+
};
|
|
47
|
+
var id = function (n) {
|
|
48
|
+
return n;
|
|
49
|
+
};
|
|
50
|
+
var me = {
|
|
51
|
+
fold: function (n, _s) {
|
|
52
|
+
return n();
|
|
53
|
+
},
|
|
54
|
+
is: never,
|
|
55
|
+
isSome: never,
|
|
56
|
+
isNone: always,
|
|
57
|
+
getOr: id,
|
|
58
|
+
getOrThunk: call,
|
|
59
|
+
getOrDie: function (msg) {
|
|
60
|
+
throw new Error(msg || 'error: getOrDie called on none.');
|
|
61
|
+
},
|
|
62
|
+
getOrNull: constant(null),
|
|
63
|
+
getOrUndefined: constant(undefined),
|
|
64
|
+
or: id,
|
|
65
|
+
orThunk: call,
|
|
66
|
+
map: none,
|
|
67
|
+
each: noop,
|
|
68
|
+
bind: none,
|
|
69
|
+
exists: never,
|
|
70
|
+
forall: always,
|
|
71
|
+
filter: none,
|
|
72
|
+
equals: eq,
|
|
73
|
+
equals_: eq,
|
|
74
|
+
toArray: function () {
|
|
75
|
+
return [];
|
|
76
|
+
},
|
|
77
|
+
toString: constant('none()')
|
|
78
|
+
};
|
|
79
|
+
return me;
|
|
80
|
+
}();
|
|
81
|
+
var some = function (a) {
|
|
82
|
+
var constant_a = constant(a);
|
|
83
|
+
var self = function () {
|
|
84
|
+
return me;
|
|
85
|
+
};
|
|
86
|
+
var bind = function (f) {
|
|
87
|
+
return f(a);
|
|
88
|
+
};
|
|
89
|
+
var me = {
|
|
90
|
+
fold: function (n, s) {
|
|
91
|
+
return s(a);
|
|
92
|
+
},
|
|
93
|
+
is: function (v) {
|
|
94
|
+
return a === v;
|
|
95
|
+
},
|
|
96
|
+
isSome: always,
|
|
97
|
+
isNone: never,
|
|
98
|
+
getOr: constant_a,
|
|
99
|
+
getOrThunk: constant_a,
|
|
100
|
+
getOrDie: constant_a,
|
|
101
|
+
getOrNull: constant_a,
|
|
102
|
+
getOrUndefined: constant_a,
|
|
103
|
+
or: self,
|
|
104
|
+
orThunk: self,
|
|
105
|
+
map: function (f) {
|
|
106
|
+
return some(f(a));
|
|
107
|
+
},
|
|
108
|
+
each: function (f) {
|
|
109
|
+
f(a);
|
|
110
|
+
},
|
|
111
|
+
bind: bind,
|
|
112
|
+
exists: bind,
|
|
113
|
+
forall: bind,
|
|
114
|
+
filter: function (f) {
|
|
115
|
+
return f(a) ? me : NONE;
|
|
116
|
+
},
|
|
117
|
+
toArray: function () {
|
|
118
|
+
return [a];
|
|
119
|
+
},
|
|
120
|
+
toString: function () {
|
|
121
|
+
return 'some(' + a + ')';
|
|
122
|
+
},
|
|
123
|
+
equals: function (o) {
|
|
124
|
+
return o.is(a);
|
|
125
|
+
},
|
|
126
|
+
equals_: function (o, elementEq) {
|
|
127
|
+
return o.fold(never, function (b) {
|
|
128
|
+
return elementEq(a, b);
|
|
129
|
+
});
|
|
130
|
+
}
|
|
131
|
+
};
|
|
132
|
+
return me;
|
|
133
|
+
};
|
|
134
|
+
var from = function (value) {
|
|
135
|
+
return value === null || value === undefined ? NONE : some(value);
|
|
136
|
+
};
|
|
137
|
+
var Option = {
|
|
138
|
+
some: some,
|
|
139
|
+
none: none,
|
|
140
|
+
from: from
|
|
141
|
+
};
|
|
142
|
+
|
|
143
|
+
var typeOf = function (x) {
|
|
144
|
+
var t = typeof x;
|
|
145
|
+
if (x === null) {
|
|
146
|
+
return 'null';
|
|
147
|
+
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
148
|
+
return 'array';
|
|
149
|
+
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
150
|
+
return 'string';
|
|
151
|
+
} else {
|
|
152
|
+
return t;
|
|
153
|
+
}
|
|
154
|
+
};
|
|
155
|
+
var isType = function (type) {
|
|
156
|
+
return function (value) {
|
|
157
|
+
return typeOf(value) === type;
|
|
158
|
+
};
|
|
159
|
+
};
|
|
160
|
+
var isString = isType('string');
|
|
161
|
+
var isObject = isType('object');
|
|
162
|
+
var isArray = isType('array');
|
|
163
|
+
|
|
164
|
+
var nativePush = Array.prototype.push;
|
|
165
|
+
var each = function (xs, f) {
|
|
166
|
+
for (var i = 0, len = xs.length; i < len; i++) {
|
|
167
|
+
var x = xs[i];
|
|
168
|
+
f(x, i);
|
|
169
|
+
}
|
|
170
|
+
};
|
|
171
|
+
var flatten = function (xs) {
|
|
172
|
+
var r = [];
|
|
173
|
+
for (var i = 0, len = xs.length; i < len; ++i) {
|
|
174
|
+
if (!isArray(xs[i])) {
|
|
175
|
+
throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
|
|
176
|
+
}
|
|
177
|
+
nativePush.apply(r, xs[i]);
|
|
178
|
+
}
|
|
179
|
+
return r;
|
|
180
|
+
};
|
|
181
|
+
|
|
182
|
+
var Cell = function (initial) {
|
|
183
|
+
var value = initial;
|
|
184
|
+
var get = function () {
|
|
185
|
+
return value;
|
|
186
|
+
};
|
|
187
|
+
var set = function (v) {
|
|
188
|
+
value = v;
|
|
189
|
+
};
|
|
190
|
+
return {
|
|
191
|
+
get: get,
|
|
192
|
+
set: set
|
|
193
|
+
};
|
|
194
|
+
};
|
|
195
|
+
|
|
196
|
+
var keys = Object.keys;
|
|
197
|
+
var hasOwnProperty = Object.hasOwnProperty;
|
|
198
|
+
var each$1 = function (obj, f) {
|
|
199
|
+
var props = keys(obj);
|
|
200
|
+
for (var k = 0, len = props.length; k < len; k++) {
|
|
201
|
+
var i = props[k];
|
|
202
|
+
var x = obj[i];
|
|
203
|
+
f(x, i);
|
|
204
|
+
}
|
|
205
|
+
};
|
|
206
|
+
var get = function (obj, key) {
|
|
207
|
+
return has(obj, key) ? Option.from(obj[key]) : Option.none();
|
|
208
|
+
};
|
|
209
|
+
var has = function (obj, key) {
|
|
210
|
+
return hasOwnProperty.call(obj, key);
|
|
211
|
+
};
|
|
212
|
+
|
|
213
|
+
var getScripts = function (editor) {
|
|
214
|
+
return editor.getParam('media_scripts');
|
|
215
|
+
};
|
|
216
|
+
var getAudioTemplateCallback = function (editor) {
|
|
217
|
+
return editor.getParam('audio_template_callback');
|
|
218
|
+
};
|
|
219
|
+
var getVideoTemplateCallback = function (editor) {
|
|
220
|
+
return editor.getParam('video_template_callback');
|
|
221
|
+
};
|
|
222
|
+
var hasLiveEmbeds = function (editor) {
|
|
223
|
+
return editor.getParam('media_live_embeds', true);
|
|
224
|
+
};
|
|
225
|
+
var shouldFilterHtml = function (editor) {
|
|
226
|
+
return editor.getParam('media_filter_html', true);
|
|
227
|
+
};
|
|
228
|
+
var getUrlResolver = function (editor) {
|
|
229
|
+
return editor.getParam('media_url_resolver');
|
|
230
|
+
};
|
|
231
|
+
var hasAltSource = function (editor) {
|
|
232
|
+
return editor.getParam('media_alt_source', true);
|
|
233
|
+
};
|
|
234
|
+
var hasPoster = function (editor) {
|
|
235
|
+
return editor.getParam('media_poster', true);
|
|
236
|
+
};
|
|
237
|
+
var hasDimensions = function (editor) {
|
|
238
|
+
return editor.getParam('media_dimensions', true);
|
|
239
|
+
};
|
|
240
|
+
|
|
241
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
242
|
+
|
|
243
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.dom.DOMUtils');
|
|
244
|
+
|
|
245
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.html.SaxParser');
|
|
246
|
+
|
|
247
|
+
var getVideoScriptMatch = function (prefixes, src) {
|
|
248
|
+
if (prefixes) {
|
|
249
|
+
for (var i = 0; i < prefixes.length; i++) {
|
|
250
|
+
if (src.indexOf(prefixes[i].filter) !== -1) {
|
|
251
|
+
return prefixes[i];
|
|
252
|
+
}
|
|
253
|
+
}
|
|
254
|
+
}
|
|
255
|
+
};
|
|
256
|
+
|
|
257
|
+
var DOM = global$2.DOM;
|
|
258
|
+
var trimPx = function (value) {
|
|
259
|
+
return value.replace(/px$/, '');
|
|
260
|
+
};
|
|
261
|
+
var getEphoxEmbedData = function (attrs) {
|
|
262
|
+
var style = attrs.map.style;
|
|
263
|
+
var styles = style ? DOM.parseStyle(style) : {};
|
|
264
|
+
return {
|
|
265
|
+
type: 'ephox-embed-iri',
|
|
266
|
+
source: attrs.map['data-ephox-embed-iri'],
|
|
267
|
+
altsource: '',
|
|
268
|
+
poster: '',
|
|
269
|
+
width: get(styles, 'max-width').map(trimPx).getOr(''),
|
|
270
|
+
height: get(styles, 'max-height').map(trimPx).getOr('')
|
|
271
|
+
};
|
|
272
|
+
};
|
|
273
|
+
var htmlToData = function (prefixes, html) {
|
|
274
|
+
var isEphoxEmbed = Cell(false);
|
|
275
|
+
var data = {};
|
|
276
|
+
global$3({
|
|
277
|
+
validate: false,
|
|
278
|
+
allow_conditional_comments: true,
|
|
279
|
+
start: function (name, attrs) {
|
|
280
|
+
if (isEphoxEmbed.get()) ; else if (has(attrs.map, 'data-ephox-embed-iri')) {
|
|
281
|
+
isEphoxEmbed.set(true);
|
|
282
|
+
data = getEphoxEmbedData(attrs);
|
|
283
|
+
} else {
|
|
284
|
+
if (!data.source && name === 'param') {
|
|
285
|
+
data.source = attrs.map.movie;
|
|
286
|
+
}
|
|
287
|
+
if (name === 'iframe' || name === 'object' || name === 'embed' || name === 'video' || name === 'audio') {
|
|
288
|
+
if (!data.type) {
|
|
289
|
+
data.type = name;
|
|
290
|
+
}
|
|
291
|
+
data = global$1.extend(attrs.map, data);
|
|
292
|
+
}
|
|
293
|
+
if (name === 'script') {
|
|
294
|
+
var videoScript = getVideoScriptMatch(prefixes, attrs.map.src);
|
|
295
|
+
if (!videoScript) {
|
|
296
|
+
return;
|
|
297
|
+
}
|
|
298
|
+
data = {
|
|
299
|
+
type: 'script',
|
|
300
|
+
source: attrs.map.src,
|
|
301
|
+
width: String(videoScript.width),
|
|
302
|
+
height: String(videoScript.height)
|
|
303
|
+
};
|
|
304
|
+
}
|
|
305
|
+
if (name === 'source') {
|
|
306
|
+
if (!data.source) {
|
|
307
|
+
data.source = attrs.map.src;
|
|
308
|
+
} else if (!data.altsource) {
|
|
309
|
+
data.altsource = attrs.map.src;
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
if (name === 'img' && !data.poster) {
|
|
313
|
+
data.poster = attrs.map.src;
|
|
314
|
+
}
|
|
315
|
+
}
|
|
316
|
+
}
|
|
317
|
+
}).parse(html);
|
|
318
|
+
data.source = data.source || data.src || data.data;
|
|
319
|
+
data.altsource = data.altsource || '';
|
|
320
|
+
data.poster = data.poster || '';
|
|
321
|
+
return data;
|
|
322
|
+
};
|
|
323
|
+
|
|
324
|
+
var guess = function (url) {
|
|
325
|
+
var mimes = {
|
|
326
|
+
mp3: 'audio/mpeg',
|
|
327
|
+
m4a: 'audio/x-m4a',
|
|
328
|
+
wav: 'audio/wav',
|
|
329
|
+
mp4: 'video/mp4',
|
|
330
|
+
webm: 'video/webm',
|
|
331
|
+
ogg: 'video/ogg',
|
|
332
|
+
swf: 'application/x-shockwave-flash'
|
|
333
|
+
};
|
|
334
|
+
var fileEnd = url.toLowerCase().split('.').pop();
|
|
335
|
+
var mime = mimes[fileEnd];
|
|
336
|
+
return mime ? mime : '';
|
|
337
|
+
};
|
|
338
|
+
|
|
339
|
+
var global$4 = tinymce.util.Tools.resolve('tinymce.html.Schema');
|
|
340
|
+
|
|
341
|
+
var global$5 = tinymce.util.Tools.resolve('tinymce.html.Writer');
|
|
342
|
+
|
|
343
|
+
var DOM$1 = global$2.DOM;
|
|
344
|
+
var addPx = function (value) {
|
|
345
|
+
return /^[0-9.]+$/.test(value) ? value + 'px' : value;
|
|
346
|
+
};
|
|
347
|
+
var setAttributes = function (attrs, updatedAttrs) {
|
|
348
|
+
each$1(updatedAttrs, function (val, name) {
|
|
349
|
+
var value = '' + val;
|
|
350
|
+
if (attrs.map[name]) {
|
|
351
|
+
var i = attrs.length;
|
|
352
|
+
while (i--) {
|
|
353
|
+
var attr = attrs[i];
|
|
354
|
+
if (attr.name === name) {
|
|
355
|
+
if (value) {
|
|
356
|
+
attrs.map[name] = value;
|
|
357
|
+
attr.value = value;
|
|
358
|
+
} else {
|
|
359
|
+
delete attrs.map[name];
|
|
360
|
+
attrs.splice(i, 1);
|
|
361
|
+
}
|
|
362
|
+
}
|
|
363
|
+
}
|
|
364
|
+
} else if (value) {
|
|
365
|
+
attrs.push({
|
|
366
|
+
name: name,
|
|
367
|
+
value: value
|
|
368
|
+
});
|
|
369
|
+
attrs.map[name] = value;
|
|
370
|
+
}
|
|
371
|
+
});
|
|
372
|
+
};
|
|
373
|
+
var updateEphoxEmbed = function (data, attrs) {
|
|
374
|
+
var style = attrs.map.style;
|
|
375
|
+
var styleMap = style ? DOM$1.parseStyle(style) : {};
|
|
376
|
+
styleMap['max-width'] = addPx(data.width);
|
|
377
|
+
styleMap['max-height'] = addPx(data.height);
|
|
378
|
+
setAttributes(attrs, { style: DOM$1.serializeStyle(styleMap) });
|
|
379
|
+
};
|
|
380
|
+
var sources = [
|
|
381
|
+
'source',
|
|
382
|
+
'altsource'
|
|
383
|
+
];
|
|
384
|
+
var updateHtml = function (html, data, updateAll) {
|
|
385
|
+
var writer = global$5();
|
|
386
|
+
var isEphoxEmbed = Cell(false);
|
|
387
|
+
var sourceCount = 0;
|
|
388
|
+
var hasImage;
|
|
389
|
+
global$3({
|
|
390
|
+
validate: false,
|
|
391
|
+
allow_conditional_comments: true,
|
|
392
|
+
comment: function (text) {
|
|
393
|
+
writer.comment(text);
|
|
394
|
+
},
|
|
395
|
+
cdata: function (text) {
|
|
396
|
+
writer.cdata(text);
|
|
397
|
+
},
|
|
398
|
+
text: function (text, raw) {
|
|
399
|
+
writer.text(text, raw);
|
|
400
|
+
},
|
|
401
|
+
start: function (name, attrs, empty) {
|
|
402
|
+
if (isEphoxEmbed.get()) ; else if (has(attrs.map, 'data-ephox-embed-iri')) {
|
|
403
|
+
isEphoxEmbed.set(true);
|
|
404
|
+
updateEphoxEmbed(data, attrs);
|
|
405
|
+
} else {
|
|
406
|
+
switch (name) {
|
|
407
|
+
case 'video':
|
|
408
|
+
case 'object':
|
|
409
|
+
case 'embed':
|
|
410
|
+
case 'img':
|
|
411
|
+
case 'iframe':
|
|
412
|
+
if (data.height !== undefined && data.width !== undefined) {
|
|
413
|
+
setAttributes(attrs, {
|
|
414
|
+
width: data.width,
|
|
415
|
+
height: data.height
|
|
416
|
+
});
|
|
417
|
+
}
|
|
418
|
+
break;
|
|
419
|
+
}
|
|
420
|
+
if (updateAll) {
|
|
421
|
+
switch (name) {
|
|
422
|
+
case 'video':
|
|
423
|
+
setAttributes(attrs, {
|
|
424
|
+
poster: data.poster,
|
|
425
|
+
src: ''
|
|
426
|
+
});
|
|
427
|
+
if (data.altsource) {
|
|
428
|
+
setAttributes(attrs, { src: '' });
|
|
429
|
+
}
|
|
430
|
+
break;
|
|
431
|
+
case 'iframe':
|
|
432
|
+
setAttributes(attrs, { src: data.source });
|
|
433
|
+
break;
|
|
434
|
+
case 'source':
|
|
435
|
+
if (sourceCount < 2) {
|
|
436
|
+
setAttributes(attrs, {
|
|
437
|
+
src: data[sources[sourceCount]],
|
|
438
|
+
type: data[sources[sourceCount] + 'mime']
|
|
439
|
+
});
|
|
440
|
+
if (!data[sources[sourceCount]]) {
|
|
441
|
+
return;
|
|
442
|
+
}
|
|
443
|
+
}
|
|
444
|
+
sourceCount++;
|
|
445
|
+
break;
|
|
446
|
+
case 'img':
|
|
447
|
+
if (!data.poster) {
|
|
448
|
+
return;
|
|
449
|
+
}
|
|
450
|
+
hasImage = true;
|
|
451
|
+
break;
|
|
452
|
+
}
|
|
453
|
+
}
|
|
454
|
+
}
|
|
455
|
+
writer.start(name, attrs, empty);
|
|
456
|
+
},
|
|
457
|
+
end: function (name) {
|
|
458
|
+
if (!isEphoxEmbed.get()) {
|
|
459
|
+
if (name === 'video' && updateAll) {
|
|
460
|
+
for (var index = 0; index < 2; index++) {
|
|
461
|
+
if (data[sources[index]]) {
|
|
462
|
+
var attrs = [];
|
|
463
|
+
attrs.map = {};
|
|
464
|
+
if (sourceCount < index) {
|
|
465
|
+
setAttributes(attrs, {
|
|
466
|
+
src: data[sources[index]],
|
|
467
|
+
type: data[sources[index] + 'mime']
|
|
468
|
+
});
|
|
469
|
+
writer.start('source', attrs, true);
|
|
470
|
+
}
|
|
471
|
+
}
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
if (data.poster && name === 'object' && updateAll && !hasImage) {
|
|
475
|
+
var imgAttrs = [];
|
|
476
|
+
imgAttrs.map = {};
|
|
477
|
+
setAttributes(imgAttrs, {
|
|
478
|
+
src: data.poster,
|
|
479
|
+
width: data.width,
|
|
480
|
+
height: data.height
|
|
481
|
+
});
|
|
482
|
+
writer.start('img', imgAttrs, true);
|
|
483
|
+
}
|
|
484
|
+
}
|
|
485
|
+
writer.end(name);
|
|
486
|
+
}
|
|
487
|
+
}, global$4({})).parse(html);
|
|
488
|
+
return writer.getContent();
|
|
489
|
+
};
|
|
490
|
+
|
|
491
|
+
var urlPatterns = [
|
|
492
|
+
{
|
|
493
|
+
regex: /youtu\.be\/([\w\-_\?&=.]+)/i,
|
|
494
|
+
type: 'iframe',
|
|
495
|
+
w: 560,
|
|
496
|
+
h: 314,
|
|
497
|
+
url: 'www.youtube.com/embed/$1',
|
|
498
|
+
allowFullscreen: true
|
|
499
|
+
},
|
|
500
|
+
{
|
|
501
|
+
regex: /youtube\.com(.+)v=([^&]+)(&([a-z0-9&=\-_]+))?/i,
|
|
502
|
+
type: 'iframe',
|
|
503
|
+
w: 560,
|
|
504
|
+
h: 314,
|
|
505
|
+
url: 'www.youtube.com/embed/$2?$4',
|
|
506
|
+
allowFullscreen: true
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
regex: /youtube.com\/embed\/([a-z0-9\?&=\-_]+)/i,
|
|
510
|
+
type: 'iframe',
|
|
511
|
+
w: 560,
|
|
512
|
+
h: 314,
|
|
513
|
+
url: 'www.youtube.com/embed/$1',
|
|
514
|
+
allowFullscreen: true
|
|
515
|
+
},
|
|
516
|
+
{
|
|
517
|
+
regex: /vimeo\.com\/([0-9]+)/,
|
|
518
|
+
type: 'iframe',
|
|
519
|
+
w: 425,
|
|
520
|
+
h: 350,
|
|
521
|
+
url: 'player.vimeo.com/video/$1?title=0&byline=0&portrait=0&color=8dc7dc',
|
|
522
|
+
allowFullscreen: true
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
regex: /vimeo\.com\/(.*)\/([0-9]+)/,
|
|
526
|
+
type: 'iframe',
|
|
527
|
+
w: 425,
|
|
528
|
+
h: 350,
|
|
529
|
+
url: 'player.vimeo.com/video/$2?title=0&byline=0',
|
|
530
|
+
allowFullscreen: true
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
regex: /maps\.google\.([a-z]{2,3})\/maps\/(.+)msid=(.+)/,
|
|
534
|
+
type: 'iframe',
|
|
535
|
+
w: 425,
|
|
536
|
+
h: 350,
|
|
537
|
+
url: 'maps.google.com/maps/ms?msid=$2&output=embed"',
|
|
538
|
+
allowFullscreen: false
|
|
539
|
+
},
|
|
540
|
+
{
|
|
541
|
+
regex: /dailymotion\.com\/video\/([^_]+)/,
|
|
542
|
+
type: 'iframe',
|
|
543
|
+
w: 480,
|
|
544
|
+
h: 270,
|
|
545
|
+
url: 'www.dailymotion.com/embed/video/$1',
|
|
546
|
+
allowFullscreen: true
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
regex: /dai\.ly\/([^_]+)/,
|
|
550
|
+
type: 'iframe',
|
|
551
|
+
w: 480,
|
|
552
|
+
h: 270,
|
|
553
|
+
url: 'www.dailymotion.com/embed/video/$1',
|
|
554
|
+
allowFullscreen: true
|
|
555
|
+
}
|
|
556
|
+
];
|
|
557
|
+
var getProtocol = function (url) {
|
|
558
|
+
var protocolMatches = url.match(/^(https?:\/\/|www\.)(.+)$/i);
|
|
559
|
+
if (protocolMatches && protocolMatches.length > 1) {
|
|
560
|
+
return protocolMatches[1] === 'www.' ? 'https://' : protocolMatches[1];
|
|
561
|
+
} else {
|
|
562
|
+
return 'https://';
|
|
563
|
+
}
|
|
564
|
+
};
|
|
565
|
+
var getUrl = function (pattern, url) {
|
|
566
|
+
var protocol = getProtocol(url);
|
|
567
|
+
var match = pattern.regex.exec(url);
|
|
568
|
+
var newUrl = protocol + pattern.url;
|
|
569
|
+
var _loop_1 = function (i) {
|
|
570
|
+
newUrl = newUrl.replace('$' + i, function () {
|
|
571
|
+
return match[i] ? match[i] : '';
|
|
572
|
+
});
|
|
573
|
+
};
|
|
574
|
+
for (var i = 0; i < match.length; i++) {
|
|
575
|
+
_loop_1(i);
|
|
576
|
+
}
|
|
577
|
+
return newUrl.replace(/\?$/, '');
|
|
578
|
+
};
|
|
579
|
+
var matchPattern = function (url) {
|
|
580
|
+
var patterns = urlPatterns.filter(function (pattern) {
|
|
581
|
+
return pattern.regex.test(url);
|
|
582
|
+
});
|
|
583
|
+
if (patterns.length > 0) {
|
|
584
|
+
return global$1.extend({}, patterns[0], { url: getUrl(patterns[0], url) });
|
|
585
|
+
} else {
|
|
586
|
+
return null;
|
|
587
|
+
}
|
|
588
|
+
};
|
|
589
|
+
|
|
590
|
+
var getIframeHtml = function (data) {
|
|
591
|
+
var allowFullscreen = data.allowFullscreen ? ' allowFullscreen="1"' : '';
|
|
592
|
+
return '<iframe src="' + data.source + '" width="' + data.width + '" height="' + data.height + '"' + allowFullscreen + '></iframe>';
|
|
593
|
+
};
|
|
594
|
+
var getFlashHtml = function (data) {
|
|
595
|
+
var html = '<object data="' + data.source + '" width="' + data.width + '" height="' + data.height + '" type="application/x-shockwave-flash">';
|
|
596
|
+
if (data.poster) {
|
|
597
|
+
html += '<img src="' + data.poster + '" width="' + data.width + '" height="' + data.height + '" />';
|
|
598
|
+
}
|
|
599
|
+
html += '</object>';
|
|
600
|
+
return html;
|
|
601
|
+
};
|
|
602
|
+
var getAudioHtml = function (data, audioTemplateCallback) {
|
|
603
|
+
if (audioTemplateCallback) {
|
|
604
|
+
return audioTemplateCallback(data);
|
|
605
|
+
} else {
|
|
606
|
+
return '<audio controls="controls" src="' + data.source + '">' + (data.altsource ? '\n<source src="' + data.altsource + '"' + (data.altsourcemime ? ' type="' + data.altsourcemime + '"' : '') + ' />\n' : '') + '</audio>';
|
|
607
|
+
}
|
|
608
|
+
};
|
|
609
|
+
var getVideoHtml = function (data, videoTemplateCallback) {
|
|
610
|
+
if (videoTemplateCallback) {
|
|
611
|
+
return videoTemplateCallback(data);
|
|
612
|
+
} else {
|
|
613
|
+
return '<video width="' + data.width + '" height="' + data.height + '"' + (data.poster ? ' poster="' + data.poster + '"' : '') + ' controls="controls">\n' + '<source src="' + data.source + '"' + (data.sourcemime ? ' type="' + data.sourcemime + '"' : '') + ' />\n' + (data.altsource ? '<source src="' + data.altsource + '"' + (data.altsourcemime ? ' type="' + data.altsourcemime + '"' : '') + ' />\n' : '') + '</video>';
|
|
614
|
+
}
|
|
615
|
+
};
|
|
616
|
+
var getScriptHtml = function (data) {
|
|
617
|
+
return '<script src="' + data.source + '"></script>';
|
|
618
|
+
};
|
|
619
|
+
var dataToHtml = function (editor, dataIn) {
|
|
620
|
+
var data = global$1.extend({}, dataIn);
|
|
621
|
+
if (!data.source) {
|
|
622
|
+
global$1.extend(data, htmlToData(getScripts(editor), data.embed));
|
|
623
|
+
if (!data.source) {
|
|
624
|
+
return '';
|
|
625
|
+
}
|
|
626
|
+
}
|
|
627
|
+
if (!data.altsource) {
|
|
628
|
+
data.altsource = '';
|
|
629
|
+
}
|
|
630
|
+
if (!data.poster) {
|
|
631
|
+
data.poster = '';
|
|
632
|
+
}
|
|
633
|
+
data.source = editor.convertURL(data.source, 'source');
|
|
634
|
+
data.altsource = editor.convertURL(data.altsource, 'source');
|
|
635
|
+
data.sourcemime = guess(data.source);
|
|
636
|
+
data.altsourcemime = guess(data.altsource);
|
|
637
|
+
data.poster = editor.convertURL(data.poster, 'poster');
|
|
638
|
+
var pattern = matchPattern(data.source);
|
|
639
|
+
if (pattern) {
|
|
640
|
+
data.source = pattern.url;
|
|
641
|
+
data.type = pattern.type;
|
|
642
|
+
data.allowFullscreen = pattern.allowFullscreen;
|
|
643
|
+
data.width = data.width || String(pattern.w);
|
|
644
|
+
data.height = data.height || String(pattern.h);
|
|
645
|
+
}
|
|
646
|
+
if (data.embed) {
|
|
647
|
+
return updateHtml(data.embed, data, true);
|
|
648
|
+
} else {
|
|
649
|
+
var videoScript = getVideoScriptMatch(getScripts(editor), data.source);
|
|
650
|
+
if (videoScript) {
|
|
651
|
+
data.type = 'script';
|
|
652
|
+
data.width = String(videoScript.width);
|
|
653
|
+
data.height = String(videoScript.height);
|
|
654
|
+
}
|
|
655
|
+
var audioTemplateCallback = getAudioTemplateCallback(editor);
|
|
656
|
+
var videoTemplateCallback = getVideoTemplateCallback(editor);
|
|
657
|
+
data.width = data.width || '300';
|
|
658
|
+
data.height = data.height || '150';
|
|
659
|
+
global$1.each(data, function (value, key) {
|
|
660
|
+
data[key] = editor.dom.encode('' + value);
|
|
661
|
+
});
|
|
662
|
+
if (data.type === 'iframe') {
|
|
663
|
+
return getIframeHtml(data);
|
|
664
|
+
} else if (data.sourcemime === 'application/x-shockwave-flash') {
|
|
665
|
+
return getFlashHtml(data);
|
|
666
|
+
} else if (data.sourcemime.indexOf('audio') !== -1) {
|
|
667
|
+
return getAudioHtml(data, audioTemplateCallback);
|
|
668
|
+
} else if (data.type === 'script') {
|
|
669
|
+
return getScriptHtml(data);
|
|
670
|
+
} else {
|
|
671
|
+
return getVideoHtml(data, videoTemplateCallback);
|
|
672
|
+
}
|
|
673
|
+
}
|
|
674
|
+
};
|
|
675
|
+
|
|
676
|
+
var global$6 = tinymce.util.Tools.resolve('tinymce.util.Promise');
|
|
677
|
+
|
|
678
|
+
var cache = {};
|
|
679
|
+
var embedPromise = function (data, dataToHtml, handler) {
|
|
680
|
+
return new global$6(function (res, rej) {
|
|
681
|
+
var wrappedResolve = function (response) {
|
|
682
|
+
if (response.html) {
|
|
683
|
+
cache[data.source] = response;
|
|
684
|
+
}
|
|
685
|
+
return res({
|
|
686
|
+
url: data.source,
|
|
687
|
+
html: response.html ? response.html : dataToHtml(data)
|
|
688
|
+
});
|
|
689
|
+
};
|
|
690
|
+
if (cache[data.source]) {
|
|
691
|
+
wrappedResolve(cache[data.source]);
|
|
692
|
+
} else {
|
|
693
|
+
handler({ url: data.source }, wrappedResolve, rej);
|
|
694
|
+
}
|
|
695
|
+
});
|
|
696
|
+
};
|
|
697
|
+
var defaultPromise = function (data, dataToHtml) {
|
|
698
|
+
return new global$6(function (res) {
|
|
699
|
+
res({
|
|
700
|
+
html: dataToHtml(data),
|
|
701
|
+
url: data.source
|
|
702
|
+
});
|
|
703
|
+
});
|
|
704
|
+
};
|
|
705
|
+
var loadedData = function (editor) {
|
|
706
|
+
return function (data) {
|
|
707
|
+
return dataToHtml(editor, data);
|
|
708
|
+
};
|
|
709
|
+
};
|
|
710
|
+
var getEmbedHtml = function (editor, data) {
|
|
711
|
+
var embedHandler = getUrlResolver(editor);
|
|
712
|
+
return embedHandler ? embedPromise(data, loadedData(editor), embedHandler) : defaultPromise(data, loadedData(editor));
|
|
713
|
+
};
|
|
714
|
+
var isCached = function (url) {
|
|
715
|
+
return cache.hasOwnProperty(url);
|
|
716
|
+
};
|
|
717
|
+
|
|
718
|
+
var extractMeta = function (sourceInput, data) {
|
|
719
|
+
return get(data, sourceInput).bind(function (mainData) {
|
|
720
|
+
return get(mainData, 'meta');
|
|
721
|
+
});
|
|
722
|
+
};
|
|
723
|
+
var getValue = function (data, metaData, sourceInput) {
|
|
724
|
+
return function (prop) {
|
|
725
|
+
var _a;
|
|
726
|
+
var getFromData = function () {
|
|
727
|
+
return get(data, prop);
|
|
728
|
+
};
|
|
729
|
+
var getFromMetaData = function () {
|
|
730
|
+
return get(metaData, prop);
|
|
731
|
+
};
|
|
732
|
+
var getNonEmptyValue = function (c) {
|
|
733
|
+
return get(c, 'value').bind(function (v) {
|
|
734
|
+
return v.length > 0 ? Option.some(v) : Option.none();
|
|
735
|
+
});
|
|
736
|
+
};
|
|
737
|
+
var getFromValueFirst = function () {
|
|
738
|
+
return getFromData().bind(function (child) {
|
|
739
|
+
return isObject(child) ? getNonEmptyValue(child).orThunk(getFromMetaData) : getFromMetaData().orThunk(function () {
|
|
740
|
+
return Option.from(child);
|
|
741
|
+
});
|
|
742
|
+
});
|
|
743
|
+
};
|
|
744
|
+
var getFromMetaFirst = function () {
|
|
745
|
+
return getFromMetaData().orThunk(function () {
|
|
746
|
+
return getFromData().bind(function (child) {
|
|
747
|
+
return isObject(child) ? getNonEmptyValue(child) : Option.from(child);
|
|
748
|
+
});
|
|
749
|
+
});
|
|
750
|
+
};
|
|
751
|
+
return _a = {}, _a[prop] = (prop === sourceInput ? getFromValueFirst() : getFromMetaFirst()).getOr(''), _a;
|
|
752
|
+
};
|
|
753
|
+
};
|
|
754
|
+
var getDimensions = function (data, metaData) {
|
|
755
|
+
var dimensions = {};
|
|
756
|
+
get(data, 'dimensions').each(function (dims) {
|
|
757
|
+
each([
|
|
758
|
+
'width',
|
|
759
|
+
'height'
|
|
760
|
+
], function (prop) {
|
|
761
|
+
get(metaData, prop).orThunk(function () {
|
|
762
|
+
return get(dims, prop);
|
|
763
|
+
}).each(function (value) {
|
|
764
|
+
return dimensions[prop] = value;
|
|
765
|
+
});
|
|
766
|
+
});
|
|
767
|
+
});
|
|
768
|
+
return dimensions;
|
|
769
|
+
};
|
|
770
|
+
var unwrap = function (data, sourceInput) {
|
|
771
|
+
var metaData = sourceInput ? extractMeta(sourceInput, data).getOr({}) : {};
|
|
772
|
+
var get = getValue(data, metaData, sourceInput);
|
|
773
|
+
return __assign(__assign(__assign(__assign(__assign({}, get('source')), get('altsource')), get('poster')), get('embed')), getDimensions(data, metaData));
|
|
774
|
+
};
|
|
775
|
+
var wrap = function (data) {
|
|
776
|
+
var wrapped = __assign(__assign({}, data), {
|
|
777
|
+
source: { value: get(data, 'source').getOr('') },
|
|
778
|
+
altsource: { value: get(data, 'altsource').getOr('') },
|
|
779
|
+
poster: { value: get(data, 'poster').getOr('') }
|
|
780
|
+
});
|
|
781
|
+
each([
|
|
782
|
+
'width',
|
|
783
|
+
'height'
|
|
784
|
+
], function (prop) {
|
|
785
|
+
get(data, prop).each(function (value) {
|
|
786
|
+
var dimensions = wrapped.dimensions || {};
|
|
787
|
+
dimensions[prop] = value;
|
|
788
|
+
wrapped.dimensions = dimensions;
|
|
789
|
+
});
|
|
790
|
+
});
|
|
791
|
+
return wrapped;
|
|
792
|
+
};
|
|
793
|
+
var handleError = function (editor) {
|
|
794
|
+
return function (error) {
|
|
795
|
+
var errorMessage = error && error.msg ? 'Media embed handler error: ' + error.msg : 'Media embed handler threw unknown error.';
|
|
796
|
+
editor.notificationManager.open({
|
|
797
|
+
type: 'error',
|
|
798
|
+
text: errorMessage
|
|
799
|
+
});
|
|
800
|
+
};
|
|
801
|
+
};
|
|
802
|
+
var snippetToData = function (editor, embedSnippet) {
|
|
803
|
+
return htmlToData(getScripts(editor), embedSnippet);
|
|
804
|
+
};
|
|
805
|
+
var isMediaElement = function (element) {
|
|
806
|
+
return element.getAttribute('data-mce-object') || element.getAttribute('data-ephox-embed-iri');
|
|
807
|
+
};
|
|
808
|
+
var getEditorData = function (editor) {
|
|
809
|
+
var element = editor.selection.getNode();
|
|
810
|
+
var snippet = isMediaElement(element) ? editor.serializer.serialize(element, { selection: true }) : '';
|
|
811
|
+
return __assign({ embed: snippet }, htmlToData(getScripts(editor), snippet));
|
|
812
|
+
};
|
|
813
|
+
var addEmbedHtml = function (api, editor) {
|
|
814
|
+
return function (response) {
|
|
815
|
+
if (isString(response.url) && response.url.trim().length > 0) {
|
|
816
|
+
var html = response.html;
|
|
817
|
+
var snippetData = snippetToData(editor, html);
|
|
818
|
+
var nuData = __assign(__assign({}, snippetData), {
|
|
819
|
+
source: response.url,
|
|
820
|
+
embed: html
|
|
821
|
+
});
|
|
822
|
+
api.setData(wrap(nuData));
|
|
823
|
+
}
|
|
824
|
+
};
|
|
825
|
+
};
|
|
826
|
+
var selectPlaceholder = function (editor, beforeObjects) {
|
|
827
|
+
var afterObjects = editor.dom.select('img[data-mce-object]');
|
|
828
|
+
for (var i = 0; i < beforeObjects.length; i++) {
|
|
829
|
+
for (var y = afterObjects.length - 1; y >= 0; y--) {
|
|
830
|
+
if (beforeObjects[i] === afterObjects[y]) {
|
|
831
|
+
afterObjects.splice(y, 1);
|
|
832
|
+
}
|
|
833
|
+
}
|
|
834
|
+
}
|
|
835
|
+
editor.selection.select(afterObjects[0]);
|
|
836
|
+
};
|
|
837
|
+
var handleInsert = function (editor, html) {
|
|
838
|
+
var beforeObjects = editor.dom.select('img[data-mce-object]');
|
|
839
|
+
editor.insertContent(html);
|
|
840
|
+
selectPlaceholder(editor, beforeObjects);
|
|
841
|
+
editor.nodeChanged();
|
|
842
|
+
};
|
|
843
|
+
var submitForm = function (prevData, newData, editor) {
|
|
844
|
+
newData.embed = updateHtml(newData.embed, newData);
|
|
845
|
+
if (newData.embed && (prevData.source === newData.source || isCached(newData.source))) {
|
|
846
|
+
handleInsert(editor, newData.embed);
|
|
847
|
+
} else {
|
|
848
|
+
getEmbedHtml(editor, newData).then(function (response) {
|
|
849
|
+
handleInsert(editor, response.html);
|
|
850
|
+
}).catch(handleError(editor));
|
|
851
|
+
}
|
|
852
|
+
};
|
|
853
|
+
var showDialog = function (editor) {
|
|
854
|
+
var editorData = getEditorData(editor);
|
|
855
|
+
var currentData = Cell(editorData);
|
|
856
|
+
var initialData = wrap(editorData);
|
|
857
|
+
var handleSource = function (prevData, api) {
|
|
858
|
+
var serviceData = unwrap(api.getData(), 'source');
|
|
859
|
+
if (prevData.source !== serviceData.source) {
|
|
860
|
+
addEmbedHtml(win, editor)({
|
|
861
|
+
url: serviceData.source,
|
|
862
|
+
html: ''
|
|
863
|
+
});
|
|
864
|
+
getEmbedHtml(editor, serviceData).then(addEmbedHtml(win, editor)).catch(handleError(editor));
|
|
865
|
+
}
|
|
866
|
+
};
|
|
867
|
+
var handleEmbed = function (api) {
|
|
868
|
+
var data = unwrap(api.getData());
|
|
869
|
+
var dataFromEmbed = snippetToData(editor, data.embed);
|
|
870
|
+
api.setData(wrap(dataFromEmbed));
|
|
871
|
+
};
|
|
872
|
+
var handleUpdate = function (api, sourceInput) {
|
|
873
|
+
var data = unwrap(api.getData(), sourceInput);
|
|
874
|
+
var embed = dataToHtml(editor, data);
|
|
875
|
+
api.setData(wrap(__assign(__assign({}, data), { embed: embed })));
|
|
876
|
+
};
|
|
877
|
+
var mediaInput = [{
|
|
878
|
+
name: 'source',
|
|
879
|
+
type: 'urlinput',
|
|
880
|
+
filetype: 'media',
|
|
881
|
+
label: 'Source'
|
|
882
|
+
}];
|
|
883
|
+
var sizeInput = !hasDimensions(editor) ? [] : [{
|
|
884
|
+
type: 'sizeinput',
|
|
885
|
+
name: 'dimensions',
|
|
886
|
+
label: 'Constrain proportions',
|
|
887
|
+
constrain: true
|
|
888
|
+
}];
|
|
889
|
+
var generalTab = {
|
|
890
|
+
title: 'General',
|
|
891
|
+
name: 'general',
|
|
892
|
+
items: flatten([
|
|
893
|
+
mediaInput,
|
|
894
|
+
sizeInput
|
|
895
|
+
])
|
|
896
|
+
};
|
|
897
|
+
var embedTextarea = {
|
|
898
|
+
type: 'textarea',
|
|
899
|
+
name: 'embed',
|
|
900
|
+
label: 'Paste your embed code below:'
|
|
901
|
+
};
|
|
902
|
+
var embedTab = {
|
|
903
|
+
title: 'Embed',
|
|
904
|
+
items: [embedTextarea]
|
|
905
|
+
};
|
|
906
|
+
var advancedFormItems = [];
|
|
907
|
+
if (hasAltSource(editor)) {
|
|
908
|
+
advancedFormItems.push({
|
|
909
|
+
name: 'altsource',
|
|
910
|
+
type: 'urlinput',
|
|
911
|
+
filetype: 'media',
|
|
912
|
+
label: 'Alternative source URL'
|
|
913
|
+
});
|
|
914
|
+
}
|
|
915
|
+
if (hasPoster(editor)) {
|
|
916
|
+
advancedFormItems.push({
|
|
917
|
+
name: 'poster',
|
|
918
|
+
type: 'urlinput',
|
|
919
|
+
filetype: 'image',
|
|
920
|
+
label: 'Media poster (Image URL)'
|
|
921
|
+
});
|
|
922
|
+
}
|
|
923
|
+
var advancedTab = {
|
|
924
|
+
title: 'Advanced',
|
|
925
|
+
name: 'advanced',
|
|
926
|
+
items: advancedFormItems
|
|
927
|
+
};
|
|
928
|
+
var tabs = [
|
|
929
|
+
generalTab,
|
|
930
|
+
embedTab
|
|
931
|
+
];
|
|
932
|
+
if (advancedFormItems.length > 0) {
|
|
933
|
+
tabs.push(advancedTab);
|
|
934
|
+
}
|
|
935
|
+
var body = {
|
|
936
|
+
type: 'tabpanel',
|
|
937
|
+
tabs: tabs
|
|
938
|
+
};
|
|
939
|
+
var win = editor.windowManager.open({
|
|
940
|
+
title: 'Insert/Edit Media',
|
|
941
|
+
size: 'normal',
|
|
942
|
+
body: body,
|
|
943
|
+
buttons: [
|
|
944
|
+
{
|
|
945
|
+
type: 'cancel',
|
|
946
|
+
name: 'cancel',
|
|
947
|
+
text: 'Cancel'
|
|
948
|
+
},
|
|
949
|
+
{
|
|
950
|
+
type: 'submit',
|
|
951
|
+
name: 'save',
|
|
952
|
+
text: 'Save',
|
|
953
|
+
primary: true
|
|
954
|
+
}
|
|
955
|
+
],
|
|
956
|
+
onSubmit: function (api) {
|
|
957
|
+
var serviceData = unwrap(api.getData());
|
|
958
|
+
submitForm(currentData.get(), serviceData, editor);
|
|
959
|
+
api.close();
|
|
960
|
+
},
|
|
961
|
+
onChange: function (api, detail) {
|
|
962
|
+
switch (detail.name) {
|
|
963
|
+
case 'source':
|
|
964
|
+
handleSource(currentData.get(), api);
|
|
965
|
+
break;
|
|
966
|
+
case 'embed':
|
|
967
|
+
handleEmbed(api);
|
|
968
|
+
break;
|
|
969
|
+
case 'dimensions':
|
|
970
|
+
case 'altsource':
|
|
971
|
+
case 'poster':
|
|
972
|
+
handleUpdate(api, detail.name);
|
|
973
|
+
break;
|
|
974
|
+
}
|
|
975
|
+
currentData.set(unwrap(api.getData()));
|
|
976
|
+
},
|
|
977
|
+
initialData: initialData
|
|
978
|
+
});
|
|
979
|
+
};
|
|
980
|
+
|
|
981
|
+
var get$1 = function (editor) {
|
|
982
|
+
var showDialog$1 = function () {
|
|
983
|
+
showDialog(editor);
|
|
984
|
+
};
|
|
985
|
+
return { showDialog: showDialog$1 };
|
|
986
|
+
};
|
|
987
|
+
|
|
988
|
+
var register = function (editor) {
|
|
989
|
+
var showDialog$1 = function () {
|
|
990
|
+
showDialog(editor);
|
|
991
|
+
};
|
|
992
|
+
editor.addCommand('mceMedia', showDialog$1);
|
|
993
|
+
};
|
|
994
|
+
|
|
995
|
+
var global$7 = tinymce.util.Tools.resolve('tinymce.html.Node');
|
|
996
|
+
|
|
997
|
+
var global$8 = tinymce.util.Tools.resolve('tinymce.Env');
|
|
998
|
+
|
|
999
|
+
var sanitize = function (editor, html) {
|
|
1000
|
+
if (shouldFilterHtml(editor) === false) {
|
|
1001
|
+
return html;
|
|
1002
|
+
}
|
|
1003
|
+
var writer = global$5();
|
|
1004
|
+
var blocked;
|
|
1005
|
+
global$3({
|
|
1006
|
+
validate: false,
|
|
1007
|
+
allow_conditional_comments: false,
|
|
1008
|
+
comment: function (text) {
|
|
1009
|
+
writer.comment(text);
|
|
1010
|
+
},
|
|
1011
|
+
cdata: function (text) {
|
|
1012
|
+
writer.cdata(text);
|
|
1013
|
+
},
|
|
1014
|
+
text: function (text, raw) {
|
|
1015
|
+
writer.text(text, raw);
|
|
1016
|
+
},
|
|
1017
|
+
start: function (name, attrs, empty) {
|
|
1018
|
+
blocked = true;
|
|
1019
|
+
if (name === 'script' || name === 'noscript' || name === 'svg') {
|
|
1020
|
+
return;
|
|
1021
|
+
}
|
|
1022
|
+
for (var i = attrs.length - 1; i >= 0; i--) {
|
|
1023
|
+
var attrName = attrs[i].name;
|
|
1024
|
+
if (attrName.indexOf('on') === 0) {
|
|
1025
|
+
delete attrs.map[attrName];
|
|
1026
|
+
attrs.splice(i, 1);
|
|
1027
|
+
}
|
|
1028
|
+
if (attrName === 'style') {
|
|
1029
|
+
attrs[i].value = editor.dom.serializeStyle(editor.dom.parseStyle(attrs[i].value), name);
|
|
1030
|
+
}
|
|
1031
|
+
}
|
|
1032
|
+
writer.start(name, attrs, empty);
|
|
1033
|
+
blocked = false;
|
|
1034
|
+
},
|
|
1035
|
+
end: function (name) {
|
|
1036
|
+
if (blocked) {
|
|
1037
|
+
return;
|
|
1038
|
+
}
|
|
1039
|
+
writer.end(name);
|
|
1040
|
+
}
|
|
1041
|
+
}, global$4({})).parse(html);
|
|
1042
|
+
return writer.getContent();
|
|
1043
|
+
};
|
|
1044
|
+
|
|
1045
|
+
var createPlaceholderNode = function (editor, node) {
|
|
1046
|
+
var name = node.name;
|
|
1047
|
+
var placeHolder = new global$7('img', 1);
|
|
1048
|
+
placeHolder.shortEnded = true;
|
|
1049
|
+
retainAttributesAndInnerHtml(editor, node, placeHolder);
|
|
1050
|
+
placeHolder.attr({
|
|
1051
|
+
'width': node.attr('width') || '300',
|
|
1052
|
+
'height': node.attr('height') || (name === 'audio' ? '30' : '150'),
|
|
1053
|
+
'style': node.attr('style'),
|
|
1054
|
+
'src': global$8.transparentSrc,
|
|
1055
|
+
'data-mce-object': name,
|
|
1056
|
+
'class': 'mce-object mce-object-' + name
|
|
1057
|
+
});
|
|
1058
|
+
return placeHolder;
|
|
1059
|
+
};
|
|
1060
|
+
var createPreviewIframeNode = function (editor, node) {
|
|
1061
|
+
var name = node.name;
|
|
1062
|
+
var previewWrapper = new global$7('span', 1);
|
|
1063
|
+
previewWrapper.attr({
|
|
1064
|
+
'contentEditable': 'false',
|
|
1065
|
+
'style': node.attr('style'),
|
|
1066
|
+
'data-mce-object': name,
|
|
1067
|
+
'class': 'mce-preview-object mce-object-' + name
|
|
1068
|
+
});
|
|
1069
|
+
retainAttributesAndInnerHtml(editor, node, previewWrapper);
|
|
1070
|
+
var previewNode = new global$7(name, 1);
|
|
1071
|
+
previewNode.attr({
|
|
1072
|
+
src: node.attr('src'),
|
|
1073
|
+
allowfullscreen: node.attr('allowfullscreen'),
|
|
1074
|
+
style: node.attr('style'),
|
|
1075
|
+
class: node.attr('class'),
|
|
1076
|
+
width: node.attr('width'),
|
|
1077
|
+
height: node.attr('height'),
|
|
1078
|
+
frameborder: '0'
|
|
1079
|
+
});
|
|
1080
|
+
var shimNode = new global$7('span', 1);
|
|
1081
|
+
shimNode.attr('class', 'mce-shim');
|
|
1082
|
+
previewWrapper.append(previewNode);
|
|
1083
|
+
previewWrapper.append(shimNode);
|
|
1084
|
+
return previewWrapper;
|
|
1085
|
+
};
|
|
1086
|
+
var retainAttributesAndInnerHtml = function (editor, sourceNode, targetNode) {
|
|
1087
|
+
var attrName;
|
|
1088
|
+
var attrValue;
|
|
1089
|
+
var ai;
|
|
1090
|
+
var attribs = sourceNode.attributes;
|
|
1091
|
+
ai = attribs.length;
|
|
1092
|
+
while (ai--) {
|
|
1093
|
+
attrName = attribs[ai].name;
|
|
1094
|
+
attrValue = attribs[ai].value;
|
|
1095
|
+
if (attrName !== 'width' && attrName !== 'height' && attrName !== 'style') {
|
|
1096
|
+
if (attrName === 'data' || attrName === 'src') {
|
|
1097
|
+
attrValue = editor.convertURL(attrValue, attrName);
|
|
1098
|
+
}
|
|
1099
|
+
targetNode.attr('data-mce-p-' + attrName, attrValue);
|
|
1100
|
+
}
|
|
1101
|
+
}
|
|
1102
|
+
var innerHtml = sourceNode.firstChild && sourceNode.firstChild.value;
|
|
1103
|
+
if (innerHtml) {
|
|
1104
|
+
targetNode.attr('data-mce-html', escape(sanitize(editor, innerHtml)));
|
|
1105
|
+
targetNode.firstChild = null;
|
|
1106
|
+
}
|
|
1107
|
+
};
|
|
1108
|
+
var isPageEmbedWrapper = function (node) {
|
|
1109
|
+
var nodeClass = node.attr('class');
|
|
1110
|
+
return nodeClass && /\btiny-pageembed\b/.test(nodeClass);
|
|
1111
|
+
};
|
|
1112
|
+
var isWithinEmbedWrapper = function (node) {
|
|
1113
|
+
while (node = node.parent) {
|
|
1114
|
+
if (node.attr('data-ephox-embed-iri') || isPageEmbedWrapper(node)) {
|
|
1115
|
+
return true;
|
|
1116
|
+
}
|
|
1117
|
+
}
|
|
1118
|
+
return false;
|
|
1119
|
+
};
|
|
1120
|
+
var placeHolderConverter = function (editor) {
|
|
1121
|
+
return function (nodes) {
|
|
1122
|
+
var i = nodes.length;
|
|
1123
|
+
var node;
|
|
1124
|
+
var videoScript;
|
|
1125
|
+
while (i--) {
|
|
1126
|
+
node = nodes[i];
|
|
1127
|
+
if (!node.parent) {
|
|
1128
|
+
continue;
|
|
1129
|
+
}
|
|
1130
|
+
if (node.parent.attr('data-mce-object')) {
|
|
1131
|
+
continue;
|
|
1132
|
+
}
|
|
1133
|
+
if (node.name === 'script') {
|
|
1134
|
+
videoScript = getVideoScriptMatch(getScripts(editor), node.attr('src'));
|
|
1135
|
+
if (!videoScript) {
|
|
1136
|
+
continue;
|
|
1137
|
+
}
|
|
1138
|
+
}
|
|
1139
|
+
if (videoScript) {
|
|
1140
|
+
if (videoScript.width) {
|
|
1141
|
+
node.attr('width', videoScript.width.toString());
|
|
1142
|
+
}
|
|
1143
|
+
if (videoScript.height) {
|
|
1144
|
+
node.attr('height', videoScript.height.toString());
|
|
1145
|
+
}
|
|
1146
|
+
}
|
|
1147
|
+
if (node.name === 'iframe' && hasLiveEmbeds(editor) && global$8.ceFalse) {
|
|
1148
|
+
if (!isWithinEmbedWrapper(node)) {
|
|
1149
|
+
node.replace(createPreviewIframeNode(editor, node));
|
|
1150
|
+
}
|
|
1151
|
+
} else {
|
|
1152
|
+
if (!isWithinEmbedWrapper(node)) {
|
|
1153
|
+
node.replace(createPlaceholderNode(editor, node));
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
}
|
|
1157
|
+
};
|
|
1158
|
+
};
|
|
1159
|
+
|
|
1160
|
+
var setup = function (editor) {
|
|
1161
|
+
editor.on('preInit', function () {
|
|
1162
|
+
var specialElements = editor.schema.getSpecialElements();
|
|
1163
|
+
global$1.each('video audio iframe object'.split(' '), function (name) {
|
|
1164
|
+
specialElements[name] = new RegExp('</' + name + '[^>]*>', 'gi');
|
|
1165
|
+
});
|
|
1166
|
+
var boolAttrs = editor.schema.getBoolAttrs();
|
|
1167
|
+
global$1.each('webkitallowfullscreen mozallowfullscreen allowfullscreen'.split(' '), function (name) {
|
|
1168
|
+
boolAttrs[name] = {};
|
|
1169
|
+
});
|
|
1170
|
+
editor.parser.addNodeFilter('iframe,video,audio,object,embed,script', placeHolderConverter(editor));
|
|
1171
|
+
editor.serializer.addAttributeFilter('data-mce-object', function (nodes, name) {
|
|
1172
|
+
var i = nodes.length;
|
|
1173
|
+
var node;
|
|
1174
|
+
var realElm;
|
|
1175
|
+
var ai;
|
|
1176
|
+
var attribs;
|
|
1177
|
+
var innerHtml;
|
|
1178
|
+
var innerNode;
|
|
1179
|
+
var realElmName;
|
|
1180
|
+
var className;
|
|
1181
|
+
while (i--) {
|
|
1182
|
+
node = nodes[i];
|
|
1183
|
+
if (!node.parent) {
|
|
1184
|
+
continue;
|
|
1185
|
+
}
|
|
1186
|
+
realElmName = node.attr(name);
|
|
1187
|
+
realElm = new global$7(realElmName, 1);
|
|
1188
|
+
if (realElmName !== 'audio' && realElmName !== 'script') {
|
|
1189
|
+
className = node.attr('class');
|
|
1190
|
+
if (className && className.indexOf('mce-preview-object') !== -1) {
|
|
1191
|
+
realElm.attr({
|
|
1192
|
+
width: node.firstChild.attr('width'),
|
|
1193
|
+
height: node.firstChild.attr('height')
|
|
1194
|
+
});
|
|
1195
|
+
} else {
|
|
1196
|
+
realElm.attr({
|
|
1197
|
+
width: node.attr('width'),
|
|
1198
|
+
height: node.attr('height')
|
|
1199
|
+
});
|
|
1200
|
+
}
|
|
1201
|
+
}
|
|
1202
|
+
realElm.attr({ style: node.attr('style') });
|
|
1203
|
+
attribs = node.attributes;
|
|
1204
|
+
ai = attribs.length;
|
|
1205
|
+
while (ai--) {
|
|
1206
|
+
var attrName = attribs[ai].name;
|
|
1207
|
+
if (attrName.indexOf('data-mce-p-') === 0) {
|
|
1208
|
+
realElm.attr(attrName.substr(11), attribs[ai].value);
|
|
1209
|
+
}
|
|
1210
|
+
}
|
|
1211
|
+
if (realElmName === 'script') {
|
|
1212
|
+
realElm.attr('type', 'text/javascript');
|
|
1213
|
+
}
|
|
1214
|
+
innerHtml = node.attr('data-mce-html');
|
|
1215
|
+
if (innerHtml) {
|
|
1216
|
+
innerNode = new global$7('#text', 3);
|
|
1217
|
+
innerNode.raw = true;
|
|
1218
|
+
innerNode.value = sanitize(editor, unescape(innerHtml));
|
|
1219
|
+
realElm.append(innerNode);
|
|
1220
|
+
}
|
|
1221
|
+
node.replace(realElm);
|
|
1222
|
+
}
|
|
1223
|
+
});
|
|
1224
|
+
});
|
|
1225
|
+
editor.on('SetContent', function () {
|
|
1226
|
+
editor.$('span.mce-preview-object').each(function (index, elm) {
|
|
1227
|
+
var $elm = editor.$(elm);
|
|
1228
|
+
if ($elm.find('span.mce-shim').length === 0) {
|
|
1229
|
+
$elm.append('<span class="mce-shim"></span>');
|
|
1230
|
+
}
|
|
1231
|
+
});
|
|
1232
|
+
});
|
|
1233
|
+
};
|
|
1234
|
+
|
|
1235
|
+
var setup$1 = function (editor) {
|
|
1236
|
+
editor.on('ResolveName', function (e) {
|
|
1237
|
+
var name;
|
|
1238
|
+
if (e.target.nodeType === 1 && (name = e.target.getAttribute('data-mce-object'))) {
|
|
1239
|
+
e.name = name;
|
|
1240
|
+
}
|
|
1241
|
+
});
|
|
1242
|
+
};
|
|
1243
|
+
|
|
1244
|
+
var setup$2 = function (editor) {
|
|
1245
|
+
editor.on('click keyup touchend', function () {
|
|
1246
|
+
var selectedNode = editor.selection.getNode();
|
|
1247
|
+
if (selectedNode && editor.dom.hasClass(selectedNode, 'mce-preview-object')) {
|
|
1248
|
+
if (editor.dom.getAttrib(selectedNode, 'data-mce-selected')) {
|
|
1249
|
+
selectedNode.setAttribute('data-mce-selected', '2');
|
|
1250
|
+
}
|
|
1251
|
+
}
|
|
1252
|
+
});
|
|
1253
|
+
editor.on('ObjectSelected', function (e) {
|
|
1254
|
+
var objectType = e.target.getAttribute('data-mce-object');
|
|
1255
|
+
if (objectType === 'audio' || objectType === 'script') {
|
|
1256
|
+
e.preventDefault();
|
|
1257
|
+
}
|
|
1258
|
+
});
|
|
1259
|
+
editor.on('ObjectResized', function (e) {
|
|
1260
|
+
var target = e.target;
|
|
1261
|
+
var html;
|
|
1262
|
+
if (target.getAttribute('data-mce-object')) {
|
|
1263
|
+
html = target.getAttribute('data-mce-html');
|
|
1264
|
+
if (html) {
|
|
1265
|
+
html = unescape(html);
|
|
1266
|
+
target.setAttribute('data-mce-html', escape(updateHtml(html, {
|
|
1267
|
+
width: String(e.width),
|
|
1268
|
+
height: String(e.height)
|
|
1269
|
+
})));
|
|
1270
|
+
}
|
|
1271
|
+
}
|
|
1272
|
+
});
|
|
1273
|
+
};
|
|
1274
|
+
|
|
1275
|
+
var stateSelectorAdapter = function (editor, selector) {
|
|
1276
|
+
return function (buttonApi) {
|
|
1277
|
+
return editor.selection.selectorChangedWithUnbind(selector.join(','), buttonApi.setActive).unbind;
|
|
1278
|
+
};
|
|
1279
|
+
};
|
|
1280
|
+
var register$1 = function (editor) {
|
|
1281
|
+
editor.ui.registry.addToggleButton('media', {
|
|
1282
|
+
tooltip: 'Insert/edit media',
|
|
1283
|
+
icon: 'embed',
|
|
1284
|
+
onAction: function () {
|
|
1285
|
+
editor.execCommand('mceMedia');
|
|
1286
|
+
},
|
|
1287
|
+
onSetup: stateSelectorAdapter(editor, [
|
|
1288
|
+
'img[data-mce-object]',
|
|
1289
|
+
'span[data-mce-object]',
|
|
1290
|
+
'div[data-ephox-embed-iri]'
|
|
1291
|
+
])
|
|
1292
|
+
});
|
|
1293
|
+
editor.ui.registry.addMenuItem('media', {
|
|
1294
|
+
icon: 'embed',
|
|
1295
|
+
text: 'Media...',
|
|
1296
|
+
onAction: function () {
|
|
1297
|
+
editor.execCommand('mceMedia');
|
|
1298
|
+
}
|
|
1299
|
+
});
|
|
1300
|
+
};
|
|
1301
|
+
|
|
1302
|
+
function Plugin () {
|
|
1303
|
+
global.add('media', function (editor) {
|
|
1304
|
+
register(editor);
|
|
1305
|
+
register$1(editor);
|
|
1306
|
+
setup$1(editor);
|
|
1307
|
+
setup(editor);
|
|
1308
|
+
setup$2(editor);
|
|
1309
|
+
return get$1(editor);
|
|
1310
|
+
});
|
|
1311
|
+
}
|
|
1312
|
+
|
|
1313
|
+
Plugin();
|
|
1314
|
+
|
|
1315
|
+
}());
|