eztech-core-components 1.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/css/index.css +405 -0
- package/ckeditor/CHANGES.md +2339 -0
- package/ckeditor/LICENSE.md +1444 -0
- package/ckeditor/MongolianScript.ttf +0 -0
- package/ckeditor/README.md +39 -0
- package/ckeditor/SECURITY.md +10 -0
- package/ckeditor/adapters/jquery.js +10 -0
- package/ckeditor/bender-runner.config.json +16 -0
- package/ckeditor/build-config.js +193 -0
- package/ckeditor/ckcontent.css +71 -0
- package/ckeditor/ckeditor.js +1446 -0
- package/ckeditor/cmdashitseden.ttf +0 -0
- package/ckeditor/config.js +21 -0
- package/ckeditor/contents.css +220 -0
- package/ckeditor/lang/af.js +5 -0
- package/ckeditor/lang/ar.js +5 -0
- package/ckeditor/lang/az.js +5 -0
- package/ckeditor/lang/bg.js +5 -0
- package/ckeditor/lang/bn.js +5 -0
- package/ckeditor/lang/bs.js +5 -0
- package/ckeditor/lang/ca.js +5 -0
- package/ckeditor/lang/cs.js +5 -0
- package/ckeditor/lang/cy.js +5 -0
- package/ckeditor/lang/da.js +5 -0
- package/ckeditor/lang/de-ch.js +5 -0
- package/ckeditor/lang/de.js +5 -0
- package/ckeditor/lang/el.js +5 -0
- package/ckeditor/lang/en-au.js +5 -0
- package/ckeditor/lang/en-ca.js +5 -0
- package/ckeditor/lang/en-gb.js +5 -0
- package/ckeditor/lang/en.js +5 -0
- package/ckeditor/lang/eo.js +5 -0
- package/ckeditor/lang/es-mx.js +5 -0
- package/ckeditor/lang/es.js +5 -0
- package/ckeditor/lang/et.js +5 -0
- package/ckeditor/lang/eu.js +5 -0
- package/ckeditor/lang/fa.js +5 -0
- package/ckeditor/lang/fi.js +5 -0
- package/ckeditor/lang/fo.js +5 -0
- package/ckeditor/lang/fr-ca.js +5 -0
- package/ckeditor/lang/fr.js +5 -0
- package/ckeditor/lang/gl.js +5 -0
- package/ckeditor/lang/gu.js +5 -0
- package/ckeditor/lang/he.js +5 -0
- package/ckeditor/lang/hi.js +5 -0
- package/ckeditor/lang/hr.js +5 -0
- package/ckeditor/lang/hu.js +5 -0
- package/ckeditor/lang/id.js +5 -0
- package/ckeditor/lang/is.js +5 -0
- package/ckeditor/lang/it.js +5 -0
- package/ckeditor/lang/ja.js +5 -0
- package/ckeditor/lang/ka.js +5 -0
- package/ckeditor/lang/km.js +5 -0
- package/ckeditor/lang/ko.js +5 -0
- package/ckeditor/lang/ku.js +5 -0
- package/ckeditor/lang/lt.js +5 -0
- package/ckeditor/lang/lv.js +5 -0
- package/ckeditor/lang/mk.js +5 -0
- package/ckeditor/lang/mn.js +5 -0
- package/ckeditor/lang/ms.js +5 -0
- package/ckeditor/lang/nb.js +5 -0
- package/ckeditor/lang/nl.js +5 -0
- package/ckeditor/lang/no.js +5 -0
- package/ckeditor/lang/oc.js +5 -0
- package/ckeditor/lang/pl.js +5 -0
- package/ckeditor/lang/pt-br.js +5 -0
- package/ckeditor/lang/pt.js +5 -0
- package/ckeditor/lang/ro.js +5 -0
- package/ckeditor/lang/ru.js +5 -0
- package/ckeditor/lang/si.js +5 -0
- package/ckeditor/lang/sk.js +5 -0
- package/ckeditor/lang/sl.js +5 -0
- package/ckeditor/lang/sq.js +5 -0
- package/ckeditor/lang/sr-latn.js +5 -0
- package/ckeditor/lang/sr.js +5 -0
- package/ckeditor/lang/sv.js +5 -0
- package/ckeditor/lang/th.js +5 -0
- package/ckeditor/lang/tr.js +5 -0
- package/ckeditor/lang/tt.js +5 -0
- package/ckeditor/lang/ug.js +5 -0
- package/ckeditor/lang/uk.js +5 -0
- package/ckeditor/lang/vi.js +5 -0
- package/ckeditor/lang/zh-cn.js +5 -0
- package/ckeditor/lang/zh.js +5 -0
- package/ckeditor/monbaiti.ttf +0 -0
- package/ckeditor/plugins/a11yhelp/dialogs/a11yhelp.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/_translationstatus.txt +25 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/af.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ar.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/az.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/bg.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ca.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/cs.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/cy.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/da.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/de-ch.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/de.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/el.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en-au.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en-gb.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/en.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/eo.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/es-mx.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/es.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/et.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/eu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fa.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fi.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fo.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fr-ca.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/fr.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/gl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/gu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/he.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hi.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hr.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/hu.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/id.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/it.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ja.js +9 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/km.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ko.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ku.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/lt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/lv.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/mk.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/mn.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/nb.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/nl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/no.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/oc.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pl.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pt-br.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/pt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ro.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ru.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/si.js +10 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sk.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sl.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sq.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sr-latn.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sr.js +13 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/sv.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/th.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/tr.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/tt.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/ug.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/uk.js +12 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/vi.js +11 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/zh-cn.js +9 -0
- package/ckeditor/plugins/a11yhelp/dialogs/lang/zh.js +9 -0
- package/ckeditor/plugins/about/dialogs/about.js +8 -0
- package/ckeditor/plugins/about/dialogs/hidpi/logo_ckeditor.png +0 -0
- package/ckeditor/plugins/about/dialogs/logo_ckeditor.png +0 -0
- package/ckeditor/plugins/clipboard/dialogs/paste.js +11 -0
- package/ckeditor/plugins/colordialog/dialogs/colordialog.css +20 -0
- package/ckeditor/plugins/colordialog/dialogs/colordialog.js +14 -0
- package/ckeditor/plugins/copyformatting/cursors/cursor-disabled.svg +25 -0
- package/ckeditor/plugins/copyformatting/cursors/cursor.svg +14 -0
- package/ckeditor/plugins/copyformatting/styles/copyformatting.css +45 -0
- package/ckeditor/plugins/dialog/dialogDefinition.js +4 -0
- package/ckeditor/plugins/dialog/styles/dialog.css +18 -0
- package/ckeditor/plugins/div/dialogs/div.js +10 -0
- package/ckeditor/plugins/find/dialogs/find.js +26 -0
- package/ckeditor/plugins/forms/dialogs/button.js +8 -0
- package/ckeditor/plugins/forms/dialogs/checkbox.js +9 -0
- package/ckeditor/plugins/forms/dialogs/form.js +8 -0
- package/ckeditor/plugins/forms/dialogs/hiddenfield.js +7 -0
- package/ckeditor/plugins/forms/dialogs/radio.js +9 -0
- package/ckeditor/plugins/forms/dialogs/select.js +21 -0
- package/ckeditor/plugins/forms/dialogs/textarea.js +9 -0
- package/ckeditor/plugins/forms/dialogs/textfield.js +11 -0
- package/ckeditor/plugins/forms/images/hiddenfield.gif +0 -0
- package/ckeditor/plugins/icons.png +0 -0
- package/ckeditor/plugins/icons_hidpi.png +0 -0
- package/ckeditor/plugins/iframe/dialogs/iframe.js +11 -0
- package/ckeditor/plugins/iframe/images/placeholder.png +0 -0
- package/ckeditor/plugins/image/dialogs/image.js +44 -0
- package/ckeditor/plugins/image/images/noimage.png +0 -0
- package/ckeditor/plugins/indent/dev/indent.html +285 -0
- package/ckeditor/plugins/indent/icons/hidpi/indent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/indent.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/outdent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/hidpi/outdent.png +0 -0
- package/ckeditor/plugins/indent/icons/indent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/indent.png +0 -0
- package/ckeditor/plugins/indent/icons/outdent-rtl.png +0 -0
- package/ckeditor/plugins/indent/icons/outdent.png +0 -0
- package/ckeditor/plugins/indent/lang/af.js +8 -0
- package/ckeditor/plugins/indent/lang/ar.js +8 -0
- package/ckeditor/plugins/indent/lang/az.js +8 -0
- package/ckeditor/plugins/indent/lang/bg.js +8 -0
- package/ckeditor/plugins/indent/lang/bn.js +8 -0
- package/ckeditor/plugins/indent/lang/bs.js +8 -0
- package/ckeditor/plugins/indent/lang/ca.js +8 -0
- package/ckeditor/plugins/indent/lang/cs.js +8 -0
- package/ckeditor/plugins/indent/lang/cy.js +8 -0
- package/ckeditor/plugins/indent/lang/da.js +8 -0
- package/ckeditor/plugins/indent/lang/de-ch.js +8 -0
- package/ckeditor/plugins/indent/lang/de.js +8 -0
- package/ckeditor/plugins/indent/lang/el.js +8 -0
- package/ckeditor/plugins/indent/lang/en-au.js +8 -0
- package/ckeditor/plugins/indent/lang/en-ca.js +8 -0
- package/ckeditor/plugins/indent/lang/en-gb.js +8 -0
- package/ckeditor/plugins/indent/lang/en.js +8 -0
- package/ckeditor/plugins/indent/lang/eo.js +8 -0
- package/ckeditor/plugins/indent/lang/es-mx.js +8 -0
- package/ckeditor/plugins/indent/lang/es.js +8 -0
- package/ckeditor/plugins/indent/lang/et.js +8 -0
- package/ckeditor/plugins/indent/lang/eu.js +8 -0
- package/ckeditor/plugins/indent/lang/fa.js +8 -0
- package/ckeditor/plugins/indent/lang/fi.js +8 -0
- package/ckeditor/plugins/indent/lang/fo.js +8 -0
- package/ckeditor/plugins/indent/lang/fr-ca.js +8 -0
- package/ckeditor/plugins/indent/lang/fr.js +8 -0
- package/ckeditor/plugins/indent/lang/gl.js +8 -0
- package/ckeditor/plugins/indent/lang/gu.js +8 -0
- package/ckeditor/plugins/indent/lang/he.js +8 -0
- package/ckeditor/plugins/indent/lang/hi.js +8 -0
- package/ckeditor/plugins/indent/lang/hr.js +8 -0
- package/ckeditor/plugins/indent/lang/hu.js +8 -0
- package/ckeditor/plugins/indent/lang/id.js +8 -0
- package/ckeditor/plugins/indent/lang/is.js +8 -0
- package/ckeditor/plugins/indent/lang/it.js +8 -0
- package/ckeditor/plugins/indent/lang/ja.js +8 -0
- package/ckeditor/plugins/indent/lang/ka.js +8 -0
- package/ckeditor/plugins/indent/lang/km.js +8 -0
- package/ckeditor/plugins/indent/lang/ko.js +8 -0
- package/ckeditor/plugins/indent/lang/ku.js +8 -0
- package/ckeditor/plugins/indent/lang/lt.js +8 -0
- package/ckeditor/plugins/indent/lang/lv.js +8 -0
- package/ckeditor/plugins/indent/lang/mk.js +8 -0
- package/ckeditor/plugins/indent/lang/mn.js +8 -0
- package/ckeditor/plugins/indent/lang/ms.js +8 -0
- package/ckeditor/plugins/indent/lang/nb.js +8 -0
- package/ckeditor/plugins/indent/lang/nl.js +8 -0
- package/ckeditor/plugins/indent/lang/no.js +8 -0
- package/ckeditor/plugins/indent/lang/oc.js +8 -0
- package/ckeditor/plugins/indent/lang/pl.js +8 -0
- package/ckeditor/plugins/indent/lang/pt-br.js +8 -0
- package/ckeditor/plugins/indent/lang/pt.js +8 -0
- package/ckeditor/plugins/indent/lang/ro.js +8 -0
- package/ckeditor/plugins/indent/lang/ru.js +8 -0
- package/ckeditor/plugins/indent/lang/si.js +8 -0
- package/ckeditor/plugins/indent/lang/sk.js +8 -0
- package/ckeditor/plugins/indent/lang/sl.js +8 -0
- package/ckeditor/plugins/indent/lang/sq.js +8 -0
- package/ckeditor/plugins/indent/lang/sr-latn.js +8 -0
- package/ckeditor/plugins/indent/lang/sr.js +8 -0
- package/ckeditor/plugins/indent/lang/sv.js +8 -0
- package/ckeditor/plugins/indent/lang/th.js +8 -0
- package/ckeditor/plugins/indent/lang/tr.js +8 -0
- package/ckeditor/plugins/indent/lang/tt.js +8 -0
- package/ckeditor/plugins/indent/lang/ug.js +8 -0
- package/ckeditor/plugins/indent/lang/uk.js +8 -0
- package/ckeditor/plugins/indent/lang/vi.js +8 -0
- package/ckeditor/plugins/indent/lang/zh-cn.js +8 -0
- package/ckeditor/plugins/indent/lang/zh.js +8 -0
- package/ckeditor/plugins/indent/plugin.js +461 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyblock.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifycenter.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyleft.png +0 -0
- package/ckeditor/plugins/justify/icons/hidpi/justifyright.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyblock.png +0 -0
- package/ckeditor/plugins/justify/icons/justifycenter.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyleft.png +0 -0
- package/ckeditor/plugins/justify/icons/justifyright.png +0 -0
- package/ckeditor/plugins/justify/plugin.js +269 -0
- package/ckeditor/plugins/lineheight/LICENSE +22 -0
- package/ckeditor/plugins/lineheight/README.md +2 -0
- package/ckeditor/plugins/lineheight/lang/LANG.js +3 -0
- package/ckeditor/plugins/lineheight/lang/ar.js +3 -0
- package/ckeditor/plugins/lineheight/lang/de.js +3 -0
- package/ckeditor/plugins/lineheight/lang/en.js +3 -0
- package/ckeditor/plugins/lineheight/lang/es.js +3 -0
- package/ckeditor/plugins/lineheight/lang/fr.js +3 -0
- package/ckeditor/plugins/lineheight/lang/ko.js +3 -0
- package/ckeditor/plugins/lineheight/lang/pt.js +3 -0
- package/ckeditor/plugins/lineheight/plugin.js +81 -0
- package/ckeditor/plugins/lineheight/readme.txt +30 -0
- package/ckeditor/plugins/link/dialogs/anchor.js +9 -0
- package/ckeditor/plugins/link/dialogs/link.js +30 -0
- package/ckeditor/plugins/link/images/anchor.png +0 -0
- package/ckeditor/plugins/link/images/hidpi/anchor.png +0 -0
- package/ckeditor/plugins/liststyle/dialogs/liststyle.js +10 -0
- package/ckeditor/plugins/magicline/images/hidpi/icon-rtl.png +0 -0
- package/ckeditor/plugins/magicline/images/hidpi/icon.png +0 -0
- package/ckeditor/plugins/magicline/images/icon-rtl.png +0 -0
- package/ckeditor/plugins/magicline/images/icon.png +0 -0
- package/ckeditor/plugins/pagebreak/images/pagebreak.gif +0 -0
- package/ckeditor/plugins/pastefromgdocs/filter/default.js +8 -0
- package/ckeditor/plugins/pastefromlibreoffice/filter/default.js +11 -0
- package/ckeditor/plugins/pastefromword/filter/default.js +43 -0
- package/ckeditor/plugins/pastetools/filter/common.js +24 -0
- package/ckeditor/plugins/pastetools/filter/image.js +12 -0
- package/ckeditor/plugins/preview/images/pagebreak.gif +0 -0
- package/ckeditor/plugins/preview/preview.html +13 -0
- package/ckeditor/plugins/preview/styles/screen.css +10 -0
- package/ckeditor/plugins/scayt/CHANGELOG.md +4 -0
- package/ckeditor/plugins/scayt/LICENSE.md +28 -0
- package/ckeditor/plugins/scayt/README.md +81 -0
- package/ckeditor/plugins/scayt/dialogs/dialog.css +23 -0
- package/ckeditor/plugins/scayt/dialogs/options.js +32 -0
- package/ckeditor/plugins/scayt/dialogs/toolbar.css +71 -0
- package/ckeditor/plugins/scayt/skins/moono-lisa/scayt.css +25 -0
- package/ckeditor/plugins/showblocks/images/block_address.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_blockquote.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_div.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h1.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h2.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h3.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h4.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h5.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_h6.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_p.png +0 -0
- package/ckeditor/plugins/showblocks/images/block_pre.png +0 -0
- package/ckeditor/plugins/simage/LICENSE +674 -0
- package/ckeditor/plugins/simage/README.md +73 -0
- package/ckeditor/plugins/simage/icons/simage.png +0 -0
- package/ckeditor/plugins/simage/plugin.js +154 -0
- package/ckeditor/plugins/smiley/dialogs/smiley.js +11 -0
- package/ckeditor/plugins/smiley/images/angel_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/angel_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/angry_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/angry_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/broken_heart.gif +0 -0
- package/ckeditor/plugins/smiley/images/broken_heart.png +0 -0
- package/ckeditor/plugins/smiley/images/confused_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/confused_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/cry_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/cry_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/devil_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/devil_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/embaressed_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/embarrassed_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/embarrassed_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/envelope.gif +0 -0
- package/ckeditor/plugins/smiley/images/envelope.png +0 -0
- package/ckeditor/plugins/smiley/images/heart.gif +0 -0
- package/ckeditor/plugins/smiley/images/heart.png +0 -0
- package/ckeditor/plugins/smiley/images/kiss.gif +0 -0
- package/ckeditor/plugins/smiley/images/kiss.png +0 -0
- package/ckeditor/plugins/smiley/images/lightbulb.gif +0 -0
- package/ckeditor/plugins/smiley/images/lightbulb.png +0 -0
- package/ckeditor/plugins/smiley/images/omg_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/omg_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/regular_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/regular_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/sad_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/sad_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/shades_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/shades_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/teeth_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/teeth_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_down.gif +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_down.png +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_up.gif +0 -0
- package/ckeditor/plugins/smiley/images/thumbs_up.png +0 -0
- package/ckeditor/plugins/smiley/images/tongue_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/tongue_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/tounge_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/whatchutalkingabout_smile.png +0 -0
- package/ckeditor/plugins/smiley/images/wink_smile.gif +0 -0
- package/ckeditor/plugins/smiley/images/wink_smile.png +0 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/_translationstatus.txt +20 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/af.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ar.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/az.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/bg.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ca.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/cs.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/cy.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/da.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/de-ch.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/de.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/el.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-au.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-ca.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en-gb.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/en.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/eo.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/es-mx.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/es.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/et.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/eu.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fa.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fi.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fr-ca.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/fr.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/gl.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/he.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/hr.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/hu.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/id.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/it.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ja.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/km.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ko.js +10 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ku.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/lt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/lv.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/nb.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/nl.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/no.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/oc.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pl.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pt-br.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/pt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ro.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ru.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/si.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sk.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sl.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sq.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sr-latn.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sr.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/sv.js +11 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/th.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/tr.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/tt.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/ug.js +13 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/uk.js +12 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/vi.js +14 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/zh-cn.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/lang/zh.js +9 -0
- package/ckeditor/plugins/specialchar/dialogs/specialchar.js +14 -0
- package/ckeditor/plugins/table/dialogs/table.js +22 -0
- package/ckeditor/plugins/tableselection/styles/tableselection.css +36 -0
- package/ckeditor/plugins/tabletools/dialogs/tableCell.js +18 -0
- package/ckeditor/plugins/templates/dialogs/templates.css +84 -0
- package/ckeditor/plugins/templates/dialogs/templates.js +11 -0
- package/ckeditor/plugins/templates/templatedefinition.js +4 -0
- package/ckeditor/plugins/templates/templates/default.js +7 -0
- package/ckeditor/plugins/templates/templates/images/template1.gif +0 -0
- package/ckeditor/plugins/templates/templates/images/template2.gif +0 -0
- package/ckeditor/plugins/templates/templates/images/template3.gif +0 -0
- package/ckeditor/plugins/textindent/icons/hidpi/textindent.png +0 -0
- package/ckeditor/plugins/textindent/icons/textindent.png +0 -0
- package/ckeditor/plugins/textindent/lang/en.js +3 -0
- package/ckeditor/plugins/textindent/lang/pt-br.js +3 -0
- package/ckeditor/plugins/textindent/plugin.js +99 -0
- package/ckeditor/plugins/widget/images/handle.png +0 -0
- package/ckeditor/samples/css/samples.css +1637 -0
- package/ckeditor/samples/img/github-top.png +0 -0
- package/ckeditor/samples/img/header-bg.png +0 -0
- package/ckeditor/samples/img/header-separator.png +0 -0
- package/ckeditor/samples/img/logo.png +0 -0
- package/ckeditor/samples/img/logo.svg +13 -0
- package/ckeditor/samples/img/navigation-tip.png +0 -0
- package/ckeditor/samples/index.html +130 -0
- package/ckeditor/samples/js/sample.js +53 -0
- package/ckeditor/samples/js/sf.js +17 -0
- package/ckeditor/samples/old/ajax.html +85 -0
- package/ckeditor/samples/old/api.html +210 -0
- package/ckeditor/samples/old/appendto.html +59 -0
- package/ckeditor/samples/old/assets/inlineall/logo.png +0 -0
- package/ckeditor/samples/old/assets/outputxhtml/outputxhtml.css +204 -0
- package/ckeditor/samples/old/assets/posteddata.php +60 -0
- package/ckeditor/samples/old/assets/sample.jpg +0 -0
- package/ckeditor/samples/old/assets/uilanguages/languages.js +7 -0
- package/ckeditor/samples/old/datafiltering.html +508 -0
- package/ckeditor/samples/old/dialog/assets/my_dialog.js +48 -0
- package/ckeditor/samples/old/dialog/dialog.html +190 -0
- package/ckeditor/samples/old/divreplace.html +144 -0
- package/ckeditor/samples/old/enterkey/enterkey.html +106 -0
- package/ckeditor/samples/old/htmlwriter/outputhtml.html +224 -0
- package/ckeditor/samples/old/index.html +129 -0
- package/ckeditor/samples/old/inlineall.html +314 -0
- package/ckeditor/samples/old/inlinebycode.html +124 -0
- package/ckeditor/samples/old/inlinetextarea.html +113 -0
- package/ckeditor/samples/old/jquery.html +103 -0
- package/ckeditor/samples/old/magicline/magicline.html +209 -0
- package/ckeditor/samples/old/readonly.html +76 -0
- package/ckeditor/samples/old/replacebyclass.html +60 -0
- package/ckeditor/samples/old/replacebycode.html +59 -0
- package/ckeditor/samples/old/sample.css +357 -0
- package/ckeditor/samples/old/sample.js +50 -0
- package/ckeditor/samples/old/sample_posteddata.php +16 -0
- package/ckeditor/samples/old/tabindex.html +78 -0
- package/ckeditor/samples/old/toolbar/toolbar.html +235 -0
- package/ckeditor/samples/old/uicolor.html +72 -0
- package/ckeditor/samples/old/uilanguages.html +122 -0
- package/ckeditor/samples/old/wysiwygarea/fullpage.html +80 -0
- package/ckeditor/samples/old/xhtmlstyle.html +234 -0
- package/ckeditor/samples/toolbarconfigurator/css/fontello.css +55 -0
- package/ckeditor/samples/toolbarconfigurator/font/LICENSE.txt +10 -0
- package/ckeditor/samples/toolbarconfigurator/font/config.json +28 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.eot +0 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.svg +14 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.ttf +0 -0
- package/ckeditor/samples/toolbarconfigurator/font/fontello.woff +0 -0
- package/ckeditor/samples/toolbarconfigurator/index.html +447 -0
- package/ckeditor/samples/toolbarconfigurator/js/abstracttoolbarmodifier.js +13 -0
- package/ckeditor/samples/toolbarconfigurator/js/fulltoolbareditor.js +9 -0
- package/ckeditor/samples/toolbarconfigurator/js/toolbarmodifier.js +33 -0
- package/ckeditor/samples/toolbarconfigurator/js/toolbartextmodifier.js +14 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/LICENSE +19 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.css +325 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/codemirror.js +288 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/javascript.js +25 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/neo.css +36 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.css +38 -0
- package/ckeditor/samples/toolbarconfigurator/lib/codemirror/show-hint.js +16 -0
- package/ckeditor/skins/moono-lisa/dialog.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_ie.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_ie8.css +5 -0
- package/ckeditor/skins/moono-lisa/dialog_iequirks.css +5 -0
- package/ckeditor/skins/moono-lisa/editor.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_gecko.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_ie.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_ie8.css +5 -0
- package/ckeditor/skins/moono-lisa/editor_iequirks.css +5 -0
- package/ckeditor/skins/moono-lisa/icons.png +0 -0
- package/ckeditor/skins/moono-lisa/icons_hidpi.png +0 -0
- package/ckeditor/skins/moono-lisa/images/arrow.png +0 -0
- package/ckeditor/skins/moono-lisa/images/close.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/close.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/lock-open.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/lock.png +0 -0
- package/ckeditor/skins/moono-lisa/images/hidpi/refresh.png +0 -0
- package/ckeditor/skins/moono-lisa/images/lock-open.png +0 -0
- package/ckeditor/skins/moono-lisa/images/lock.png +0 -0
- package/ckeditor/skins/moono-lisa/images/refresh.png +0 -0
- package/ckeditor/skins/moono-lisa/images/spinner.gif +0 -0
- package/ckeditor/skins/moono-lisa/readme.md +46 -0
- package/ckeditor/styles.js +137 -0
- package/ckeditor/vendor/promise.js +13 -0
- package/comps/Animation/Checkbox.vue +37 -0
- package/comps/Animation/Radio.vue +30 -0
- package/comps/BooleanLabel.vue +40 -0
- package/comps/CardButton.vue +18 -0
- package/comps/CardImage.vue +40 -0
- package/comps/CardItem.vue +63 -0
- package/comps/CardList.vue +57 -0
- package/comps/CardNumber.vue +27 -0
- package/comps/Config/SelectColumns.vue +137 -0
- package/comps/CoreAgeMonth.vue +44 -0
- package/comps/CoreAppPassword.vue +31 -0
- package/comps/CoreAutocomplete.vue +93 -0
- package/comps/CoreCascader.vue +129 -0
- package/comps/CoreCascaderChildOrg.vue +165 -0
- package/comps/CoreCascaderChildPosition.vue +186 -0
- package/comps/CoreCkeditor.vue +324 -0
- package/comps/CoreColorPicker.vue +35 -0
- package/comps/CoreContextMenu.vue +81 -0
- package/comps/CoreDate.vue +56 -0
- package/comps/CoreDateRange.vue +34 -0
- package/comps/CoreDatetime.vue +34 -0
- package/comps/CoreDeepLink.vue +53 -0
- package/comps/CoreDurationJustified.vue +23 -0
- package/comps/CoreFiles.vue +497 -0
- package/comps/CoreFooter.vue +100 -0
- package/comps/CoreForm.vue +499 -0
- package/comps/CoreFormDialog.vue +140 -0
- package/comps/CoreFormFields.vue +306 -0
- package/comps/CoreFormItem.vue +114 -0
- package/comps/CoreFormItemCopy.vue +155 -0
- package/comps/CoreFormSub.vue +118 -0
- package/comps/CoreFormTable.vue +197 -0
- package/comps/CoreFormTableInline.vue +300 -0
- package/comps/CoreFormTableList.vue +268 -0
- package/comps/CoreIcon.vue +5 -0
- package/comps/CoreImage.vue +37 -0
- package/comps/CoreInlineNumber.vue +54 -0
- package/comps/CoreInputNumber.vue +49 -0
- package/comps/CoreInputSearch.vue +44 -0
- package/comps/CoreJson.vue +10 -0
- package/comps/CoreLoader.vue +153 -0
- package/comps/CoreLocked.vue +151 -0
- package/comps/CoreMergeConfirm.vue +59 -0
- package/comps/CoreMultipleInput.vue +51 -0
- package/comps/CorePanel.vue +33 -0
- package/comps/CorePdfDialog.vue +84 -0
- package/comps/CorePdfView.vue +52 -0
- package/comps/CoreRegexp.vue +41 -0
- package/comps/CoreSelect.vue +249 -0
- package/comps/CoreSelectEnum.vue +103 -0
- package/comps/CoreSelectGroup.vue +237 -0
- package/comps/CoreSelectGroupItem.vue +168 -0
- package/comps/CoreSelectGroupList.vue +386 -0
- package/comps/CoreSelectOrgEmp.vue +319 -0
- package/comps/CoreSelectTable.vue +277 -0
- package/comps/CoreSelectTree.vue +183 -0
- package/comps/CoreSelectTreeItem.vue +129 -0
- package/comps/CoreSelectTreeList.vue +149 -0
- package/comps/CoreSelectYear.vue +42 -0
- package/comps/CoreSignCertificate.vue +129 -0
- package/comps/CoreSpan.vue +31 -0
- package/comps/CoreStatus.vue +29 -0
- package/comps/CoreSwitch.vue +28 -0
- package/comps/CoreTable.vue +852 -0
- package/comps/CoreTableColumn.vue +78 -0
- package/comps/CoreTableColumnHeader.vue +25 -0
- package/comps/CoreTableColumnRow.vue +234 -0
- package/comps/CoreTableConfig.vue +248 -0
- package/comps/CoreTableImage.vue +89 -0
- package/comps/CoreTableSearch.vue +267 -0
- package/comps/CoreTableSearchDetail.vue +89 -0
- package/comps/CoreTableStatus.vue +71 -0
- package/comps/CoreUploadImage.vue +542 -0
- package/comps/CoreVideo.vue +44 -0
- package/comps/CoreVimeo.vue +135 -0
- package/comps/CoreVimeoLabel.vue +32 -0
- package/comps/CoreVueEditor.vue +106 -0
- package/comps/CoreXypService.vue +233 -0
- package/comps/CoreZoomImage.vue +99 -0
- package/comps/Custom/CrimeDescription.vue +195 -0
- package/comps/Custom/CrimeNum.vue +41 -0
- package/comps/Custom/EmployeeSelect.vue +243 -0
- package/comps/Custom/EmployeeText.vue +7 -0
- package/comps/Custom/EmployeeWorkFamilies.vue +36 -0
- package/comps/Custom/NationalLangSkills.vue +137 -0
- package/comps/Custom/TableLogs.vue +86 -0
- package/comps/Custom/UserClotheRow.vue +105 -0
- package/comps/Custom/UserClothes.vue +470 -0
- package/comps/Custom/UserRoles.vue +169 -0
- package/comps/Custom/UserSelect.vue +423 -0
- package/comps/Custom/UserSkills.vue +98 -0
- package/comps/MomentAddCode.vue +91 -0
- package/comps/SclHandbook.vue +135 -0
- package/comps/Sign/Dialog.vue +321 -0
- package/comps/Sign/Info.vue +43 -0
- package/comps/Sign/InfoDialog.vue +78 -0
- package/directives/el-dragDialog/drag.js +34 -0
- package/index.js +7 -0
- package/middleware/auth.js +28 -0
- package/middleware/confirm-leave.js +15 -0
- package/middleware/login.js +6 -0
- package/middleware/router.js +5 -0
- package/package.json +48 -0
- package/plugins/axios.js +51 -0
- package/plugins/chart.js +134 -0
- package/plugins/ckeditor.js +3 -0
- package/plugins/idle-logout.js +33 -0
- package/store/settings.js +236 -0
- package/store/user.js +215 -0
- package/utils/component-helper.js +336 -0
- package/utils/data-helper.js +236 -0
- package/utils/default-nuxt-config.js +116 -0
- package/utils/eslint-rules.js +12 -0
- package/utils/helpers.js +67 -0
- package/utils/message-helper.js +19 -0
- package/utils/number-helper.js +166 -0
- package/utils/number-texts.js +217 -0
- package/utils/regexps.js +86 -0
- package/utils/role-helper.js +52 -0
- package/utils/social-helper.js +58 -0
- package/utils/table-helper.js +1612 -0
|
@@ -0,0 +1,461 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* @license Copyright (c) 2003-2025, CKSource Holding sp. z o.o. All rights reserved.
|
|
3
|
+
* CKEditor 4 LTS ("Long Term Support") is available under the terms of the Extended Support Model.
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* @fileOverview Increase and Decrease Indent commands.
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
( function() {
|
|
11
|
+
'use strict';
|
|
12
|
+
|
|
13
|
+
var TRISTATE_DISABLED = CKEDITOR.TRISTATE_DISABLED,
|
|
14
|
+
TRISTATE_OFF = CKEDITOR.TRISTATE_OFF;
|
|
15
|
+
|
|
16
|
+
CKEDITOR.plugins.add( 'indent', {
|
|
17
|
+
// jscs:disable maximumLineLength
|
|
18
|
+
lang: 'af,ar,az,bg,bn,bs,ca,cs,cy,da,de,de-ch,el,en,en-au,en-ca,en-gb,eo,es,es-mx,et,eu,fa,fi,fo,fr,fr-ca,gl,gu,he,hi,hr,hu,id,is,it,ja,ka,km,ko,ku,lt,lv,mk,mn,ms,nb,nl,no,oc,pl,pt,pt-br,ro,ru,si,sk,sl,sq,sr,sr-latn,sv,th,tr,tt,ug,uk,vi,zh,zh-cn', // %REMOVE_LINE_CORE%
|
|
19
|
+
// jscs:enable maximumLineLength
|
|
20
|
+
icons: 'indent,indent-rtl,outdent,outdent-rtl', // %REMOVE_LINE_CORE%
|
|
21
|
+
hidpi: true, // %REMOVE_LINE_CORE%
|
|
22
|
+
|
|
23
|
+
init: function( editor ) {
|
|
24
|
+
var genericDefinition = CKEDITOR.plugins.indent.genericDefinition;
|
|
25
|
+
|
|
26
|
+
// Register generic commands.
|
|
27
|
+
setupGenericListeners( editor, editor.addCommand( 'indent', new genericDefinition( true ) ) );
|
|
28
|
+
setupGenericListeners( editor, editor.addCommand( 'outdent', new genericDefinition() ) );
|
|
29
|
+
|
|
30
|
+
// Create and register toolbar button if possible.
|
|
31
|
+
if ( editor.ui.addButton ) {
|
|
32
|
+
editor.ui.addButton( 'Indent', {
|
|
33
|
+
label: editor.lang.indent.indent,
|
|
34
|
+
command: 'indent',
|
|
35
|
+
directional: true,
|
|
36
|
+
toolbar: 'indent,20'
|
|
37
|
+
} );
|
|
38
|
+
|
|
39
|
+
editor.ui.addButton( 'Outdent', {
|
|
40
|
+
label: editor.lang.indent.outdent,
|
|
41
|
+
command: 'outdent',
|
|
42
|
+
directional: true,
|
|
43
|
+
toolbar: 'indent,10'
|
|
44
|
+
} );
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
// Register dirChanged listener.
|
|
48
|
+
editor.on( 'dirChanged', function( evt ) {
|
|
49
|
+
var range = editor.createRange(),
|
|
50
|
+
dataNode = evt.data.node;
|
|
51
|
+
|
|
52
|
+
range.setStartBefore( dataNode );
|
|
53
|
+
range.setEndAfter( dataNode );
|
|
54
|
+
|
|
55
|
+
var walker = new CKEDITOR.dom.walker( range ),
|
|
56
|
+
node;
|
|
57
|
+
|
|
58
|
+
while ( ( node = walker.next() ) ) {
|
|
59
|
+
if ( node.type == CKEDITOR.NODE_ELEMENT ) {
|
|
60
|
+
// A child with the defined dir is to be ignored.
|
|
61
|
+
if ( !node.equals( dataNode ) && node.getDirection() ) {
|
|
62
|
+
range.setStartAfter( node );
|
|
63
|
+
walker = new CKEDITOR.dom.walker( range );
|
|
64
|
+
continue;
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
// Switch alignment classes.
|
|
68
|
+
var classes = editor.config.indentClasses;
|
|
69
|
+
if ( classes ) {
|
|
70
|
+
var suffix = ( evt.data.dir == 'ltr' ) ? [ '_rtl', '' ] : [ '', '_rtl' ];
|
|
71
|
+
for ( var i = 0; i < classes.length; i++ ) {
|
|
72
|
+
if ( node.hasClass( classes[ i ] + suffix[ 0 ] ) ) {
|
|
73
|
+
node.removeClass( classes[ i ] + suffix[ 0 ] );
|
|
74
|
+
node.addClass( classes[ i ] + suffix[ 1 ] );
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
// Switch the margins.
|
|
80
|
+
var marginLeft = node.getStyle( 'margin-right' ),
|
|
81
|
+
marginRight = node.getStyle( 'margin-left' );
|
|
82
|
+
|
|
83
|
+
marginLeft ? node.setStyle( 'margin-left', marginLeft ) : node.removeStyle( 'margin-left' );
|
|
84
|
+
marginRight ? node.setStyle( 'margin-right', marginRight ) : node.removeStyle( 'margin-right' );
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
} );
|
|
88
|
+
}
|
|
89
|
+
} );
|
|
90
|
+
|
|
91
|
+
/**
|
|
92
|
+
* Global command class definitions and global helpers.
|
|
93
|
+
*
|
|
94
|
+
* @class
|
|
95
|
+
* @singleton
|
|
96
|
+
*/
|
|
97
|
+
CKEDITOR.plugins.indent = {
|
|
98
|
+
/**
|
|
99
|
+
* A base class for a generic command definition, responsible mainly for creating
|
|
100
|
+
* Increase Indent and Decrease Indent toolbar buttons as well as for refreshing
|
|
101
|
+
* UI states.
|
|
102
|
+
*
|
|
103
|
+
* Commands of this class do not perform any indentation by themselves. They
|
|
104
|
+
* delegate this job to content-specific indentation commands (i.e. indentlist).
|
|
105
|
+
*
|
|
106
|
+
* @class CKEDITOR.plugins.indent.genericDefinition
|
|
107
|
+
* @extends CKEDITOR.commandDefinition
|
|
108
|
+
* @param {CKEDITOR.editor} editor The editor instance this command will be
|
|
109
|
+
* applied to.
|
|
110
|
+
* @param {String} name The name of the command.
|
|
111
|
+
* @param {Boolean} [isIndent] Defines the command as indenting or outdenting.
|
|
112
|
+
*/
|
|
113
|
+
genericDefinition: function( isIndent ) {
|
|
114
|
+
/**
|
|
115
|
+
* Determines whether the command belongs to the indentation family.
|
|
116
|
+
* Otherwise it is assumed to be an outdenting command.
|
|
117
|
+
*
|
|
118
|
+
* @readonly
|
|
119
|
+
* @property {Boolean} [=false]
|
|
120
|
+
*/
|
|
121
|
+
this.isIndent = !!isIndent;
|
|
122
|
+
|
|
123
|
+
// Mimic naive startDisabled behavior for outdent.
|
|
124
|
+
this.startDisabled = !this.isIndent;
|
|
125
|
+
},
|
|
126
|
+
|
|
127
|
+
/**
|
|
128
|
+
* A base class for specific indentation command definitions responsible for
|
|
129
|
+
* handling a pre-defined set of elements i.e. indentlist for lists or
|
|
130
|
+
* indentblock for text block elements.
|
|
131
|
+
*
|
|
132
|
+
* Commands of this class perform indentation operations and modify the DOM structure.
|
|
133
|
+
* They listen for events fired by {@link CKEDITOR.plugins.indent.genericDefinition}
|
|
134
|
+
* and execute defined actions.
|
|
135
|
+
*
|
|
136
|
+
* **NOTE**: This is not an {@link CKEDITOR.command editor command}.
|
|
137
|
+
* Context-specific commands are internal, for indentation system only.
|
|
138
|
+
*
|
|
139
|
+
* @class CKEDITOR.plugins.indent.specificDefinition
|
|
140
|
+
* @param {CKEDITOR.editor} editor The editor instance this command will be
|
|
141
|
+
* applied to.
|
|
142
|
+
* @param {String} name The name of the command.
|
|
143
|
+
* @param {Boolean} [isIndent] Defines the command as indenting or outdenting.
|
|
144
|
+
*/
|
|
145
|
+
specificDefinition: function( editor, name, isIndent ) {
|
|
146
|
+
this.name = name;
|
|
147
|
+
this.editor = editor;
|
|
148
|
+
|
|
149
|
+
/**
|
|
150
|
+
* An object of jobs handled by the command. Each job consists
|
|
151
|
+
* of two functions: `refresh` and `exec` as well as the execution priority.
|
|
152
|
+
*
|
|
153
|
+
* * The `refresh` function determines whether a job is doable for
|
|
154
|
+
* a particular context. These functions are executed in the
|
|
155
|
+
* order of priorities, one by one, for all plugins that registered
|
|
156
|
+
* jobs. As jobs are related to generic commands, refreshing
|
|
157
|
+
* occurs when the global command is firing the `refresh` event.
|
|
158
|
+
*
|
|
159
|
+
* **Note**: This function must return either {@link CKEDITOR#TRISTATE_DISABLED}
|
|
160
|
+
* or {@link CKEDITOR#TRISTATE_OFF}.
|
|
161
|
+
*
|
|
162
|
+
* * The `exec` function modifies the DOM if possible. Just like
|
|
163
|
+
* `refresh`, `exec` functions are executed in the order of priorities
|
|
164
|
+
* while the generic command is executed. This function is not executed
|
|
165
|
+
* if `refresh` for this job returned {@link CKEDITOR#TRISTATE_DISABLED}.
|
|
166
|
+
*
|
|
167
|
+
* **Note**: This function must return a Boolean value, indicating whether it
|
|
168
|
+
* was successful. If a job was successful, then no other jobs are being executed.
|
|
169
|
+
*
|
|
170
|
+
* Sample definition:
|
|
171
|
+
*
|
|
172
|
+
* command.jobs = {
|
|
173
|
+
* // Priority = 20.
|
|
174
|
+
* '20': {
|
|
175
|
+
* refresh( editor, path ) {
|
|
176
|
+
* if ( condition )
|
|
177
|
+
* return CKEDITOR.TRISTATE_OFF;
|
|
178
|
+
* else
|
|
179
|
+
* return CKEDITOR.TRISTATE_DISABLED;
|
|
180
|
+
* },
|
|
181
|
+
* exec( editor ) {
|
|
182
|
+
* // DOM modified! This was OK.
|
|
183
|
+
* return true;
|
|
184
|
+
* }
|
|
185
|
+
* },
|
|
186
|
+
* // Priority = 60. This job is done later.
|
|
187
|
+
* '60': {
|
|
188
|
+
* // Another job.
|
|
189
|
+
* }
|
|
190
|
+
* };
|
|
191
|
+
*
|
|
192
|
+
* For additional information, please check comments for
|
|
193
|
+
* the `setupGenericListeners` function.
|
|
194
|
+
*
|
|
195
|
+
* @readonly
|
|
196
|
+
* @property {Object} [={}]
|
|
197
|
+
*/
|
|
198
|
+
this.jobs = {};
|
|
199
|
+
|
|
200
|
+
/**
|
|
201
|
+
* Determines whether the editor that the command belongs to has
|
|
202
|
+
* {@link CKEDITOR.config#enterMode config.enterMode} set to {@link CKEDITOR#ENTER_BR}.
|
|
203
|
+
*
|
|
204
|
+
* @readonly
|
|
205
|
+
* @see CKEDITOR.config#enterMode
|
|
206
|
+
* @property {Boolean} [=false]
|
|
207
|
+
*/
|
|
208
|
+
this.enterBr = editor.config.enterMode == CKEDITOR.ENTER_BR;
|
|
209
|
+
|
|
210
|
+
/**
|
|
211
|
+
* Determines whether the command belongs to the indentation family.
|
|
212
|
+
* Otherwise it is assumed to be an outdenting command.
|
|
213
|
+
*
|
|
214
|
+
* @readonly
|
|
215
|
+
* @property {Boolean} [=false]
|
|
216
|
+
*/
|
|
217
|
+
this.isIndent = !!isIndent;
|
|
218
|
+
|
|
219
|
+
/**
|
|
220
|
+
* The name of the global command related to this one.
|
|
221
|
+
*
|
|
222
|
+
* @readonly
|
|
223
|
+
*/
|
|
224
|
+
this.relatedGlobal = isIndent ? 'indent' : 'outdent';
|
|
225
|
+
|
|
226
|
+
/**
|
|
227
|
+
* A keystroke associated with this command (*Tab* or *Shift+Tab*).
|
|
228
|
+
*
|
|
229
|
+
* @readonly
|
|
230
|
+
*/
|
|
231
|
+
this.indentKey = isIndent ? 9 : CKEDITOR.SHIFT + 9;
|
|
232
|
+
|
|
233
|
+
/**
|
|
234
|
+
* Stores created markers for the command so they can eventually be
|
|
235
|
+
* purged after the `exec` function is run.
|
|
236
|
+
*/
|
|
237
|
+
this.database = {};
|
|
238
|
+
},
|
|
239
|
+
|
|
240
|
+
/**
|
|
241
|
+
* Registers content-specific commands as a part of the indentation system
|
|
242
|
+
* directed by generic commands. Once a command is registered,
|
|
243
|
+
* it listens for events of a related generic command.
|
|
244
|
+
*
|
|
245
|
+
* CKEDITOR.plugins.indent.registerCommands( editor, {
|
|
246
|
+
* 'indentlist': new indentListCommand( editor, 'indentlist' ),
|
|
247
|
+
* 'outdentlist': new indentListCommand( editor, 'outdentlist' )
|
|
248
|
+
* } );
|
|
249
|
+
*
|
|
250
|
+
* Content-specific commands listen for the generic command's `exec` and
|
|
251
|
+
* try to execute their own jobs, one after another. If some execution is
|
|
252
|
+
* successful, `evt.data.done` is set so no more jobs (commands) are involved.
|
|
253
|
+
*
|
|
254
|
+
* Content-specific commands also listen for the generic command's `refresh`
|
|
255
|
+
* and fill the `evt.data.states` object with states of jobs. A generic command
|
|
256
|
+
* uses this data to determine its own state and to update the UI.
|
|
257
|
+
*
|
|
258
|
+
* @member CKEDITOR.plugins.indent
|
|
259
|
+
* @param {CKEDITOR.editor} editor The editor instance this command is
|
|
260
|
+
* applied to.
|
|
261
|
+
* @param {Object} commands An object of {@link CKEDITOR.command}.
|
|
262
|
+
*/
|
|
263
|
+
registerCommands: function( editor, commands ) {
|
|
264
|
+
editor.on( 'pluginsLoaded', function() {
|
|
265
|
+
for ( var name in commands ) {
|
|
266
|
+
( function( editor, command ) {
|
|
267
|
+
var relatedGlobal = editor.getCommand( command.relatedGlobal );
|
|
268
|
+
|
|
269
|
+
for ( var priority in command.jobs ) {
|
|
270
|
+
// Observe generic exec event and execute command when necessary.
|
|
271
|
+
// If the command was successfully handled by the command and
|
|
272
|
+
// DOM has been modified, stop event propagation so no other plugin
|
|
273
|
+
// will bother. Job is done.
|
|
274
|
+
relatedGlobal.on( 'exec', function( evt ) {
|
|
275
|
+
if ( evt.data.done )
|
|
276
|
+
return;
|
|
277
|
+
|
|
278
|
+
// Make sure that anything this command will do is invisible
|
|
279
|
+
// for undoManager. What undoManager only can see and
|
|
280
|
+
// remember is the execution of the global command (relatedGlobal).
|
|
281
|
+
editor.fire( 'lockSnapshot' );
|
|
282
|
+
|
|
283
|
+
if ( command.execJob( editor, priority ) )
|
|
284
|
+
evt.data.done = true;
|
|
285
|
+
|
|
286
|
+
editor.fire( 'unlockSnapshot' );
|
|
287
|
+
|
|
288
|
+
// Clean up the markers.
|
|
289
|
+
CKEDITOR.dom.element.clearAllMarkers( command.database );
|
|
290
|
+
}, this, null, priority );
|
|
291
|
+
|
|
292
|
+
// Observe generic refresh event and force command refresh.
|
|
293
|
+
// Once refreshed, save command state in event data
|
|
294
|
+
// so generic command plugin can update its own state and UI.
|
|
295
|
+
relatedGlobal.on( 'refresh', function( evt ) {
|
|
296
|
+
if ( !evt.data.states )
|
|
297
|
+
evt.data.states = {};
|
|
298
|
+
|
|
299
|
+
evt.data.states[ command.name + '@' + priority ] =
|
|
300
|
+
command.refreshJob( editor, priority, evt.data.path );
|
|
301
|
+
}, this, null, priority );
|
|
302
|
+
}
|
|
303
|
+
|
|
304
|
+
// Since specific indent commands have no UI elements,
|
|
305
|
+
// they need to be manually registered as a editor feature.
|
|
306
|
+
editor.addFeature( command );
|
|
307
|
+
} )( this, commands[ name ] );
|
|
308
|
+
}
|
|
309
|
+
} );
|
|
310
|
+
}
|
|
311
|
+
};
|
|
312
|
+
|
|
313
|
+
CKEDITOR.plugins.indent.genericDefinition.prototype = {
|
|
314
|
+
context: 'p',
|
|
315
|
+
|
|
316
|
+
exec: function() {}
|
|
317
|
+
};
|
|
318
|
+
|
|
319
|
+
CKEDITOR.plugins.indent.specificDefinition.prototype = {
|
|
320
|
+
/**
|
|
321
|
+
* Executes the content-specific procedure if the context is correct.
|
|
322
|
+
* It calls the `exec` function of a job of the given `priority`
|
|
323
|
+
* that modifies the DOM.
|
|
324
|
+
*
|
|
325
|
+
* @param {CKEDITOR.editor} editor The editor instance this command
|
|
326
|
+
* will be applied to.
|
|
327
|
+
* @param {Number} priority The priority of the job to be executed.
|
|
328
|
+
* @returns {Boolean} Indicates whether the job was successful.
|
|
329
|
+
*/
|
|
330
|
+
execJob: function( editor, priority ) {
|
|
331
|
+
var job = this.jobs[ priority ];
|
|
332
|
+
|
|
333
|
+
if ( job.state != TRISTATE_DISABLED )
|
|
334
|
+
return job.exec.call( this, editor );
|
|
335
|
+
},
|
|
336
|
+
|
|
337
|
+
/**
|
|
338
|
+
* Calls the `refresh` function of a job of the given `priority`.
|
|
339
|
+
* The function returns the state of the job which can be either
|
|
340
|
+
* {@link CKEDITOR#TRISTATE_DISABLED} or {@link CKEDITOR#TRISTATE_OFF}.
|
|
341
|
+
*
|
|
342
|
+
* @param {CKEDITOR.editor} editor The editor instance this command
|
|
343
|
+
* will be applied to.
|
|
344
|
+
* @param {Number} priority The priority of the job to be executed.
|
|
345
|
+
* @returns {Number} The state of the job.
|
|
346
|
+
*/
|
|
347
|
+
refreshJob: function( editor, priority, path ) {
|
|
348
|
+
var job = this.jobs[ priority ];
|
|
349
|
+
|
|
350
|
+
if ( !editor.activeFilter.checkFeature( this ) )
|
|
351
|
+
job.state = TRISTATE_DISABLED;
|
|
352
|
+
else
|
|
353
|
+
job.state = job.refresh.call( this, editor, path );
|
|
354
|
+
|
|
355
|
+
return job.state;
|
|
356
|
+
},
|
|
357
|
+
|
|
358
|
+
/**
|
|
359
|
+
* Checks if the element path contains the element handled
|
|
360
|
+
* by this indentation command.
|
|
361
|
+
*
|
|
362
|
+
* @param {CKEDITOR.dom.elementPath} node A path to be checked.
|
|
363
|
+
* @returns {CKEDITOR.dom.element}
|
|
364
|
+
*/
|
|
365
|
+
getContext: function( path ) {
|
|
366
|
+
return path.contains( this.context );
|
|
367
|
+
}
|
|
368
|
+
};
|
|
369
|
+
|
|
370
|
+
/**
|
|
371
|
+
* Attaches event listeners for this generic command. Since the indentation
|
|
372
|
+
* system is event-oriented, generic commands communicate with
|
|
373
|
+
* content-specific commands using the `exec` and `refresh` events.
|
|
374
|
+
*
|
|
375
|
+
* Listener priorities are crucial. Different indentation phases
|
|
376
|
+
* are executed with different priorities.
|
|
377
|
+
*
|
|
378
|
+
* For the `exec` event:
|
|
379
|
+
*
|
|
380
|
+
* * 0: Selection and bookmarks are saved by the generic command.
|
|
381
|
+
* * 1-99: Content-specific commands try to indent the code by executing
|
|
382
|
+
* their own jobs ({@link CKEDITOR.plugins.indent.specificDefinition#jobs}).
|
|
383
|
+
* * 100: Bookmarks are re-selected by the generic command.
|
|
384
|
+
*
|
|
385
|
+
* The visual interpretation looks as follows:
|
|
386
|
+
*
|
|
387
|
+
* +------------------+
|
|
388
|
+
* | Exec event fired |
|
|
389
|
+
* +------ + ---------+
|
|
390
|
+
* |
|
|
391
|
+
* 0 -<----------+ Selection and bookmarks saved.
|
|
392
|
+
* |
|
|
393
|
+
* |
|
|
394
|
+
* 25 -<---+ Exec 1st job of plugin#1 (return false, continuing...).
|
|
395
|
+
* |
|
|
396
|
+
* |
|
|
397
|
+
* 50 -<---+ Exec 1st job of plugin#2 (return false, continuing...).
|
|
398
|
+
* |
|
|
399
|
+
* |
|
|
400
|
+
* 75 -<---+ Exec 2nd job of plugin#1 (only if plugin#2 failed).
|
|
401
|
+
* |
|
|
402
|
+
* |
|
|
403
|
+
* 100 -<-----------+ Re-select bookmarks, clean-up.
|
|
404
|
+
* |
|
|
405
|
+
* +-------- v ----------+
|
|
406
|
+
* | Exec event finished |
|
|
407
|
+
* +---------------------+
|
|
408
|
+
*
|
|
409
|
+
* For the `refresh` event:
|
|
410
|
+
*
|
|
411
|
+
* * <100: Content-specific commands refresh their job states according
|
|
412
|
+
* to the given path. Jobs save their states in the `evt.data.states` object
|
|
413
|
+
* passed along with the event. This can be either {@link CKEDITOR#TRISTATE_DISABLED}
|
|
414
|
+
* or {@link CKEDITOR#TRISTATE_OFF}.
|
|
415
|
+
* * 100: Command state is determined according to what states
|
|
416
|
+
* have been returned by content-specific jobs (`evt.data.states`).
|
|
417
|
+
* UI elements are updated at this stage.
|
|
418
|
+
*
|
|
419
|
+
* **Note**: If there is at least one job with the {@link CKEDITOR#TRISTATE_OFF} state,
|
|
420
|
+
* then the generic command state is also {@link CKEDITOR#TRISTATE_OFF}. Otherwise,
|
|
421
|
+
* the command state is {@link CKEDITOR#TRISTATE_DISABLED}.
|
|
422
|
+
*
|
|
423
|
+
* @param {CKEDITOR.command} command The command to be set up.
|
|
424
|
+
* @private
|
|
425
|
+
*/
|
|
426
|
+
function setupGenericListeners( editor, command ) {
|
|
427
|
+
var selection, bookmarks;
|
|
428
|
+
|
|
429
|
+
// Set the command state according to content-specific
|
|
430
|
+
// command states.
|
|
431
|
+
command.on( 'refresh', function( evt ) {
|
|
432
|
+
// If no state comes with event data, disable command.
|
|
433
|
+
var states = [ TRISTATE_DISABLED ];
|
|
434
|
+
|
|
435
|
+
for ( var s in evt.data.states )
|
|
436
|
+
states.push( evt.data.states[ s ] );
|
|
437
|
+
|
|
438
|
+
this.setState( CKEDITOR.tools.search( states, TRISTATE_OFF ) ? TRISTATE_OFF : TRISTATE_DISABLED );
|
|
439
|
+
}, command, null, 100 );
|
|
440
|
+
|
|
441
|
+
// Initialization. Save bookmarks and mark event as not handled
|
|
442
|
+
// by any plugin (command) yet.
|
|
443
|
+
command.on( 'exec', function( evt ) {
|
|
444
|
+
selection = editor.getSelection();
|
|
445
|
+
bookmarks = selection.createBookmarks( 1 );
|
|
446
|
+
|
|
447
|
+
// Mark execution as not handled yet.
|
|
448
|
+
if ( !evt.data )
|
|
449
|
+
evt.data = {};
|
|
450
|
+
|
|
451
|
+
evt.data.done = false;
|
|
452
|
+
}, command, null, 0 );
|
|
453
|
+
|
|
454
|
+
// Housekeeping. Make sure selectionChange will be called.
|
|
455
|
+
// Also re-select previously saved bookmarks.
|
|
456
|
+
command.on( 'exec', function() {
|
|
457
|
+
editor.forceNextSelectionCheck();
|
|
458
|
+
selection.selectBookmarks( bookmarks );
|
|
459
|
+
}, command, null, 100 );
|
|
460
|
+
}
|
|
461
|
+
} )();
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|