From aece3bb54d5519364136ae4a57f7781de54841f3 Mon Sep 17 00:00:00 2001 From: Indranil Das Gupta Date: Wed, 27 Aug 2014 08:03:48 +0000 Subject: [PATCH 2/5] Bug 12815 [ENH] Patch #2 of 5 - Adding browser based multi-lingual jquery.ime input method support to Koha The original patch http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=31152 is being split up into a 5-part patchset as per discussion on #koha This 2/5 adds the jQuery.IME library for inclusion by the staff client code along with licensing information of the library in about.tt Test Plan: Patch 2 of 5 do not have a separate stand-alone test plan. The patch is to be applied as the second patch for bug 12815. The overall test plan is defined later in patches 4 and 5 in the set. --- .../lib/jquery.ime/css/jquery.ime.css | 220 +++++++++++ .../lib/jquery.ime/images/ime-active.png | Bin 0 -> 319 bytes .../lib/jquery.ime/images/ime-active.svg | 1 + .../intranet-tmpl/lib/jquery.ime/images/tick.png | Bin 0 -> 261 bytes .../intranet-tmpl/lib/jquery.ime/images/tick.svg | 1 + .../intranet-tmpl/lib/jquery.ime/jquery.ime.min.js | 6 + .../intranet-tmpl/lib/jquery.ime/rules/README.md | 107 +++++ .../lib/jquery.ime/rules/am/am-transliteration.js | 432 +++++++++++++++++++++ .../lib/jquery.ime/rules/ar/ar-kbd.js | 115 ++++++ .../lib/jquery.ime/rules/as/as-avro.js | 168 ++++++++ .../lib/jquery.ime/rules/as/as-bornona.js | 84 ++++ .../lib/jquery.ime/rules/as/as-inscript.js | 124 ++++++ .../lib/jquery.ime/rules/as/as-inscript2.js | 128 ++++++ .../lib/jquery.ime/rules/as/as-phonetic.js | 112 ++++++ .../lib/jquery.ime/rules/as/as-transliteration.js | 114 ++++++ .../lib/jquery.ime/rules/bbc/batak-qwerty.js | 89 +++++ .../lib/jquery.ime/rules/be/be-kbd.js | 101 +++++ .../lib/jquery.ime/rules/be/be-latin.js | 38 ++ .../lib/jquery.ime/rules/be/be-transliteration.js | 94 +++++ .../lib/jquery.ime/rules/ber/ber-tfng.js | 54 +++ .../lib/jquery.ime/rules/bn/bn-avro.js | 194 +++++++++ .../lib/jquery.ime/rules/bn/bn-inscript.js | 123 ++++++ .../lib/jquery.ime/rules/bn/bn-inscript2.js | 128 ++++++ .../lib/jquery.ime/rules/bn/bn-nkb.js | 133 +++++++ .../lib/jquery.ime/rules/bn/bn-probhat.js | 102 +++++ .../lib/jquery.ime/rules/bo/bo-ewts.js | 284 ++++++++++++++ .../lib/jquery.ime/rules/brx/brx-inscript.js | 112 ++++++ .../lib/jquery.ime/rules/brx/brx-inscript2.js | 117 ++++++ .../rules/ckb/ckb-transliteration-arkbd.js | 103 +++++ .../rules/ckb/ckb-transliteration-fakbd.js | 104 +++++ .../rules/ckb/ckb-transliteration-lakbd.js | 100 +++++ .../lib/jquery.ime/rules/cv/README.md | 26 ++ .../lib/jquery.ime/rules/cv/cv-cyr-altgr.js | 120 ++++++ .../lib/jquery.ime/rules/cv/cv-cyr-numbers.js | 112 ++++++ .../lib/jquery.ime/rules/cv/cv-lat-altgr.js | 33 ++ .../lib/jquery.ime/rules/cyrl/cyrl-palochka.js | 43 ++ .../lib/jquery.ime/rules/da/da-normforms.js | 49 +++ .../lib/jquery.ime/rules/de/de-transliteration.js | 27 ++ .../lib/jquery.ime/rules/doi/doi-inscript2.js | 119 ++++++ .../lib/jquery.ime/rules/el/el-kbd.js | 95 +++++ .../lib/jquery.ime/rules/eo/eo-h-f.js | 59 +++ .../intranet-tmpl/lib/jquery.ime/rules/eo/eo-h.js | 54 +++ .../lib/jquery.ime/rules/eo/eo-plena.js | 99 +++++ .../intranet-tmpl/lib/jquery.ime/rules/eo/eo-q.js | 55 +++ .../lib/jquery.ime/rules/eo/eo-transliteration.js | 45 +++ .../intranet-tmpl/lib/jquery.ime/rules/eo/eo-vi.js | 65 ++++ .../intranet-tmpl/lib/jquery.ime/rules/eo/eo-x.js | 53 +++ .../lib/jquery.ime/rules/fa/fa-kbd.js | 167 ++++++++ .../lib/jquery.ime/rules/fi/fi-transliteration.js | 32 ++ .../lib/jquery.ime/rules/fo/fo-normforms.js | 65 ++++ .../lib/jquery.ime/rules/fonipa/ipa-sil.js | 240 ++++++++++++ .../lib/jquery.ime/rules/fonipa/ipa-x-sampa.js | 189 +++++++++ .../lib/jquery.ime/rules/gom/gom-inscript2.js | 119 ++++++ .../lib/jquery.ime/rules/gu/gu-inscript.js | 113 ++++++ .../lib/jquery.ime/rules/gu/gu-inscript2.js | 118 ++++++ .../lib/jquery.ime/rules/gu/gu-phonetic.js | 110 ++++++ .../lib/jquery.ime/rules/gu/gu-transliteration.js | 156 ++++++++ .../rules/he/he-standard-2012-extonly.js | 66 ++++ .../lib/jquery.ime/rules/he/he-standard-2012.js | 117 ++++++ .../lib/jquery.ime/rules/hi/hi-bolnagri.js | 108 ++++++ .../lib/jquery.ime/rules/hi/hi-inscript.js | 122 ++++++ .../lib/jquery.ime/rules/hi/hi-inscript2.js | 127 ++++++ .../lib/jquery.ime/rules/hi/hi-phonetic.js | 111 ++++++ .../lib/jquery.ime/rules/hi/hi-transliteration.js | 198 ++++++++++ .../lib/jquery.ime/rules/hr/hr-kbd.js | 60 +++ .../lib/jquery.ime/rules/hy/hy-emslegacy.js | 169 ++++++++ .../lib/jquery.ime/rules/hy/hy-ephonetic.js | 173 +++++++++ .../lib/jquery.ime/rules/hy/hy-ephoneticalt.js | 171 ++++++++ .../lib/jquery.ime/rules/hy/hy-typewriter.js | 168 ++++++++ .../lib/jquery.ime/rules/hy/hy-wmslegacy.js | 169 ++++++++ .../lib/jquery.ime/rules/is/is-normforms.js | 78 ++++ .../lib/jquery.ime/rules/jv/jv-transliteration.js | 273 +++++++++++++ .../lib/jquery.ime/rules/ka/ka-kbd.js | 56 +++ .../lib/jquery.ime/rules/ka/ka-transliteration.js | 58 +++ .../lib/jquery.ime/rules/kk/kk-arabic.js | 62 +++ .../lib/jquery.ime/rules/kk/kk-kbd.js | 108 ++++++ .../lib/jquery.ime/rules/kn/kn-inscript.js | 111 ++++++ .../lib/jquery.ime/rules/kn/kn-inscript2.js | 119 ++++++ .../lib/jquery.ime/rules/kn/kn-kgp.js | 104 +++++ .../lib/jquery.ime/rules/kn/kn-transliteration.js | 154 ++++++++ .../lib/jquery.ime/rules/ks/ks-inscript.js | 129 ++++++ .../lib/jquery.ime/rules/ks/ks-kbd.js | 112 ++++++ .../intranet-tmpl/lib/jquery.ime/rules/ku/ku-h.js | 47 +++ .../intranet-tmpl/lib/jquery.ime/rules/ku/ku-tr.js | 32 ++ .../lib/jquery.ime/rules/ky/ky-cyrl-alt.js | 25 ++ .../lib/jquery.ime/rules/lo/lo-kbd.js | 122 ++++++ .../jquery.ime/rules/lud/lud-transliteration.js | 29 ++ .../lib/jquery.ime/rules/mai/mai-inscript.js | 22 ++ .../lib/jquery.ime/rules/mai/mai-inscript2.js | 25 ++ .../intranet-tmpl/lib/jquery.ime/rules/mh/mh.js | 43 ++ .../lib/jquery.ime/rules/ml/ml-inscript.js | 90 +++++ .../lib/jquery.ime/rules/ml/ml-inscript2.js | 132 +++++++ .../lib/jquery.ime/rules/ml/ml-transliteration.js | 338 ++++++++++++++++ .../lib/jquery.ime/rules/mn/mn-cyrl.js | 118 ++++++ .../lib/jquery.ime/rules/mni/mni-inscript2.js | 125 ++++++ .../lib/jquery.ime/rules/mr/mr-inscript.js | 115 ++++++ .../lib/jquery.ime/rules/mr/mr-inscript2.js | 121 ++++++ .../lib/jquery.ime/rules/mr/mr-phonetic.js | 110 ++++++ .../lib/jquery.ime/rules/mr/mr-transliteration.js | 147 +++++++ .../lib/jquery.ime/rules/my/my-xkb.js | 209 ++++++++++ .../lib/jquery.ime/rules/nb/nb-normforms.js | 50 +++ .../lib/jquery.ime/rules/nb/nb-tildeforms.js | 35 ++ .../lib/jquery.ime/rules/ne/ne-inscript.js | 113 ++++++ .../lib/jquery.ime/rules/ne/ne-inscript2.js | 116 ++++++ .../lib/jquery.ime/rules/ne/ne-rom.js | 106 +++++ .../lib/jquery.ime/rules/ne/ne-trad.js | 106 +++++ .../lib/jquery.ime/rules/ne/ne-transliteration.js | 165 ++++++++ .../lib/jquery.ime/rules/or/or-inscript.js | 106 +++++ .../lib/jquery.ime/rules/or/or-inscript2.js | 116 ++++++ .../lib/jquery.ime/rules/or/or-lekhani.js | 175 +++++++++ .../lib/jquery.ime/rules/or/or-phonetic.js | 110 ++++++ .../lib/jquery.ime/rules/or/or-transliteration.js | 146 +++++++ .../lib/jquery.ime/rules/pa/pa-inscript.js | 97 +++++ .../lib/jquery.ime/rules/pa/pa-inscript2.js | 111 ++++++ .../lib/jquery.ime/rules/pa/pa-jhelum.js | 131 +++++++ .../lib/jquery.ime/rules/pa/pa-phonetic.js | 99 +++++ .../lib/jquery.ime/rules/pa/pa-transliteration.js | 119 ++++++ .../lib/jquery.ime/rules/ru/ru-jcuken.js | 96 +++++ .../lib/jquery.ime/rules/ru/ru-kbd.js | 100 +++++ .../lib/jquery.ime/rules/ru/ru-phonetic.js | 83 ++++ .../lib/jquery.ime/rules/ru/ru-yawerty.js | 109 ++++++ .../lib/jquery.ime/rules/sa/sa-iast.js | 59 +++ .../lib/jquery.ime/rules/sa/sa-inscript.js | 113 ++++++ .../lib/jquery.ime/rules/sa/sa-inscript2.js | 117 ++++++ .../lib/jquery.ime/rules/sa/sa-transliteration.js | 165 ++++++++ .../jquery.ime/rules/sah/sah-transliteration.js | 103 +++++ .../lib/jquery.ime/rules/sat/sat-inscript2.js | 107 +++++ .../lib/jquery.ime/rules/sd/sd-inscript2.js | 124 ++++++ .../lib/jquery.ime/rules/se/se-normforms.js | 38 ++ .../lib/jquery.ime/rules/si/si-singlish.js | 110 ++++++ .../lib/jquery.ime/rules/si/si-wijesekara.js | 105 +++++ .../lib/jquery.ime/rules/sk/sk-kbd.js | 105 +++++ .../lib/jquery.ime/rules/sr/sr-kbd.js | 98 +++++ .../lib/jquery.ime/rules/sv/sv-normforms.js | 50 +++ .../intranet-tmpl/lib/jquery.ime/rules/ta/ta-99.js | 193 +++++++++ .../lib/jquery.ime/rules/ta/ta-bamini.js | 90 +++++ .../lib/jquery.ime/rules/ta/ta-inscript.js | 103 +++++ .../lib/jquery.ime/rules/ta/ta-inscript2.js | 107 +++++ .../lib/jquery.ime/rules/ta/ta-transliteration.js | 120 ++++++ .../lib/jquery.ime/rules/te/te-inscript.js | 122 ++++++ .../lib/jquery.ime/rules/te/te-inscript2.js | 126 ++++++ .../lib/jquery.ime/rules/te/te-transliteration.js | 221 +++++++++++ .../lib/jquery.ime/rules/th/th-kedmanee.js | 115 ++++++ .../lib/jquery.ime/rules/th/th-pattachote.js | 115 ++++++ .../lib/jquery.ime/rules/udm/udm-alt.js | 40 ++ .../lib/jquery.ime/rules/ug/ug-kbd.js | 79 ++++ .../lib/jquery.ime/rules/uk/uk-kbd.js | 101 +++++ .../lib/jquery.ime/rules/ur/ur-phonetic.js | 108 ++++++ .../lib/jquery.ime/rules/ur/ur-transliteration.js | 98 +++++ .../lib/jquery.ime/rules/uz/uz-kbd.js | 102 +++++ .../lib/jquery.ime/rules/vec/vec-GVU.js | 32 ++ koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 7 + 152 files changed, 16286 insertions(+) create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/css/jquery.ime.css create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.png create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.svg create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.png create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.svg create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/jquery.ime.min.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/README.md create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/am/am-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ar/ar-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-avro.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-bornona.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/as/as-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bbc/batak-qwerty.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-latin.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/be/be-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ber/ber-tfng.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-avro.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-nkb.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bn/bn-probhat.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/bo/bo-ewts.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/brx/brx-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/brx/brx-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-arkbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-fakbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ckb/ckb-transliteration-lakbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/README.md create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-cyr-altgr.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-cyr-numbers.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cv/cv-lat-altgr.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/cyrl/cyrl-palochka.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/da/da-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/de/de-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/doi/doi-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/el/el-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-h-f.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-h.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-plena.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-q.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-vi.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/eo/eo-x.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fa/fa-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fi/fi-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fo/fo-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fonipa/ipa-sil.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/fonipa/ipa-x-sampa.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gom/gom-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/gu/gu-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/he/he-standard-2012-extonly.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/he/he-standard-2012.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-bolnagri.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hi/hi-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hr/hr-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-emslegacy.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-ephonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-ephoneticalt.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-typewriter.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/hy/hy-wmslegacy.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/is/is-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/jv/jv-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ka/ka-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ka/ka-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kk/kk-arabic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kk/kk-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-kgp.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/kn/kn-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ks/ks-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ks/ks-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ku/ku-h.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ku/ku-tr.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ky/ky-cyrl-alt.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/lo/lo-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/lud/lud-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mai/mai-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mai/mai-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mh/mh.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ml/ml-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mn/mn-cyrl.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mni/mni-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/mr/mr-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/my/my-xkb.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/nb/nb-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/nb/nb-tildeforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-rom.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-trad.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ne/ne-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-lekhani.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/or/or-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-jhelum.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/pa/pa-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-jcuken.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ru/ru-yawerty.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-iast.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sa/sa-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sah/sah-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sat/sat-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sd/sd-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/se/se-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/si/si-singlish.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/si/si-wijesekara.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sk/sk-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sr/sr-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/sv/sv-normforms.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-99.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-bamini.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ta/ta-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-inscript.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-inscript2.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/te/te-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/th/th-kedmanee.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/th/th-pattachote.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/udm/udm-alt.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ug/ug-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/uk/uk-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ur/ur-phonetic.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/ur/ur-transliteration.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/uz/uz-kbd.js create mode 100644 koha-tmpl/intranet-tmpl/lib/jquery.ime/rules/vec/vec-GVU.js diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/css/jquery.ime.css b/koha-tmpl/intranet-tmpl/lib/jquery.ime/css/jquery.ime.css new file mode 100644 index 0000000..9a254cc --- /dev/null +++ b/koha-tmpl/intranet-tmpl/lib/jquery.ime/css/jquery.ime.css @@ -0,0 +1,220 @@ +.imeselector { + position: absolute; + /* @embed */ + background: url('../images/ime-active.png') no-repeat left center; + /* @embed */ + background-image: -webkit-linear-gradient(transparent, transparent), url('../images/ime-active.svg'); + /* @embed */ + background-image: linear-gradient(transparent, transparent), url('../images/ime-active.svg'); + background-color: rgba(255,255,255,0.75); + background-position: left 3px center; + background-position-x: 3px; + height: 15px; + font-size: small; + padding: 2px 2px 1px 20px; + box-shadow: 0 1px 3px 0 #777; + margin-top: 0; + text-align: left; + font-family: sans-serif; + white-space: nowrap; + z-index: 1000; +} + +.imeselector:hover { + box-shadow: 0 1px 3px 0 #565656; + border-top: none; + background-color: rgba(255,255,255,0.85); +} + +.imeselector a, +.ime-disable { + cursor: pointer; + text-decoration: none; + outline: none; + color: #222222; + line-height: 1em; + padding-top: 4px; + padding-bottom: 4px; +} + +.ime-setting-caret { + margin-left: 2px; + margin-top: 8px; + border-left: 4px solid transparent; + border-right: 4px solid transparent; + border-top: 4px solid #565656; + content: ""; + display: inline-block; + height: 0; + vertical-align: top; + width: 0; + +} + +span.ime-disable-link { + padding-left: 20px; + white-space: nowrap; +} + +span.ime-disable-shortcut { + text-align: right; + margin-left: 10px; + color: #888; + font-size: smaller; + padding-right: 4px; +} + +.ime-list-title, +.ime-lang-title { + color: #39d; + border-bottom: solid 1px #39d; + text-align: left; + font-size: larger; + font-weight: normal; + padding-bottom: 5px; + padding-left: 20px; + padding-top: 9px; + margin: 0 0 1px; +} + +.ime-language-list-wrapper { + position: relative; + padding: 0; + display: block; + overflow-y: auto; + max-height: 150px; +} + +.imeselector-menu { + position: absolute; + top: 14px; + right: 0; + z-index: 1000; + display: none; + float: left; + margin-top: 13px; + min-width: 160px; + padding: 0; + border: 1px solid #888; + background-color: #FFFFFF; + border-radius: 5px; + -webkit-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -moz-box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2); + -webkit-background-clip: padding-box; + -moz-background-clip: padding; + background-clip: padding-box; + text-align: left; +} + +.imeselector-menu.ime-right { + right: auto; +} + +.imeselector-menu ul { + width: 100%; + padding: 0; + margin: 0; + list-style: none; +} + +/* The triangle shaped callout */ +.imeselector-menu:before { + border-bottom: 7px solid #888; + border-left: 7px solid transparent; + border-right: 7px solid transparent; + content: ""; + display: inline-block; + right: 9px; + position: absolute; + top: -7px; +} + +.imeselector-menu.ime-right:before { + right: auto; + left: 9px; +} + +.imeselector-menu:after { + border-bottom: 6px solid #FFFFFF; + border-left: 6px solid transparent; + border-right: 6px solid transparent; + content: ""; + display: inline-block; + right: 10px; + position: absolute; + top: -6px; +} + + +.imeselector-menu.ime-right:after { + right: auto; + left: 10px; +} + +.imeselector-menu.ime-position-top:before { + border-bottom: 0 none; + border-top: 7px solid #888; + top: auto; + bottom: -7px; +} + +.imeselector-menu.ime-position-top:after { + border-bottom: 0 none; + border-top: 6px solid #FFFFFF; + top: auto; + bottom: -6px; +} + +.imeselector-menu .ime-checked { + /* @embed */ + background: url(../images/tick.png) no-repeat left center; + /* @embed */ + background-image: -webkit-linear-gradient(transparent, transparent), url('../images/tick.svg'); + /* @embed */ + background-image: linear-gradient(transparent, transparent), url('../images/tick.svg'); + background-position: left 4px center; + background-position-x: 4px; +} + +.imeselector-menu .ime-help-link { + background-color: #f0f0f0; + border-radius: 0 0 5px 5px; + border-top: 1px solid #ddd; + margin-top: 6px; + padding: 2px 0; + color: #444; +} + +.imeselector-menu .ime-help-link > a:hover { + background-color: #f0f0f0; + color: #000; +} + +.imeselector-menu .selectable-row-item { + display: block; + padding-left: 20px; + padding-right: 20px; + font-weight: normal; + color: #333333; + outline: none; + white-space: nowrap; + position: relative; +} + +.imeselector-menu .selectable-row { + cursor: pointer; +} + +.imeselector-menu .selectable-row:hover { + background-color: #f0f0f0; +} + +.ime-open { + *z-index: 1000; + display: block; +} + +.imeselector-menu li { + position: relative; +} diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.png b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.png new file mode 100644 index 0000000000000000000000000000000000000000..e299c827f3944171f602bc0e4abd3dcfc9b896d6 GIT binary patch literal 319 zcmeAS@N?(olHy`uVBq!ia0vp^{6Ngj!2%??{N%3#DW+m4&kzod&^K-%LCyk?$YKTt zwlWZA)KtrF018T$xJHx&=ckpFCl;kLl$V$5W#(lUCnpx9>g5-u&wghk1yr=p)5S4F zB0TxW`496ILrm6atUX5?NRLQek#xgrfjU3q$8!PaHgp!e+;HFF zhx(iJ8~ZoNJKW<}_-p(|-|1KB3U(`&D5mNE#Q!nKGWjx`Vql2fwr1MjE$t70K4I{5 L^>bP0l+XkKX9Ra* literal 0 HcmV?d00001 diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.svg b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.svg new file mode 100644 index 0000000..a9dcfdb --- /dev/null +++ b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/ime-active.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.png b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.png new file mode 100644 index 0000000000000000000000000000000000000000..5499831b8d8a63dddb26b4b366cce7343e3132ed GIT binary patch literal 261 zcmeAS@N?(olHy`uVBq!ia0vp^JV4CJ!2%@LY-GI;q?n4GJVQ7*Lf^Q71UU;lB8wRq z*fc?y@#WnqmOw$t64!{5;QX|b^2DN4hVt@qz0ADq;^f4FRK5J7^x5xhq=1TAJY5_^ zIHHq(oNwUUS~+E#rgb8RHiyRCfM4tP2>M3&y1d+TseY+0myAOnGq+DfT+mCcfQq$- zuj|>^o)#=UopnheQPpzkZHI?T1zLGdbvMkZ&hk2?<;CB)rjo};;4Tl3k5_R6)A@!E z`!9vCxy{(9aAbvrpvI5*mEt!g1H5*I?qt1M%b+P2osiSE`!diy44$rjF6*2Ung9dV BSU~^) literal 0 HcmV?d00001 diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.svg b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.svg new file mode 100644 index 0000000..1e548a3 --- /dev/null +++ b/koha-tmpl/intranet-tmpl/lib/jquery.ime/images/tick.svg @@ -0,0 +1 @@ + \ No newline at end of file diff --git a/koha-tmpl/intranet-tmpl/lib/jquery.ime/jquery.ime.min.js b/koha-tmpl/intranet-tmpl/lib/jquery.ime/jquery.ime.min.js new file mode 100644 index 0000000..7d921da --- /dev/null +++ b/koha-tmpl/intranet-tmpl/lib/jquery.ime/jquery.ime.min.js @@ -0,0 +1,6 @@ +/*! jquery.ime - v0.1.0+20140825 +* https://github.com/wikimedia/jquery.ime +* Copyright (c) 2014 Santhosh Thottingal; Licensed GPL, MIT */ +(function(e){"use strict";function t(t,n){this.$element=e(t),e.ime.defaults.languages=d(e.ime.languages),this.options=e.extend({},e.ime.defaults,n),this.active=!1,this.shifted=!1,this.inputmethod=null,this.language=null,this.context="",this.selector=this.$element.imeselector(this.options),this.listen()}function n(e){window.console&&window.console.log&&window.console.log(e)}function i(e){var t,n,i,r,s,a,u=e.get(0),c=0,l=0;return e.is("[contenteditable]")?o(u):("number"==typeof u.selectionStart&&"number"==typeof u.selectionEnd?(c=u.selectionStart,l=u.selectionEnd):(n=document.selection.createRange(),n&&n.parentElement()===u&&(r=u.value.length,t=u.value.replace(/\r\n/g,"\n"),s=t.match(/\n/g),i=u.createTextRange(),i.moveToBookmark(n.getBookmark()),a=u.createTextRange(),a.collapse(!1),i.compareEndPoints("StartToEnd",a)>-1?c=l=s?r-s.length:r:(c=-i.moveStart("character",-r),l=i.compareEndPoints("EndToEnd",a)>-1?r:-i.moveEnd("character",-r)))),[c,l])}function r(e){var t;return"input"===e.nodeName.toLowerCase()?t=e.createTextRange():(t=document.body.createTextRange(),t.moveToElementText(e)),t}function s(e,t,n,i){var s,o,u,c,l,d,h,m=e.get(0);return e.is("[contenteditable]")?(d=a(e,{start:n,end:i}),s=rangy.getSelection(),l=s.getRangeAt(0),d[0]>0&&(t=(""+s).substring(0,d[0])+t),h=document.createTextNode(t),l.deleteContents(),l.insertNode(h),l.commonAncestorContainer.normalize(),n=i=n+t.length-d[0],a(e,{start:n,end:i}),void 0):("number"==typeof m.selectionStart&&"number"==typeof m.selectionEnd?(c=m.scrollTop,m.value=m.value.substring(0,n)+t+m.value.substring(i,m.value.length),m.scrollTop=c,m.selectionStart=m.selectionEnd=n+t.length):(s=r(m),o=m.value.length,u=m.value.match(/\n/g),u&&(o-=u.length),s.moveStart("character",n),s.moveEnd("character",i-o),s.text=t,s.collapse(!1),s.select()),void 0)}function o(e){function t(e,a){var u,c;if(e.nodeType===Node.TEXT_NODE)s||e!==a.startContainer||(i=n+a.startOffset,s=!0),s&&e===a.endContainer&&(r=n+a.endOffset,o=!0),n+=e.length;else for(c=e.childNodes.length,u=0;c>u&&(t(e.childNodes[u],a),!o);++u);}var n=0,i=0,r=0,s=!1,o=!1,a=rangy.getSelection();return a.rangeCount&&t(e,a.getRangeAt(0)),[i,r]}function a(e,t){var n,i=0,r=0,s=e[0];for(u(s,t),n=o(s);t.start!==n[0]&&(t.start-=1,!(0>t.start));)u(s,t),n=o(s),i+=1;for(;t.end!==n[1]&&(t.end+=1,u(s,t),n=o(s),r+=1,!(r>10)););return[i,r]}function u(e,t){function n(e){var u,c;if(3===e.nodeType)i=r+e.length,!o&&t.start>=r&&i>=t.start&&(s.setStart(e,t.start-r),o=!0),o&&t.end>=r&&i>=t.end&&(s.setEnd(e,t.end-r),a=!0),r=i;else for(u=0,c=e.childNodes.length;c>u;++u)if(n(e.childNodes[u]),a){rangy.getSelection().setSingleRange(s);break}}var i,r=0,s=rangy.createRange(),o=!1,a=!1;s.collapseToPoint(e,0),n(e)}function c(e,t){var n,i;for(n=e.lengthi;i++)if(e.charCodeAt(i)!==t.charCodeAt(i))return i;return-1}function l(e,t,n){return 0===n?"":n>=t?e.substr(0,t):e.substr(t-n,n)}function d(t){return e.map(t,function(e,t){return t})}t.prototype={constructor:t,listen:function(){this.$element.on("keypress.ime",e.proxy(this.keypress,this)),this.$element.on("keyup.ime",e.proxy(this.keyup,this)),this.$element.on("keydown.ime",e.proxy(this.keydown,this)),this.$element.on("destroy.ime",e.proxy(this.destroy,this)),this.$element.on("enable.ime",e.proxy(this.enable,this)),this.$element.on("disable.ime",e.proxy(this.disable,this))},transliterate:function(t,n,i){var r,s,o,a,u,c;if(r=i?this.inputmethod.patterns_x||[]:this.inputmethod.patterns||[],this.shifted&&(r=(this.inputmethod.patterns_shift||[]).concat(r)),e.isFunction(r))return c=r.call(this,t,n),"string"==typeof c?{noop:t===c,output:c}:c;for(u=0;r.length>u;u++)if(o=r[u],s=RegExp(o[0]+"$"),a=o.slice(-1)[0],s.test(t)){if(3!==o.length)return{noop:!1,output:t.replace(s,a)};if(RegExp(o[1]+"$").test(n))return{noop:!1,output:t.replace(s,a)}}return{noop:!0,output:t}},keyup:function(e){16===e.which&&(this.shifted=!1)},keydown:function(e){16===e.which&&(this.shifted=!0)},keypress:function(e){var t,n,i,r,o,a,u,c=!1;return this.active?this.inputmethod?8===e.which?(this.context="",!0):((e.altKey||e.altGraphKey)&&(c=!0),32>e.which&&13!==e.which&&!c||e.ctrlKey||e.metaKey?(this.context="",!0):(t=String.fromCharCode(e.which),i=this.getCaretPosition(this.$element),n=i[0],r=i[1],a=this.lastNChars(this.$element.val()||this.$element.text(),n,this.inputmethod.maxKeyLength),a+=t,u=this.transliterate(a,this.context,c),this.context+=t,this.context.length>this.inputmethod.contextLength&&(this.context=this.context.substring(this.context.length-this.inputmethod.contextLength)),u.noop?!0:(o=this.firstDivergence(a,u.output),a=a.substring(o),u.output=u.output.substring(o),s(this.$element,u.output,n-a.length+1,r),e.stopPropagation(),!1))):!0:!0},isActive:function(){return this.active},disable:function(){this.active=!1,e.ime.preferences.setIM("system")},enable:function(){this.active=!0},toggle:function(){this.active=!this.active},destroy:function(){e("body").off(".ime"),this.$element.off(".ime").removeData("ime").removeData("imeselector")},getIM:function(){return this.inputmethod},setIM:function(t){this.inputmethod=e.ime.inputmethods[t],e.ime.preferences.setIM(t)},setLanguage:function(t){return e.ime.languages[t]?(this.language=t,e.ime.preferences.setLanguage(t),!0):(n("Language "+t+" is not known to jquery.ime."),!1)},getLanguage:function(){return this.language},load:function(t){var i,r=this,s=e.Deferred();return e.ime.inputmethods[t]?s.resolve():e.ime.sources[t]?(i=e.ime.sources[t].depends,i&&!e.ime.inputmethods[i]?(r.load(i).done(function(){r.load(t).done(function(){s.resolve()})}),s):(n("Loading "+t),s=e.ajax({url:r.options.imePath+e.ime.sources[t].source,dataType:"script",cache:!0}).done(function(){n(t+" loaded")}).fail(function(e,i,r){n("Error in loading inputmethod "+t+" Exception: "+r)}),s.promise())):s.reject()},getCaretPosition:function(e){return i(e)},setCaretPosition:function(e,t){return a(e,t)},firstDivergence:function(e,t){return c(e,t)},lastNChars:function(e,t,n){return l(e,t,n)}},e.fn.ime=function(n){return this.each(function(){var i,r=e(this),s="object"==typeof n&&n;r.prop("readonly")||r.prop("disabled")||r.hasClass("noime")||(i=r.data("ime"),i||(i=new t(this,s),r.data("ime",i)),"string"==typeof n&&i[n]())})},e.ime={},e.ime.inputmethods={},e.ime.sources={},e.ime.preferences={},e.ime.languages={};var h={contextLength:0,maxKeyLength:1};e.ime.register=function(t){e.ime.inputmethods[t.id]=e.extend({},h,t)},e.ime.defaults={imePath:"/intranet-tmpl/lib/jquery.ime/",languages:[],helpHandler:null}})(jQuery),function(e){"use strict";function t(n,i){this.$element=e(n),this.options=e.extend({},t.defaults,i),this.active=!1,this.$imeSetting=null,this.$menu=null,this.inputmethod=null,this.timer=null,this.init(),this.listen()}function n(){return e("

").addClass("ime-lang-title").attr("data-i18n","jquery-ime-other-languages").text("Other languages")}function i(){return e("
    ").addClass("ime-list")}function r(){return e("

    ").addClass("ime-list-title autonym")}function s(){return e('
    ').append(e("").attr({"class":"ime-disable-link","data-i18n":"jquery-ime-disable-text"}).addClass("ime-checked").text("System input method"),e("").addClass("ime-disable-shortcut").text("CTRL+M"))}function o(e){return e.ctrlKey&&!e.altKey&&(77===e.which||13===e.which)}function a(){var e=document.createElement("p"),t=!1;if(e.addEventListener)e.addEventListener("DOMAttrModified",function(){t=!0},!1);else{if(!e.attachEvent)return!1;e.attachEvent("onDOMAttrModified",function(){t=!0})}return e.setAttribute("id","target"),t}var u,c;t.prototype={constructor:t,init:function(){this.prepareSelectorMenu(),this.position(),this.$imeSetting.hide()},prepareSelectorMenu:function(){this.$imeSetting=e(u),this.$menu=e('