UNPKG

primevue

Version:

[![License: MIT](https://img.shields.io/badge/License-MIT-yellow.svg)](https://opensource.org/licenses/MIT) [![npm version](https://badge.fury.io/js/primevue.svg)](https://badge.fury.io/js/primevue)

1 lines 9.5 kB
(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["inputtext"]=e(require("vue")):t["inputtext"]=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")}({"00ee":function(t,e,n){var r=n("b622"),o=r("toStringTag"),u={};u[o]="z",t.exports="[object z]"===String(u)},"0cfb":function(t,e,n){var r=n("83ab"),o=n("d039"),u=n("cc12");t.exports=!r&&!o((function(){return 7!=Object.defineProperty(u("div"),"a",{get:function(){return 7}}).a}))},"25f0":function(t,e,n){"use strict";var r=n("6eeb"),o=n("825a"),u=n("d039"),c=n("ad6d"),i="toString",f=RegExp.prototype,a=f[i],p=u((function(){return"/a/b"!=a.call({source:"a",flags:"b"})})),s=a.name!=i;(p||s)&&r(RegExp.prototype,i,(function(){var t=o(this),e=String(t.source),n=t.flags,r=String(void 0===n&&t instanceof RegExp&&!("flags"in f)?c.call(t):n);return"/"+e+"/"+r}),{unsafe:!0})},4930:function(t,e,n){var r=n("d039");t.exports=!!Object.getOwnPropertySymbols&&!r((function(){return!String(Symbol())}))},5135:function(t,e){var n={}.hasOwnProperty;t.exports=function(t,e){return n.call(t,e)}},5692:function(t,e,n){var r=n("c430"),o=n("c6cd");(t.exports=function(t,e){return o[t]||(o[t]=void 0!==e?e:{})})("versions",[]).push({version:"3.8.1",mode:r?"pure":"global",copyright:"© 2020 Denis Pushkarev (zloirock.ru)"})},"5c6c":function(t,e){t.exports=function(t,e){return{enumerable:!(1&t),configurable:!(2&t),writable:!(4&t),value:e}}},"69f3":function(t,e,n){var r,o,u,c=n("7f9a"),i=n("da84"),f=n("861d"),a=n("9112"),p=n("5135"),s=n("c6cd"),l=n("f772"),d=n("d012"),b=i.WeakMap,v=function(t){return u(t)?o(t):r(t,{})},y=function(t){return function(e){var n;if(!f(e)||(n=o(e)).type!==t)throw TypeError("Incompatible receiver, "+t+" required");return n}};if(c){var g=s.state||(s.state=new b),m=g.get,x=g.has,h=g.set;r=function(t,e){return e.facade=t,h.call(g,t,e),e},o=function(t){return m.call(g,t)||{}},u=function(t){return x.call(g,t)}}else{var S=l("state");d[S]=!0,r=function(t,e){return e.facade=t,a(t,S,e),e},o=function(t){return p(t,S)?t[S]:{}},u=function(t){return p(t,S)}}t.exports={set:r,get:o,has:u,enforce:v,getterFor:y}},"6eeb":function(t,e,n){var r=n("da84"),o=n("9112"),u=n("5135"),c=n("ce4e"),i=n("8925"),f=n("69f3"),a=f.get,p=f.enforce,s=String(String).split("String");(t.exports=function(t,e,n,i){var f,a=!!i&&!!i.unsafe,l=!!i&&!!i.enumerable,d=!!i&&!!i.noTargetGet;"function"==typeof n&&("string"!=typeof e||u(n,"name")||o(n,"name",e),f=p(n),f.source||(f.source=s.join("string"==typeof e?e:""))),t!==r?(a?!d&&t[e]&&(l=!0):delete t[e],l?t[e]=n:o(t,e,n)):l?t[e]=n:c(e,n)})(Function.prototype,"toString",(function(){return"function"==typeof this&&a(this).source||i(this)}))},"7f9a":function(t,e,n){var r=n("da84"),o=n("8925"),u=r.WeakMap;t.exports="function"===typeof u&&/native code/.test(o(u))},"825a":function(t,e,n){var r=n("861d");t.exports=function(t){if(!r(t))throw TypeError(String(t)+" is not an object");return t}},"83ab":function(t,e,n){var r=n("d039");t.exports=!r((function(){return 7!=Object.defineProperty({},1,{get:function(){return 7}})[1]}))},"861d":function(t,e){t.exports=function(t){return"object"===typeof t?null!==t:"function"===typeof t}},8875:function(t,e,n){var r,o,u;(function(n,c){o=[],r=c,u="function"===typeof r?r.apply(e,o):r,void 0===u||(t.exports=u)})("undefined"!==typeof self&&self,(function(){function t(){var e=Object.getOwnPropertyDescriptor(document,"currentScript");if(!e&&"currentScript"in document&&document.currentScript)return document.currentScript;if(e&&e.get!==t&&document.currentScript)return document.currentScript;try{throw new Error}catch(d){var n,r,o,u=/.*at [^(]*\((.*):(.+):(.+)\)$/gi,c=/@([^@]*):(\d+):(\d+)\s*$/gi,i=u.exec(d.stack)||c.exec(d.stack),f=i&&i[1]||!1,a=i&&i[2]||!1,p=document.location.href.replace(document.location.hash,""),s=document.getElementsByTagName("script");f===p&&(n=document.documentElement.outerHTML,r=new RegExp("(?:[^\\n]+?\\n){0,"+(a-2)+"}[^<]*<script>([\\d\\D]*?)<\\/script>[\\d\\D]*","i"),o=n.replace(r,"$1").trim());for(var l=0;l<s.length;l++){if("interactive"===s[l].readyState)return s[l];if(s[l].src===f)return s[l];if(f===p&&s[l].innerHTML&&s[l].innerHTML.trim()===o)return s[l]}return null}}return t}))},8925:function(t,e,n){var r=n("c6cd"),o=Function.toString;"function"!=typeof r.inspectSource&&(r.inspectSource=function(t){return o.call(t)}),t.exports=r.inspectSource},"8bbf":function(e,n){e.exports=t},"90e3":function(t,e){var n=0,r=Math.random();t.exports=function(t){return"Symbol("+String(void 0===t?"":t)+")_"+(++n+r).toString(36)}},9112:function(t,e,n){var r=n("83ab"),o=n("9bf2"),u=n("5c6c");t.exports=r?function(t,e,n){return o.f(t,e,u(1,n))}:function(t,e,n){return t[e]=n,t}},"9bf2":function(t,e,n){var r=n("83ab"),o=n("0cfb"),u=n("825a"),c=n("c04e"),i=Object.defineProperty;e.f=r?i:function(t,e,n){if(u(t),e=c(e,!0),u(n),o)try{return i(t,e,n)}catch(r){}if("get"in n||"set"in n)throw TypeError("Accessors not supported");return"value"in n&&(t[e]=n.value),t}},ad6d:function(t,e,n){"use strict";var r=n("825a");t.exports=function(){var t=r(this),e="";return t.global&&(e+="g"),t.ignoreCase&&(e+="i"),t.multiline&&(e+="m"),t.dotAll&&(e+="s"),t.unicode&&(e+="u"),t.sticky&&(e+="y"),e}},b041:function(t,e,n){"use strict";var r=n("00ee"),o=n("f5df");t.exports=r?{}.toString:function(){return"[object "+o(this)+"]"}},b622:function(t,e,n){var r=n("da84"),o=n("5692"),u=n("5135"),c=n("90e3"),i=n("4930"),f=n("fdbf"),a=o("wks"),p=r.Symbol,s=f?p:p&&p.withoutSetter||c;t.exports=function(t){return u(a,t)||(i&&u(p,t)?a[t]=p[t]:a[t]=s("Symbol."+t)),a[t]}},c04e:function(t,e,n){var r=n("861d");t.exports=function(t,e){if(!r(t))return t;var n,o;if(e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;if("function"==typeof(n=t.valueOf)&&!r(o=n.call(t)))return o;if(!e&&"function"==typeof(n=t.toString)&&!r(o=n.call(t)))return o;throw TypeError("Can't convert object to primitive value")}},c430:function(t,e){t.exports=!1},c6b6:function(t,e){var n={}.toString;t.exports=function(t){return n.call(t).slice(8,-1)}},c6cd:function(t,e,n){var r=n("da84"),o=n("ce4e"),u="__core-js_shared__",c=r[u]||o(u,{});t.exports=c},c8ba:function(t,e){var n;n=function(){return this}();try{n=n||new Function("return this")()}catch(r){"object"===typeof window&&(n=window)}t.exports=n},cc12:function(t,e,n){var r=n("da84"),o=n("861d"),u=r.document,c=o(u)&&o(u.createElement);t.exports=function(t){return c?u.createElement(t):{}}},ce4e:function(t,e,n){var r=n("da84"),o=n("9112");t.exports=function(t,e){try{o(r,t,e)}catch(n){r[t]=e}return e}},d012:function(t,e){t.exports={}},d039:function(t,e){t.exports=function(t){try{return!!t()}catch(e){return!0}}},d3b7:function(t,e,n){var r=n("00ee"),o=n("6eeb"),u=n("b041");r||o(Object.prototype,"toString",u,{unsafe:!0})},da84:function(t,e,n){(function(e){var n=function(t){return t&&t.Math==Math&&t};t.exports=n("object"==typeof globalThis&&globalThis)||n("object"==typeof window&&window)||n("object"==typeof self&&self)||n("object"==typeof e&&e)||function(){return this}()||Function("return this")()}).call(this,n("c8ba"))},f5df:function(t,e,n){var r=n("00ee"),o=n("c6b6"),u=n("b622"),c=u("toStringTag"),i="Arguments"==o(function(){return arguments}()),f=function(t,e){try{return t[e]}catch(n){}};t.exports=r?o:function(t){var e,n,r;return void 0===t?"Undefined":null===t?"Null":"string"==typeof(n=f(e=Object(t),c))?n:i?o(e):"Object"==(r=o(e))&&"function"==typeof e.callee?"Arguments":r}},f772:function(t,e,n){var r=n("5692"),o=n("90e3"),u=r("keys");t.exports=function(t){return u[t]||(u[t]=o(t))}},fb15:function(t,e,n){"use strict";if(n.r(e),"undefined"!==typeof window){var r=window.document.currentScript,o=n("8875");r=o(),"currentScript"in document||Object.defineProperty(document,"currentScript",{get:o});var u=r&&r.src.match(/(.+\/)[^/]+\.js(\?.*)?$/);u&&(n.p=u[1])}var c=n("8bbf");function i(t,e,n,r,o,u){return Object(c["openBlock"])(),Object(c["createBlock"])("input",{class:["p-inputtext p-component",{"p-filled":u.filled}],value:n.modelValue,onInput:e[1]||(e[1]=function(){return u.onInput&&u.onInput.apply(u,arguments)})},null,42,["value"])}n("d3b7"),n("25f0");var f={emits:["update:modelValue"],props:{modelValue:null},methods:{onInput:function(t){this.$emit("update:modelValue",t.target.value)}},computed:{filled:function(){return null!=this.modelValue&&this.modelValue.toString().length>0}}};f.render=i;var a=f;e["default"]=a},fdbf:function(t,e,n){var r=n("4930");t.exports=r&&!Symbol.sham&&"symbol"==typeof Symbol.iterator}})["default"]}));