From 20b38fd20135c34a319475a2ae16cce36e2b4f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Moritz=20Kr=C3=B6ger?= Date: Thu, 21 Feb 2019 10:24:41 +0000 Subject: [PATCH] :bug: Removed Vue library from bundle --- CHANGELOG.md | 5 +++++ dist/vue-a11y-dialog.js | 2 +- package.json | 2 +- rollup.config.js | 6 +++++- 4 files changed, 12 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 5a62ce2..ff30747 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,11 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [0.4.2] - 2019-02-21 + +### Fixed +- Vue.js library from being included to the bundle. + ## [0.4.1] - 2019-02-20 ### Added diff --git a/dist/vue-a11y-dialog.js b/dist/vue-a11y-dialog.js index 58c3457..d890263 100644 --- a/dist/vue-a11y-dialog.js +++ b/dist/vue-a11y-dialog.js @@ -1 +1 @@ -(function(e,t){"object"==typeof exports&&"undefined"!=typeof module?t(exports):"function"==typeof define&&define.amd?define(["exports"],t):(e=e||self,t(e.VueA11yDialog={}))})(this,function(e){"use strict";var xo=Math.max;function t(e,t){return t={exports:{}},e(t,t.exports),t.exports}function n(e){return e===void 0||null===e}function o(e){return e!==void 0&&null!==e}function r(e){return!0===e}function i(e){return!1===e}function s(e){return"string"==typeof e||"number"==typeof e||"symbol"==typeof e||"boolean"==typeof e}function d(e){return null!==e&&"object"==typeof e}function l(e){return Ao.call(e).slice(8,-1)}function c(e){return"[object Object]"===Ao.call(e)}function u(e){return"[object RegExp]"===Ao.call(e)}function m(e){var t=parseFloat(e+"");return 0<=t&&Math.floor(t)===t&&isFinite(e)}function y(e){return o(e)&&"function"==typeof e.then&&"function"==typeof e.catch}function h(e){return null==e?"":Array.isArray(e)||c(e)&&e.toString===Ao?JSON.stringify(e,null,2):e+""}function g(e){var t=parseFloat(e);return isNaN(t)?e:t}function v(e,t){for(var n=Object.create(null),o=e.split(","),a=0;ad||scr&&rr[n].id>e.id;)n--;rr.splice(n+1,0,e)}if(!lr){if(lr=!0,"production"!==process.env.NODE_ENV&&!Ho.async)return void Tt();_e(Tt)}}}function jt(e,t,n){gr.get=function(){return this[t][n]},gr.set=function(e){this[t][n]=e},Object.defineProperty(e,n,gr)}function Rt(e){e._watchers=[];var t=e.$options;t.props&&Ft(e,t.props),t.methods&&Wt(e,t.methods),t.data?Ut(e):R(e._data={},!0),t.computed&&zt(e,t.computed),t.watch&&t.watch!==oa&&Yt(e,t.watch)}function Ft(e,t){var n=e.$options.propsData||{},o=e._props={},a=e.$options._propKeys=[],r=!e.$parent;r||P(!1);var i=function(i){a.push(i);var s=oe(i,t,n,e);if("production"!==process.env.NODE_ENV){var d=jo(i);(Io(d)||Ho.isReservedAttr(d))&&ca("\""+d+"\" is a reserved attribute and cannot be used as component prop.",e),F(o,i,s,function(){r||ar||ca("Avoid mutating a prop directly since the value will be overwritten whenever the parent component re-renders. Instead, use a data or computed property based on the prop's value. Prop being mutated: \""+i+"\"",e)})}else F(o,i,s);i in e||jt(e,"_props",i)};for(var s in t)i(s);P(!0)}function Ut(e){var t=e.$options.data;t=e._data="function"==typeof t?Ht(t,e):t||{},c(t)||(t={},"production"!==process.env.NODE_ENV&&ca("data functions should return an object:\nhttps://vuejs.org/v2/guide/components.html#data-Must-Be-a-Function",e));for(var n=Object.keys(t),o=e.$options.props,a=e.$options.methods,r=n.length;r--;){var s=n[r];"production"!==process.env.NODE_ENV&&a&&_(a,s)&&ca("Method \""+s+"\" has already been defined as a data property.",e),o&&_(o,s)?"production"!==process.env.NODE_ENV&&ca("The data property \""+s+"\" is already declared as a prop. Use prop default value instead.",e):!O(s)&&jt(e,"_data",s)}R(t,!0)}function Ht(e,t){I();try{return e.call(t,t)}catch(n){return ye(n,t,"data()"),{}}finally{T()}}function zt(e,t){var n=e._computedWatchers=Object.create(null),o=da();for(var a in t){var r=t[a],i="function"==typeof r?r:r.get;"production"!==process.env.NODE_ENV&&null==i&&ca("Getter is missing for computed property \""+a+"\".",e),o||(n[a]=new hr(e,i||$,$,vr)),a in e?"production"!==process.env.NODE_ENV&&(a in e.$data?ca("The computed property \""+a+"\" is already defined in data.",e):e.$options.props&&a in e.$options.props&&ca("The computed property \""+a+"\" is already defined as a prop.",e)):Kt(e,a,r)}}function Kt(e,t,n){var o=!da();"function"==typeof n?(gr.get=o?Bt(t):qt(n),gr.set=$):(gr.get=n.get?o&&!1!==n.cache?Bt(t):qt(n.get):$,gr.set=n.set||$),"production"!==process.env.NODE_ENV&&gr.set===$&&(gr.set=function(){ca("Computed property \""+t+"\" was assigned to but it has no setter.",this)}),Object.defineProperty(e,t,gr)}function Bt(e){return function(){var t=this._computedWatchers&&this._computedWatchers[e];if(t)return t.dirty&&t.evaluate(),ba.target&&t.depend(),t.value}}function qt(e){return function(){return e.call(this,this)}}function Wt(e,t){var n=e.$options.props;for(var o in t)"production"!==process.env.NODE_ENV&&("function"!=typeof t[o]&&ca("Method \""+o+"\" has type \""+typeof t[o]+"\" in the component definition. Did you reference the function correctly?",e),n&&_(n,o)&&ca("Method \""+o+"\" has already been defined as a prop.",e),o in e&&O(o)&&ca("Method \""+o+"\" conflicts with an existing Vue instance method. Avoid defining component methods that start with _ or $.")),e[o]="function"==typeof t[o]?Ro(t[o],e):$}function Yt(e,t){for(var n in t){var o=t[n];if(Array.isArray(o))for(var a=0;ai[n].indexOf(r)&&i[n].push(r):i[n]=[r]:i[n]=r}}function En(e,t){return e.key===t.key&&(e.tag===t.tag&&e.isComment===t.isComment&&o(e.data)===o(t.data)&&kn(e,t)||r(e.isAsyncPlaceholder)&&e.asyncFactory===t.asyncFactory&&n(t.asyncFactory.error))}function kn(e,t){if("input"!==e.tag)return!0;var n,a=o(n=e.data)&&o(n=n.attrs)&&n.type,r=o(n=t.data)&&o(n=n.attrs)&&n.type;return a===r||Rr(a)&&Rr(r)}function Nn(e,t,n){var a,r,s={};for(a=t;a<=n;++a)r=e[a].key,o(r)&&(s[r]=a);return s}function $n(e,t){(e.data.directives||t.data.directives)&&Cn(e,t)}function Cn(e,t){var n,o,a,r=e===Ur,i=xn(e.data.directives,e.context),s=xn(t.data.directives,t.context),d=[],l=[];for(n in s)o=i[n],a=s[n],o?(a.oldValue=o.value,a.oldArg=o.arg,On(a,"update",t,e),a.def&&a.def.componentUpdated&&l.push(a)):(On(a,"bind",t,e),a.def&&a.def.inserted&&d.push(a));if(d.length){var p=function(){for(var n=0;n=a||0===t.timeStamp||t.target.ownerDocument!==document)return r.apply(this,arguments)}}kr.addEventListener(e,t,aa?{capture:n,passive:o}:n)}function Pn(e,t,n,o){(o||kr).removeEventListener(e,t._wrapper||t,n)}function Mn(e,t){if(!(n(e.data.on)&&n(t.data.on))){var o=t.data.on||{},a=e.data.on||{};kr=t.elm,Tn(o),Ne(o,a,Ln,Pn,Sn,t.context),kr=void 0}}function jn(e,t){if(!(n(e.data.domProps)&&n(t.data.domProps))){var a,r,i=t.elm,s=e.data.domProps||{},d=t.data.domProps||{};for(a in o(d.__ob__)&&(d=t.data.domProps=k({},d)),s)n(d[a])&&(i[a]="");for(a in d){if(r=d[a],"textContent"===a||"innerHTML"===a){if(t.children&&(t.children.length=0),r===s[a])continue;1===i.childNodes.length&&i.removeChild(i.childNodes[0])}if("value"===a||r!==s[a])if("value"===a){i._value=r;var l=n(r)?"":r+"";Rn(i,l)&&(i.value=l)}else if("innerHTML"===a&&Pr(i.tagName)&&n(i.innerHTML)){Nr=Nr||document.createElement("div"),Nr.innerHTML=""+r+"";for(var p=Nr.firstChild;i.firstChild;)i.removeChild(i.firstChild);for(;p.firstChild;)i.appendChild(p.firstChild)}else i[a]=r}}}function Rn(e,t){return!e.composing&&("OPTION"===e.tagName||Fn(e,t)||Un(e,t))}function Fn(e,t){var n=!0;try{n=document.activeElement!==e}catch(t){}return n&&e.value!==t}function Un(e,t){var n=e.value,a=e._vModifiers;if(o(a)){if(a.number)return g(n)!==g(t);if(a.trim)return n.trim()!==t.trim()}return n!==t}function Hn(e){var t=zn(e.style);return e.staticStyle?k(e.staticStyle,t):t}function zn(e){return Array.isArray(e)?N(e):"string"==typeof e?Br(e):e}function Kn(e,t){var n,o={};if(t)for(var a=e;a.componentInstance;)a=a.componentInstance._vnode,a&&a.data&&(n=Hn(a.data))&&k(o,n);(n=Hn(e.data))&&k(o,n);for(var r=e;r=r.parent;)r.data&&(n=Hn(r.data))&&k(o,n);return o}function Bn(e,t){var a=t.data,r=e.data;if(!(n(a.staticStyle)&&n(a.style)&&n(r.staticStyle)&&n(r.style))){var i,s,d=t.elm,l=r.staticStyle,p=r.normalizedStyle||r.style||{},c=l||p,u=zn(t.data.style)||{};t.data.normalizedStyle=o(u.__ob__)?k({},u):u;var m=Kn(t,!0);for(s in c)n(m[s])&&Yr(d,s,"");for(s in m)i=m[s],i!==c[s]&&Yr(d,s,null==i?"":i)}}function qn(e,t){if(t&&(t=t.trim()))if(e.classList)-1n.indexOf(" "+t+" ")&&e.setAttribute("class",(n+t).trim())}}function Wn(e,t){if(t&&(t=t.trim()))if(e.classList)-1n.indexOf(t)&&(n.push(t),qn(e,t))}function Xn(e,t){e._transitionClasses&&f(e._transitionClasses,t),Wn(e,t)}function Zn(t,e,n){var o=Qn(t,e),a=o.type,r=o.timeout,i=o.propCount;if(!a)return n();var s=a==="transition"?ti:oi,d=0,l=function(){t.removeEventListener(s,p),n()},p=function(n){n.target===t&&++d>=i&&l()};setTimeout(function(){dl?"transition":"animation":null,c=n?n==="transition"?r.length:d.length:0);var u=n==="transition"&&ri.test(o[ei+"Property"]);return{type:n,timeout:p,propCount:c,hasTransform:u}}function eo(e,t){for(;e.length explicit "+t+" duration is NaN - the duration expression might be incorrect.",n.context):ca(" explicit "+t+" duration is not a valid number - got "+JSON.stringify(e)+".",n.context)}function io(e){return"number"==typeof e&&!isNaN(e)}function so(e){if(n(e))return!1;var t=e.fns;return o(t)?so(Array.isArray(t)?t[0]:t):1<(e._length||e.length)}function lo(e,t){!0!==t.data.show&&oo(t)}function po(e,t,n){co(e,t,n),(Go||Xo)&&setTimeout(function(){co(e,t,n)},0)}function co(e,t,n){var o=t.value,a=e.multiple;if(a&&!Array.isArray(o))return void("production"!==process.env.NODE_ENV&&ca("