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,34 @@
|
|
|
1
|
+
export default {
|
|
2
|
+
bind (el) {
|
|
3
|
+
const dialogHeaderEl = el.querySelector('.el-dialog__header')
|
|
4
|
+
const dragDom = el.querySelector('.el-dialog')
|
|
5
|
+
dialogHeaderEl.style = 'cursor:move;'
|
|
6
|
+
const sty = dragDom.currentStyle || window.getComputedStyle(dragDom, null)
|
|
7
|
+
|
|
8
|
+
dialogHeaderEl.onmousedown = (e) => {
|
|
9
|
+
const disX = e.clientX - dialogHeaderEl.offsetLeft
|
|
10
|
+
const disY = e.clientY - dialogHeaderEl.offsetTop
|
|
11
|
+
let styL, styT
|
|
12
|
+
/* eslint-disable */
|
|
13
|
+
if (sty.left.includes('%')) {
|
|
14
|
+
styL = +document.body.clientWidth * (+sty.left.replace(/\%/g, '') / 100)
|
|
15
|
+
styT = +document.body.clientHeight * (+sty.top.replace(/\%/g, '') / 100)
|
|
16
|
+
} else {
|
|
17
|
+
styL = +sty.left.replace(/\px/g, '')
|
|
18
|
+
styT = +sty.top.replace(/\px/g, '')
|
|
19
|
+
}
|
|
20
|
+
/* eslint-enable */
|
|
21
|
+
document.onmousemove = function (e) {
|
|
22
|
+
const l = e.clientX - disX
|
|
23
|
+
const t = e.clientY - disY
|
|
24
|
+
dragDom.style.left = `${l + styL}px`
|
|
25
|
+
dragDom.style.top = `${t + styT}px`
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
document.onmouseup = function () {
|
|
29
|
+
document.onmousemove = null
|
|
30
|
+
document.onmouseup = null
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
package/index.js
ADDED
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
export default ({ route, store, redirect, query, params }) => {
|
|
2
|
+
const user = store.getters['user/user']
|
|
3
|
+
const isLocked = store.getters['user/isLocked']
|
|
4
|
+
if (isLocked) {
|
|
5
|
+
if (route.name !== 'idle') {
|
|
6
|
+
redirect({ name: 'idle', query })
|
|
7
|
+
}
|
|
8
|
+
} else {
|
|
9
|
+
if (query.notif_id) {
|
|
10
|
+
store.dispatch('user/set_notification_read', { id: query.notif_id })
|
|
11
|
+
}
|
|
12
|
+
if (route.name === 'idle') {
|
|
13
|
+
redirect('/')
|
|
14
|
+
} else if (user && user.required_password && route.name !== 'changePassword') {
|
|
15
|
+
redirect({ name: 'changePassword', query: { ...query, password: 'visible' } })
|
|
16
|
+
} else if (!store.getters['user/user'] && query.id !== 'create') {
|
|
17
|
+
if (params.tableDetail === 'service_reg_forensics') {
|
|
18
|
+
redirect({ name: 'reg-checkObject', query: { id: params.id } })
|
|
19
|
+
} else {
|
|
20
|
+
redirect({ name: 'login', query })
|
|
21
|
+
}
|
|
22
|
+
} else if (query.token) {
|
|
23
|
+
const cloneQuery = Object.assign({}, query)
|
|
24
|
+
delete cloneQuery.token
|
|
25
|
+
redirect({ query: cloneQuery })
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { MessageBox } from 'element-ui'
|
|
2
|
+
export default async function ({ store, next }) {
|
|
3
|
+
if (!process.client) {
|
|
4
|
+
return
|
|
5
|
+
}
|
|
6
|
+
const unsavedChanges = store.getters['settings/unsavedChanges']
|
|
7
|
+
if (unsavedChanges) {
|
|
8
|
+
await MessageBox.confirm('Та өөрчлөлтийг хадгалахгүйгээр хуудсыг орхихдоо итгэлтэй байна уу?', { title: 'Асуулт', showIcon: true, type: 'warning' }).then(() => {
|
|
9
|
+
store.dispatch('settings/set_unsaved_changes', false)
|
|
10
|
+
// next()
|
|
11
|
+
}).catch(() => {
|
|
12
|
+
next(false)
|
|
13
|
+
})
|
|
14
|
+
}
|
|
15
|
+
}
|
package/package.json
ADDED
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "eztech-core-components",
|
|
3
|
+
"version": "1.0.0",
|
|
4
|
+
"publishConfig": {
|
|
5
|
+
"access": "public"
|
|
6
|
+
},
|
|
7
|
+
"description": "Reusable Nuxt 2 core components library",
|
|
8
|
+
"main": "index.js",
|
|
9
|
+
"module": "index.js",
|
|
10
|
+
"files": [
|
|
11
|
+
"assets",
|
|
12
|
+
"comps",
|
|
13
|
+
"directives",
|
|
14
|
+
"middleware",
|
|
15
|
+
"plugins",
|
|
16
|
+
"store",
|
|
17
|
+
"utils",
|
|
18
|
+
"ckeditor",
|
|
19
|
+
"index.js"
|
|
20
|
+
],
|
|
21
|
+
"scripts": {
|
|
22
|
+
"lint:js": "eslint --ext \".js,.vue\" --ignore-path .gitignore .",
|
|
23
|
+
"lint": "npm run lint:js",
|
|
24
|
+
"lintfix": "npm run lint:js -- --fix"
|
|
25
|
+
},
|
|
26
|
+
"keywords": [
|
|
27
|
+
"nuxt2",
|
|
28
|
+
"vue2",
|
|
29
|
+
"components",
|
|
30
|
+
"library"
|
|
31
|
+
],
|
|
32
|
+
"author": "",
|
|
33
|
+
"license": "MIT",
|
|
34
|
+
"dependencies": {
|
|
35
|
+
"axios": "^0.30.0",
|
|
36
|
+
"vue": "^2.7.10",
|
|
37
|
+
"vue-cropperjs": "^4.2.0"
|
|
38
|
+
},
|
|
39
|
+
"devDependencies": {
|
|
40
|
+
"@babel/eslint-parser": "^7.19.1",
|
|
41
|
+
"@nuxtjs/eslint-config": "^11.0.0",
|
|
42
|
+
"@nuxtjs/eslint-module": "^3.1.0",
|
|
43
|
+
"@nuxtjs/moment": "^1.6.1",
|
|
44
|
+
"eslint": "^8.24.0",
|
|
45
|
+
"eslint-plugin-nuxt": "^4.0.0",
|
|
46
|
+
"eslint-plugin-vue": "^9.5.1"
|
|
47
|
+
}
|
|
48
|
+
}
|
package/plugins/axios.js
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
1
|
+
import { get } from 'lodash'
|
|
2
|
+
const setRedirect = ({ redirect, app, path, isReload }) => {
|
|
3
|
+
if (process.client) {
|
|
4
|
+
app.router.push(path)
|
|
5
|
+
if (isReload) {
|
|
6
|
+
localStorage.setItem('forensic_checkLogin', Date.now())
|
|
7
|
+
location.reload()
|
|
8
|
+
}
|
|
9
|
+
} else {
|
|
10
|
+
redirect(path)
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
export default ({ $axios, query, store, $cookies, redirect, i18n, route, params, app }) => {
|
|
14
|
+
const layout = route.matched[0]?.components.default.options.layout || 'default'
|
|
15
|
+
$axios.onRequest((config) => {
|
|
16
|
+
// const token = query.token || store.getters['user/user']
|
|
17
|
+
// if (token) {
|
|
18
|
+
// $axios.defaults.headers.common.Authorization = `Bearer ${token}`
|
|
19
|
+
// } else {
|
|
20
|
+
// delete $axios.defaults.headers.common.Authorization
|
|
21
|
+
// }
|
|
22
|
+
const tokenName = store.getters['user/tokenName']
|
|
23
|
+
if (tokenName) {
|
|
24
|
+
$axios.defaults.headers.common['x-pid'] = tokenName
|
|
25
|
+
}
|
|
26
|
+
$axios.defaults.headers.common['Accept-Language'] = query.lang || i18n?.locale || 'mn'
|
|
27
|
+
return config
|
|
28
|
+
})
|
|
29
|
+
$axios.onError((error) => {
|
|
30
|
+
const noAuthPages = ['reg-checkObject', 'police-login', 'login']
|
|
31
|
+
const status = get(error, 'response.status')
|
|
32
|
+
if (status === 401 && layout?.startsWith('p')) {
|
|
33
|
+
if (noAuthPages.includes(route.name)) {
|
|
34
|
+
return
|
|
35
|
+
}
|
|
36
|
+
setRedirect({ redirect, app, path: '/police/login', isReload: true })
|
|
37
|
+
} else if (status === 401 && route.name !== 'video-id') {
|
|
38
|
+
// const tokenName = store.getters['user/tokenName']
|
|
39
|
+
// $cookies.remove(tokenName, { path: '/' })
|
|
40
|
+
store.dispatch('user/set_user', null)
|
|
41
|
+
if (noAuthPages.includes(route.name)) {
|
|
42
|
+
return
|
|
43
|
+
}
|
|
44
|
+
if (params.tableDetail === 'service_reg_forensics') {
|
|
45
|
+
setRedirect({ redirect, app, path: { name: 'reg-checkObject', query: { id: params.id } } })
|
|
46
|
+
} else {
|
|
47
|
+
setRedirect({ redirect, app, path: '/login', isReload: true })
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
})
|
|
51
|
+
}
|
package/plugins/chart.js
ADDED
|
@@ -0,0 +1,134 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
import Vue from 'vue'
|
|
3
|
+
import { Bar, Line, Pie } from 'vue-chartjs'
|
|
4
|
+
import Chart from 'chart.js'
|
|
5
|
+
|
|
6
|
+
import ChartDataLabels from 'chartjs-plugin-datalabels'
|
|
7
|
+
Chart.plugins.register(ChartDataLabels)
|
|
8
|
+
|
|
9
|
+
Vue.component('LineChart', {
|
|
10
|
+
extends: Line,
|
|
11
|
+
props: {
|
|
12
|
+
data: {
|
|
13
|
+
type: Object,
|
|
14
|
+
required: false,
|
|
15
|
+
},
|
|
16
|
+
options: {
|
|
17
|
+
type: Object,
|
|
18
|
+
required: false,
|
|
19
|
+
default: () => ({
|
|
20
|
+
responsive: true,
|
|
21
|
+
maintainAspectRatio: false,
|
|
22
|
+
legend: {
|
|
23
|
+
display: true,
|
|
24
|
+
},
|
|
25
|
+
interaction: {
|
|
26
|
+
mode: 'index',
|
|
27
|
+
intersect: false
|
|
28
|
+
},
|
|
29
|
+
scales: {
|
|
30
|
+
yAxes: [{
|
|
31
|
+
ticks: {
|
|
32
|
+
fontColor: 'rgb(75, 85, 99)',
|
|
33
|
+
suggestedMin: 30,
|
|
34
|
+
suggestedMax: 50,
|
|
35
|
+
},
|
|
36
|
+
}],
|
|
37
|
+
xAxes: [{
|
|
38
|
+
ticks: {
|
|
39
|
+
fontColor: 'rgb(75, 85, 99)'
|
|
40
|
+
},
|
|
41
|
+
}]
|
|
42
|
+
},
|
|
43
|
+
title: {
|
|
44
|
+
display: false,
|
|
45
|
+
text: ''
|
|
46
|
+
}
|
|
47
|
+
})
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
watch: {
|
|
51
|
+
data() {
|
|
52
|
+
this.renderChart(this.data, this.options)
|
|
53
|
+
},
|
|
54
|
+
},
|
|
55
|
+
mounted() {
|
|
56
|
+
this.renderChart(this.data, this.options)
|
|
57
|
+
},
|
|
58
|
+
})
|
|
59
|
+
Vue.component('BarChart', {
|
|
60
|
+
extends: Bar,
|
|
61
|
+
props: {
|
|
62
|
+
data: {
|
|
63
|
+
type: Object,
|
|
64
|
+
required: false,
|
|
65
|
+
},
|
|
66
|
+
options: {
|
|
67
|
+
type: Object,
|
|
68
|
+
required: false,
|
|
69
|
+
default: () => ({
|
|
70
|
+
responsive: true,
|
|
71
|
+
maintainAspectRatio: false,
|
|
72
|
+
legend: {
|
|
73
|
+
display: true,
|
|
74
|
+
},
|
|
75
|
+
scales: {
|
|
76
|
+
yAxes: [{
|
|
77
|
+
ticks: {
|
|
78
|
+
fontColor: 'rgb(75, 85, 99)'
|
|
79
|
+
},
|
|
80
|
+
}],
|
|
81
|
+
xAxes: [{
|
|
82
|
+
ticks: {
|
|
83
|
+
fontColor: 'rgb(75, 85, 99)'
|
|
84
|
+
},
|
|
85
|
+
}]
|
|
86
|
+
}
|
|
87
|
+
})
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
watch: {
|
|
91
|
+
data() {
|
|
92
|
+
this.renderChart(this.data, this.options)
|
|
93
|
+
},
|
|
94
|
+
},
|
|
95
|
+
mounted() {
|
|
96
|
+
this.renderChart(this.data, this.options)
|
|
97
|
+
},
|
|
98
|
+
})
|
|
99
|
+
Vue.component('PieChart', {
|
|
100
|
+
extends: Pie,
|
|
101
|
+
props: {
|
|
102
|
+
data: {
|
|
103
|
+
type: Object,
|
|
104
|
+
required: false,
|
|
105
|
+
},
|
|
106
|
+
options: {
|
|
107
|
+
type: Object,
|
|
108
|
+
required: false,
|
|
109
|
+
default: () => ({
|
|
110
|
+
responsive: true,
|
|
111
|
+
maintainAspectRatio: false,
|
|
112
|
+
legend: {
|
|
113
|
+
position: 'bottom',
|
|
114
|
+
labels: {
|
|
115
|
+
// fontColor: 'rgb(75, 85, 99)',
|
|
116
|
+
}
|
|
117
|
+
},
|
|
118
|
+
title: {
|
|
119
|
+
display: false,
|
|
120
|
+
text: ''
|
|
121
|
+
}
|
|
122
|
+
})
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
watch: {
|
|
126
|
+
data() {
|
|
127
|
+
this.renderChart(this.data, this.options)
|
|
128
|
+
},
|
|
129
|
+
},
|
|
130
|
+
mounted() {
|
|
131
|
+
this.renderChart(this.data, this.options)
|
|
132
|
+
},
|
|
133
|
+
})
|
|
134
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
export default ({ store }) => {
|
|
2
|
+
const idleTimeout = 10 * 1 * 1000 // 5 минут
|
|
3
|
+
let idleTimer
|
|
4
|
+
const lockScreen = () => {
|
|
5
|
+
localStorage.setItem('appLocked', 'true')
|
|
6
|
+
store.dispatch('user/set_locked', true)
|
|
7
|
+
}
|
|
8
|
+
const resetIdleTimer = () => {
|
|
9
|
+
clearTimeout(idleTimer)
|
|
10
|
+
idleTimer = setTimeout(lockScreen, idleTimeout)
|
|
11
|
+
localStorage.setItem('lastActivity', Date.now())
|
|
12
|
+
}
|
|
13
|
+
const events = ['mousemove', 'mousedown', 'keypress', 'scroll', 'touchstart']
|
|
14
|
+
events.forEach((event) => {
|
|
15
|
+
window.addEventListener(event, resetIdleTimer)
|
|
16
|
+
})
|
|
17
|
+
window.addEventListener('storage', (event) => {
|
|
18
|
+
if (event.key === 'appLocked' && event.newValue !== 'true') {
|
|
19
|
+
localStorage.setItem('appLocked', 'false')
|
|
20
|
+
store.dispatch('user/set_locked', false)
|
|
21
|
+
}
|
|
22
|
+
if (event.key === 'lastActivity') {
|
|
23
|
+
resetIdleTimer()
|
|
24
|
+
}
|
|
25
|
+
if (event.key === 'checkLogin') {
|
|
26
|
+
window.location.reload()
|
|
27
|
+
}
|
|
28
|
+
})
|
|
29
|
+
localStorage.setItem('appLocked', store.getters['user/isLocked'] ? 'true' : 'false')
|
|
30
|
+
if (!store.getters['user/isLocked']) {
|
|
31
|
+
resetIdleTimer()
|
|
32
|
+
}
|
|
33
|
+
}
|
|
@@ -0,0 +1,236 @@
|
|
|
1
|
+
export const state = () => ({
|
|
2
|
+
env: null,
|
|
3
|
+
references: {},
|
|
4
|
+
isCollapse: false,
|
|
5
|
+
tablePageSizes: {},
|
|
6
|
+
windowSize: { height: 0, width: 0 },
|
|
7
|
+
pageTitle: '',
|
|
8
|
+
visibleMobileMenu: false,
|
|
9
|
+
unsavedChanges: false,
|
|
10
|
+
pdfUrl: '',
|
|
11
|
+
pdfTitle: '',
|
|
12
|
+
pdfPageSize: '',
|
|
13
|
+
isPdfPrint: false,
|
|
14
|
+
ignoreTableConfig: true,
|
|
15
|
+
merge: { visible: false, project_id: '', table_name: '', ref_column: '' },
|
|
16
|
+
mergePromise: null,
|
|
17
|
+
mergeCancel: null,
|
|
18
|
+
loadingWindow: false,
|
|
19
|
+
handbookId: null
|
|
20
|
+
})
|
|
21
|
+
export const mutations = {
|
|
22
|
+
SET_ENV (state, env) {
|
|
23
|
+
state.env = env
|
|
24
|
+
},
|
|
25
|
+
SET_PROJECTS (state, val) {
|
|
26
|
+
state.projects = val
|
|
27
|
+
},
|
|
28
|
+
SET_REFERENCES (state, data) {
|
|
29
|
+
state.references[data.referenceName] = data.list
|
|
30
|
+
},
|
|
31
|
+
SET_COLLAPSE (state, data) {
|
|
32
|
+
state.isCollapse = data
|
|
33
|
+
},
|
|
34
|
+
SET_TABLE_PAGE_SIZES (state, data) {
|
|
35
|
+
state.tablePageSizes = data
|
|
36
|
+
},
|
|
37
|
+
SET_WINDOW_SIZE (state, data) {
|
|
38
|
+
state.windowSize = data
|
|
39
|
+
if (state.visibleMobileMenu) {
|
|
40
|
+
state.visibleMobileMenu = data && data.width <= 640
|
|
41
|
+
}
|
|
42
|
+
},
|
|
43
|
+
SET_PAGE_TITLE (state, data) {
|
|
44
|
+
state.pageTitle = data
|
|
45
|
+
},
|
|
46
|
+
SET_VISIBLE_MOBILE_MENU (state, data) {
|
|
47
|
+
state.visibleMobileMenu = data
|
|
48
|
+
},
|
|
49
|
+
SET_UNSAVED_CHANGES (state, data) {
|
|
50
|
+
state.unsavedChanges = data
|
|
51
|
+
},
|
|
52
|
+
SET_PDF_URL (state, data) {
|
|
53
|
+
state.pdfUrl = data
|
|
54
|
+
},
|
|
55
|
+
SET_PDF_TITLE (state, data) {
|
|
56
|
+
state.pdfTitle = data
|
|
57
|
+
},
|
|
58
|
+
SET_PDF_PRINT (state, data) {
|
|
59
|
+
state.isPdfPrint = data
|
|
60
|
+
},
|
|
61
|
+
SET_PDF_PAGE_SIZE (state, data) {
|
|
62
|
+
state.pdfPageSize = data
|
|
63
|
+
},
|
|
64
|
+
SET_IGNORE_TABLE_CONFIG (state, data) {
|
|
65
|
+
state.ignoreTableConfig = data
|
|
66
|
+
},
|
|
67
|
+
SET_MERGE (state, data) {
|
|
68
|
+
state.merge = data
|
|
69
|
+
state.mergePromise = data.resolve
|
|
70
|
+
state.mergeCancel = data.reject
|
|
71
|
+
},
|
|
72
|
+
SET_MERGE_CONFIRM (state, data) {
|
|
73
|
+
state.merge = { visible: false, project_id: '', table_name: '', ref_column: '' }
|
|
74
|
+
state.mergePromise(data)
|
|
75
|
+
},
|
|
76
|
+
SET_MERGE_CANCEL (state) {
|
|
77
|
+
state.merge = { visible: false, project_id: '', table_name: '', ref_column: '' }
|
|
78
|
+
state.mergeCancel('cancel')
|
|
79
|
+
},
|
|
80
|
+
SET_LOADING_WINDOW (state, data) {
|
|
81
|
+
state.loadingWindow = data
|
|
82
|
+
},
|
|
83
|
+
SET_HANDBOOK_ID (state, data) {
|
|
84
|
+
state.handbookId = data
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
export const actions = {
|
|
88
|
+
init ({ commit }) {
|
|
89
|
+
const env = {
|
|
90
|
+
fileRoutePath: process.env.FILE_ROUTE_PATH || '/file',
|
|
91
|
+
baseUrl: process.env.BASE_URL,
|
|
92
|
+
fullBaseUrl: process.env.FULL_BASE_URL,
|
|
93
|
+
baseDeepLink: process.env.BASE_DEEP_LINK,
|
|
94
|
+
authUrl: process.env.AUTH_URL,
|
|
95
|
+
authTable: process.env.AUTH_TABLE,
|
|
96
|
+
projectId: process.env.PROJECT_ID,
|
|
97
|
+
routerBase: process.env.ROUTER_BASE || '',
|
|
98
|
+
nodeEnv: process.env.NODE_ENV,
|
|
99
|
+
oldUrl: process.env.OLD_URL
|
|
100
|
+
}
|
|
101
|
+
commit('SET_ENV', env)
|
|
102
|
+
const collapse = this.$cookies.get('SET_COLLAPSE', { path: '/' })
|
|
103
|
+
const tablePageSizes = this.$cookies.get('SET_TABLE_PAGE_SIZES', { path: '/' })
|
|
104
|
+
const windowSize = this.$cookies.get('WINDOW_SIZE', { path: '/' })
|
|
105
|
+
commit('SET_COLLAPSE', collapse === 'COLLAPSED')
|
|
106
|
+
if (tablePageSizes) {
|
|
107
|
+
const aa = tablePageSizes.split('z')
|
|
108
|
+
const dd = {}
|
|
109
|
+
for (const a of aa) {
|
|
110
|
+
const b = a.split('x')
|
|
111
|
+
dd[b[0]] = b[1]
|
|
112
|
+
}
|
|
113
|
+
commit('SET_TABLE_PAGE_SIZES', dd)
|
|
114
|
+
}
|
|
115
|
+
if (windowSize) {
|
|
116
|
+
commit('SET_WINDOW_SIZE', JSON.parse(windowSize))
|
|
117
|
+
}
|
|
118
|
+
},
|
|
119
|
+
set_collapse ({ commit }, data) {
|
|
120
|
+
commit('SET_COLLAPSE', data)
|
|
121
|
+
// this.$cookies.set('SET_COLLAPSE', data ? 'COLLAPSED' : 'NO', { path: '/' })
|
|
122
|
+
this.$axios.post('config/set/settings', {
|
|
123
|
+
name: 'SET_COLLAPSE',
|
|
124
|
+
value: data ? 'COLLAPSED' : 'NO'
|
|
125
|
+
}).catch((_) => {})
|
|
126
|
+
},
|
|
127
|
+
set_references ({ commit }, data) {
|
|
128
|
+
commit('SET_REFERENCES', data)
|
|
129
|
+
},
|
|
130
|
+
set_table_page_sizes ({ commit, getters }, data) {
|
|
131
|
+
const dd = { ...getters.tablePageSizes, ...data }
|
|
132
|
+
const strs = []
|
|
133
|
+
for (const key in dd) {
|
|
134
|
+
strs.push(`${key}x${dd[key]}`)
|
|
135
|
+
}
|
|
136
|
+
commit('SET_TABLE_PAGE_SIZES', dd)
|
|
137
|
+
// this.$cookies.set('SET_TABLE_PAGE_SIZES', strs.join('z'), { path: '/' })
|
|
138
|
+
this.$axios.post('config/set/settings', {
|
|
139
|
+
name: 'SET_TABLE_PAGE_SIZES',
|
|
140
|
+
value: strs.join('z')
|
|
141
|
+
}).catch((_) => {})
|
|
142
|
+
},
|
|
143
|
+
set_window_size ({ commit }, data) {
|
|
144
|
+
commit('SET_WINDOW_SIZE', data)
|
|
145
|
+
this.$axios.post('config/set/settings', {
|
|
146
|
+
name: 'WINDOW_SIZE',
|
|
147
|
+
value: JSON.stringify(data)
|
|
148
|
+
}).catch((_) => {})
|
|
149
|
+
// this.$cookies.set('WINDOW_SIZE', JSON.stringify(data), { path: '/' })
|
|
150
|
+
},
|
|
151
|
+
set_page_title ({ commit }, data) {
|
|
152
|
+
commit('SET_PAGE_TITLE', data)
|
|
153
|
+
},
|
|
154
|
+
set_visible_mobile_menu ({ commit }, data) {
|
|
155
|
+
commit('SET_VISIBLE_MOBILE_MENU', data)
|
|
156
|
+
},
|
|
157
|
+
set_unsaved_changes ({ commit }, data) {
|
|
158
|
+
commit('SET_UNSAVED_CHANGES', data)
|
|
159
|
+
},
|
|
160
|
+
set_pdf_url ({ commit }, data) {
|
|
161
|
+
commit('SET_PDF_URL', data.url)
|
|
162
|
+
commit('SET_PDF_TITLE', data.title)
|
|
163
|
+
commit('SET_PDF_PAGE_SIZE', data.pageSize)
|
|
164
|
+
commit('SET_PDF_PRINT', data.print)
|
|
165
|
+
},
|
|
166
|
+
set_handbook_id ({ commit }, data) {
|
|
167
|
+
commit('SET_HANDBOOK_ID', data)
|
|
168
|
+
},
|
|
169
|
+
set_merge ({ commit }, data) {
|
|
170
|
+
return new Promise((resolve, reject) => {
|
|
171
|
+
commit('SET_MERGE', { visible: true, ...data, resolve, reject })
|
|
172
|
+
})
|
|
173
|
+
},
|
|
174
|
+
set_merge_confirm ({ commit }, data) {
|
|
175
|
+
commit('SET_MERGE_CONFIRM', data)
|
|
176
|
+
},
|
|
177
|
+
set_merge_cancel ({ commit }) {
|
|
178
|
+
commit('SET_MERGE_CANCEL')
|
|
179
|
+
},
|
|
180
|
+
set_loading_window ({ commit }, data) {
|
|
181
|
+
commit('SET_LOADING_WINDOW', data)
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
export const getters = {
|
|
185
|
+
env (state) {
|
|
186
|
+
return state.env
|
|
187
|
+
},
|
|
188
|
+
references (state) {
|
|
189
|
+
return state.references
|
|
190
|
+
},
|
|
191
|
+
isCollapse (state) {
|
|
192
|
+
return state.isCollapse
|
|
193
|
+
},
|
|
194
|
+
tablePageSizes (state) {
|
|
195
|
+
return state.tablePageSizes
|
|
196
|
+
},
|
|
197
|
+
windowWidth (state) {
|
|
198
|
+
return state.windowSize.width
|
|
199
|
+
},
|
|
200
|
+
windowHeight (state) {
|
|
201
|
+
return state.windowSize.height
|
|
202
|
+
},
|
|
203
|
+
pageTitle (state) {
|
|
204
|
+
return state.pageTitle
|
|
205
|
+
},
|
|
206
|
+
visibleMobileMenu (state) {
|
|
207
|
+
return state.visibleMobileMenu
|
|
208
|
+
},
|
|
209
|
+
unsavedChanges (state) {
|
|
210
|
+
return state.unsavedChanges
|
|
211
|
+
},
|
|
212
|
+
pdfUrl (state) {
|
|
213
|
+
return state.pdfUrl
|
|
214
|
+
},
|
|
215
|
+
pdfTitle (state) {
|
|
216
|
+
return state.pdfTitle
|
|
217
|
+
},
|
|
218
|
+
pdfPageSize (state) {
|
|
219
|
+
return state.pdfPageSize
|
|
220
|
+
},
|
|
221
|
+
isPdfPrint (state) {
|
|
222
|
+
return state.isPdfPrint
|
|
223
|
+
},
|
|
224
|
+
ignoreTableConfig (state) {
|
|
225
|
+
return state.ignoreTableConfig
|
|
226
|
+
},
|
|
227
|
+
merge (state) {
|
|
228
|
+
return state.merge
|
|
229
|
+
},
|
|
230
|
+
loadingWindow (state) {
|
|
231
|
+
return state.loadingWindow
|
|
232
|
+
},
|
|
233
|
+
handbookId (state) {
|
|
234
|
+
return state.handbookId
|
|
235
|
+
}
|
|
236
|
+
}
|