v-emoji-picker
Advanced tools
Comparing version 1.2.0 to 1.2.1
@@ -1,1 +0,1 @@ | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["v-emoji-picker"]=e(require("vue")):t["v-emoji-picker"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0379":function(t,e,n){t.exports=n.p+"img/activity.d4d1cc55.svg"},"10a5":function(t,e,n){t.exports=n.p+"img/foods.2d2aa803.svg"},"130e":function(t,e,n){var r=n("26b3");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("742419da",r,!0,{sourceMap:!1,shadowMode:!1})},"1b7c":function(t,e,n){t.exports=n.p+"img/peoples.7e7cbb7a.svg"},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=r(o),a=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"===typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},"26b3":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#Categories[data-v-cabcae82]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #e4e4e4;background:#f0f0f0;color:#fff}.category[data-v-cabcae82]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-top:5px;padding-bottom:5px;text-align:center;cursor:pointer}.category.active[data-v-cabcae82]{border-bottom:3px solid #009688;-webkit-filter:saturate(3);filter:saturate(3);padding-bottom:2px}.category>img[data-v-cabcae82]{width:22px;height:22px}.category[data-v-cabcae82]:hover{-webkit-filter:saturate(3);filter:saturate(3)}",""])},"31c6":function(t,e,n){"use strict";var r=n("727b"),o=n.n(r);o.a},"31e8":function(t,e,n){var r={"./activity.svg":"0379","./flags.svg":"7a4f","./foods.svg":"10a5","./frequenty.svg":"3e94","./nature.svg":"5248","./objects.svg":"5c6d","./peoples.svg":"1b7c","./places.svg":"6be8","./symbols.svg":"3a8a"};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id="31e8"},"3a59":function(t,e,n){"use strict";var r=n("130e"),o=n.n(r);o.a},"3a8a":function(t,e,n){t.exports=n.p+"img/symbols.596ffdd0.svg"},"3e94":function(t,e,n){t.exports=n.p+"img/frequenty.80793d94.svg"},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],c=i[1],u=i[2],s=i[3],f={id:t+":"+o,css:c,media:u,sourceMap:s};r[a]?r[a].parts.push(f):n.push(r[a]={id:a,parts:[f]})}return n}n.r(e),n.d(e,"default",(function(){return y}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,u=0,s=!1,f=function(){},l=null,p="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function y(t,e,n,o){s=n,l=o||{};var a=r(t,e);return h(a),function(e){for(var n=[],o=0;o<a.length;o++){var c=a[o],u=i[c.id];u.refs--,n.push(u)}e?(a=r(t,e),h(a)):a=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function v(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function b(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(s)return f;r.parentNode.removeChild(r)}if(d){var o=u++;r=c||(c=v()),e=g.bind(null,r,o,!1),n=g.bind(null,r,o,!0)}else r=v(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function g(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function w(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),l.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},5248:function(t,e,n){t.exports=n.p+"img/nature.86d6e75e.svg"},"5c6d":function(t,e,n){t.exports=n.p+"img/objects.061a90a1.svg"},"6b7b":function(t,e,n){var r=n("bfb7");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("187d70a2",r,!0,{sourceMap:!1,shadowMode:!1})},"6be8":function(t,e,n){t.exports=n.p+"img/places.96a23406.svg"},"6ec3":function(t,e,n){"use strict";var r=n("e26c"),o=n.n(r);o.a},"727b":function(t,e,n){var r=n("b0ad");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("9eeb659e",r,!0,{sourceMap:!1,shadowMode:!1})},"77aa":function(t,e,n){"use strict";var r=n("941f"),o=n.n(r);o.a},"7a4f":function(t,e,n){t.exports=n.p+"img/flags.cbf8331b.svg"},"8bbf":function(e,n){e.exports=t},"8f4d":function(t,e,n){var r=n("f546");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("7fa0036c",r,!0,{sourceMap:!1,shadowMode:!1})},9004:function(t,e,n){"use strict";var r=n("8f4d"),o=n.n(r);o.a},"941f":function(t,e,n){var r=n("9bfe");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("0474cf65",r,!0,{sourceMap:!1,shadowMode:!1})},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=O(t,n,a),i}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=u;var f="suspendedStart",l="suspendedYield",p="executing",d="completed",y={};function h(){}function v(){}function b(){}var m={};m[i]=function(){return this};var g=Object.getPrototypeOf,w=g&&g(g(C([])));w&&w!==n&&r.call(w,i)&&(m=w);var x=b.prototype=h.prototype=Object.create(m);function j(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function _(t){function e(n,o,i,a){var c=s(t[n],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&r.call(f,"__await")?Promise.resolve(f.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}var n;function o(t,r){function o(){return new Promise((function(n,o){e(t,r,n,o)}))}return n=n?n.then(o,o):o()}this._invoke=o}function O(t,e,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return L()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=s(t,e,n);if("normal"===u.type){if(r=n.done?d:l,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var n=t[i];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){while(++o<t.length)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return v.prototype=x.constructor=b,b.constructor=v,b[c]=v.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},j(_.prototype),_.prototype[a]=function(){return this},t.AsyncIterator=_,t.async=function(e,n,r,o){var i=new _(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},j(x),x[c]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},"9bfe":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#EmojiPicker{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#f0f0f0;border-radius:4px;border:1px solid #e4e4e4;overflow:hidden;width:325px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""])},a34a:function(t,e,n){t.exports=n("96cf")},a97e:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#Emojis[data-v-86a31fb0]{font-family:Twemoji,NotomojiColor,Notomoji,Symbola,Noto,Segoe UI Emoji,OpenSansEmoji,monospace;display:block;width:100%;max-width:100%}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar{border-radius:4px;width:4px;background:hsla(0,0%,48.6%,.36)}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-track{border-radius:4px}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.22)}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.38)}.container-emoji[data-v-86a31fb0]{overflow-x:hidden;overflow-y:scroll;height:350px}.grid-emojis[data-v-86a31fb0]{display:grid;margin:5px 0;-webkit-box-align:start;-ms-flex-align:start;align-items:start}.emoji[data-v-86a31fb0]{display:inline-block;text-align:center;font-size:25px;padding:5px;max-height:30px;cursor:pointer}",""])},b0ad:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".category-title[data-v-2556f0a2]{text-transform:uppercase;font-size:.8em;padding:5px 0 0 16px;color:#676666}.category-title[data-v-2556f0a2]:not(:first-of-type){padding:10px 0 0 16px}",""])},bfb7:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".svg[data-v-291edc65]{display:inline-block;vertical-align:middle}",""])},c08d:function(t,e,n){"use strict";var r=n("6b7b"),o=n.n(r);o.a},e26c:function(t,e,n){var r=n("a97e");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("dd35b05e",r,!0,{sourceMap:!1,shadowMode:!1})},f546:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#InputSearch[data-v-b5e0f25a]{display:block;width:100%;max-width:100%}.container-search[data-v-b5e0f25a]{display:block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:5px 0;padding:0 5%}.container-search[data-v-b5e0f25a],.container-search input[data-v-b5e0f25a]{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.container-search input[data-v-b5e0f25a]{font-size:14px;padding:8px;border-radius:8px;background:#f6f6f6;color:#4a4a4a;border:1px solid #e2e2e2}",""])},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"EmojiPicker"}},[t.showCategory?n("Categories",{on:{select:t.changeCategory}}):t._e(),t.showSearch?n("InputSearch",{attrs:{placeholder:t.labelSearch},on:{update:t.onSearch}}):t._e(),n("EmojiList",{attrs:{data:t.mapEmojis,category:t.category,filter:t.filterEmoji,emojisByRow:t.emojisByRow,continuousList:t.continuousList,hasSearch:t.showSearch},on:{select:t.onSelectEmoji}})],1)},i=[],a=n("a34a"),c=n.n(a);function u(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function c(t){try{u(r["throw"](t))}catch(e){i(e)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(a,c)}u((r=r.apply(t,e||[])).next())}))}var f=n("8bbf"),l=n.n(f),p="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function d(t,e){y(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){y(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){y(t,e,n)}))}function y(t,e,n){var r=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);r.forEach((function(r){var o=n?Reflect.getOwnMetadata(r,e,n):Reflect.getOwnMetadata(r,e);n?Reflect.defineMetadata(r,o,t,n):Reflect.defineMetadata(r,o,t)}))}var h={__proto__:[]},v=h instanceof Array;function b(t){return function(e,n,r){var o="function"===typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!==typeof r&&(r=void 0),o.__decorators__.push((function(e){return t(e,n,r)}))}}function m(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}function g(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var r in t.$options.props)t.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var r=new e;e.prototype._init=n;var o={};return Object.keys(r).forEach((function(t){void 0!==r[t]&&(o[t]=r[t])})),o}var w=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function x(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(w.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"===typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return e={},e[t]=r.value,e}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return g(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var o=Object.getPrototypeOf(t.prototype),i=o instanceof l.a?o.constructor:l.a,a=i.extend(e);return _(a,t,i),p&&d(a,t),a}var j={prototype:!0,arguments:!0,callee:!0,caller:!0};function _(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!j[r]){var o=Object.getOwnPropertyDescriptor(t,r);if(!o||o.configurable){var i=Object.getOwnPropertyDescriptor(e,r);if(!v){if("cid"===r)return;var a=Object.getOwnPropertyDescriptor(n,r);if(!m(i.value)&&a&&a.value===i.value)return}0,Object.defineProperty(t,r,i)}}}))}function O(t){return"function"===typeof t?x(t):function(e){return x(e,t)}}O.registerHooks=function(t){w.push.apply(w,t)};var S=O;var E="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function k(t,e,n){E&&(Array.isArray(t)||"function"===typeof t||"undefined"!==typeof t.type||(t.type=Reflect.getMetadata("design:type",e,n)))}function P(t){return void 0===t&&(t={}),function(e,n){k(t,e,n),b((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function C(t,e){void 0===e&&(e={});var n=e.deep,r=void 0!==n&&n,o=e.immediate,i=void 0!==o&&o;return b((function(e,n){"object"!==typeof e.watch&&(e.watch=Object.create(null));var o=e.watch;"object"!==typeof o[t]||Array.isArray(o[t])?"undefined"===typeof o[t]&&(o[t]=[]):o[t]=[o[t]],o[t].push({handler:n,deep:r,immediate:i})}))}var L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"Categories"}},t._l(t.categories,(function(e,r){return n("div",{key:r,class:["category",{active:r===t.active}],on:{click:function(e){return t.onSelect(r)}}},[n("VSvg",{attrs:{name:e.icon}})],1)})),0)},T=[],R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"svg",style:t.styleSVG},[n("img",{attrs:{loading:"lazy",src:t.icon,width:"20px",alt:t.name}})])},M=[];function N(t){return N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&F(t.prototype,e),n&&F(t,n),t}function q(t,e){return!e||"object"!==N(e)&&"function"!==typeof e?I(t):e}function I(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},B(t)}function D(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}function U(t,e){return U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},U(t,e)}var G=function(t){function e(){return $(this,e),q(this,B(e).apply(this,arguments))}return D(e,t),A(e,[{key:"icon",get:function(){return n("31e8")("./".concat(this.name,".svg"))}},{key:"styleSVG",get:function(){return Object.assign({},this.styles)}}]),e}(l.a);u([P({required:!0})],G.prototype,"name",void 0),u([P({})],G.prototype,"styles",void 0),G=u([S({})],G);var V=G,z=V;n("c08d");function K(t,e,n,r,o,i,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}var H=K(z,R,M,!1,null,"291edc65",null),J=H.exports;function X(t){return X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function Y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return e&&W(t.prototype,e),n&&W(t,n),t}function Z(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?tt(t):e}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},et(t)}function nt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}function rt(t,e){return rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},rt(t,e)}var ot=function(t){function e(){var t;return Y(this,e),t=Z(this,et(e).apply(this,arguments)),t.active=1,t.categories=[{name:"Frequenty",icon:"frequenty"},{name:"Peoples",icon:"peoples"},{name:"Nature",icon:"nature"},{name:"Foods",icon:"foods"},{name:"Activity",icon:"activity"},{name:"Objects",icon:"objects"},{name:"Places",icon:"places"},{name:"Symbols",icon:"symbols"},{name:"Flags",icon:"flags"}],t}return nt(e,t),Q(e,[{key:"onSelect",value:function(t){this.active=t,this.$emit("select",this.categories[t])}}]),e}(l.a);ot=u([S({components:{VSvg:J}})],ot);var it=ot,at=it,ct=(n("3a59"),K(at,L,T,!1,null,"cabcae82",null)),ut=ct.exports,st=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"Emojis"}},[n("div",{ref:"container-emoji",staticClass:"container-emoji"},[t.continuousList?t._l(t.dataFilteredByCategory,(function(e,r){return n("div",{key:r},[n("CategoryTitle",{directives:[{name:"show",rawName:"v-show",value:e.length,expression:"category.length"}],ref:r,refInFor:!0,attrs:{name:r}}),e.length?n("div",{staticClass:"grid-emojis",style:t.gridDynamic},t._l(e,(function(e,o){return n("EmojiItem",{key:r+"-"+o,attrs:{data:e["emoji"]},nativeOn:{click:function(n){return t.onSelect(e)}}})})),1):t._e()],1)})):n("div",{staticClass:"grid-emojis",style:t.gridDynamic},t._l(t.dataFiltered,(function(e,r){return n("EmojiItem",{key:r,attrs:{data:e["emoji"]},nativeOn:{click:function(n){return t.onSelect(e)}}})})),1)],2)])},ft=[],lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"emoji",domProps:{innerHTML:t._s(t.data)}})},pt=[];function dt(t){return dt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){return!e||"object"!==dt(e)&&"function"!==typeof e?vt(t):e}function vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bt(t){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},bt(t)}function mt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}function gt(t,e){return gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},gt(t,e)}var wt=function(t){function e(){return yt(this,e),ht(this,bt(e).apply(this,arguments))}return mt(e,t),e}(l.a);u([P({})],wt.prototype,"data",void 0),wt=u([S({})],wt);var xt=wt,jt=xt,_t=K(jt,lt,pt,!1,null,"9f680c72",null),Ot=_t.exports,St=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"category-title"},[t._v(t._s(t.name))])},Et=[];function kt(t){return kt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(t)}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ct(t,e){return!e||"object"!==kt(e)&&"function"!==typeof e?Lt(t):e}function Lt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(t)}function Rt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Mt(t,e)}var Nt=function(t){function e(){return Pt(this,e),Ct(this,Tt(e).apply(this,arguments))}return Rt(e,t),e}(l.a);u([P({required:!0})],Nt.prototype,"name",void 0),Nt=u([S({})],Nt);var $t=Nt,Ft=$t,At=(n("31c6"),K(Ft,St,Et,!1,null,"2556f0a2",null)),qt=At.exports;function It(t){return It="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},It(t)}function Bt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ut(t,e,n){return e&&Dt(t.prototype,e),n&&Dt(t,n),t}function Gt(t,e){return!e||"object"!==It(e)&&"function"!==typeof e?Vt(t):e}function Vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zt(t){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},zt(t)}function Kt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ht(t,e)}var Jt=function(t){function e(){return Bt(this,e),Gt(this,zt(e).apply(this,arguments))}return Kt(e,t),Ut(e,[{key:"onSelect",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$emit("select",t);case 1:case"end":return e.stop()}}),e,this)})))}},{key:"searchByAlias",value:function(t,e){var n=function(e){return e.toLowerCase().includes(t)};return e.aliases.some((function(t){return n(t)}))}},{key:"calcScrollTop",value:function(){return this.hasSearch?88:44}},{key:"onDataChanged",value:function(t,e){this.containerEmoji.scrollTop=0}},{key:"onCategoryChanged",value:function(t,e){if(this.continuousList){var n=this.$refs[t][0].$el,r=n.offsetTop-this.calcScrollTop();this.containerEmoji.scrollTop=r}}},{key:"gridDynamic",get:function(){var t=100/this.emojisByRow;return{gridTemplateColumns:"repeat(".concat(this.emojisByRow,", ").concat(t,"%)")}}},{key:"dataFiltered",get:function(){var t=this,e=this.data[this.category],n=this.filter.trim().toLowerCase();return n&&(e=e.filter((function(e){return t.searchByAlias(n,e)}))),e}},{key:"dataFilteredByCategory",get:function(){var t=this,e=Object.assign({},this.data),n=this.filter.trim().toLowerCase();return n&&this.categories.forEach((function(r){e[r]=t.data[r].filter((function(e){return t.searchByAlias(n,e)}))})),e}},{key:"categories",get:function(){return Object.keys(this.data)}},{key:"containerEmoji",get:function(){return this.$refs["container-emoji"]}}]),e}(l.a);u([P({required:!0})],Jt.prototype,"data",void 0),u([P({required:!0})],Jt.prototype,"emojisByRow",void 0),u([P({})],Jt.prototype,"filter",void 0),u([P({})],Jt.prototype,"continuousList",void 0),u([P({})],Jt.prototype,"category",void 0),u([P({})],Jt.prototype,"hasSearch",void 0),u([C("data")],Jt.prototype,"onDataChanged",null),u([C("category")],Jt.prototype,"onCategoryChanged",null),Jt=u([S({components:{EmojiItem:Ot,CategoryTitle:qt}})],Jt);var Xt=Jt,Yt=Xt,Wt=(n("6ec3"),K(Yt,st,ft,!1,null,"86a31fb0",null)),Qt=Wt.exports,Zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"InputSearch"}},[n("div",{staticClass:"container-search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputSearch,expression:"inputSearch"}],attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.inputSearch},on:{input:function(e){e.target.composing||(t.inputSearch=e.target.value)}}})])])},te=[];function ee(t){return ee="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function oe(t,e,n){return e&&re(t.prototype,e),n&&re(t,n),t}function ie(t,e){return!e||"object"!==ee(e)&&"function"!==typeof e?ae(t):e}function ae(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ce(t){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ce(t)}function ue(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&se(t,e)}function se(t,e){return se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},se(t,e)}var fe,le=500,pe=function(t){function e(){var t;return ne(this,e),t=ie(this,ce(e).apply(this,arguments)),t.inputSearch="",t}return ue(e,t),oe(e,[{key:"onInputChanged",value:function(t,e){var n=this;clearTimeout(fe),fe=setTimeout((function(){return n.$emit("update",t)}),le)}}]),e}(l.a);u([P({required:!0})],pe.prototype,"placeholder",void 0),u([C("inputSearch")],pe.prototype,"onInputChanged",null),pe=u([S({})],pe);var de=pe,ye=de,he=(n("9004"),K(ye,Zt,te,!1,null,"b5e0f25a",null)),ve=he.exports;function be(t){return be="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function me(t){return xe(t)||we(t)||ge()}function ge(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function we(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function xe(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function je(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oe(t,e,n){return e&&_e(t.prototype,e),n&&_e(t,n),t}function Se(t,e){return!e||"object"!==be(e)&&"function"!==typeof e?Ee(t):e}function Ee(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ke(t)}function Pe(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}function Ce(t,e){return Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ce(t,e)}var Le=function(t){function e(){var t;return je(this,e),t=Se(this,ke(e).apply(this,arguments)),t.mapEmojis={},t.category="Peoples",t.filterEmoji="",t}return Pe(e,t),Oe(e,[{key:"created",value:function(){this.mapperData(this.pack)}},{key:"onSearch",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.filterEmoji=t;case 1:case"end":return e.stop()}}),e,this)})))}},{key:"changeCategory",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){var n;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=this.mapEmojis[t.name].length,n&&(this.category=t.name,this.$emit("changeCategory",this.category));case 2:case"end":return e.stop()}}),e,this)})))}},{key:"onSelectEmoji",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.updateFrequenty(t),this.$emit("select",t);case 2:case"end":return e.stop()}}),e,this)})))}},{key:"updateFrequenty",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.mapEmojis["Frequenty"]=me(new Set([].concat(me(this.mapEmojis["Frequenty"]),[t])));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"mapperData",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){var n=this;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$set(this.mapEmojis,"Frequenty",[]),t.forEach((function(t){var e=t.category;n.mapEmojis[e]?n.mapEmojis[e].push(t):n.$set(n.mapEmojis,e,[t])}));case 2:case"end":return e.stop()}}),e,this)})))}}]),e}(l.a);u([P({required:!0})],Le.prototype,"pack",void 0),u([P({default:"Pesquisar..."})],Le.prototype,"labelSearch",void 0),u([P({default:5})],Le.prototype,"emojisByRow",void 0),u([P({default:!0})],Le.prototype,"showCategory",void 0),u([P({default:!0})],Le.prototype,"showSearch",void 0),u([P({default:!1})],Le.prototype,"continuousList",void 0),Le=u([S({components:{Categories:ut,EmojiList:Qt,InputSearch:ve}})],Le);var Te=Le,Re=Te,Me=(n("77aa"),K(Re,o,i,!1,null,null,null)),Ne=Me.exports,$e=Ne;function Fe(t){t.use($e)}var Ae={install:Fe};"undefined"!==typeof window&&window.Vue&&window.Vue.use(Ae);var qe=$e;n.d(e,"install",(function(){return Fe}));e["default"]=qe}})})); | ||
(function(t,e){"object"===typeof exports&&"object"===typeof module?module.exports=e(require("vue")):"function"===typeof define&&define.amd?define([],e):"object"===typeof exports?exports["v-emoji-picker"]=e(require("vue")):t["v-emoji-picker"]=e(t["Vue"])})("undefined"!==typeof self?self:this,(function(t){return function(t){var e={};function n(r){if(e[r])return e[r].exports;var o=e[r]={i:r,l:!1,exports:{}};return t[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=t,n.c=e,n.d=function(t,e,r){n.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:r})},n.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},n.t=function(t,e){if(1&e&&(t=n(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var o in t)n.d(r,o,function(e){return t[e]}.bind(null,o));return r},n.n=function(t){var e=t&&t.__esModule?function(){return t["default"]}:function(){return t};return n.d(e,"a",e),e},n.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},n.p="",n(n.s="fb15")}({"0379":function(t,e,n){t.exports=n.p+"img/activity.d4d1cc55.svg"},"10a5":function(t,e,n){t.exports=n.p+"img/foods.2d2aa803.svg"},"130e":function(t,e,n){var r=n("26b3");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("742419da",r,!0,{sourceMap:!1,shadowMode:!1})},"1b7c":function(t,e,n){t.exports=n.p+"img/peoples.7e7cbb7a.svg"},2350:function(t,e){function n(t,e){var n=t[1]||"",o=t[3];if(!o)return n;if(e&&"function"===typeof btoa){var i=r(o),a=o.sources.map((function(t){return"/*# sourceURL="+o.sourceRoot+t+" */"}));return[n].concat(a).concat([i]).join("\n")}return[n].join("\n")}function r(t){var e=btoa(unescape(encodeURIComponent(JSON.stringify(t)))),n="sourceMappingURL=data:application/json;charset=utf-8;base64,"+e;return"/*# "+n+" */"}t.exports=function(t){var e=[];return e.toString=function(){return this.map((function(e){var r=n(e,t);return e[2]?"@media "+e[2]+"{"+r+"}":r})).join("")},e.i=function(t,n){"string"===typeof t&&(t=[[null,t,""]]);for(var r={},o=0;o<this.length;o++){var i=this[o][0];"number"===typeof i&&(r[i]=!0)}for(o=0;o<t.length;o++){var a=t[o];"number"===typeof a[0]&&r[a[0]]||(n&&!a[2]?a[2]=n:n&&(a[2]="("+a[2]+") and ("+n+")"),e.push(a))}},e}},"26b3":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#Categories[data-v-cabcae82]{display:-webkit-box;display:-ms-flexbox;display:flex;width:100%;-webkit-box-orient:horizontal;-webkit-box-direction:normal;-ms-flex-direction:row;flex-direction:row;-webkit-box-align:center;-ms-flex-align:center;align-items:center;border-bottom:1px solid #e4e4e4;background:#f0f0f0;color:#fff}.category[data-v-cabcae82]{-webkit-box-flex:1;-ms-flex:1;flex:1;padding-top:5px;padding-bottom:5px;text-align:center;cursor:pointer}.category.active[data-v-cabcae82]{border-bottom:3px solid #009688;-webkit-filter:saturate(3);filter:saturate(3);padding-bottom:2px}.category>img[data-v-cabcae82]{width:22px;height:22px}.category[data-v-cabcae82]:hover{-webkit-filter:saturate(3);filter:saturate(3)}",""])},"31c6":function(t,e,n){"use strict";var r=n("727b"),o=n.n(r);o.a},"31e8":function(t,e,n){var r={"./activity.svg":"0379","./flags.svg":"7a4f","./foods.svg":"10a5","./frequenty.svg":"3e94","./nature.svg":"5248","./objects.svg":"5c6d","./peoples.svg":"1b7c","./places.svg":"6be8","./symbols.svg":"3a8a"};function o(t){var e=i(t);return n(e)}function i(t){if(!n.o(r,t)){var e=new Error("Cannot find module '"+t+"'");throw e.code="MODULE_NOT_FOUND",e}return r[t]}o.keys=function(){return Object.keys(r)},o.resolve=i,t.exports=o,o.id="31e8"},"3a59":function(t,e,n){"use strict";var r=n("130e"),o=n.n(r);o.a},"3a8a":function(t,e,n){t.exports=n.p+"img/symbols.596ffdd0.svg"},"3e94":function(t,e,n){t.exports=n.p+"img/frequenty.80793d94.svg"},"499e":function(t,e,n){"use strict";function r(t,e){for(var n=[],r={},o=0;o<e.length;o++){var i=e[o],a=i[0],c=i[1],u=i[2],s=i[3],f={id:t+":"+o,css:c,media:u,sourceMap:s};r[a]?r[a].parts.push(f):n.push(r[a]={id:a,parts:[f]})}return n}n.r(e),n.d(e,"default",(function(){return y}));var o="undefined"!==typeof document;if("undefined"!==typeof DEBUG&&DEBUG&&!o)throw new Error("vue-style-loader cannot be used in a non-browser environment. Use { target: 'node' } in your Webpack config to indicate a server-rendering environment.");var i={},a=o&&(document.head||document.getElementsByTagName("head")[0]),c=null,u=0,s=!1,f=function(){},l=null,p="data-vue-ssr-id",d="undefined"!==typeof navigator&&/msie [6-9]\b/.test(navigator.userAgent.toLowerCase());function y(t,e,n,o){s=n,l=o||{};var a=r(t,e);return h(a),function(e){for(var n=[],o=0;o<a.length;o++){var c=a[o],u=i[c.id];u.refs--,n.push(u)}e?(a=r(t,e),h(a)):a=[];for(o=0;o<n.length;o++){u=n[o];if(0===u.refs){for(var s=0;s<u.parts.length;s++)u.parts[s]();delete i[u.id]}}}}function h(t){for(var e=0;e<t.length;e++){var n=t[e],r=i[n.id];if(r){r.refs++;for(var o=0;o<r.parts.length;o++)r.parts[o](n.parts[o]);for(;o<n.parts.length;o++)r.parts.push(b(n.parts[o]));r.parts.length>n.parts.length&&(r.parts.length=n.parts.length)}else{var a=[];for(o=0;o<n.parts.length;o++)a.push(b(n.parts[o]));i[n.id]={id:n.id,refs:1,parts:a}}}}function v(){var t=document.createElement("style");return t.type="text/css",a.appendChild(t),t}function b(t){var e,n,r=document.querySelector("style["+p+'~="'+t.id+'"]');if(r){if(s)return f;r.parentNode.removeChild(r)}if(d){var o=u++;r=c||(c=v()),e=g.bind(null,r,o,!1),n=g.bind(null,r,o,!0)}else r=v(),e=w.bind(null,r),n=function(){r.parentNode.removeChild(r)};return e(t),function(r){if(r){if(r.css===t.css&&r.media===t.media&&r.sourceMap===t.sourceMap)return;e(t=r)}else n()}}var m=function(){var t=[];return function(e,n){return t[e]=n,t.filter(Boolean).join("\n")}}();function g(t,e,n,r){var o=n?"":r.css;if(t.styleSheet)t.styleSheet.cssText=m(e,o);else{var i=document.createTextNode(o),a=t.childNodes;a[e]&&t.removeChild(a[e]),a.length?t.insertBefore(i,a[e]):t.appendChild(i)}}function w(t,e){var n=e.css,r=e.media,o=e.sourceMap;if(r&&t.setAttribute("media",r),l.ssrId&&t.setAttribute(p,e.id),o&&(n+="\n/*# sourceURL="+o.sources[0]+" */",n+="\n/*# sourceMappingURL=data:application/json;base64,"+btoa(unescape(encodeURIComponent(JSON.stringify(o))))+" */"),t.styleSheet)t.styleSheet.cssText=n;else{while(t.firstChild)t.removeChild(t.firstChild);t.appendChild(document.createTextNode(n))}}},5248:function(t,e,n){t.exports=n.p+"img/nature.86d6e75e.svg"},"5c6d":function(t,e,n){t.exports=n.p+"img/objects.061a90a1.svg"},"6b7b":function(t,e,n){var r=n("bfb7");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("187d70a2",r,!0,{sourceMap:!1,shadowMode:!1})},"6be8":function(t,e,n){t.exports=n.p+"img/places.96a23406.svg"},"6ec3":function(t,e,n){"use strict";var r=n("e26c"),o=n.n(r);o.a},"727b":function(t,e,n){var r=n("b0ad");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("9eeb659e",r,!0,{sourceMap:!1,shadowMode:!1})},"77aa":function(t,e,n){"use strict";var r=n("941f"),o=n.n(r);o.a},"7a4f":function(t,e,n){t.exports=n.p+"img/flags.cbf8331b.svg"},"8bbf":function(e,n){e.exports=t},"8f4d":function(t,e,n){var r=n("f546");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("7fa0036c",r,!0,{sourceMap:!1,shadowMode:!1})},9004:function(t,e,n){"use strict";var r=n("8f4d"),o=n.n(r);o.a},"941f":function(t,e,n){var r=n("9bfe");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("0474cf65",r,!0,{sourceMap:!1,shadowMode:!1})},"96cf":function(t,e,n){var r=function(t){"use strict";var e,n=Object.prototype,r=n.hasOwnProperty,o="function"===typeof Symbol?Symbol:{},i=o.iterator||"@@iterator",a=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function u(t,e,n,r){var o=e&&e.prototype instanceof h?e:h,i=Object.create(o.prototype),a=new P(r||[]);return i._invoke=O(t,n,a),i}function s(t,e,n){try{return{type:"normal",arg:t.call(e,n)}}catch(r){return{type:"throw",arg:r}}}t.wrap=u;var f="suspendedStart",l="suspendedYield",p="executing",d="completed",y={};function h(){}function v(){}function b(){}var m={};m[i]=function(){return this};var g=Object.getPrototypeOf,w=g&&g(g(C([])));w&&w!==n&&r.call(w,i)&&(m=w);var x=b.prototype=h.prototype=Object.create(m);function j(t){["next","throw","return"].forEach((function(e){t[e]=function(t){return this._invoke(e,t)}}))}function _(t){function e(n,o,i,a){var c=s(t[n],t,o);if("throw"!==c.type){var u=c.arg,f=u.value;return f&&"object"===typeof f&&r.call(f,"__await")?Promise.resolve(f.__await).then((function(t){e("next",t,i,a)}),(function(t){e("throw",t,i,a)})):Promise.resolve(f).then((function(t){u.value=t,i(u)}),(function(t){return e("throw",t,i,a)}))}a(c.arg)}var n;function o(t,r){function o(){return new Promise((function(n,o){e(t,r,n,o)}))}return n=n?n.then(o,o):o()}this._invoke=o}function O(t,e,n){var r=f;return function(o,i){if(r===p)throw new Error("Generator is already running");if(r===d){if("throw"===o)throw i;return L()}n.method=o,n.arg=i;while(1){var a=n.delegate;if(a){var c=S(a,n);if(c){if(c===y)continue;return c}}if("next"===n.method)n.sent=n._sent=n.arg;else if("throw"===n.method){if(r===f)throw r=d,n.arg;n.dispatchException(n.arg)}else"return"===n.method&&n.abrupt("return",n.arg);r=p;var u=s(t,e,n);if("normal"===u.type){if(r=n.done?d:l,u.arg===y)continue;return{value:u.arg,done:n.done}}"throw"===u.type&&(r=d,n.method="throw",n.arg=u.arg)}}}function S(t,n){var r=t.iterator[n.method];if(r===e){if(n.delegate=null,"throw"===n.method){if(t.iterator["return"]&&(n.method="return",n.arg=e,S(t,n),"throw"===n.method))return y;n.method="throw",n.arg=new TypeError("The iterator does not provide a 'throw' method")}return y}var o=s(r,t.iterator,n.arg);if("throw"===o.type)return n.method="throw",n.arg=o.arg,n.delegate=null,y;var i=o.arg;return i?i.done?(n[t.resultName]=i.value,n.next=t.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,y):i:(n.method="throw",n.arg=new TypeError("iterator result is not an object"),n.delegate=null,y)}function E(t){var e={tryLoc:t[0]};1 in t&&(e.catchLoc=t[1]),2 in t&&(e.finallyLoc=t[2],e.afterLoc=t[3]),this.tryEntries.push(e)}function k(t){var e=t.completion||{};e.type="normal",delete e.arg,t.completion=e}function P(t){this.tryEntries=[{tryLoc:"root"}],t.forEach(E,this),this.reset(!0)}function C(t){if(t){var n=t[i];if(n)return n.call(t);if("function"===typeof t.next)return t;if(!isNaN(t.length)){var o=-1,a=function n(){while(++o<t.length)if(r.call(t,o))return n.value=t[o],n.done=!1,n;return n.value=e,n.done=!0,n};return a.next=a}}return{next:L}}function L(){return{value:e,done:!0}}return v.prototype=x.constructor=b,b.constructor=v,b[c]=v.displayName="GeneratorFunction",t.isGeneratorFunction=function(t){var e="function"===typeof t&&t.constructor;return!!e&&(e===v||"GeneratorFunction"===(e.displayName||e.name))},t.mark=function(t){return Object.setPrototypeOf?Object.setPrototypeOf(t,b):(t.__proto__=b,c in t||(t[c]="GeneratorFunction")),t.prototype=Object.create(x),t},t.awrap=function(t){return{__await:t}},j(_.prototype),_.prototype[a]=function(){return this},t.AsyncIterator=_,t.async=function(e,n,r,o){var i=new _(u(e,n,r,o));return t.isGeneratorFunction(n)?i:i.next().then((function(t){return t.done?t.value:i.next()}))},j(x),x[c]="Generator",x[i]=function(){return this},x.toString=function(){return"[object Generator]"},t.keys=function(t){var e=[];for(var n in t)e.push(n);return e.reverse(),function n(){while(e.length){var r=e.pop();if(r in t)return n.value=r,n.done=!1,n}return n.done=!0,n}},t.values=C,P.prototype={constructor:P,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(k),!t)for(var n in this)"t"===n.charAt(0)&&r.call(this,n)&&!isNaN(+n.slice(1))&&(this[n]=e)},stop:function(){this.done=!0;var t=this.tryEntries[0],e=t.completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var n=this;function o(r,o){return c.type="throw",c.arg=t,n.next=r,o&&(n.method="next",n.arg=e),!!o}for(var i=this.tryEntries.length-1;i>=0;--i){var a=this.tryEntries[i],c=a.completion;if("root"===a.tryLoc)return o("end");if(a.tryLoc<=this.prev){var u=r.call(a,"catchLoc"),s=r.call(a,"finallyLoc");if(u&&s){if(this.prev<a.catchLoc)return o(a.catchLoc,!0);if(this.prev<a.finallyLoc)return o(a.finallyLoc)}else if(u){if(this.prev<a.catchLoc)return o(a.catchLoc,!0)}else{if(!s)throw new Error("try statement without catch or finally");if(this.prev<a.finallyLoc)return o(a.finallyLoc)}}}},abrupt:function(t,e){for(var n=this.tryEntries.length-1;n>=0;--n){var o=this.tryEntries[n];if(o.tryLoc<=this.prev&&r.call(o,"finallyLoc")&&this.prev<o.finallyLoc){var i=o;break}}i&&("break"===t||"continue"===t)&&i.tryLoc<=e&&e<=i.finallyLoc&&(i=null);var a=i?i.completion:{};return a.type=t,a.arg=e,i?(this.method="next",this.next=i.finallyLoc,y):this.complete(a)},complete:function(t,e){if("throw"===t.type)throw t.arg;return"break"===t.type||"continue"===t.type?this.next=t.arg:"return"===t.type?(this.rval=this.arg=t.arg,this.method="return",this.next="end"):"normal"===t.type&&e&&(this.next=e),y},finish:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.finallyLoc===t)return this.complete(n.completion,n.afterLoc),k(n),y}},catch:function(t){for(var e=this.tryEntries.length-1;e>=0;--e){var n=this.tryEntries[e];if(n.tryLoc===t){var r=n.completion;if("throw"===r.type){var o=r.arg;k(n)}return o}}throw new Error("illegal catch attempt")},delegateYield:function(t,n,r){return this.delegate={iterator:C(t),resultName:n,nextLoc:r},"next"===this.method&&(this.arg=e),y}},t}(t.exports);try{regeneratorRuntime=r}catch(o){Function("r","regeneratorRuntime = r")(r)}},"9bfe":function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#EmojiPicker{display:-webkit-inline-box;display:-ms-inline-flexbox;display:inline-flex;-webkit-box-orient:vertical;-webkit-box-direction:normal;-ms-flex-direction:column;flex-direction:column;-webkit-box-align:center;-ms-flex-align:center;align-items:center;background:#f0f0f0;border-radius:4px;border:1px solid #e4e4e4;overflow:hidden;width:325px;-webkit-user-select:none;-moz-user-select:none;-ms-user-select:none;user-select:none}",""])},a34a:function(t,e,n){t.exports=n("96cf")},a97e:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#Emojis[data-v-86a31fb0]{font-family:Twemoji,NotomojiColor,Notomoji,Symbola,Noto,Segoe UI Emoji,OpenSansEmoji,monospace;display:block;width:100%;max-width:100%}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar{border-radius:4px;width:4px;background:hsla(0,0%,48.6%,.36)}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-track{border-radius:4px}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-thumb{border-radius:4px;background:rgba(0,0,0,.22)}#Emojis[data-v-86a31fb0] ::-webkit-scrollbar-thumb:hover{background:rgba(0,0,0,.38)}.container-emoji[data-v-86a31fb0]{overflow-x:hidden;overflow-y:scroll;height:350px}.grid-emojis[data-v-86a31fb0]{display:grid;margin:5px 0;-webkit-box-align:start;-ms-flex-align:start;align-items:start}.emoji[data-v-86a31fb0]{display:inline-block;text-align:center;font-size:25px;padding:5px;max-height:30px;cursor:pointer}",""])},b0ad:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".category-title[data-v-2556f0a2]{text-transform:uppercase;font-size:.8em;padding:5px 0 0 16px;color:#676666}.category-title[data-v-2556f0a2]:not(:first-of-type){padding:10px 0 0 16px}",""])},bfb7:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,".svg[data-v-291edc65]{display:inline-block;vertical-align:middle}",""])},c08d:function(t,e,n){"use strict";var r=n("6b7b"),o=n.n(r);o.a},e26c:function(t,e,n){var r=n("a97e");"string"===typeof r&&(r=[[t.i,r,""]]),r.locals&&(t.exports=r.locals);var o=n("499e").default;o("dd35b05e",r,!0,{sourceMap:!1,shadowMode:!1})},f546:function(t,e,n){e=t.exports=n("2350")(!1),e.push([t.i,"#InputSearch[data-v-b5e0f25a]{display:block;width:100%;max-width:100%}.container-search[data-v-b5e0f25a]{display:block;-webkit-box-pack:center;-ms-flex-pack:center;justify-content:center;margin:5px 0;padding:0 5%}.container-search[data-v-b5e0f25a],.container-search input[data-v-b5e0f25a]{-webkit-box-sizing:border-box;box-sizing:border-box;width:100%}.container-search input[data-v-b5e0f25a]{font-size:14px;padding:8px;border-radius:8px;background:#f6f6f6;color:#4a4a4a;border:1px solid #e2e2e2}",""])},f6fd:function(t,e){(function(t){var e="currentScript",n=t.getElementsByTagName("script");e in t||Object.defineProperty(t,e,{get:function(){try{throw new Error}catch(r){var t,e=(/.*at [^\(]*\((.*):.+:.+\)$/gi.exec(r.stack)||[!1])[1];for(t in n)if(n[t].src==e||"interactive"==n[t].readyState)return n[t];return null}}})})(document)},fb15:function(t,e,n){"use strict";var r;(n.r(e),"undefined"!==typeof window)&&(n("f6fd"),(r=window.document.currentScript)&&(r=r.src.match(/(.+\/)[^\/]+\.js(\?.*)?$/))&&(n.p=r[1]));var o=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"EmojiPicker"}},[t.showCategory?n("Categories",{on:{select:t.changeCategory}}):t._e(),t.showSearch?n("InputSearch",{attrs:{placeholder:t.labelSearch},on:{update:t.onSearch}}):t._e(),n("EmojiList",{attrs:{data:t.mapEmojis,category:t.category,filter:t.filterEmoji,emojisByRow:t.emojisByRow,continuousList:t.continuousList,hasSearch:t.showSearch},on:{select:t.onSelectEmoji}})],1)},i=[],a=n("a34a"),c=n.n(a);function u(t,e,n,r){var o,i=arguments.length,a=i<3?e:null===r?r=Object.getOwnPropertyDescriptor(e,n):r;if("object"===typeof Reflect&&"function"===typeof Reflect.decorate)a=Reflect.decorate(t,e,n,r);else for(var c=t.length-1;c>=0;c--)(o=t[c])&&(a=(i<3?o(a):i>3?o(e,n,a):o(e,n))||a);return i>3&&a&&Object.defineProperty(e,n,a),a}function s(t,e,n,r){return new(n||(n=Promise))((function(o,i){function a(t){try{u(r.next(t))}catch(e){i(e)}}function c(t){try{u(r["throw"](t))}catch(e){i(e)}}function u(t){t.done?o(t.value):new n((function(e){e(t.value)})).then(a,c)}u((r=r.apply(t,e||[])).next())}))}var f=n("8bbf"),l=n.n(f),p="undefined"!==typeof Reflect&&Reflect.defineMetadata&&Reflect.getOwnMetadataKeys;function d(t,e){y(t,e),Object.getOwnPropertyNames(e.prototype).forEach((function(n){y(t.prototype,e.prototype,n)})),Object.getOwnPropertyNames(e).forEach((function(n){y(t,e,n)}))}function y(t,e,n){var r=n?Reflect.getOwnMetadataKeys(e,n):Reflect.getOwnMetadataKeys(e);r.forEach((function(r){var o=n?Reflect.getOwnMetadata(r,e,n):Reflect.getOwnMetadata(r,e);n?Reflect.defineMetadata(r,o,t,n):Reflect.defineMetadata(r,o,t)}))}var h={__proto__:[]},v=h instanceof Array;function b(t){return function(e,n,r){var o="function"===typeof e?e:e.constructor;o.__decorators__||(o.__decorators__=[]),"number"!==typeof r&&(r=void 0),o.__decorators__.push((function(e){return t(e,n,r)}))}}function m(t){var e=typeof t;return null==t||"object"!==e&&"function"!==e}function g(t,e){var n=e.prototype._init;e.prototype._init=function(){var e=this,n=Object.getOwnPropertyNames(t);if(t.$options.props)for(var r in t.$options.props)t.hasOwnProperty(r)||n.push(r);n.forEach((function(n){"_"!==n.charAt(0)&&Object.defineProperty(e,n,{get:function(){return t[n]},set:function(e){t[n]=e},configurable:!0})}))};var r=new e;e.prototype._init=n;var o={};return Object.keys(r).forEach((function(t){void 0!==r[t]&&(o[t]=r[t])})),o}var w=["data","beforeCreate","created","beforeMount","mounted","beforeDestroy","destroyed","beforeUpdate","updated","activated","deactivated","render","errorCaptured","serverPrefetch"];function x(t,e){void 0===e&&(e={}),e.name=e.name||t._componentTag||t.name;var n=t.prototype;Object.getOwnPropertyNames(n).forEach((function(t){if("constructor"!==t)if(w.indexOf(t)>-1)e[t]=n[t];else{var r=Object.getOwnPropertyDescriptor(n,t);void 0!==r.value?"function"===typeof r.value?(e.methods||(e.methods={}))[t]=r.value:(e.mixins||(e.mixins=[])).push({data:function(){var e;return e={},e[t]=r.value,e}}):(r.get||r.set)&&((e.computed||(e.computed={}))[t]={get:r.get,set:r.set})}})),(e.mixins||(e.mixins=[])).push({data:function(){return g(this,t)}});var r=t.__decorators__;r&&(r.forEach((function(t){return t(e)})),delete t.__decorators__);var o=Object.getPrototypeOf(t.prototype),i=o instanceof l.a?o.constructor:l.a,a=i.extend(e);return _(a,t,i),p&&d(a,t),a}var j={prototype:!0,arguments:!0,callee:!0,caller:!0};function _(t,e,n){Object.getOwnPropertyNames(e).forEach((function(r){if(!j[r]){var o=Object.getOwnPropertyDescriptor(t,r);if(!o||o.configurable){var i=Object.getOwnPropertyDescriptor(e,r);if(!v){if("cid"===r)return;var a=Object.getOwnPropertyDescriptor(n,r);if(!m(i.value)&&a&&a.value===i.value)return}0,Object.defineProperty(t,r,i)}}}))}function O(t){return"function"===typeof t?x(t):function(e){return x(e,t)}}O.registerHooks=function(t){w.push.apply(w,t)};var S=O;var E="undefined"!==typeof Reflect&&"undefined"!==typeof Reflect.getMetadata;function k(t,e,n){E&&(Array.isArray(t)||"function"===typeof t||"undefined"!==typeof t.type||(t.type=Reflect.getMetadata("design:type",e,n)))}function P(t){return void 0===t&&(t={}),function(e,n){k(t,e,n),b((function(e,n){(e.props||(e.props={}))[n]=t}))(e,n)}}function C(t,e){void 0===e&&(e={});var n=e.deep,r=void 0!==n&&n,o=e.immediate,i=void 0!==o&&o;return b((function(e,n){"object"!==typeof e.watch&&(e.watch=Object.create(null));var o=e.watch;"object"!==typeof o[t]||Array.isArray(o[t])?"undefined"===typeof o[t]&&(o[t]=[]):o[t]=[o[t]],o[t].push({handler:n,deep:r,immediate:i})}))}var L=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"Categories"}},t._l(t.categories,(function(e,r){return n("div",{key:r,class:["category",{active:r===t.active}],on:{click:function(e){return t.onSelect(r)}}},[n("VSvg",{attrs:{name:e.icon}})],1)})),0)},T=[],R=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"svg",style:t.styleSVG},[n("img",{attrs:{loading:"lazy",src:t.icon,width:"20px",alt:t.name}})])},M=[];function N(t){return N="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},N(t)}function $(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function F(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function A(t,e,n){return e&&F(t.prototype,e),n&&F(t,n),t}function q(t,e){return!e||"object"!==N(e)&&"function"!==typeof e?I(t):e}function I(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function B(t){return B=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},B(t)}function D(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&U(t,e)}function U(t,e){return U=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},U(t,e)}var G=function(t){function e(){return $(this,e),q(this,B(e).apply(this,arguments))}return D(e,t),A(e,[{key:"icon",get:function(){return n("31e8")("./".concat(this.name,".svg"))}},{key:"styleSVG",get:function(){return Object.assign({},this.styles)}}]),e}(l.a);u([P({required:!0})],G.prototype,"name",void 0),u([P({})],G.prototype,"styles",void 0),G=u([S({})],G);var V=G,z=V;n("c08d");function K(t,e,n,r,o,i,a,c){var u,s="function"===typeof t?t.options:t;if(e&&(s.render=e,s.staticRenderFns=n,s._compiled=!0),r&&(s.functional=!0),i&&(s._scopeId="data-v-"+i),a?(u=function(t){t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext,t||"undefined"===typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),o&&o.call(this,t),t&&t._registeredComponents&&t._registeredComponents.add(a)},s._ssrRegister=u):o&&(u=c?function(){o.call(this,this.$root.$options.shadowRoot)}:o),u)if(s.functional){s._injectStyles=u;var f=s.render;s.render=function(t,e){return u.call(e),f(t,e)}}else{var l=s.beforeCreate;s.beforeCreate=l?[].concat(l,u):[u]}return{exports:t,options:s}}var H=K(z,R,M,!1,null,"291edc65",null),J=H.exports;function X(t){return X="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},X(t)}function Y(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function W(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Q(t,e,n){return e&&W(t.prototype,e),n&&W(t,n),t}function Z(t,e){return!e||"object"!==X(e)&&"function"!==typeof e?tt(t):e}function tt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function et(t){return et=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},et(t)}function nt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&rt(t,e)}function rt(t,e){return rt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},rt(t,e)}var ot=function(t){function e(){var t;return Y(this,e),t=Z(this,et(e).apply(this,arguments)),t.active=1,t.categories=[{name:"Frequenty",icon:"frequenty"},{name:"Peoples",icon:"peoples"},{name:"Nature",icon:"nature"},{name:"Foods",icon:"foods"},{name:"Activity",icon:"activity"},{name:"Objects",icon:"objects"},{name:"Places",icon:"places"},{name:"Symbols",icon:"symbols"},{name:"Flags",icon:"flags"}],t}return nt(e,t),Q(e,[{key:"onSelect",value:function(t){this.active=t,this.$emit("select",this.categories[t])}}]),e}(l.a);ot=u([S({components:{VSvg:J}})],ot);var it=ot,at=it,ct=(n("3a59"),K(at,L,T,!1,null,"cabcae82",null)),ut=ct.exports,st=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"Emojis"}},[n("div",{ref:"container-emoji",staticClass:"container-emoji"},[t.continuousList?t._l(t.dataFilteredByCategory,(function(e,r){return n("div",{key:r},[n("CategoryTitle",{directives:[{name:"show",rawName:"v-show",value:e.length,expression:"category.length"}],ref:r,refInFor:!0,attrs:{name:r}}),e.length?n("div",{staticClass:"grid-emojis",style:t.gridDynamic},t._l(e,(function(e,o){return n("EmojiItem",{key:r+"-"+o,attrs:{data:e["emoji"]},nativeOn:{click:function(n){return t.onSelect(e)}}})})),1):t._e()],1)})):n("div",{staticClass:"grid-emojis",style:t.gridDynamic},t._l(t.dataFiltered,(function(e,r){return n("EmojiItem",{key:r,attrs:{data:e["emoji"]},nativeOn:{click:function(n){return t.onSelect(e)}}})})),1)],2)])},ft=[],lt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("span",{staticClass:"emoji",domProps:{innerHTML:t._s(t.data)}})},pt=[];function dt(t){return dt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},dt(t)}function yt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function ht(t,e){return!e||"object"!==dt(e)&&"function"!==typeof e?vt(t):e}function vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function bt(t){return bt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},bt(t)}function mt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&>(t,e)}function gt(t,e){return gt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},gt(t,e)}var wt=function(t){function e(){return yt(this,e),ht(this,bt(e).apply(this,arguments))}return mt(e,t),e}(l.a);u([P({})],wt.prototype,"data",void 0),wt=u([S({})],wt);var xt=wt,jt=xt,_t=K(jt,lt,pt,!1,null,"9f680c72",null),Ot=_t.exports,St=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{staticClass:"category-title"},[t._v(t._s(t.name))])},Et=[];function kt(t){return kt="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},kt(t)}function Pt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Ct(t,e){return!e||"object"!==kt(e)&&"function"!==typeof e?Lt(t):e}function Lt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function Tt(t){return Tt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},Tt(t)}function Rt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Mt(t,e)}function Mt(t,e){return Mt=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Mt(t,e)}var Nt=function(t){function e(){return Pt(this,e),Ct(this,Tt(e).apply(this,arguments))}return Rt(e,t),e}(l.a);u([P({required:!0})],Nt.prototype,"name",void 0),Nt=u([S({})],Nt);var $t=Nt,Ft=$t,At=(n("31c6"),K(Ft,St,Et,!1,null,"2556f0a2",null)),qt=At.exports;function It(t){return It="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},It(t)}function Bt(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function Dt(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Ut(t,e,n){return e&&Dt(t.prototype,e),n&&Dt(t,n),t}function Gt(t,e){return!e||"object"!==It(e)&&"function"!==typeof e?Vt(t):e}function Vt(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function zt(t){return zt=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},zt(t)}function Kt(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ht(t,e)}function Ht(t,e){return Ht=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ht(t,e)}var Jt=function(t){function e(){return Bt(this,e),Gt(this,zt(e).apply(this,arguments))}return Kt(e,t),Ut(e,[{key:"onSelect",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$emit("select",t);case 1:case"end":return e.stop()}}),e,this)})))}},{key:"searchByAlias",value:function(t,e){var n=function(e){return e.toLowerCase().includes(t)};return e.aliases.some((function(t){return n(t)}))}},{key:"calcScrollTop",value:function(){return this.hasSearch?88:44}},{key:"onDataChanged",value:function(t,e){this.containerEmoji.scrollTop=0}},{key:"onCategoryChanged",value:function(t,e){if(this.continuousList){var n=this.$refs[t][0].$el,r=n.offsetTop-this.calcScrollTop();this.containerEmoji.scrollTop=r}}},{key:"gridDynamic",get:function(){var t=100/this.emojisByRow;return{gridTemplateColumns:"repeat(".concat(this.emojisByRow,", ").concat(t,"%)")}}},{key:"dataFiltered",get:function(){var t=this,e=this.data[this.category],n=this.filter.trim().toLowerCase();return n&&(e=e.filter((function(e){return t.searchByAlias(n,e)}))),e}},{key:"dataFilteredByCategory",get:function(){var t=this,e=Object.assign({},this.data),n=this.filter.trim().toLowerCase();return n&&this.categories.forEach((function(r){e[r]=t.data[r].filter((function(e){return t.searchByAlias(n,e)}))})),e}},{key:"categories",get:function(){return Object.keys(this.data)}},{key:"containerEmoji",get:function(){return this.$refs["container-emoji"]}}]),e}(l.a);u([P({required:!0})],Jt.prototype,"data",void 0),u([P({required:!0})],Jt.prototype,"emojisByRow",void 0),u([P({})],Jt.prototype,"filter",void 0),u([P({})],Jt.prototype,"continuousList",void 0),u([P({})],Jt.prototype,"category",void 0),u([P({})],Jt.prototype,"hasSearch",void 0),u([C("data")],Jt.prototype,"onDataChanged",null),u([C("category")],Jt.prototype,"onCategoryChanged",null),Jt=u([S({components:{EmojiItem:Ot,CategoryTitle:qt}})],Jt);var Xt=Jt,Yt=Xt,Wt=(n("6ec3"),K(Yt,st,ft,!1,null,"86a31fb0",null)),Qt=Wt.exports,Zt=function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",{attrs:{id:"InputSearch"}},[n("div",{staticClass:"container-search"},[n("input",{directives:[{name:"model",rawName:"v-model",value:t.inputSearch,expression:"inputSearch"}],attrs:{type:"text",placeholder:t.placeholder},domProps:{value:t.inputSearch},on:{input:function(e){e.target.composing||(t.inputSearch=e.target.value)}}})])])},te=[];function ee(t){return ee="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},ee(t)}function ne(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function re(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function oe(t,e,n){return e&&re(t.prototype,e),n&&re(t,n),t}function ie(t,e){return!e||"object"!==ee(e)&&"function"!==typeof e?ae(t):e}function ae(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ce(t){return ce=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ce(t)}function ue(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&se(t,e)}function se(t,e){return se=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},se(t,e)}var fe,le=500,pe=function(t){function e(){var t;return ne(this,e),t=ie(this,ce(e).apply(this,arguments)),t.inputSearch="",t}return ue(e,t),oe(e,[{key:"onInputChanged",value:function(t,e){var n=this;clearTimeout(fe),fe=setTimeout((function(){return n.$emit("update",t)}),le)}}]),e}(l.a);u([P({required:!0})],pe.prototype,"placeholder",void 0),u([C("inputSearch")],pe.prototype,"onInputChanged",null),pe=u([S({})],pe);var de=pe,ye=de,he=(n("9004"),K(ye,Zt,te,!1,null,"b5e0f25a",null)),ve=he.exports;function be(t){return be="function"===typeof Symbol&&"symbol"===typeof Symbol.iterator?function(t){return typeof t}:function(t){return t&&"function"===typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},be(t)}function me(t){return xe(t)||we(t)||ge()}function ge(){throw new TypeError("Invalid attempt to spread non-iterable instance")}function we(t){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t))return Array.from(t)}function xe(t){if(Array.isArray(t)){for(var e=0,n=new Array(t.length);e<t.length;e++)n[e]=t[e];return n}}function je(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}function _e(t,e){for(var n=0;n<e.length;n++){var r=e[n];r.enumerable=r.enumerable||!1,r.configurable=!0,"value"in r&&(r.writable=!0),Object.defineProperty(t,r.key,r)}}function Oe(t,e,n){return e&&_e(t.prototype,e),n&&_e(t,n),t}function Se(t,e){return!e||"object"!==be(e)&&"function"!==typeof e?Ee(t):e}function Ee(t){if(void 0===t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return t}function ke(t){return ke=Object.setPrototypeOf?Object.getPrototypeOf:function(t){return t.__proto__||Object.getPrototypeOf(t)},ke(t)}function Pe(t,e){if("function"!==typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function");t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,writable:!0,configurable:!0}}),e&&Ce(t,e)}function Ce(t,e){return Ce=Object.setPrototypeOf||function(t,e){return t.__proto__=e,t},Ce(t,e)}var Le=function(t){function e(){var t;return je(this,e),t=Se(this,ke(e).apply(this,arguments)),t.mapEmojis={},t.category="Peoples",t.filterEmoji="",t}return Pe(e,t),Oe(e,[{key:"created",value:function(){this.mapperData(this.pack)}},{key:"onSearch",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.filterEmoji=t;case 1:case"end":return e.stop()}}),e,this)})))}},{key:"changeCategory",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){var n;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:n=this.mapEmojis[t.name].length,n&&(this.category=t.name,this.$emit("changeCategory",this.category));case 2:case"end":return e.stop()}}),e,this)})))}},{key:"onSelectEmoji",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.updateFrequenty(t),this.$emit("select",t);case 2:case"end":return e.stop()}}),e,this)})))}},{key:"updateFrequenty",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.mapEmojis["Frequenty"]=me(new Set([].concat(me(this.mapEmojis["Frequenty"]),[t])));case 1:case"end":return e.stop()}}),e,this)})))}},{key:"mapperData",value:function(t){return s(this,void 0,void 0,c.a.mark((function e(){var n=this;return c.a.wrap((function(e){while(1)switch(e.prev=e.next){case 0:this.$set(this.mapEmojis,"Frequenty",[]),t.forEach((function(t){var e=t.category;n.mapEmojis[e]?n.mapEmojis[e].push(t):n.$set(n.mapEmojis,e,[t])}));case 2:case"end":return e.stop()}}),e,this)})))}}]),e}(l.a);u([P({required:!0})],Le.prototype,"pack",void 0),u([P({default:"Pesquisar..."})],Le.prototype,"labelSearch",void 0),u([P({default:5})],Le.prototype,"emojisByRow",void 0),u([P({default:!0})],Le.prototype,"showCategory",void 0),u([P({default:!0})],Le.prototype,"showSearch",void 0),u([P({default:!1})],Le.prototype,"continuousList",void 0),Le=u([S({components:{Categories:ut,EmojiList:Qt,InputSearch:ve}})],Le);var Te=Le,Re=Te,Me=(n("77aa"),K(Re,o,i,!1,null,null,null)),Ne=Me.exports,$e=Ne,Fe={install:function(t,e){t.component($e.name,$e)}};"undefined"!==typeof window&&window.Vue&&window.Vue.use(Fe);var Ae=$e;n.d(e,"VEmojiPicker",(function(){return Fe}));e["default"]=Ae}})})); |
{ | ||
"name": "v-emoji-picker", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"author": { | ||
@@ -45,3 +45,2 @@ "name": "João Eudes Lima", | ||
"typescript": "^3.6.3", | ||
"vue-cli-plugin-webpack-bundle-analyzer": "^1.4.0", | ||
"vue-template-compiler": "^2.6.10" | ||
@@ -48,0 +47,0 @@ }, |
@@ -48,3 +48,17 @@ # V-Emoji-Picker | ||
</script> | ||
``` | ||
or Global | ||
```js | ||
import Vue from "vue"; | ||
import App from "./App.vue"; | ||
import { VEmojiPicker } from 'v-emoji-picker'; | ||
Vue.config.productionTip = false; | ||
Vue.use(VEmojiPicker); | ||
new Vue({ | ||
render: h => h(App) | ||
}).$mount("#app"); | ||
``` | ||
@@ -59,3 +73,4 @@ | ||
emojisByRow: { type: Number, default: 5 }, | ||
showSearch: { type: Boolean, default: () => true } | ||
showSearch: { type: Boolean, default: () => true }, | ||
continuousList: { type: Boolean, default: false } | ||
} | ||
@@ -72,3 +87,3 @@ ``` | ||
# Estructure Emoji | ||
# Structure Emoji | ||
![](.emoji.png) | ||
@@ -82,2 +97,2 @@ | ||
## License | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjoaoeudes7%2FV-Emoji-Picker.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjoaoeudes7%2FV-Emoji-Picker?ref=badge_large) | ||
[![FOSSA Status](https://app.fossa.io/api/projects/git%2Bgithub.com%2Fjoaoeudes7%2FV-Emoji-Picker.svg?type=large)](https://app.fossa.io/projects/git%2Bgithub.com%2Fjoaoeudes7%2FV-Emoji-Picker?ref=badge_large) |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
16
95
723112
18
21438