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,249 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-select
|
|
3
|
+
ref="refComponent"
|
|
4
|
+
v-model="modelValue"
|
|
5
|
+
class="w-full"
|
|
6
|
+
clearable
|
|
7
|
+
filterable
|
|
8
|
+
remote
|
|
9
|
+
:loading="loading"
|
|
10
|
+
:disabled="disabled"
|
|
11
|
+
:remote-method="handleDebounce"
|
|
12
|
+
:multiple="isMultiple"
|
|
13
|
+
:size="size"
|
|
14
|
+
:value-key="pk_field_name"
|
|
15
|
+
:placeholder="placeholder"
|
|
16
|
+
@clear="handleClear"
|
|
17
|
+
@visible-change="handleVisibleChange"
|
|
18
|
+
@keydown.native.enter="$emit('keydown-enter')"
|
|
19
|
+
@keydown="$emit('keydown', $event)"
|
|
20
|
+
>
|
|
21
|
+
<el-option
|
|
22
|
+
v-for="item of list"
|
|
23
|
+
:key="item[pk_field_name]"
|
|
24
|
+
:label="get(item, columnName)"
|
|
25
|
+
:value="item"
|
|
26
|
+
:style="{ color: columnName1 && columnName1.toLowerCase().includes('color') ? item[columnName1] : null }"
|
|
27
|
+
class="h-auto max-w-[500px] h-auto whitespace-normal break-normal"
|
|
28
|
+
>
|
|
29
|
+
{{ get(item, columnName) }}
|
|
30
|
+
<!-- <span
|
|
31
|
+
v-if="columnName1 && !columnName1.toLowerCase().includes('color')"
|
|
32
|
+
class="text-gray-400 text-xs font-bold"
|
|
33
|
+
>
|
|
34
|
+
{{ item[columnName1] }}
|
|
35
|
+
</span> -->
|
|
36
|
+
</el-option>
|
|
37
|
+
</el-select>
|
|
38
|
+
</template>
|
|
39
|
+
<script>
|
|
40
|
+
import { mapGetters, mapActions } from 'vuex'
|
|
41
|
+
import { get, isEqual } from 'lodash'
|
|
42
|
+
import { getFormBoolean, getTriggerFields } from '../utils/data-helper'
|
|
43
|
+
export default {
|
|
44
|
+
name: 'CoreSelect',
|
|
45
|
+
props: {
|
|
46
|
+
parentTemp: { type: Object, default: () => { return null } },
|
|
47
|
+
value: { type: [String, Array, Number, Object], default: null },
|
|
48
|
+
table_name: { type: String, default: null },
|
|
49
|
+
ref_column: { type: String, default: null },
|
|
50
|
+
pk_field_name: { type: String, default: '_id' },
|
|
51
|
+
projectId: { type: [String, Number], default: null },
|
|
52
|
+
col_multiple: { type: [Boolean, Number, String], default: false },
|
|
53
|
+
trigger_fields: { type: String, default: '' },
|
|
54
|
+
disabled: { type: Boolean, default: false },
|
|
55
|
+
size: { type: String, default: null },
|
|
56
|
+
isSearch: { type: Boolean, default: false },
|
|
57
|
+
placeholder: { type: String, default: 'Сонгох' },
|
|
58
|
+
customUrl: { type: String, default: null }
|
|
59
|
+
},
|
|
60
|
+
data () {
|
|
61
|
+
return {
|
|
62
|
+
list: [],
|
|
63
|
+
loading: false,
|
|
64
|
+
timeout: 0,
|
|
65
|
+
timeoutDebounce: 0
|
|
66
|
+
}
|
|
67
|
+
},
|
|
68
|
+
computed: {
|
|
69
|
+
...mapGetters('settings', ['references']),
|
|
70
|
+
isMultiple () {
|
|
71
|
+
return getFormBoolean(this.col_multiple)
|
|
72
|
+
},
|
|
73
|
+
clonedTemp () {
|
|
74
|
+
return Object.assign({ ...this.parentTemp })
|
|
75
|
+
},
|
|
76
|
+
columnName () {
|
|
77
|
+
return this.ref_column.split(',')[0].split('*')[0]
|
|
78
|
+
},
|
|
79
|
+
columnName1 () {
|
|
80
|
+
if (this.ref_column.split(',').length <= 1) {
|
|
81
|
+
return null
|
|
82
|
+
}
|
|
83
|
+
return this.ref_column.split(',')[1].split('*')[0]
|
|
84
|
+
},
|
|
85
|
+
referenceName () {
|
|
86
|
+
return `${this.projectId}-${this.table_name}`
|
|
87
|
+
},
|
|
88
|
+
stringValue () {
|
|
89
|
+
if (this.isMultiple) {
|
|
90
|
+
if (!this.value) {
|
|
91
|
+
return ''
|
|
92
|
+
}
|
|
93
|
+
if (typeof this.value === 'object') {
|
|
94
|
+
return this.value.join(',')
|
|
95
|
+
}
|
|
96
|
+
return this.value
|
|
97
|
+
} else {
|
|
98
|
+
return this.value
|
|
99
|
+
}
|
|
100
|
+
},
|
|
101
|
+
modelValue: {
|
|
102
|
+
get () {
|
|
103
|
+
if (this.isMultiple) {
|
|
104
|
+
if (!this.value) {
|
|
105
|
+
return []
|
|
106
|
+
}
|
|
107
|
+
if (typeof this.value === 'object' && Array.isArray(this.value)) {
|
|
108
|
+
return this.value
|
|
109
|
+
}
|
|
110
|
+
return this.value.split(',')
|
|
111
|
+
} else {
|
|
112
|
+
return this.value && this.value[this.pk_field_name] ? this.value : null
|
|
113
|
+
}
|
|
114
|
+
},
|
|
115
|
+
set (val) {
|
|
116
|
+
if (!val) {
|
|
117
|
+
this.$emit('input', val)
|
|
118
|
+
} else if (this.isMultiple) {
|
|
119
|
+
this.$emit('input', val)
|
|
120
|
+
} else {
|
|
121
|
+
this.$emit('input', val)
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
}
|
|
125
|
+
},
|
|
126
|
+
watch: {
|
|
127
|
+
clonedTemp: {
|
|
128
|
+
handler: function (newVal, oldVal) {
|
|
129
|
+
this.handleDefault()
|
|
130
|
+
const trigger_fields = getTriggerFields(this.trigger_fields)
|
|
131
|
+
for (const { localVal } of trigger_fields) {
|
|
132
|
+
if (localVal.includes('#')) {
|
|
133
|
+
const tempKey = localVal.substring(1)
|
|
134
|
+
let newValue = get(newVal, tempKey)
|
|
135
|
+
let oldValue = get(oldVal, tempKey)
|
|
136
|
+
if (newValue && typeof newValue === 'object') {
|
|
137
|
+
newValue = newValue[this.pk_field_name]
|
|
138
|
+
}
|
|
139
|
+
if (oldValue && typeof oldValue === 'object') {
|
|
140
|
+
oldValue = oldValue[this.pk_field_name]
|
|
141
|
+
}
|
|
142
|
+
if (!isEqual(newValue, oldValue)) {
|
|
143
|
+
if (oldValue) {
|
|
144
|
+
this.modelValue = null
|
|
145
|
+
}
|
|
146
|
+
this.list = []
|
|
147
|
+
this.set_references({ referenceName: this.referenceName, list: this.list })
|
|
148
|
+
clearTimeout(this.timeout)
|
|
149
|
+
this.timeout = setTimeout(this.getList, 200)
|
|
150
|
+
}
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
},
|
|
154
|
+
deep: true
|
|
155
|
+
},
|
|
156
|
+
value: {
|
|
157
|
+
handler () {
|
|
158
|
+
this.handleDefault()
|
|
159
|
+
},
|
|
160
|
+
deep: true
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
created () {
|
|
164
|
+
this.handleDefault()
|
|
165
|
+
},
|
|
166
|
+
methods: {
|
|
167
|
+
get,
|
|
168
|
+
...mapActions('settings', ['set_references']),
|
|
169
|
+
focus () {
|
|
170
|
+
this.$refs.refComponent.focus()
|
|
171
|
+
},
|
|
172
|
+
handleDefault () {
|
|
173
|
+
let vals = []
|
|
174
|
+
if (this.isMultiple) {
|
|
175
|
+
vals = this.value ? [...this.value] : []
|
|
176
|
+
} else if (typeof this.value === 'object') {
|
|
177
|
+
vals = this.value && this.value[this.pk_field_name] ? [this.value] : []
|
|
178
|
+
}
|
|
179
|
+
for (const val of vals) {
|
|
180
|
+
if (!this.list.some(c => c[this.pk_field_name] === val[this.pk_field_name])) {
|
|
181
|
+
this.list.unshift(val)
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
handleVisibleChange (val) {
|
|
186
|
+
if (val) {
|
|
187
|
+
this.getList()
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
handleDebounce (query) {
|
|
191
|
+
clearTimeout(this.timeoutDebounce)
|
|
192
|
+
this.loading = true
|
|
193
|
+
this.timeoutDebounce = setTimeout(() => this.getList(query), 500)
|
|
194
|
+
},
|
|
195
|
+
async getList (query) {
|
|
196
|
+
try {
|
|
197
|
+
const triggerSearch = {}
|
|
198
|
+
const trigger_fields = getTriggerFields(this.trigger_fields)
|
|
199
|
+
for (const { localKey, localVal, type, operation } of trigger_fields) {
|
|
200
|
+
if (localVal.startsWith('#')) {
|
|
201
|
+
const tempKey = localVal.substring(1)
|
|
202
|
+
const newValue = get(this.clonedTemp, tempKey)
|
|
203
|
+
if ([null, undefined].includes(newValue) && !this.isSearch) {
|
|
204
|
+
return
|
|
205
|
+
}
|
|
206
|
+
if (newValue && typeof newValue === 'object' && Array.isArray(newValue)) {
|
|
207
|
+
const vals = newValue.map(c => c._id)
|
|
208
|
+
triggerSearch[localKey] = { val: vals, t: type, op: operation }
|
|
209
|
+
} else if (newValue) {
|
|
210
|
+
const val = typeof newValue === 'object' ? newValue[this.pk_field_name] : newValue
|
|
211
|
+
if (localKey === 'reg_type_id' && this.table_name === 'ref_reg_sub_types' && this.isSearch && val === '5') {
|
|
212
|
+
triggerSearch[localKey] = { val: '7,8,9,10,5', t: type, op: 'in' }
|
|
213
|
+
} else {
|
|
214
|
+
triggerSearch[localKey] = { val, t: type, op: operation }
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
} else {
|
|
218
|
+
triggerSearch[localKey] = { val: localVal, t: type, op: operation }
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
this.loading = true
|
|
222
|
+
const { data } = await this.$axios.get(this.customUrl || `reference/${this.projectId}/${this.table_name}`, {
|
|
223
|
+
params: {
|
|
224
|
+
search: JSON.stringify(Object.assign({ [this.columnName]: { val: query, t: 'string' } }, triggerSearch)),
|
|
225
|
+
fields: this.ref_column,
|
|
226
|
+
locale_id: this.parentTemp?.locale_id
|
|
227
|
+
}
|
|
228
|
+
})
|
|
229
|
+
const list = this.value ? (this.isMultiple ? [...this.value] : (this.value[this.pk_field_name] ? [this.value] : [])) : []
|
|
230
|
+
for (const r of data.list) {
|
|
231
|
+
const index = list.findIndex(c => c[this.pk_field_name] === r[this.pk_field_name])
|
|
232
|
+
if (index > -1) {
|
|
233
|
+
list.splice(index, 1)
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
this.list = [...list, ...data.list]
|
|
237
|
+
this.set_references({ referenceName: this.referenceName, list: this.list })
|
|
238
|
+
} catch (err) {
|
|
239
|
+
this.$showError(err)
|
|
240
|
+
} finally {
|
|
241
|
+
this.loading = false
|
|
242
|
+
}
|
|
243
|
+
},
|
|
244
|
+
handleClear () {
|
|
245
|
+
this.getList()
|
|
246
|
+
}
|
|
247
|
+
}
|
|
248
|
+
}
|
|
249
|
+
</script>
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-autocomplete
|
|
3
|
+
v-model="modelValue"
|
|
4
|
+
:fetch-suggestions="querySearch"
|
|
5
|
+
:placeholder="placeholder"
|
|
6
|
+
:disabled="disabled"
|
|
7
|
+
class="w-full"
|
|
8
|
+
/>
|
|
9
|
+
<!-- <el-select
|
|
10
|
+
v-model="modelValue"
|
|
11
|
+
:disabled="disabled"
|
|
12
|
+
:size="size"
|
|
13
|
+
:multiple="isMultiple"
|
|
14
|
+
clearable
|
|
15
|
+
filterable
|
|
16
|
+
default-first-option
|
|
17
|
+
class="w-full"
|
|
18
|
+
>
|
|
19
|
+
<el-option
|
|
20
|
+
v-for="item in enumOptions"
|
|
21
|
+
:key="item"
|
|
22
|
+
:value="item"
|
|
23
|
+
:label="item"
|
|
24
|
+
/>
|
|
25
|
+
</el-select> -->
|
|
26
|
+
</template>
|
|
27
|
+
<script>
|
|
28
|
+
import { getFormBoolean } from '../utils/data-helper'
|
|
29
|
+
export default {
|
|
30
|
+
name: 'CoreSelectEnum',
|
|
31
|
+
props: {
|
|
32
|
+
disabled: { type: Boolean, default: false },
|
|
33
|
+
value: { type: [Number, String, Array], default: () => { return null } },
|
|
34
|
+
size: { type: String, default: null },
|
|
35
|
+
col_type: { type: String, default: 'string' },
|
|
36
|
+
col_multiple: { type: [Boolean, Number, String], default: false },
|
|
37
|
+
enum_values: { type: String, default: null },
|
|
38
|
+
placeholder: { type: String, default: null }
|
|
39
|
+
},
|
|
40
|
+
computed: {
|
|
41
|
+
isMultiple () {
|
|
42
|
+
return getFormBoolean(this.col_multiple)
|
|
43
|
+
},
|
|
44
|
+
enumOptions () {
|
|
45
|
+
return this.enum_values.split(',').map((c) => {
|
|
46
|
+
if (['number', 'decimal'].includes(this.col_type)) {
|
|
47
|
+
return Number(c)
|
|
48
|
+
}
|
|
49
|
+
return c
|
|
50
|
+
})
|
|
51
|
+
},
|
|
52
|
+
modelValue: {
|
|
53
|
+
get () {
|
|
54
|
+
if (!this.value) {
|
|
55
|
+
if (this.isMultiple) {
|
|
56
|
+
return []
|
|
57
|
+
}
|
|
58
|
+
return null
|
|
59
|
+
}
|
|
60
|
+
if (['number', 'decimal'].includes(this.col_type)) {
|
|
61
|
+
if (this.isMultiple) {
|
|
62
|
+
if (Array.isArray(this.value)) {
|
|
63
|
+
return this.value.map(c => Number(c.value))
|
|
64
|
+
} else {
|
|
65
|
+
return this.value.split(',').map(c => Number(c.value))
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
return Number(this.value)
|
|
69
|
+
}
|
|
70
|
+
if (this.isMultiple) {
|
|
71
|
+
if (Array.isArray(this.value)) {
|
|
72
|
+
return this.value
|
|
73
|
+
} else {
|
|
74
|
+
return this.value.split(',')
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
return this.value
|
|
78
|
+
},
|
|
79
|
+
set (val) {
|
|
80
|
+
if (!val) {
|
|
81
|
+
this.$emit('input', null)
|
|
82
|
+
} else if (this.isMultiple) {
|
|
83
|
+
this.$emit('input', val)
|
|
84
|
+
} else {
|
|
85
|
+
this.$emit('input', val)
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
methods: {
|
|
91
|
+
querySearch (queryString, cb) {
|
|
92
|
+
const list = this.enumOptions
|
|
93
|
+
const results = queryString && list?.length ? list.filter(this.createFilter(queryString)) : list
|
|
94
|
+
cb(results?.map((c) => { return { value: c } })) // eslint-disable-line n/no-callback-literal
|
|
95
|
+
},
|
|
96
|
+
createFilter (queryString) {
|
|
97
|
+
return (item) => {
|
|
98
|
+
return (item.toLowerCase().indexOf(queryString.toLowerCase()) === 0)
|
|
99
|
+
}
|
|
100
|
+
}
|
|
101
|
+
}
|
|
102
|
+
}
|
|
103
|
+
</script>
|
|
@@ -0,0 +1,237 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<el-popover
|
|
3
|
+
:value="visible"
|
|
4
|
+
placement="bottom-start"
|
|
5
|
+
width="400"
|
|
6
|
+
popper-class="popper-notification"
|
|
7
|
+
trigger="focus"
|
|
8
|
+
:disabled="disabled"
|
|
9
|
+
@show="handleChange(true)"
|
|
10
|
+
@hide="handleChange(false)"
|
|
11
|
+
>
|
|
12
|
+
<core-select-group-list
|
|
13
|
+
ref="refComponent"
|
|
14
|
+
v-model="modelValue"
|
|
15
|
+
:visible.sync="visible"
|
|
16
|
+
:project-id="projectId"
|
|
17
|
+
:table_name="table_name"
|
|
18
|
+
:ref_column="ref_column + ',parent_id'"
|
|
19
|
+
:size="size"
|
|
20
|
+
:disabled="disabled"
|
|
21
|
+
:col_field="col_field"
|
|
22
|
+
:trigger_fields="trigger_fields"
|
|
23
|
+
:search-text="searchVal"
|
|
24
|
+
:parent-focused-item.sync="focusedItem"
|
|
25
|
+
@select="handleSelect"
|
|
26
|
+
/>
|
|
27
|
+
<el-input
|
|
28
|
+
ref="refSearch"
|
|
29
|
+
slot="reference"
|
|
30
|
+
v-model="itemName"
|
|
31
|
+
class="focus:text-coreSecondaryText"
|
|
32
|
+
placeholder="Сонгох.."
|
|
33
|
+
:size="size"
|
|
34
|
+
:disabled="disabled"
|
|
35
|
+
clearable
|
|
36
|
+
@clear="handleClearSearch"
|
|
37
|
+
@keydown.native.enter.prevent="handleSearch"
|
|
38
|
+
@keydown.native.down.prevent="handleNavigate('next')"
|
|
39
|
+
@keydown.native.up.prevent="handleNavigate('prev')"
|
|
40
|
+
/>
|
|
41
|
+
</el-popover>
|
|
42
|
+
</template>
|
|
43
|
+
<script>
|
|
44
|
+
import { get } from 'lodash'
|
|
45
|
+
export default {
|
|
46
|
+
name: 'CoreSelecGroup',
|
|
47
|
+
props: {
|
|
48
|
+
value: { type: [String, Object], default: null },
|
|
49
|
+
projectId: { type: [String, Number], default: '5' },
|
|
50
|
+
table_name: { type: String, default: 'ref_reg_types' },
|
|
51
|
+
ref_column: { type: String, default: 'name,parent_id' },
|
|
52
|
+
size: { type: String, default: null },
|
|
53
|
+
disabled: { type: Boolean, default: false },
|
|
54
|
+
col_field: { type: String, default: null },
|
|
55
|
+
trigger_fields: { type: String, default: null }
|
|
56
|
+
},
|
|
57
|
+
data () {
|
|
58
|
+
return {
|
|
59
|
+
visible: false,
|
|
60
|
+
list: [],
|
|
61
|
+
loading: false,
|
|
62
|
+
item: null,
|
|
63
|
+
timeout: 0,
|
|
64
|
+
searchText: null,
|
|
65
|
+
searchVal: null,
|
|
66
|
+
searchTimeout: 0,
|
|
67
|
+
focusedItem: null
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
computed: {
|
|
71
|
+
itemName: {
|
|
72
|
+
get () {
|
|
73
|
+
if (this.searchText !== null) {
|
|
74
|
+
return this.searchText
|
|
75
|
+
}
|
|
76
|
+
if (typeof this.value === 'object') {
|
|
77
|
+
return this.value?.name
|
|
78
|
+
}
|
|
79
|
+
return this.value ? this.item?.name : null
|
|
80
|
+
},
|
|
81
|
+
set (val) {
|
|
82
|
+
this.searchText = val
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
modelValue: {
|
|
86
|
+
get () {
|
|
87
|
+
return this.value
|
|
88
|
+
},
|
|
89
|
+
set (val) {
|
|
90
|
+
this.$emit('input', val)
|
|
91
|
+
}
|
|
92
|
+
},
|
|
93
|
+
isSelectableParent () {
|
|
94
|
+
return ['parent_id', 'resolution_org_id'].includes(this.col_field)
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
watch: {
|
|
98
|
+
visible () {
|
|
99
|
+
this.searchText = null
|
|
100
|
+
this.focusedItem = null
|
|
101
|
+
},
|
|
102
|
+
// modelValue () {
|
|
103
|
+
// this.getItem()
|
|
104
|
+
// }
|
|
105
|
+
searchText (val) {
|
|
106
|
+
this.$refs.refComponent.setLoading(true)
|
|
107
|
+
clearTimeout(this.searchTimeout)
|
|
108
|
+
const that = this
|
|
109
|
+
this.searchTimeout = setTimeout(() => {
|
|
110
|
+
that.searchVal = val
|
|
111
|
+
}, 1000)
|
|
112
|
+
}
|
|
113
|
+
},
|
|
114
|
+
mounted () {
|
|
115
|
+
// this.getItem()
|
|
116
|
+
// this.refresh()
|
|
117
|
+
},
|
|
118
|
+
methods: {
|
|
119
|
+
async handleClearSearch () {
|
|
120
|
+
this.modelValue = null
|
|
121
|
+
await this.$nextTick()
|
|
122
|
+
this.$refs.refSearch.focus()
|
|
123
|
+
},
|
|
124
|
+
handleNavigate (type) {
|
|
125
|
+
this.$refs.refComponent.handleNavigate(type)
|
|
126
|
+
},
|
|
127
|
+
isSelectable (item) {
|
|
128
|
+
return !item.hasChildren || (item.hasChildren && this.isSelectableParent && get(item, 'type_id.code') !== '999')
|
|
129
|
+
},
|
|
130
|
+
handleSearch () {
|
|
131
|
+
if (!this.visible) {
|
|
132
|
+
this.visible = true
|
|
133
|
+
} else if (this.focusedItem) {
|
|
134
|
+
if (!this.isSelectable(this.focusedItem)) {
|
|
135
|
+
return
|
|
136
|
+
}
|
|
137
|
+
this.handleSelect(this.focusedItem)
|
|
138
|
+
} else {
|
|
139
|
+
clearTimeout(this.searchTimeout)
|
|
140
|
+
this.searchVal = this.searchText
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
handleChange (val) {
|
|
144
|
+
if (val) {
|
|
145
|
+
this.visible = true
|
|
146
|
+
} else {
|
|
147
|
+
clearTimeout(this.timeout)
|
|
148
|
+
this.timeout = setTimeout(() => {
|
|
149
|
+
this.visible = val
|
|
150
|
+
}, 100)
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
handleSelect (item) {
|
|
154
|
+
this.searchText = null
|
|
155
|
+
this.searchVal = null
|
|
156
|
+
this.item = item
|
|
157
|
+
this.modelValue = { ...item }
|
|
158
|
+
this.visible = false
|
|
159
|
+
},
|
|
160
|
+
async handleLoad (item) {
|
|
161
|
+
try {
|
|
162
|
+
if (item.loading) {
|
|
163
|
+
return
|
|
164
|
+
}
|
|
165
|
+
item.loading = true
|
|
166
|
+
if (!item.expand && item.list.length === 0) {
|
|
167
|
+
item.list = await this.getList(item)
|
|
168
|
+
}
|
|
169
|
+
item.expand = !item.expand
|
|
170
|
+
} catch (err) {
|
|
171
|
+
this.$showError(err)
|
|
172
|
+
} finally {
|
|
173
|
+
item.loading = false
|
|
174
|
+
}
|
|
175
|
+
},
|
|
176
|
+
async refresh () {
|
|
177
|
+
try {
|
|
178
|
+
if (!this.visible) {
|
|
179
|
+
return
|
|
180
|
+
}
|
|
181
|
+
// if (this.loading || this.list.length > 0) {
|
|
182
|
+
// return
|
|
183
|
+
// }
|
|
184
|
+
this.loading = true
|
|
185
|
+
this.list = await this.getList()
|
|
186
|
+
} catch (err) {
|
|
187
|
+
this.$showError(err)
|
|
188
|
+
} finally {
|
|
189
|
+
this.loading = false
|
|
190
|
+
}
|
|
191
|
+
},
|
|
192
|
+
async getItem () {
|
|
193
|
+
try {
|
|
194
|
+
if (!this.modelValue || this.item) {
|
|
195
|
+
return
|
|
196
|
+
}
|
|
197
|
+
const { data: { list } } = await this.$axios.get(`reference/${this.projectId}/${this.table_name}`, {
|
|
198
|
+
params: {
|
|
199
|
+
search: JSON.stringify(Object.assign({ _id: { val: this.modelValue, t: 'number', op: 'eq' } })),
|
|
200
|
+
fields: this.ref_column,
|
|
201
|
+
isHasChildren: true
|
|
202
|
+
}
|
|
203
|
+
})
|
|
204
|
+
if (list.length > 0) {
|
|
205
|
+
this.item = list[0]
|
|
206
|
+
}
|
|
207
|
+
} catch (err) {
|
|
208
|
+
this.$showError(err)
|
|
209
|
+
}
|
|
210
|
+
},
|
|
211
|
+
async getList (row) {
|
|
212
|
+
const search = Object.assign({})
|
|
213
|
+
if (this.searchText) {
|
|
214
|
+
search.name = { val: this.searchText, t: 'string', op: 'like' }
|
|
215
|
+
} else {
|
|
216
|
+
search.parent_id = { val: row ? row._id : 'null', t: 'number', op: 'eq' }
|
|
217
|
+
}
|
|
218
|
+
const { data: { list } } = await this.$axios.get(`reference/${this.projectId}/${this.table_name}`, {
|
|
219
|
+
process: false,
|
|
220
|
+
params: {
|
|
221
|
+
search: JSON.stringify(search),
|
|
222
|
+
// selectedId: String(this.value),
|
|
223
|
+
fields: this.ref_column,
|
|
224
|
+
isHasChildren: true
|
|
225
|
+
}
|
|
226
|
+
})
|
|
227
|
+
return list.map((c) => {
|
|
228
|
+
// c.hasChildren = true
|
|
229
|
+
c.loading = false
|
|
230
|
+
c.expand = false
|
|
231
|
+
c.list = []
|
|
232
|
+
return c
|
|
233
|
+
})
|
|
234
|
+
}
|
|
235
|
+
}
|
|
236
|
+
}
|
|
237
|
+
</script>
|