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,217 @@
|
|
|
1
|
+
// SOURCE: https://github.com/mrbayrmagnai/mon_num/tree/master
|
|
2
|
+
|
|
3
|
+
export const digit = ['нэг', 'хоёр', 'гурав', 'дөрөв', 'тав', 'зургаа', 'долоо', 'найм', 'ес', 'тэг']
|
|
4
|
+
|
|
5
|
+
export const digitPrefix = ['нэг', 'хоёр', 'гурван', 'дөрвөн', 'таван', 'зургаан', 'долоон', 'найман', 'есөн']
|
|
6
|
+
export const oneVariant = 'нэгэн'
|
|
7
|
+
export const tents = ['арав', 'хорь', 'гуч', 'дөч', 'тавь', 'жар', 'дал', 'ная', 'ер']
|
|
8
|
+
export const tentPrefix = ['арван', 'хорин', 'гучин', 'дөчин', 'тавин', 'жаран', 'далан', 'наян', 'ерэн']
|
|
9
|
+
export const tenPowers = ['зуу', 'мянга', 'сая', 'тэр бум', 'их наяд']
|
|
10
|
+
export const tenPowersPrefix = ['зуун', 'мянган', 'сая', 'тэр бум', 'их наяд']
|
|
11
|
+
|
|
12
|
+
export const suffixIin = [
|
|
13
|
+
{ word: 'тэг', tf: 'тэгийн' },
|
|
14
|
+
{ word: 'нэг', tf: 'нэгийн' },
|
|
15
|
+
{ word: 'хоёр', tf: 'хоёрын' },
|
|
16
|
+
{ word: 'гурав', tf: 'гурвын' },
|
|
17
|
+
{ word: 'дөрөв', tf: 'дөрвийн' },
|
|
18
|
+
{ word: 'тав', tf: 'тавын' },
|
|
19
|
+
{ word: 'зургаа', tf: 'зургаагийн' },
|
|
20
|
+
{ word: 'долоо', tf: 'долоогийн' },
|
|
21
|
+
{ word: 'найм', tf: 'наймын' },
|
|
22
|
+
{ word: 'ес', tf: 'есийн' },
|
|
23
|
+
{ word: 'арав', tf: 'арвын' },
|
|
24
|
+
{ word: 'хорь', tf: 'хорийн' },
|
|
25
|
+
{ word: 'гуч', tf: 'гучийн' },
|
|
26
|
+
{ word: 'дөч', tf: 'дөчийн' },
|
|
27
|
+
{ word: 'тавь', tf: 'тавийн' },
|
|
28
|
+
{ word: 'жар', tf: 'жарын' },
|
|
29
|
+
{ word: 'дал', tf: 'далын' },
|
|
30
|
+
{ word: 'ная', tf: 'наяын' },
|
|
31
|
+
{ word: 'ер', tf: 'ерийн' },
|
|
32
|
+
{ word: 'зуу', tf: 'зуугийн' },
|
|
33
|
+
{ word: 'мянга', tf: 'мянгын' },
|
|
34
|
+
{ word: 'сая', tf: 'саяын' },
|
|
35
|
+
{ word: 'бум', tf: 'бумын' },
|
|
36
|
+
{ word: 'наяд', tf: 'наядын' }
|
|
37
|
+
]
|
|
38
|
+
|
|
39
|
+
export const suffixN = [
|
|
40
|
+
{ word: 'тэг', tf: 'тэг' },
|
|
41
|
+
{ word: 'нэг', tf: 'нэгэн' },
|
|
42
|
+
{ word: 'хоёр', tf: 'хоёр' },
|
|
43
|
+
{ word: 'гурав', tf: 'гурван' },
|
|
44
|
+
{ word: 'дөрөв', tf: 'дөрвөн' },
|
|
45
|
+
{ word: 'тав', tf: 'таван' },
|
|
46
|
+
{ word: 'зургаа', tf: 'зургаан' },
|
|
47
|
+
{ word: 'долоо', tf: 'долоон' },
|
|
48
|
+
{ word: 'найм', tf: 'найман' },
|
|
49
|
+
{ word: 'ес', tf: 'есөн' },
|
|
50
|
+
{ word: 'арав', tf: 'арван' },
|
|
51
|
+
{ word: 'хорь', tf: 'хорин' },
|
|
52
|
+
{ word: 'гуч', tf: 'гучин' },
|
|
53
|
+
{ word: 'дөч', tf: 'дөчин' },
|
|
54
|
+
{ word: 'тавь', tf: 'тавин' },
|
|
55
|
+
{ word: 'жар', tf: 'жаран' },
|
|
56
|
+
{ word: 'дал', tf: 'далан' },
|
|
57
|
+
{ word: 'ная', tf: 'наян' },
|
|
58
|
+
{ word: 'ер', tf: 'ерэн' },
|
|
59
|
+
{ word: 'зуу', tf: 'зуун' },
|
|
60
|
+
{ word: 'мянга', tf: 'мянган' },
|
|
61
|
+
{ word: 'сая', tf: 'сая' },
|
|
62
|
+
{ word: 'бум', tf: 'бум' },
|
|
63
|
+
{ word: 'наяд', tf: 'наяд' }
|
|
64
|
+
]
|
|
65
|
+
|
|
66
|
+
export const suffixDugaar = [
|
|
67
|
+
{ word: 'тэг', tf: 'тэгдүгээр' },
|
|
68
|
+
{ word: 'нэг', tf: 'нэгдүгээр' },
|
|
69
|
+
{ word: 'хоёр', tf: 'хоёрдугаар' },
|
|
70
|
+
{ word: 'гурав', tf: 'гуравдугаар' },
|
|
71
|
+
{ word: 'дөрөв', tf: 'дөрөвдүгээр' },
|
|
72
|
+
{ word: 'тав', tf: 'тавдугаар' },
|
|
73
|
+
{ word: 'зургаа', tf: 'зургадугаар' },
|
|
74
|
+
{ word: 'долоо', tf: 'долдугаар' },
|
|
75
|
+
{ word: 'найм', tf: 'наймдугаар' },
|
|
76
|
+
{ word: 'ес', tf: 'есдүгээр' },
|
|
77
|
+
{ word: 'арав', tf: 'аравдугаар' },
|
|
78
|
+
{ word: 'хорь', tf: 'хорьдугаар' },
|
|
79
|
+
{ word: 'гуч', tf: 'гучдугаар' },
|
|
80
|
+
{ word: 'дөч', tf: 'дөчдүгээр' },
|
|
81
|
+
{ word: 'тавь', tf: 'тавьдугаар' },
|
|
82
|
+
{ word: 'жар', tf: 'жардугаар' },
|
|
83
|
+
{ word: 'дал', tf: 'далдугаар' },
|
|
84
|
+
{ word: 'ная', tf: 'наядугаар' },
|
|
85
|
+
{ word: 'ер', tf: 'ердүгээр' },
|
|
86
|
+
{ word: 'зуу', tf: 'зуудугаар' },
|
|
87
|
+
{ word: 'мянга', tf: 'мянгадугаар' },
|
|
88
|
+
{ word: 'сая', tf: 'саядугаар' },
|
|
89
|
+
{ word: 'бум', tf: 'бум дугаар' },
|
|
90
|
+
{ word: 'наяд', tf: 'наяд дугаар' }
|
|
91
|
+
]
|
|
92
|
+
|
|
93
|
+
export const suffixDahi = [
|
|
94
|
+
{ word: 'тэг', tf: 'тэг дэх' },
|
|
95
|
+
{ word: 'нэг', tf: 'нэг дэх' },
|
|
96
|
+
{ word: 'хоёр', tf: 'хоёр дахь' },
|
|
97
|
+
{ word: 'гурав', tf: 'гурав дахь' },
|
|
98
|
+
{ word: 'дөрөв', tf: 'дөрөв дөх' },
|
|
99
|
+
{ word: 'тав', tf: 'тав дахь' },
|
|
100
|
+
{ word: 'зургаа', tf: 'зургаа дахь' },
|
|
101
|
+
{ word: 'долоо', tf: 'долоо дохь' },
|
|
102
|
+
{ word: 'найм', tf: 'найм дахь' },
|
|
103
|
+
{ word: 'ес', tf: 'ес дөх' },
|
|
104
|
+
{ word: 'арав', tf: 'арав дахь' },
|
|
105
|
+
{ word: 'хорь', tf: 'хорь дохь' },
|
|
106
|
+
{ word: 'гуч', tf: 'гуч дахь' },
|
|
107
|
+
{ word: 'дөч', tf: 'дөч дөх' },
|
|
108
|
+
{ word: 'тавь', tf: 'тавь дахь' },
|
|
109
|
+
{ word: 'жар', tf: 'жар дахь' },
|
|
110
|
+
{ word: 'дал', tf: 'дал дахь' },
|
|
111
|
+
{ word: 'ная', tf: 'ная дахь' },
|
|
112
|
+
{ word: 'ер', tf: 'ер дэх' },
|
|
113
|
+
{ word: 'зуу', tf: 'зуу дахь' },
|
|
114
|
+
{ word: 'мянга', tf: 'мянга дахь' },
|
|
115
|
+
{ word: 'сая', tf: 'сая дахь' },
|
|
116
|
+
{ word: 'бум', tf: 'бум дахь' },
|
|
117
|
+
{ word: 'наяд', tf: 'наяд дахь' }
|
|
118
|
+
]
|
|
119
|
+
|
|
120
|
+
export const latinText = [
|
|
121
|
+
{ word: 'нэг', tf: 'neg' },
|
|
122
|
+
{ word: 'хоёр', tf: 'khoyor' },
|
|
123
|
+
{ word: 'гурав', tf: 'gurav' },
|
|
124
|
+
{ word: 'дөрөв', tf: 'duruv' },
|
|
125
|
+
{ word: 'тав', tf: 'tav' },
|
|
126
|
+
{ word: 'зургаа', tf: 'zurgaa' },
|
|
127
|
+
{ word: 'долоо', tf: 'doloo' },
|
|
128
|
+
{ word: 'найм', tf: 'naim' },
|
|
129
|
+
{ word: 'ес', tf: 'yes' },
|
|
130
|
+
{ word: 'тэг', tf: 'teg' },
|
|
131
|
+
{ word: 'гурван', tf: 'gurvan' },
|
|
132
|
+
{ word: 'дөрвөн', tf: 'durvun' },
|
|
133
|
+
{ word: 'таван', tf: 'tavan' },
|
|
134
|
+
{ word: 'зургаан', tf: 'zurgaan' },
|
|
135
|
+
{ word: 'долоон', tf: 'doloon' },
|
|
136
|
+
{ word: 'найман', tf: 'naiman' },
|
|
137
|
+
{ word: 'есөн', tf: 'yesun' },
|
|
138
|
+
{ word: 'нэгэн', tf: 'negen' },
|
|
139
|
+
{ word: 'арав', tf: 'arav' },
|
|
140
|
+
{ word: 'хорь', tf: 'khori' },
|
|
141
|
+
{ word: 'гуч', tf: 'guch' },
|
|
142
|
+
{ word: 'дөч', tf: 'duch' },
|
|
143
|
+
{ word: 'тавь', tf: 'tavi' },
|
|
144
|
+
{ word: 'жар', tf: 'jar' },
|
|
145
|
+
{ word: 'дал', tf: 'dal' },
|
|
146
|
+
{ word: 'ная', tf: 'nay' },
|
|
147
|
+
{ word: 'ер', tf: 'yer' },
|
|
148
|
+
{ word: 'арван', tf: 'arvan' },
|
|
149
|
+
{ word: 'хорин', tf: 'khorin' },
|
|
150
|
+
{ word: 'гучин', tf: 'guchin' },
|
|
151
|
+
{ word: 'дөчин', tf: 'duchin' },
|
|
152
|
+
{ word: 'тавин', tf: 'tavin' },
|
|
153
|
+
{ word: 'жаран', tf: 'jaran' },
|
|
154
|
+
{ word: 'далан', tf: 'dalan' },
|
|
155
|
+
{ word: 'наян', tf: 'nayan' },
|
|
156
|
+
{ word: 'ерэн', tf: 'yeren' },
|
|
157
|
+
{ word: 'зуу', tf: 'zuu' },
|
|
158
|
+
{ word: 'мянга', tf: 'myanga' },
|
|
159
|
+
{ word: 'сая', tf: 'say' },
|
|
160
|
+
{ word: 'тэр', tf: 'ter' },
|
|
161
|
+
{ word: 'бум', tf: 'bum' },
|
|
162
|
+
{ word: 'их', tf: 'ikh' },
|
|
163
|
+
{ word: 'наяд', tf: 'nayad' },
|
|
164
|
+
{ word: 'зуун', tf: 'zuun' },
|
|
165
|
+
{ word: 'мянган', tf: 'myangan' },
|
|
166
|
+
{ word: 'тэгийн', tf: 'tegiin' },
|
|
167
|
+
{ word: 'нэгийн', tf: 'negiin' },
|
|
168
|
+
{ word: 'хоёрын', tf: 'khoyoriin' },
|
|
169
|
+
{ word: 'гурвын', tf: 'gurviin' },
|
|
170
|
+
{ word: 'дөрвийн', tf: 'duruviin' },
|
|
171
|
+
{ word: 'тавын', tf: 'taviin' },
|
|
172
|
+
{ word: 'зургаагийн', tf: 'zurgaagiin' },
|
|
173
|
+
{ word: 'долоогийн', tf: 'doloogiin' },
|
|
174
|
+
{ word: 'наймын', tf: 'naimiin' },
|
|
175
|
+
{ word: 'есийн', tf: 'yesiin' },
|
|
176
|
+
{ word: 'арвын', tf: 'arviin' },
|
|
177
|
+
{ word: 'хорийн', tf: 'khoriin' },
|
|
178
|
+
{ word: 'гучийн', tf: 'guchiin' },
|
|
179
|
+
{ word: 'дөчийн', tf: 'duchiin' },
|
|
180
|
+
{ word: 'тавийн', tf: 'taviin' },
|
|
181
|
+
{ word: 'жарын', tf: 'jariin' },
|
|
182
|
+
{ word: 'далын', tf: 'daliin' },
|
|
183
|
+
{ word: 'наяын', tf: 'nayiin' },
|
|
184
|
+
{ word: 'ерийн', tf: 'yeriin' },
|
|
185
|
+
{ word: 'зуугийн', tf: 'zuugiin' },
|
|
186
|
+
{ word: 'мянгын', tf: 'myangiin' },
|
|
187
|
+
{ word: 'саяын', tf: 'sayiin' },
|
|
188
|
+
{ word: 'бумын', tf: 'bumiin' },
|
|
189
|
+
{ word: 'наядын', tf: 'naydiin' },
|
|
190
|
+
{ word: 'тэгдүгээр', tf: 'tegdugeer' },
|
|
191
|
+
{ word: 'нэгдүгээр', tf: 'negdugeer' },
|
|
192
|
+
{ word: 'хоёрдугаар', tf: 'khoyordugaar' },
|
|
193
|
+
{ word: 'гуравдугаар', tf: 'guravdugaar' },
|
|
194
|
+
{ word: 'дөрөвдүгээр', tf: 'duruvdugeer' },
|
|
195
|
+
{ word: 'тавдугаар', tf: 'tavdugaar' },
|
|
196
|
+
{ word: 'зургадугаар', tf: 'zurgadugaar' },
|
|
197
|
+
{ word: 'долдугаар', tf: 'doldugaar' },
|
|
198
|
+
{ word: 'наймдугаар', tf: 'naimdugaar' },
|
|
199
|
+
{ word: 'есдүгээр', tf: 'yesdugeer' },
|
|
200
|
+
{ word: 'аравдугаар', tf: 'aravdugaar' },
|
|
201
|
+
{ word: 'хорьдугаар', tf: 'khoridugaar' },
|
|
202
|
+
{ word: 'гучдугаар', tf: 'guchdugaar' },
|
|
203
|
+
{ word: 'дөчдүгээр', tf: 'duchdugeer' },
|
|
204
|
+
{ word: 'тавьдугаар', tf: 'tavidugaar' },
|
|
205
|
+
{ word: 'жардугаар', tf: 'jardugaar' },
|
|
206
|
+
{ word: 'далдугаар', tf: 'daldugaar' },
|
|
207
|
+
{ word: 'наядугаар', tf: 'naydugaar' },
|
|
208
|
+
{ word: 'ердүгээр', tf: 'yerdugeer' },
|
|
209
|
+
{ word: 'зуудугаар', tf: 'zuudugaar' },
|
|
210
|
+
{ word: 'мянгадугаар', tf: 'myangadugaar' },
|
|
211
|
+
{ word: 'саядугаар', tf: 'saydugaar' },
|
|
212
|
+
{ word: 'дугаар', tf: 'dugaar' },
|
|
213
|
+
{ word: 'дэх', tf: 'dekh' },
|
|
214
|
+
{ word: 'дахь', tf: 'dakhi' },
|
|
215
|
+
{ word: 'дөх', tf: 'dukh' },
|
|
216
|
+
{ word: 'дохь', tf: 'dokhi' }
|
|
217
|
+
]
|
package/utils/regexps.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
/* eslint-disable */
|
|
2
|
+
export const regexps = {
|
|
3
|
+
oldRegisterNum: {
|
|
4
|
+
pattern: /^[А-ЯӨҮЁ]{2}\d{8}$/,
|
|
5
|
+
patternMessage: 'Регистрийн дугаар буруу байна.'
|
|
6
|
+
},
|
|
7
|
+
latin: {
|
|
8
|
+
pattern: /^[A-Za-z][A-Za-z0-9]*$/,
|
|
9
|
+
patternMessage: 'Зөвхөн латин тэмдэгт бичнэ.'
|
|
10
|
+
},
|
|
11
|
+
cyrillic: {
|
|
12
|
+
pattern: /[а-өА-ӨЁ.-\s]$/,
|
|
13
|
+
patternMessage: 'Зөвхөн крилл тэмдэгт бичнэ.'
|
|
14
|
+
},
|
|
15
|
+
phone: {
|
|
16
|
+
pattern: /^(99|95|94|85|88|89|86|80|96|91|90|92|98|93|97|83|77|70|75|78|79|51|11)[0-9]{6}$/,
|
|
17
|
+
patternMessage: '8 оронтой тоо бичнэ.'
|
|
18
|
+
},
|
|
19
|
+
passwordMn: {
|
|
20
|
+
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*[ <>])[A-Za-z\d!@#$%^&*]{8,}$/,
|
|
21
|
+
patternMessage: 'Нууц үгэнд багадаа 1 том, 1 жижиг латин үсэг бас 1 тоо, 8-н урттай байна.',
|
|
22
|
+
checkList: [{
|
|
23
|
+
pattern: /[A-Z]/,
|
|
24
|
+
message: 'Багадаа 1 том латин том үсэг агуулна'
|
|
25
|
+
}, {
|
|
26
|
+
pattern: /[a-z]/,
|
|
27
|
+
message: 'Багадаа 1 жижиг латин үсэг агуулна'
|
|
28
|
+
}, {
|
|
29
|
+
pattern: /\d/,
|
|
30
|
+
message: 'Багадаа 1 тоо агуулна'
|
|
31
|
+
}, {
|
|
32
|
+
pattern: /^.{8,}$/,
|
|
33
|
+
message: 'Хамгийн багадаа 8-н урттай байна.'
|
|
34
|
+
}]
|
|
35
|
+
},
|
|
36
|
+
passwordEn: {
|
|
37
|
+
pattern: /^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)(?!.*[ <>])[A-Za-z\d!@#$%^&*]{8,}$/,
|
|
38
|
+
patternMessage: 'Password must contain at least 1 uppercase letter, 1 lowercase letter, and 1 number, and must be at least 8 characters long.',
|
|
39
|
+
checkList: [{
|
|
40
|
+
pattern: /[A-Z]/,
|
|
41
|
+
message: 'Contains at least 1 uppercase letter'
|
|
42
|
+
}, {
|
|
43
|
+
pattern: /[a-z]/,
|
|
44
|
+
message: 'Contains at least 1 lowercase letter'
|
|
45
|
+
}, {
|
|
46
|
+
pattern: /\d/,
|
|
47
|
+
message: 'Contains at least 1 number'
|
|
48
|
+
}, {
|
|
49
|
+
pattern: /^.{8,}$/,
|
|
50
|
+
message: 'Contains at least 8 characters long.'
|
|
51
|
+
}]
|
|
52
|
+
},
|
|
53
|
+
password: {
|
|
54
|
+
pattern: /^(?=.*[A-Za-z])(?=.*\d)(?=.*[@$!%*#?&=%_+-^/])[A-Za-z\d@$!%*%#?&=%_+-^/]{8,}$/,
|
|
55
|
+
patternMessage: 'Хамгийн багадаа 1 үсэг 1 тоо, 1 тусгай тэмдэгт агуулсан 8-н урттай байна.'
|
|
56
|
+
},
|
|
57
|
+
url: {
|
|
58
|
+
// pattern: /^[-a-zA-Z0-9@:%._\+~#=]{1,256}\.[a-zA-Z0-9()]{1,6}\b(?:[-a-zA-Z0-9()@:%_\+.~#?&//=]*)$/,
|
|
59
|
+
pattern: /[(http(s)?):\/\/(www\.)?a-zA-Z0-9@:%._\+~#=]{2,256}\.[a-z]{2,6}\b([-a-zA-Z0-9@:%_\+.~#?&//=]*)/ig,
|
|
60
|
+
patternMessage: 'URL буруу байна.'
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
const cyrillicFields = ['lastName', 'firstName']
|
|
64
|
+
|
|
65
|
+
export const getRegexp = (name, pattern) => {
|
|
66
|
+
if (pattern) {
|
|
67
|
+
return regexps[pattern] || {}
|
|
68
|
+
}
|
|
69
|
+
if (!name) {
|
|
70
|
+
return {}
|
|
71
|
+
}
|
|
72
|
+
if (cyrillicFields.includes(name)) {
|
|
73
|
+
return regexps.cyrillic
|
|
74
|
+
}
|
|
75
|
+
if (name.toLowerCase().includes('phone')) {
|
|
76
|
+
return regexps.phone
|
|
77
|
+
}
|
|
78
|
+
if (name.toLowerCase() === 'password') {
|
|
79
|
+
return regexps.password
|
|
80
|
+
}
|
|
81
|
+
if (name.toLowerCase().includes('website')) {
|
|
82
|
+
return regexps.url
|
|
83
|
+
}
|
|
84
|
+
return {}
|
|
85
|
+
}
|
|
86
|
+
/* eslint-enable */
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
import { get } from 'lodash'
|
|
2
|
+
export const groupFieldLog = {
|
|
3
|
+
name: 'LOG',
|
|
4
|
+
group_type: 'GROUP_FIELD',
|
|
5
|
+
col_fields: [
|
|
6
|
+
'created_at', 'updated_at', 'created_by', 'updated_by',
|
|
7
|
+
'deleted_at', 'deleted_by', 'password_at',
|
|
8
|
+
'created_organization_id', 'created_position_id', 'created_user_id',
|
|
9
|
+
'updated_organization_id', 'updated_position_id', 'updated_user_id',
|
|
10
|
+
'deleted_organization_id', 'deleted_position_id', 'deleted_user_id'
|
|
11
|
+
]
|
|
12
|
+
}
|
|
13
|
+
export const getButtons = (level, table_name, isAdmin) => {
|
|
14
|
+
let textRemove = ''
|
|
15
|
+
if (table_name === 'hrm_users') {
|
|
16
|
+
textRemove = 'Чөлөөлөх'
|
|
17
|
+
}
|
|
18
|
+
if (!level || isAdmin) {
|
|
19
|
+
return {
|
|
20
|
+
textCreate: 'Бүртгэх',
|
|
21
|
+
textEdit: 'Хадгалах',
|
|
22
|
+
textDelete: 'Устгах',
|
|
23
|
+
textRestorePassword: 'Нууц үг илгээх',
|
|
24
|
+
textRemove
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
const acProfileDownload = level.actions?.find(c => c.code === 'PROFILE_DOWNLOAD')
|
|
28
|
+
const acConfirm = level.actions?.find(c => c.code === 'CONFIRM')
|
|
29
|
+
const acCreate = level.actions?.find(c => c.code === 'CREATE')
|
|
30
|
+
const acEdit = level.actions?.find(c => c.code === 'EDIT')
|
|
31
|
+
const acDelete = level.actions?.find(c => ['DELETE', 'REMOVE'].includes(c.code))
|
|
32
|
+
const acExport = level.actions?.find(c => c.code === 'EXPORT')
|
|
33
|
+
const acPrint = level.actions?.find(c => c.code === 'PRINT')
|
|
34
|
+
const acStatus = level.actions?.find(c => c.code === 'STATUS')
|
|
35
|
+
const acRestorePassword = level.actions?.find(c => c.code === 'RESTORE-PASSWORD')
|
|
36
|
+
const acDecision = level.actions?.find(c => c.code === 'DECISION')
|
|
37
|
+
const acUnblock = level.actions?.find(c => c.code === 'UNBLOCK')
|
|
38
|
+
return {
|
|
39
|
+
textCreate: get(acCreate, 'name'),
|
|
40
|
+
textEdit: get(acEdit, 'name'),
|
|
41
|
+
textDelete: get(acDelete, 'name'),
|
|
42
|
+
textExport: get(acExport, 'name'),
|
|
43
|
+
textPrint: get(acPrint, 'name'),
|
|
44
|
+
textStatus: get(acStatus, 'name'),
|
|
45
|
+
textRestorePassword: get(acRestorePassword, 'name'),
|
|
46
|
+
textRemove,
|
|
47
|
+
textProfileDownload: get(acProfileDownload, 'name'),
|
|
48
|
+
textDecision: get(acDecision, 'name'),
|
|
49
|
+
textUnblock: get(acUnblock, 'name'),
|
|
50
|
+
textConfirm: get(acConfirm, 'name')
|
|
51
|
+
}
|
|
52
|
+
}
|
|
@@ -0,0 +1,58 @@
|
|
|
1
|
+
import { MessageBox, Message } from 'element-ui'
|
|
2
|
+
export const share = async (t, link, text) => {
|
|
3
|
+
let result = 'cancel'
|
|
4
|
+
if (t === 'fb') {
|
|
5
|
+
result = shareFb(link, text)
|
|
6
|
+
} else if (t === 'twitter') {
|
|
7
|
+
result = shareTwitter(link, text)
|
|
8
|
+
} else {
|
|
9
|
+
const isCanCopy = !!navigator.clipboard
|
|
10
|
+
result = await new Promise(function (resovle) {
|
|
11
|
+
MessageBox.confirm(
|
|
12
|
+
`<div>${text}<br />
|
|
13
|
+
<input style="padding: 4px 8px; border-radius: 4px; border: 1px solid rgb(229, 231, 235);width: 100%; font-weight: bold;" onClick="this.select();" id="textCopyLink" value="${origin}/${link}">
|
|
14
|
+
</div>`, 'Хуваалцах',
|
|
15
|
+
{
|
|
16
|
+
confirmButtonText: 'Хуулж авах',
|
|
17
|
+
showConfirmButton: isCanCopy,
|
|
18
|
+
dangerouslyUseHTMLString: true,
|
|
19
|
+
callback: (action) => {
|
|
20
|
+
if (action === 'confirm') {
|
|
21
|
+
const copyText = document.getElementById('textCopyLink')
|
|
22
|
+
if (copyText) {
|
|
23
|
+
copyText.select()
|
|
24
|
+
copyText.setSelectionRange(0, 99999)
|
|
25
|
+
}
|
|
26
|
+
navigator.clipboard.writeText(copyText.value)
|
|
27
|
+
Message({
|
|
28
|
+
type: 'info',
|
|
29
|
+
message: 'Холбоосыг хуулж авлаа.'
|
|
30
|
+
})
|
|
31
|
+
resovle('success')
|
|
32
|
+
} else if (isCanCopy) {
|
|
33
|
+
resovle('cancel')
|
|
34
|
+
} else {
|
|
35
|
+
resovle('success')
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
})
|
|
39
|
+
})
|
|
40
|
+
}
|
|
41
|
+
return result
|
|
42
|
+
}
|
|
43
|
+
export const shareFb = (link) => {
|
|
44
|
+
const origin = location.origin
|
|
45
|
+
const url = 'https://www.facebook.com/sharer/sharer.php'
|
|
46
|
+
windowOpen(`${url}?u=${origin}/${link}`)
|
|
47
|
+
return 'success'
|
|
48
|
+
}
|
|
49
|
+
export const windowOpen = (link) => {
|
|
50
|
+
window.open(link, 'popUpWindow', 'height = 500, width = 500, left = 100, top = 100, scrollbars = yes, resizable = yes, menubar = no, toolbar = yes, location = no, directories = no, status = yes')
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
export const shareTwitter = (link, text) => {
|
|
54
|
+
const origin = location.origin
|
|
55
|
+
const url = 'https://twitter.com/intent/tweet'
|
|
56
|
+
windowOpen(`${url}?text=${text} ${origin}/${link}`)
|
|
57
|
+
return 'success'
|
|
58
|
+
}
|