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,1167 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Copyright (c) Tiny Technologies, Inc. All rights reserved.
|
|
3
|
+
* Licensed under the LGPL or a commercial license.
|
|
4
|
+
* For LGPL see License.txt in the project root for license information.
|
|
5
|
+
* For commercial licenses see https://www.tiny.cloud/
|
|
6
|
+
*
|
|
7
|
+
* Version: 5.4.2 (2020-08-17)
|
|
8
|
+
*/
|
|
9
|
+
(function (domGlobals) {
|
|
10
|
+
'use strict';
|
|
11
|
+
|
|
12
|
+
var Cell = function (initial) {
|
|
13
|
+
var value = initial;
|
|
14
|
+
var get = function () {
|
|
15
|
+
return value;
|
|
16
|
+
};
|
|
17
|
+
var set = function (v) {
|
|
18
|
+
value = v;
|
|
19
|
+
};
|
|
20
|
+
return {
|
|
21
|
+
get: get,
|
|
22
|
+
set: set
|
|
23
|
+
};
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
|
|
27
|
+
|
|
28
|
+
var __assign = function () {
|
|
29
|
+
__assign = Object.assign || function __assign(t) {
|
|
30
|
+
for (var s, i = 1, n = arguments.length; i < n; i++) {
|
|
31
|
+
s = arguments[i];
|
|
32
|
+
for (var p in s)
|
|
33
|
+
if (Object.prototype.hasOwnProperty.call(s, p))
|
|
34
|
+
t[p] = s[p];
|
|
35
|
+
}
|
|
36
|
+
return t;
|
|
37
|
+
};
|
|
38
|
+
return __assign.apply(this, arguments);
|
|
39
|
+
};
|
|
40
|
+
|
|
41
|
+
var noop = function () {
|
|
42
|
+
};
|
|
43
|
+
var constant = function (value) {
|
|
44
|
+
return function () {
|
|
45
|
+
return value;
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
var never = constant(false);
|
|
49
|
+
var always = constant(true);
|
|
50
|
+
|
|
51
|
+
var punctuationStr = '[!-#%-*,-\\/:;?@\\[-\\]_{}\xA1\xAB\xB7\xBB\xBF;\xB7\u055A-\u055F\u0589\u058A\u05BE\u05C0\u05C3\u05C6\u05F3\u05F4\u0609\u060A\u060C\u060D\u061B\u061E\u061F\u066A-\u066D\u06D4\u0700-\u070D\u07F7-\u07F9\u0830-\u083E\u085E\u0964\u0965\u0970\u0DF4\u0E4F\u0E5A\u0E5B\u0F04-\u0F12\u0F3A-\u0F3D\u0F85\u0FD0-\u0FD4\u0FD9\u0FDA\u104A-\u104F\u10FB\u1361-\u1368\u1400\u166D\u166E\u169B\u169C\u16EB-\u16ED\u1735\u1736\u17D4-\u17D6\u17D8-\u17DA\u1800-\u180A\u1944\u1945\u1A1E\u1A1F\u1AA0-\u1AA6\u1AA8-\u1AAD\u1B5A-\u1B60\u1BFC-\u1BFF\u1C3B-\u1C3F\u1C7E\u1C7F\u1CD3\u2010-\u2027\u2030-\u2043\u2045-\u2051\u2053-\u205E\u207D\u207E\u208D\u208E\u3008\u3009\u2768-\u2775\u27C5\u27C6\u27E6-\u27EF\u2983-\u2998\u29D8-\u29DB\u29FC\u29FD\u2CF9-\u2CFC\u2CFE\u2CFF\u2D70\u2E00-\u2E2E\u2E30\u2E31\u3001-\u3003\u3008-\u3011\u3014-\u301F\u3030\u303D\u30A0\u30FB\uA4FE\uA4FF\uA60D-\uA60F\uA673\uA67E\uA6F2-\uA6F7\uA874-\uA877\uA8CE\uA8CF\uA8F8-\uA8FA\uA92E\uA92F\uA95F\uA9C1-\uA9CD\uA9DE\uA9DF\uAA5C-\uAA5F\uAADE\uAADF\uABEB\uFD3E\uFD3F\uFE10-\uFE19\uFE30-\uFE52\uFE54-\uFE61\uFE63\uFE68\uFE6A\uFE6B\uFF01-\uFF03\uFF05-\uFF0A\uFF0C-\uFF0F\uFF1A\uFF1B\uFF1F\uFF20\uFF3B-\uFF3D\uff3f\uFF5B\uFF5D\uFF5F-\uFF65]';
|
|
52
|
+
|
|
53
|
+
var punctuation = constant(punctuationStr);
|
|
54
|
+
|
|
55
|
+
var none = function () {
|
|
56
|
+
return NONE;
|
|
57
|
+
};
|
|
58
|
+
var NONE = function () {
|
|
59
|
+
var eq = function (o) {
|
|
60
|
+
return o.isNone();
|
|
61
|
+
};
|
|
62
|
+
var call = function (thunk) {
|
|
63
|
+
return thunk();
|
|
64
|
+
};
|
|
65
|
+
var id = function (n) {
|
|
66
|
+
return n;
|
|
67
|
+
};
|
|
68
|
+
var me = {
|
|
69
|
+
fold: function (n, _s) {
|
|
70
|
+
return n();
|
|
71
|
+
},
|
|
72
|
+
is: never,
|
|
73
|
+
isSome: never,
|
|
74
|
+
isNone: always,
|
|
75
|
+
getOr: id,
|
|
76
|
+
getOrThunk: call,
|
|
77
|
+
getOrDie: function (msg) {
|
|
78
|
+
throw new Error(msg || 'error: getOrDie called on none.');
|
|
79
|
+
},
|
|
80
|
+
getOrNull: constant(null),
|
|
81
|
+
getOrUndefined: constant(undefined),
|
|
82
|
+
or: id,
|
|
83
|
+
orThunk: call,
|
|
84
|
+
map: none,
|
|
85
|
+
each: noop,
|
|
86
|
+
bind: none,
|
|
87
|
+
exists: never,
|
|
88
|
+
forall: always,
|
|
89
|
+
filter: none,
|
|
90
|
+
equals: eq,
|
|
91
|
+
equals_: eq,
|
|
92
|
+
toArray: function () {
|
|
93
|
+
return [];
|
|
94
|
+
},
|
|
95
|
+
toString: constant('none()')
|
|
96
|
+
};
|
|
97
|
+
return me;
|
|
98
|
+
}();
|
|
99
|
+
var some = function (a) {
|
|
100
|
+
var constant_a = constant(a);
|
|
101
|
+
var self = function () {
|
|
102
|
+
return me;
|
|
103
|
+
};
|
|
104
|
+
var bind = function (f) {
|
|
105
|
+
return f(a);
|
|
106
|
+
};
|
|
107
|
+
var me = {
|
|
108
|
+
fold: function (n, s) {
|
|
109
|
+
return s(a);
|
|
110
|
+
},
|
|
111
|
+
is: function (v) {
|
|
112
|
+
return a === v;
|
|
113
|
+
},
|
|
114
|
+
isSome: always,
|
|
115
|
+
isNone: never,
|
|
116
|
+
getOr: constant_a,
|
|
117
|
+
getOrThunk: constant_a,
|
|
118
|
+
getOrDie: constant_a,
|
|
119
|
+
getOrNull: constant_a,
|
|
120
|
+
getOrUndefined: constant_a,
|
|
121
|
+
or: self,
|
|
122
|
+
orThunk: self,
|
|
123
|
+
map: function (f) {
|
|
124
|
+
return some(f(a));
|
|
125
|
+
},
|
|
126
|
+
each: function (f) {
|
|
127
|
+
f(a);
|
|
128
|
+
},
|
|
129
|
+
bind: bind,
|
|
130
|
+
exists: bind,
|
|
131
|
+
forall: bind,
|
|
132
|
+
filter: function (f) {
|
|
133
|
+
return f(a) ? me : NONE;
|
|
134
|
+
},
|
|
135
|
+
toArray: function () {
|
|
136
|
+
return [a];
|
|
137
|
+
},
|
|
138
|
+
toString: function () {
|
|
139
|
+
return 'some(' + a + ')';
|
|
140
|
+
},
|
|
141
|
+
equals: function (o) {
|
|
142
|
+
return o.is(a);
|
|
143
|
+
},
|
|
144
|
+
equals_: function (o, elementEq) {
|
|
145
|
+
return o.fold(never, function (b) {
|
|
146
|
+
return elementEq(a, b);
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
};
|
|
150
|
+
return me;
|
|
151
|
+
};
|
|
152
|
+
var from = function (value) {
|
|
153
|
+
return value === null || value === undefined ? NONE : some(value);
|
|
154
|
+
};
|
|
155
|
+
var Option = {
|
|
156
|
+
some: some,
|
|
157
|
+
none: none,
|
|
158
|
+
from: from
|
|
159
|
+
};
|
|
160
|
+
|
|
161
|
+
var punctuation$1 = punctuation;
|
|
162
|
+
|
|
163
|
+
var global$1 = tinymce.util.Tools.resolve('tinymce.util.Tools');
|
|
164
|
+
|
|
165
|
+
var typeOf = function (x) {
|
|
166
|
+
var t = typeof x;
|
|
167
|
+
if (x === null) {
|
|
168
|
+
return 'null';
|
|
169
|
+
} else if (t === 'object' && (Array.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'Array')) {
|
|
170
|
+
return 'array';
|
|
171
|
+
} else if (t === 'object' && (String.prototype.isPrototypeOf(x) || x.constructor && x.constructor.name === 'String')) {
|
|
172
|
+
return 'string';
|
|
173
|
+
} else {
|
|
174
|
+
return t;
|
|
175
|
+
}
|
|
176
|
+
};
|
|
177
|
+
var isType = function (type) {
|
|
178
|
+
return function (value) {
|
|
179
|
+
return typeOf(value) === type;
|
|
180
|
+
};
|
|
181
|
+
};
|
|
182
|
+
var isSimpleType = function (type) {
|
|
183
|
+
return function (value) {
|
|
184
|
+
return typeof value === type;
|
|
185
|
+
};
|
|
186
|
+
};
|
|
187
|
+
var isString = isType('string');
|
|
188
|
+
var isArray = isType('array');
|
|
189
|
+
var isBoolean = isSimpleType('boolean');
|
|
190
|
+
var isFunction = isSimpleType('function');
|
|
191
|
+
var isNumber = isSimpleType('number');
|
|
192
|
+
|
|
193
|
+
var nativeSlice = Array.prototype.slice;
|
|
194
|
+
var nativePush = Array.prototype.push;
|
|
195
|
+
var map = function (xs, f) {
|
|
196
|
+
var len = xs.length;
|
|
197
|
+
var r = new Array(len);
|
|
198
|
+
for (var i = 0; i < len; i++) {
|
|
199
|
+
var x = xs[i];
|
|
200
|
+
r[i] = f(x, i);
|
|
201
|
+
}
|
|
202
|
+
return r;
|
|
203
|
+
};
|
|
204
|
+
var each = function (xs, f) {
|
|
205
|
+
for (var i = 0, len = xs.length; i < len; i++) {
|
|
206
|
+
var x = xs[i];
|
|
207
|
+
f(x, i);
|
|
208
|
+
}
|
|
209
|
+
};
|
|
210
|
+
var eachr = function (xs, f) {
|
|
211
|
+
for (var i = xs.length - 1; i >= 0; i--) {
|
|
212
|
+
var x = xs[i];
|
|
213
|
+
f(x, i);
|
|
214
|
+
}
|
|
215
|
+
};
|
|
216
|
+
var groupBy = function (xs, f) {
|
|
217
|
+
if (xs.length === 0) {
|
|
218
|
+
return [];
|
|
219
|
+
} else {
|
|
220
|
+
var wasType = f(xs[0]);
|
|
221
|
+
var r = [];
|
|
222
|
+
var group = [];
|
|
223
|
+
for (var i = 0, len = xs.length; i < len; i++) {
|
|
224
|
+
var x = xs[i];
|
|
225
|
+
var type = f(x);
|
|
226
|
+
if (type !== wasType) {
|
|
227
|
+
r.push(group);
|
|
228
|
+
group = [];
|
|
229
|
+
}
|
|
230
|
+
wasType = type;
|
|
231
|
+
group.push(x);
|
|
232
|
+
}
|
|
233
|
+
if (group.length !== 0) {
|
|
234
|
+
r.push(group);
|
|
235
|
+
}
|
|
236
|
+
return r;
|
|
237
|
+
}
|
|
238
|
+
};
|
|
239
|
+
var foldl = function (xs, f, acc) {
|
|
240
|
+
each(xs, function (x) {
|
|
241
|
+
acc = f(acc, x);
|
|
242
|
+
});
|
|
243
|
+
return acc;
|
|
244
|
+
};
|
|
245
|
+
var flatten = function (xs) {
|
|
246
|
+
var r = [];
|
|
247
|
+
for (var i = 0, len = xs.length; i < len; ++i) {
|
|
248
|
+
if (!isArray(xs[i])) {
|
|
249
|
+
throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
|
|
250
|
+
}
|
|
251
|
+
nativePush.apply(r, xs[i]);
|
|
252
|
+
}
|
|
253
|
+
return r;
|
|
254
|
+
};
|
|
255
|
+
var bind = function (xs, f) {
|
|
256
|
+
return flatten(map(xs, f));
|
|
257
|
+
};
|
|
258
|
+
var sort = function (xs, comparator) {
|
|
259
|
+
var copy = nativeSlice.call(xs, 0);
|
|
260
|
+
copy.sort(comparator);
|
|
261
|
+
return copy;
|
|
262
|
+
};
|
|
263
|
+
|
|
264
|
+
var hasOwnProperty = Object.hasOwnProperty;
|
|
265
|
+
var has = function (obj, key) {
|
|
266
|
+
return hasOwnProperty.call(obj, key);
|
|
267
|
+
};
|
|
268
|
+
|
|
269
|
+
var Global = typeof domGlobals.window !== 'undefined' ? domGlobals.window : Function('return this;')();
|
|
270
|
+
|
|
271
|
+
var DOCUMENT = 9;
|
|
272
|
+
var DOCUMENT_FRAGMENT = 11;
|
|
273
|
+
var ELEMENT = 1;
|
|
274
|
+
var TEXT = 3;
|
|
275
|
+
|
|
276
|
+
var type = function (element) {
|
|
277
|
+
return element.dom().nodeType;
|
|
278
|
+
};
|
|
279
|
+
var isType$1 = function (t) {
|
|
280
|
+
return function (element) {
|
|
281
|
+
return type(element) === t;
|
|
282
|
+
};
|
|
283
|
+
};
|
|
284
|
+
var isText = isType$1(TEXT);
|
|
285
|
+
|
|
286
|
+
var rawSet = function (dom, key, value) {
|
|
287
|
+
if (isString(value) || isBoolean(value) || isNumber(value)) {
|
|
288
|
+
dom.setAttribute(key, value + '');
|
|
289
|
+
} else {
|
|
290
|
+
domGlobals.console.error('Invalid call to Attr.set. Key ', key, ':: Value ', value, ':: Element ', dom);
|
|
291
|
+
throw new Error('Attribute value was not simple');
|
|
292
|
+
}
|
|
293
|
+
};
|
|
294
|
+
var set = function (element, key, value) {
|
|
295
|
+
rawSet(element.dom(), key, value);
|
|
296
|
+
};
|
|
297
|
+
|
|
298
|
+
var fromHtml = function (html, scope) {
|
|
299
|
+
var doc = scope || domGlobals.document;
|
|
300
|
+
var div = doc.createElement('div');
|
|
301
|
+
div.innerHTML = html;
|
|
302
|
+
if (!div.hasChildNodes() || div.childNodes.length > 1) {
|
|
303
|
+
domGlobals.console.error('HTML does not have a single root node', html);
|
|
304
|
+
throw new Error('HTML must have a single root node');
|
|
305
|
+
}
|
|
306
|
+
return fromDom(div.childNodes[0]);
|
|
307
|
+
};
|
|
308
|
+
var fromTag = function (tag, scope) {
|
|
309
|
+
var doc = scope || domGlobals.document;
|
|
310
|
+
var node = doc.createElement(tag);
|
|
311
|
+
return fromDom(node);
|
|
312
|
+
};
|
|
313
|
+
var fromText = function (text, scope) {
|
|
314
|
+
var doc = scope || domGlobals.document;
|
|
315
|
+
var node = doc.createTextNode(text);
|
|
316
|
+
return fromDom(node);
|
|
317
|
+
};
|
|
318
|
+
var fromDom = function (node) {
|
|
319
|
+
if (node === null || node === undefined) {
|
|
320
|
+
throw new Error('Node cannot be null or undefined');
|
|
321
|
+
}
|
|
322
|
+
return { dom: constant(node) };
|
|
323
|
+
};
|
|
324
|
+
var fromPoint = function (docElm, x, y) {
|
|
325
|
+
var doc = docElm.dom();
|
|
326
|
+
return Option.from(doc.elementFromPoint(x, y)).map(fromDom);
|
|
327
|
+
};
|
|
328
|
+
var Element = {
|
|
329
|
+
fromHtml: fromHtml,
|
|
330
|
+
fromTag: fromTag,
|
|
331
|
+
fromText: fromText,
|
|
332
|
+
fromDom: fromDom,
|
|
333
|
+
fromPoint: fromPoint
|
|
334
|
+
};
|
|
335
|
+
|
|
336
|
+
var compareDocumentPosition = function (a, b, match) {
|
|
337
|
+
return (a.compareDocumentPosition(b) & match) !== 0;
|
|
338
|
+
};
|
|
339
|
+
var documentPositionPreceding = function (a, b) {
|
|
340
|
+
return compareDocumentPosition(a, b, domGlobals.Node.DOCUMENT_POSITION_PRECEDING);
|
|
341
|
+
};
|
|
342
|
+
|
|
343
|
+
var bypassSelector = function (dom) {
|
|
344
|
+
return dom.nodeType !== ELEMENT && dom.nodeType !== DOCUMENT && dom.nodeType !== DOCUMENT_FRAGMENT || dom.childElementCount === 0;
|
|
345
|
+
};
|
|
346
|
+
var all = function (selector, scope) {
|
|
347
|
+
var base = scope === undefined ? domGlobals.document : scope.dom();
|
|
348
|
+
return bypassSelector(base) ? [] : map(base.querySelectorAll(selector), Element.fromDom);
|
|
349
|
+
};
|
|
350
|
+
|
|
351
|
+
var parent = function (element) {
|
|
352
|
+
return Option.from(element.dom().parentNode).map(Element.fromDom);
|
|
353
|
+
};
|
|
354
|
+
var children = function (element) {
|
|
355
|
+
return map(element.dom().childNodes, Element.fromDom);
|
|
356
|
+
};
|
|
357
|
+
var spot = function (element, offset) {
|
|
358
|
+
return {
|
|
359
|
+
element: constant(element),
|
|
360
|
+
offset: constant(offset)
|
|
361
|
+
};
|
|
362
|
+
};
|
|
363
|
+
var leaf = function (element, offset) {
|
|
364
|
+
var cs = children(element);
|
|
365
|
+
return cs.length > 0 && offset < cs.length ? spot(cs[offset], 0) : spot(element, offset);
|
|
366
|
+
};
|
|
367
|
+
|
|
368
|
+
var before = function (marker, element) {
|
|
369
|
+
var parent$1 = parent(marker);
|
|
370
|
+
parent$1.each(function (v) {
|
|
371
|
+
v.dom().insertBefore(element.dom(), marker.dom());
|
|
372
|
+
});
|
|
373
|
+
};
|
|
374
|
+
var append = function (parent, element) {
|
|
375
|
+
parent.dom().appendChild(element.dom());
|
|
376
|
+
};
|
|
377
|
+
var wrap = function (element, wrapper) {
|
|
378
|
+
before(element, wrapper);
|
|
379
|
+
append(wrapper, element);
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
function NodeValue (is, name) {
|
|
383
|
+
var get = function (element) {
|
|
384
|
+
if (!is(element)) {
|
|
385
|
+
throw new Error('Can only get ' + name + ' value of a ' + name + ' node');
|
|
386
|
+
}
|
|
387
|
+
return getOption(element).getOr('');
|
|
388
|
+
};
|
|
389
|
+
var getOption = function (element) {
|
|
390
|
+
return is(element) ? Option.from(element.dom().nodeValue) : Option.none();
|
|
391
|
+
};
|
|
392
|
+
var set = function (element, value) {
|
|
393
|
+
if (!is(element)) {
|
|
394
|
+
throw new Error('Can only set raw ' + name + ' value of a ' + name + ' node');
|
|
395
|
+
}
|
|
396
|
+
element.dom().nodeValue = value;
|
|
397
|
+
};
|
|
398
|
+
return {
|
|
399
|
+
get: get,
|
|
400
|
+
getOption: getOption,
|
|
401
|
+
set: set
|
|
402
|
+
};
|
|
403
|
+
}
|
|
404
|
+
|
|
405
|
+
var api = NodeValue(isText, 'text');
|
|
406
|
+
var get = function (element) {
|
|
407
|
+
return api.get(element);
|
|
408
|
+
};
|
|
409
|
+
|
|
410
|
+
var supported = isFunction(domGlobals.Element.prototype.attachShadow) && isFunction(domGlobals.Node.prototype.getRootNode);
|
|
411
|
+
|
|
412
|
+
var descendants = function (scope, selector) {
|
|
413
|
+
return all(selector, scope);
|
|
414
|
+
};
|
|
415
|
+
|
|
416
|
+
var global$2 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
|
|
417
|
+
|
|
418
|
+
var isSimpleBoundary = function (dom, node) {
|
|
419
|
+
return dom.isBlock(node) || has(dom.schema.getShortEndedElements(), node.nodeName);
|
|
420
|
+
};
|
|
421
|
+
var isContentEditableFalse = function (dom, node) {
|
|
422
|
+
return dom.getContentEditable(node) === 'false';
|
|
423
|
+
};
|
|
424
|
+
var isContentEditableTrueInCef = function (dom, node) {
|
|
425
|
+
return dom.getContentEditable(node) === 'true' && dom.getContentEditableParent(node.parentNode) === 'false';
|
|
426
|
+
};
|
|
427
|
+
var isHidden = function (dom, node) {
|
|
428
|
+
return !dom.isBlock(node) && has(dom.schema.getWhiteSpaceElements(), node.nodeName);
|
|
429
|
+
};
|
|
430
|
+
var isBoundary = function (dom, node) {
|
|
431
|
+
return isSimpleBoundary(dom, node) || isContentEditableFalse(dom, node) || isHidden(dom, node) || isContentEditableTrueInCef(dom, node);
|
|
432
|
+
};
|
|
433
|
+
var isText$1 = function (node) {
|
|
434
|
+
return node.nodeType === 3;
|
|
435
|
+
};
|
|
436
|
+
var nuSection = function () {
|
|
437
|
+
return {
|
|
438
|
+
sOffset: 0,
|
|
439
|
+
fOffset: 0,
|
|
440
|
+
elements: []
|
|
441
|
+
};
|
|
442
|
+
};
|
|
443
|
+
var toLeaf = function (node, offset) {
|
|
444
|
+
return leaf(Element.fromDom(node), offset);
|
|
445
|
+
};
|
|
446
|
+
var walk = function (dom, walkerFn, startNode, callbacks, endNode, skipStart) {
|
|
447
|
+
if (skipStart === void 0) {
|
|
448
|
+
skipStart = true;
|
|
449
|
+
}
|
|
450
|
+
var next = skipStart ? walkerFn(false) : startNode;
|
|
451
|
+
while (next) {
|
|
452
|
+
var isCefNode = isContentEditableFalse(dom, next);
|
|
453
|
+
if (isCefNode || isHidden(dom, next)) {
|
|
454
|
+
var stopWalking = isCefNode ? callbacks.cef(next) : callbacks.boundary(next);
|
|
455
|
+
if (stopWalking) {
|
|
456
|
+
break;
|
|
457
|
+
} else {
|
|
458
|
+
next = walkerFn(true);
|
|
459
|
+
continue;
|
|
460
|
+
}
|
|
461
|
+
} else if (isSimpleBoundary(dom, next)) {
|
|
462
|
+
if (callbacks.boundary(next)) {
|
|
463
|
+
break;
|
|
464
|
+
}
|
|
465
|
+
} else if (isText$1(next)) {
|
|
466
|
+
callbacks.text(next);
|
|
467
|
+
}
|
|
468
|
+
if (next === endNode) {
|
|
469
|
+
break;
|
|
470
|
+
} else {
|
|
471
|
+
next = walkerFn(false);
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
};
|
|
475
|
+
var collectTextToBoundary = function (dom, section, node, rootNode, forwards) {
|
|
476
|
+
if (isBoundary(dom, node)) {
|
|
477
|
+
return;
|
|
478
|
+
}
|
|
479
|
+
var rootBlock = dom.getParent(rootNode, dom.isBlock);
|
|
480
|
+
var walker = new global$2(node, rootBlock);
|
|
481
|
+
var walkerFn = forwards ? walker.next : walker.prev;
|
|
482
|
+
walk(dom, walkerFn, node, {
|
|
483
|
+
boundary: always,
|
|
484
|
+
cef: always,
|
|
485
|
+
text: function (next) {
|
|
486
|
+
if (forwards) {
|
|
487
|
+
section.fOffset += next.length;
|
|
488
|
+
} else {
|
|
489
|
+
section.sOffset += next.length;
|
|
490
|
+
}
|
|
491
|
+
section.elements.push(Element.fromDom(next));
|
|
492
|
+
}
|
|
493
|
+
});
|
|
494
|
+
};
|
|
495
|
+
var collect = function (dom, rootNode, startNode, endNode, callbacks, skipStart) {
|
|
496
|
+
if (skipStart === void 0) {
|
|
497
|
+
skipStart = true;
|
|
498
|
+
}
|
|
499
|
+
var walker = new global$2(startNode, rootNode);
|
|
500
|
+
var sections = [];
|
|
501
|
+
var current = nuSection();
|
|
502
|
+
collectTextToBoundary(dom, current, startNode, rootNode, false);
|
|
503
|
+
var finishSection = function () {
|
|
504
|
+
if (current.elements.length > 0) {
|
|
505
|
+
sections.push(current);
|
|
506
|
+
current = nuSection();
|
|
507
|
+
}
|
|
508
|
+
return false;
|
|
509
|
+
};
|
|
510
|
+
walk(dom, walker.next, startNode, {
|
|
511
|
+
boundary: finishSection,
|
|
512
|
+
cef: function (node) {
|
|
513
|
+
finishSection();
|
|
514
|
+
if (callbacks) {
|
|
515
|
+
sections.push.apply(sections, callbacks.cef(node));
|
|
516
|
+
}
|
|
517
|
+
return false;
|
|
518
|
+
},
|
|
519
|
+
text: function (next) {
|
|
520
|
+
current.elements.push(Element.fromDom(next));
|
|
521
|
+
if (callbacks) {
|
|
522
|
+
callbacks.text(next, current);
|
|
523
|
+
}
|
|
524
|
+
}
|
|
525
|
+
}, endNode, skipStart);
|
|
526
|
+
if (endNode) {
|
|
527
|
+
collectTextToBoundary(dom, current, endNode, rootNode, true);
|
|
528
|
+
}
|
|
529
|
+
finishSection();
|
|
530
|
+
return sections;
|
|
531
|
+
};
|
|
532
|
+
var collectRangeSections = function (dom, rng) {
|
|
533
|
+
var start = toLeaf(rng.startContainer, rng.startOffset);
|
|
534
|
+
var startNode = start.element().dom();
|
|
535
|
+
var end = toLeaf(rng.endContainer, rng.endOffset);
|
|
536
|
+
var endNode = end.element().dom();
|
|
537
|
+
return collect(dom, rng.commonAncestorContainer, startNode, endNode, {
|
|
538
|
+
text: function (node, section) {
|
|
539
|
+
if (node === endNode) {
|
|
540
|
+
section.fOffset += node.length - end.offset();
|
|
541
|
+
} else if (node === startNode) {
|
|
542
|
+
section.sOffset += start.offset();
|
|
543
|
+
}
|
|
544
|
+
},
|
|
545
|
+
cef: function (node) {
|
|
546
|
+
var sections = bind(descendants(Element.fromDom(node), '*[contenteditable=true]'), function (e) {
|
|
547
|
+
var ceTrueNode = e.dom();
|
|
548
|
+
return collect(dom, ceTrueNode, ceTrueNode);
|
|
549
|
+
});
|
|
550
|
+
return sort(sections, function (a, b) {
|
|
551
|
+
return documentPositionPreceding(a.elements[0].dom(), b.elements[0].dom()) ? 1 : -1;
|
|
552
|
+
});
|
|
553
|
+
}
|
|
554
|
+
}, false);
|
|
555
|
+
};
|
|
556
|
+
var fromRng = function (dom, rng) {
|
|
557
|
+
return rng.collapsed ? [] : collectRangeSections(dom, rng);
|
|
558
|
+
};
|
|
559
|
+
var fromNode = function (dom, node) {
|
|
560
|
+
var rng = dom.createRng();
|
|
561
|
+
rng.selectNode(node);
|
|
562
|
+
return fromRng(dom, rng);
|
|
563
|
+
};
|
|
564
|
+
var fromNodes = function (dom, nodes) {
|
|
565
|
+
return bind(nodes, function (node) {
|
|
566
|
+
return fromNode(dom, node);
|
|
567
|
+
});
|
|
568
|
+
};
|
|
569
|
+
|
|
570
|
+
var find = function (text, pattern, start, finish) {
|
|
571
|
+
if (start === void 0) {
|
|
572
|
+
start = 0;
|
|
573
|
+
}
|
|
574
|
+
if (finish === void 0) {
|
|
575
|
+
finish = text.length;
|
|
576
|
+
}
|
|
577
|
+
var regex = pattern.regex;
|
|
578
|
+
regex.lastIndex = start;
|
|
579
|
+
var results = [];
|
|
580
|
+
var match;
|
|
581
|
+
while (match = regex.exec(text)) {
|
|
582
|
+
var matchedText = match[pattern.matchIndex];
|
|
583
|
+
var matchStart = match.index + match[0].indexOf(matchedText);
|
|
584
|
+
var matchFinish = matchStart + matchedText.length;
|
|
585
|
+
if (matchFinish > finish) {
|
|
586
|
+
break;
|
|
587
|
+
}
|
|
588
|
+
results.push({
|
|
589
|
+
start: matchStart,
|
|
590
|
+
finish: matchFinish
|
|
591
|
+
});
|
|
592
|
+
regex.lastIndex = matchFinish;
|
|
593
|
+
}
|
|
594
|
+
return results;
|
|
595
|
+
};
|
|
596
|
+
var extract = function (elements, matches) {
|
|
597
|
+
var nodePositions = foldl(elements, function (acc, element) {
|
|
598
|
+
var content = get(element);
|
|
599
|
+
var start = acc.last;
|
|
600
|
+
var finish = start + content.length;
|
|
601
|
+
var positions = bind(matches, function (match, matchIdx) {
|
|
602
|
+
if (match.start < finish && match.finish > start) {
|
|
603
|
+
return [{
|
|
604
|
+
element: element,
|
|
605
|
+
start: Math.max(start, match.start) - start,
|
|
606
|
+
finish: Math.min(finish, match.finish) - start,
|
|
607
|
+
matchId: matchIdx
|
|
608
|
+
}];
|
|
609
|
+
} else {
|
|
610
|
+
return [];
|
|
611
|
+
}
|
|
612
|
+
});
|
|
613
|
+
return {
|
|
614
|
+
results: acc.results.concat(positions),
|
|
615
|
+
last: finish
|
|
616
|
+
};
|
|
617
|
+
}, {
|
|
618
|
+
results: [],
|
|
619
|
+
last: 0
|
|
620
|
+
}).results;
|
|
621
|
+
return groupBy(nodePositions, function (position) {
|
|
622
|
+
return position.matchId;
|
|
623
|
+
});
|
|
624
|
+
};
|
|
625
|
+
|
|
626
|
+
var find$1 = function (pattern, sections) {
|
|
627
|
+
return bind(sections, function (section) {
|
|
628
|
+
var elements = section.elements;
|
|
629
|
+
var content = map(elements, get).join('');
|
|
630
|
+
var positions = find(content, pattern, section.sOffset, content.length - section.fOffset);
|
|
631
|
+
return extract(elements, positions);
|
|
632
|
+
});
|
|
633
|
+
};
|
|
634
|
+
var mark = function (matches, replacementNode) {
|
|
635
|
+
eachr(matches, function (match, idx) {
|
|
636
|
+
eachr(match, function (pos) {
|
|
637
|
+
var wrapper = Element.fromDom(replacementNode.cloneNode(false));
|
|
638
|
+
set(wrapper, 'data-mce-index', idx);
|
|
639
|
+
var textNode = pos.element.dom();
|
|
640
|
+
if (textNode.length === pos.finish && pos.start === 0) {
|
|
641
|
+
wrap(pos.element, wrapper);
|
|
642
|
+
} else {
|
|
643
|
+
if (textNode.length !== pos.finish) {
|
|
644
|
+
textNode.splitText(pos.finish);
|
|
645
|
+
}
|
|
646
|
+
var matchNode = textNode.splitText(pos.start);
|
|
647
|
+
wrap(Element.fromDom(matchNode), wrapper);
|
|
648
|
+
}
|
|
649
|
+
});
|
|
650
|
+
});
|
|
651
|
+
};
|
|
652
|
+
var findAndMark = function (dom, pattern, node, replacementNode) {
|
|
653
|
+
var textSections = fromNode(dom, node);
|
|
654
|
+
var matches = find$1(pattern, textSections);
|
|
655
|
+
mark(matches, replacementNode);
|
|
656
|
+
return matches.length;
|
|
657
|
+
};
|
|
658
|
+
var findAndMarkInSelection = function (dom, pattern, selection, replacementNode) {
|
|
659
|
+
var bookmark = selection.getBookmark();
|
|
660
|
+
var nodes = dom.select('td[data-mce-selected],th[data-mce-selected]');
|
|
661
|
+
var textSections = nodes.length > 0 ? fromNodes(dom, nodes) : fromRng(dom, selection.getRng());
|
|
662
|
+
var matches = find$1(pattern, textSections);
|
|
663
|
+
mark(matches, replacementNode);
|
|
664
|
+
selection.moveToBookmark(bookmark);
|
|
665
|
+
return matches.length;
|
|
666
|
+
};
|
|
667
|
+
|
|
668
|
+
var getElmIndex = function (elm) {
|
|
669
|
+
var value = elm.getAttribute('data-mce-index');
|
|
670
|
+
if (typeof value === 'number') {
|
|
671
|
+
return '' + value;
|
|
672
|
+
}
|
|
673
|
+
return value;
|
|
674
|
+
};
|
|
675
|
+
var markAllMatches = function (editor, currentSearchState, pattern, inSelection) {
|
|
676
|
+
var marker = editor.dom.create('span', { 'data-mce-bogus': 1 });
|
|
677
|
+
marker.className = 'mce-match-marker';
|
|
678
|
+
var node = editor.getBody();
|
|
679
|
+
done(editor, currentSearchState, false);
|
|
680
|
+
if (inSelection) {
|
|
681
|
+
return findAndMarkInSelection(editor.dom, pattern, editor.selection, marker);
|
|
682
|
+
} else {
|
|
683
|
+
return findAndMark(editor.dom, pattern, node, marker);
|
|
684
|
+
}
|
|
685
|
+
};
|
|
686
|
+
var unwrap = function (node) {
|
|
687
|
+
var parentNode = node.parentNode;
|
|
688
|
+
if (node.firstChild) {
|
|
689
|
+
parentNode.insertBefore(node.firstChild, node);
|
|
690
|
+
}
|
|
691
|
+
node.parentNode.removeChild(node);
|
|
692
|
+
};
|
|
693
|
+
var findSpansByIndex = function (editor, index) {
|
|
694
|
+
var spans = [];
|
|
695
|
+
var nodes = global$1.toArray(editor.getBody().getElementsByTagName('span'));
|
|
696
|
+
if (nodes.length) {
|
|
697
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
698
|
+
var nodeIndex = getElmIndex(nodes[i]);
|
|
699
|
+
if (nodeIndex === null || !nodeIndex.length) {
|
|
700
|
+
continue;
|
|
701
|
+
}
|
|
702
|
+
if (nodeIndex === index.toString()) {
|
|
703
|
+
spans.push(nodes[i]);
|
|
704
|
+
}
|
|
705
|
+
}
|
|
706
|
+
}
|
|
707
|
+
return spans;
|
|
708
|
+
};
|
|
709
|
+
var moveSelection = function (editor, currentSearchState, forward) {
|
|
710
|
+
var searchState = currentSearchState.get();
|
|
711
|
+
var testIndex = searchState.index;
|
|
712
|
+
var dom = editor.dom;
|
|
713
|
+
forward = forward !== false;
|
|
714
|
+
if (forward) {
|
|
715
|
+
if (testIndex + 1 === searchState.count) {
|
|
716
|
+
testIndex = 0;
|
|
717
|
+
} else {
|
|
718
|
+
testIndex++;
|
|
719
|
+
}
|
|
720
|
+
} else {
|
|
721
|
+
if (testIndex - 1 === -1) {
|
|
722
|
+
testIndex = searchState.count - 1;
|
|
723
|
+
} else {
|
|
724
|
+
testIndex--;
|
|
725
|
+
}
|
|
726
|
+
}
|
|
727
|
+
dom.removeClass(findSpansByIndex(editor, searchState.index), 'mce-match-marker-selected');
|
|
728
|
+
var spans = findSpansByIndex(editor, testIndex);
|
|
729
|
+
if (spans.length) {
|
|
730
|
+
dom.addClass(findSpansByIndex(editor, testIndex), 'mce-match-marker-selected');
|
|
731
|
+
editor.selection.scrollIntoView(spans[0]);
|
|
732
|
+
return testIndex;
|
|
733
|
+
}
|
|
734
|
+
return -1;
|
|
735
|
+
};
|
|
736
|
+
var removeNode = function (dom, node) {
|
|
737
|
+
var parent = node.parentNode;
|
|
738
|
+
dom.remove(node);
|
|
739
|
+
if (dom.isEmpty(parent)) {
|
|
740
|
+
dom.remove(parent);
|
|
741
|
+
}
|
|
742
|
+
};
|
|
743
|
+
var escapeSearchText = function (text, wholeWord) {
|
|
744
|
+
var escapedText = text.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g, '\\$&').replace(/\s/g, '[^\\S\\r\\n\\uFEFF]');
|
|
745
|
+
var wordRegex = '(' + escapedText + ')';
|
|
746
|
+
return wholeWord ? '(?:^|\\s|' + punctuation$1() + ')' + wordRegex + ('(?=$|\\s|' + punctuation$1() + ')') : wordRegex;
|
|
747
|
+
};
|
|
748
|
+
var find$2 = function (editor, currentSearchState, text, matchCase, wholeWord, inSelection) {
|
|
749
|
+
var escapedText = escapeSearchText(text, wholeWord);
|
|
750
|
+
var pattern = {
|
|
751
|
+
regex: new RegExp(escapedText, matchCase ? 'g' : 'gi'),
|
|
752
|
+
matchIndex: 1
|
|
753
|
+
};
|
|
754
|
+
var count = markAllMatches(editor, currentSearchState, pattern, inSelection);
|
|
755
|
+
if (count) {
|
|
756
|
+
var newIndex = moveSelection(editor, currentSearchState, true);
|
|
757
|
+
currentSearchState.set({
|
|
758
|
+
index: newIndex,
|
|
759
|
+
count: count,
|
|
760
|
+
text: text,
|
|
761
|
+
matchCase: matchCase,
|
|
762
|
+
wholeWord: wholeWord,
|
|
763
|
+
inSelection: inSelection
|
|
764
|
+
});
|
|
765
|
+
}
|
|
766
|
+
return count;
|
|
767
|
+
};
|
|
768
|
+
var next = function (editor, currentSearchState) {
|
|
769
|
+
var index = moveSelection(editor, currentSearchState, true);
|
|
770
|
+
currentSearchState.set(__assign(__assign({}, currentSearchState.get()), { index: index }));
|
|
771
|
+
};
|
|
772
|
+
var prev = function (editor, currentSearchState) {
|
|
773
|
+
var index = moveSelection(editor, currentSearchState, false);
|
|
774
|
+
currentSearchState.set(__assign(__assign({}, currentSearchState.get()), { index: index }));
|
|
775
|
+
};
|
|
776
|
+
var isMatchSpan = function (node) {
|
|
777
|
+
var matchIndex = getElmIndex(node);
|
|
778
|
+
return matchIndex !== null && matchIndex.length > 0;
|
|
779
|
+
};
|
|
780
|
+
var replace = function (editor, currentSearchState, text, forward, all) {
|
|
781
|
+
var searchState = currentSearchState.get();
|
|
782
|
+
var currentIndex = searchState.index;
|
|
783
|
+
var currentMatchIndex, nextIndex = currentIndex;
|
|
784
|
+
forward = forward !== false;
|
|
785
|
+
var node = editor.getBody();
|
|
786
|
+
var nodes = global$1.grep(global$1.toArray(node.getElementsByTagName('span')), isMatchSpan);
|
|
787
|
+
for (var i = 0; i < nodes.length; i++) {
|
|
788
|
+
var nodeIndex = getElmIndex(nodes[i]);
|
|
789
|
+
var matchIndex = currentMatchIndex = parseInt(nodeIndex, 10);
|
|
790
|
+
if (all || matchIndex === searchState.index) {
|
|
791
|
+
if (text.length) {
|
|
792
|
+
nodes[i].firstChild.nodeValue = text;
|
|
793
|
+
unwrap(nodes[i]);
|
|
794
|
+
} else {
|
|
795
|
+
removeNode(editor.dom, nodes[i]);
|
|
796
|
+
}
|
|
797
|
+
while (nodes[++i]) {
|
|
798
|
+
matchIndex = parseInt(getElmIndex(nodes[i]), 10);
|
|
799
|
+
if (matchIndex === currentMatchIndex) {
|
|
800
|
+
removeNode(editor.dom, nodes[i]);
|
|
801
|
+
} else {
|
|
802
|
+
i--;
|
|
803
|
+
break;
|
|
804
|
+
}
|
|
805
|
+
}
|
|
806
|
+
if (forward) {
|
|
807
|
+
nextIndex--;
|
|
808
|
+
}
|
|
809
|
+
} else if (currentMatchIndex > currentIndex) {
|
|
810
|
+
nodes[i].setAttribute('data-mce-index', String(currentMatchIndex - 1));
|
|
811
|
+
}
|
|
812
|
+
}
|
|
813
|
+
currentSearchState.set(__assign(__assign({}, searchState), {
|
|
814
|
+
count: all ? 0 : searchState.count - 1,
|
|
815
|
+
index: nextIndex
|
|
816
|
+
}));
|
|
817
|
+
if (forward) {
|
|
818
|
+
next(editor, currentSearchState);
|
|
819
|
+
} else {
|
|
820
|
+
prev(editor, currentSearchState);
|
|
821
|
+
}
|
|
822
|
+
return !all && currentSearchState.get().count > 0;
|
|
823
|
+
};
|
|
824
|
+
var done = function (editor, currentSearchState, keepEditorSelection) {
|
|
825
|
+
var i, startContainer, endContainer;
|
|
826
|
+
var searchState = currentSearchState.get();
|
|
827
|
+
var nodes = global$1.toArray(editor.getBody().getElementsByTagName('span'));
|
|
828
|
+
for (i = 0; i < nodes.length; i++) {
|
|
829
|
+
var nodeIndex = getElmIndex(nodes[i]);
|
|
830
|
+
if (nodeIndex !== null && nodeIndex.length) {
|
|
831
|
+
if (nodeIndex === searchState.index.toString()) {
|
|
832
|
+
if (!startContainer) {
|
|
833
|
+
startContainer = nodes[i].firstChild;
|
|
834
|
+
}
|
|
835
|
+
endContainer = nodes[i].firstChild;
|
|
836
|
+
}
|
|
837
|
+
unwrap(nodes[i]);
|
|
838
|
+
}
|
|
839
|
+
}
|
|
840
|
+
currentSearchState.set(__assign(__assign({}, searchState), {
|
|
841
|
+
index: -1,
|
|
842
|
+
count: 0,
|
|
843
|
+
text: ''
|
|
844
|
+
}));
|
|
845
|
+
if (startContainer && endContainer) {
|
|
846
|
+
var rng = editor.dom.createRng();
|
|
847
|
+
rng.setStart(startContainer, 0);
|
|
848
|
+
rng.setEnd(endContainer, endContainer.data.length);
|
|
849
|
+
if (keepEditorSelection !== false) {
|
|
850
|
+
editor.selection.setRng(rng);
|
|
851
|
+
}
|
|
852
|
+
return rng;
|
|
853
|
+
}
|
|
854
|
+
};
|
|
855
|
+
var hasNext = function (editor, currentSearchState) {
|
|
856
|
+
return currentSearchState.get().count > 1;
|
|
857
|
+
};
|
|
858
|
+
var hasPrev = function (editor, currentSearchState) {
|
|
859
|
+
return currentSearchState.get().count > 1;
|
|
860
|
+
};
|
|
861
|
+
|
|
862
|
+
var get$1 = function (editor, currentState) {
|
|
863
|
+
var done$1 = function (keepEditorSelection) {
|
|
864
|
+
return done(editor, currentState, keepEditorSelection);
|
|
865
|
+
};
|
|
866
|
+
var find = function (text, matchCase, wholeWord, inSelection) {
|
|
867
|
+
if (inSelection === void 0) {
|
|
868
|
+
inSelection = false;
|
|
869
|
+
}
|
|
870
|
+
return find$2(editor, currentState, text, matchCase, wholeWord, inSelection);
|
|
871
|
+
};
|
|
872
|
+
var next$1 = function () {
|
|
873
|
+
return next(editor, currentState);
|
|
874
|
+
};
|
|
875
|
+
var prev$1 = function () {
|
|
876
|
+
return prev(editor, currentState);
|
|
877
|
+
};
|
|
878
|
+
var replace$1 = function (text, forward, all) {
|
|
879
|
+
return replace(editor, currentState, text, forward, all);
|
|
880
|
+
};
|
|
881
|
+
return {
|
|
882
|
+
done: done$1,
|
|
883
|
+
find: find,
|
|
884
|
+
next: next$1,
|
|
885
|
+
prev: prev$1,
|
|
886
|
+
replace: replace$1
|
|
887
|
+
};
|
|
888
|
+
};
|
|
889
|
+
|
|
890
|
+
var value = function () {
|
|
891
|
+
var subject = Cell(Option.none());
|
|
892
|
+
var clear = function () {
|
|
893
|
+
subject.set(Option.none());
|
|
894
|
+
};
|
|
895
|
+
var set = function (s) {
|
|
896
|
+
subject.set(Option.some(s));
|
|
897
|
+
};
|
|
898
|
+
var on = function (f) {
|
|
899
|
+
subject.get().each(f);
|
|
900
|
+
};
|
|
901
|
+
var isSet = function () {
|
|
902
|
+
return subject.get().isSome();
|
|
903
|
+
};
|
|
904
|
+
return {
|
|
905
|
+
clear: clear,
|
|
906
|
+
set: set,
|
|
907
|
+
isSet: isSet,
|
|
908
|
+
on: on
|
|
909
|
+
};
|
|
910
|
+
};
|
|
911
|
+
|
|
912
|
+
var global$3 = tinymce.util.Tools.resolve('tinymce.Env');
|
|
913
|
+
|
|
914
|
+
var open = function (editor, currentSearchState) {
|
|
915
|
+
var dialogApi = value();
|
|
916
|
+
editor.undoManager.add();
|
|
917
|
+
var selectedText = global$1.trim(editor.selection.getContent({ format: 'text' }));
|
|
918
|
+
function updateButtonStates(api) {
|
|
919
|
+
var updateNext = hasNext(editor, currentSearchState) ? api.enable : api.disable;
|
|
920
|
+
updateNext('next');
|
|
921
|
+
var updatePrev = hasPrev(editor, currentSearchState) ? api.enable : api.disable;
|
|
922
|
+
updatePrev('prev');
|
|
923
|
+
}
|
|
924
|
+
var updateSearchState = function (api) {
|
|
925
|
+
var data = api.getData();
|
|
926
|
+
var current = currentSearchState.get();
|
|
927
|
+
currentSearchState.set(__assign(__assign({}, current), {
|
|
928
|
+
matchCase: data.matchcase,
|
|
929
|
+
wholeWord: data.wholewords,
|
|
930
|
+
inSelection: data.inselection
|
|
931
|
+
}));
|
|
932
|
+
};
|
|
933
|
+
var disableAll = function (api, disable) {
|
|
934
|
+
var buttons = [
|
|
935
|
+
'replace',
|
|
936
|
+
'replaceall',
|
|
937
|
+
'prev',
|
|
938
|
+
'next'
|
|
939
|
+
];
|
|
940
|
+
var toggle = disable ? api.disable : api.enable;
|
|
941
|
+
each(buttons, toggle);
|
|
942
|
+
};
|
|
943
|
+
function notFoundAlert(api) {
|
|
944
|
+
editor.windowManager.alert('Could not find the specified string.', function () {
|
|
945
|
+
api.focus('findtext');
|
|
946
|
+
});
|
|
947
|
+
}
|
|
948
|
+
var focusButtonIfRequired = function (api, name) {
|
|
949
|
+
if (global$3.browser.isSafari() && global$3.deviceType.isTouch() && (name === 'find' || name === 'replace' || name === 'replaceall')) {
|
|
950
|
+
api.focus(name);
|
|
951
|
+
}
|
|
952
|
+
};
|
|
953
|
+
var reset = function (api) {
|
|
954
|
+
done(editor, currentSearchState, false);
|
|
955
|
+
disableAll(api, true);
|
|
956
|
+
updateButtonStates(api);
|
|
957
|
+
};
|
|
958
|
+
var doFind = function (api) {
|
|
959
|
+
var data = api.getData();
|
|
960
|
+
var last = currentSearchState.get();
|
|
961
|
+
if (!data.findtext.length) {
|
|
962
|
+
reset(api);
|
|
963
|
+
return;
|
|
964
|
+
}
|
|
965
|
+
if (last.text === data.findtext && last.matchCase === data.matchcase && last.wholeWord === data.wholewords) {
|
|
966
|
+
next(editor, currentSearchState);
|
|
967
|
+
} else {
|
|
968
|
+
var count = find$2(editor, currentSearchState, data.findtext, data.matchcase, data.wholewords, data.inselection);
|
|
969
|
+
if (count <= 0) {
|
|
970
|
+
notFoundAlert(api);
|
|
971
|
+
}
|
|
972
|
+
disableAll(api, count === 0);
|
|
973
|
+
}
|
|
974
|
+
updateButtonStates(api);
|
|
975
|
+
};
|
|
976
|
+
var initialState = currentSearchState.get();
|
|
977
|
+
var initialData = {
|
|
978
|
+
findtext: selectedText,
|
|
979
|
+
replacetext: '',
|
|
980
|
+
wholewords: initialState.wholeWord,
|
|
981
|
+
matchcase: initialState.matchCase,
|
|
982
|
+
inselection: initialState.inSelection
|
|
983
|
+
};
|
|
984
|
+
var spec = {
|
|
985
|
+
title: 'Find and Replace',
|
|
986
|
+
size: 'normal',
|
|
987
|
+
body: {
|
|
988
|
+
type: 'panel',
|
|
989
|
+
items: [
|
|
990
|
+
{
|
|
991
|
+
type: 'bar',
|
|
992
|
+
items: [
|
|
993
|
+
{
|
|
994
|
+
type: 'input',
|
|
995
|
+
name: 'findtext',
|
|
996
|
+
placeholder: 'Find',
|
|
997
|
+
maximized: true,
|
|
998
|
+
inputMode: 'search'
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
type: 'button',
|
|
1002
|
+
name: 'prev',
|
|
1003
|
+
text: 'Previous',
|
|
1004
|
+
icon: 'action-prev',
|
|
1005
|
+
disabled: true,
|
|
1006
|
+
borderless: true
|
|
1007
|
+
},
|
|
1008
|
+
{
|
|
1009
|
+
type: 'button',
|
|
1010
|
+
name: 'next',
|
|
1011
|
+
text: 'Next',
|
|
1012
|
+
icon: 'action-next',
|
|
1013
|
+
disabled: true,
|
|
1014
|
+
borderless: true
|
|
1015
|
+
}
|
|
1016
|
+
]
|
|
1017
|
+
},
|
|
1018
|
+
{
|
|
1019
|
+
type: 'input',
|
|
1020
|
+
name: 'replacetext',
|
|
1021
|
+
placeholder: 'Replace with',
|
|
1022
|
+
inputMode: 'search'
|
|
1023
|
+
}
|
|
1024
|
+
]
|
|
1025
|
+
},
|
|
1026
|
+
buttons: [
|
|
1027
|
+
{
|
|
1028
|
+
type: 'menu',
|
|
1029
|
+
name: 'options',
|
|
1030
|
+
icon: 'preferences',
|
|
1031
|
+
tooltip: 'Preferences',
|
|
1032
|
+
align: 'start',
|
|
1033
|
+
items: [
|
|
1034
|
+
{
|
|
1035
|
+
type: 'togglemenuitem',
|
|
1036
|
+
name: 'matchcase',
|
|
1037
|
+
text: 'Match case'
|
|
1038
|
+
},
|
|
1039
|
+
{
|
|
1040
|
+
type: 'togglemenuitem',
|
|
1041
|
+
name: 'wholewords',
|
|
1042
|
+
text: 'Find whole words only'
|
|
1043
|
+
},
|
|
1044
|
+
{
|
|
1045
|
+
type: 'togglemenuitem',
|
|
1046
|
+
name: 'inselection',
|
|
1047
|
+
text: 'Find in selection'
|
|
1048
|
+
}
|
|
1049
|
+
]
|
|
1050
|
+
},
|
|
1051
|
+
{
|
|
1052
|
+
type: 'custom',
|
|
1053
|
+
name: 'find',
|
|
1054
|
+
text: 'Find',
|
|
1055
|
+
primary: true
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
type: 'custom',
|
|
1059
|
+
name: 'replace',
|
|
1060
|
+
text: 'Replace',
|
|
1061
|
+
disabled: true
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
type: 'custom',
|
|
1065
|
+
name: 'replaceall',
|
|
1066
|
+
text: 'Replace All',
|
|
1067
|
+
disabled: true
|
|
1068
|
+
}
|
|
1069
|
+
],
|
|
1070
|
+
initialData: initialData,
|
|
1071
|
+
onChange: function (api, details) {
|
|
1072
|
+
if (details.name === 'findtext' && currentSearchState.get().count > 0) {
|
|
1073
|
+
reset(api);
|
|
1074
|
+
}
|
|
1075
|
+
},
|
|
1076
|
+
onAction: function (api, details) {
|
|
1077
|
+
var data = api.getData();
|
|
1078
|
+
switch (details.name) {
|
|
1079
|
+
case 'find':
|
|
1080
|
+
doFind(api);
|
|
1081
|
+
break;
|
|
1082
|
+
case 'replace':
|
|
1083
|
+
if (!replace(editor, currentSearchState, data.replacetext)) {
|
|
1084
|
+
reset(api);
|
|
1085
|
+
} else {
|
|
1086
|
+
updateButtonStates(api);
|
|
1087
|
+
}
|
|
1088
|
+
break;
|
|
1089
|
+
case 'replaceall':
|
|
1090
|
+
replace(editor, currentSearchState, data.replacetext, true, true);
|
|
1091
|
+
reset(api);
|
|
1092
|
+
break;
|
|
1093
|
+
case 'prev':
|
|
1094
|
+
prev(editor, currentSearchState);
|
|
1095
|
+
updateButtonStates(api);
|
|
1096
|
+
break;
|
|
1097
|
+
case 'next':
|
|
1098
|
+
next(editor, currentSearchState);
|
|
1099
|
+
updateButtonStates(api);
|
|
1100
|
+
break;
|
|
1101
|
+
case 'matchcase':
|
|
1102
|
+
case 'wholewords':
|
|
1103
|
+
case 'inselection':
|
|
1104
|
+
updateSearchState(api);
|
|
1105
|
+
reset(api);
|
|
1106
|
+
break;
|
|
1107
|
+
}
|
|
1108
|
+
focusButtonIfRequired(api, details.name);
|
|
1109
|
+
},
|
|
1110
|
+
onSubmit: function (api) {
|
|
1111
|
+
doFind(api);
|
|
1112
|
+
focusButtonIfRequired(api, 'find');
|
|
1113
|
+
},
|
|
1114
|
+
onClose: function () {
|
|
1115
|
+
editor.focus();
|
|
1116
|
+
done(editor, currentSearchState);
|
|
1117
|
+
editor.undoManager.add();
|
|
1118
|
+
}
|
|
1119
|
+
};
|
|
1120
|
+
dialogApi.set(editor.windowManager.open(spec, { inline: 'toolbar' }));
|
|
1121
|
+
};
|
|
1122
|
+
|
|
1123
|
+
var register = function (editor, currentSearchState) {
|
|
1124
|
+
editor.addCommand('SearchReplace', function () {
|
|
1125
|
+
open(editor, currentSearchState);
|
|
1126
|
+
});
|
|
1127
|
+
};
|
|
1128
|
+
|
|
1129
|
+
var showDialog = function (editor, currentSearchState) {
|
|
1130
|
+
return function () {
|
|
1131
|
+
open(editor, currentSearchState);
|
|
1132
|
+
};
|
|
1133
|
+
};
|
|
1134
|
+
var register$1 = function (editor, currentSearchState) {
|
|
1135
|
+
editor.ui.registry.addMenuItem('searchreplace', {
|
|
1136
|
+
text: 'Find and replace...',
|
|
1137
|
+
shortcut: 'Meta+F',
|
|
1138
|
+
onAction: showDialog(editor, currentSearchState),
|
|
1139
|
+
icon: 'search'
|
|
1140
|
+
});
|
|
1141
|
+
editor.ui.registry.addButton('searchreplace', {
|
|
1142
|
+
tooltip: 'Find and replace',
|
|
1143
|
+
onAction: showDialog(editor, currentSearchState),
|
|
1144
|
+
icon: 'search'
|
|
1145
|
+
});
|
|
1146
|
+
editor.shortcuts.add('Meta+F', '', showDialog(editor, currentSearchState));
|
|
1147
|
+
};
|
|
1148
|
+
|
|
1149
|
+
function Plugin () {
|
|
1150
|
+
global.add('searchreplace', function (editor) {
|
|
1151
|
+
var currentSearchState = Cell({
|
|
1152
|
+
index: -1,
|
|
1153
|
+
count: 0,
|
|
1154
|
+
text: '',
|
|
1155
|
+
matchCase: false,
|
|
1156
|
+
wholeWord: false,
|
|
1157
|
+
inSelection: false
|
|
1158
|
+
});
|
|
1159
|
+
register(editor, currentSearchState);
|
|
1160
|
+
register$1(editor, currentSearchState);
|
|
1161
|
+
return get$1(editor, currentSearchState);
|
|
1162
|
+
});
|
|
1163
|
+
}
|
|
1164
|
+
|
|
1165
|
+
Plugin();
|
|
1166
|
+
|
|
1167
|
+
}(window));
|