From a24fdbcbbb4687fa3062bcb150821ebf40cb5208 Mon Sep 17 00:00:00 2001 From: mathieustan Date: Fri, 4 Sep 2020 11:48:07 +0200 Subject: [PATCH] :package:(Release): 0.2.8 --- dist/vue-datepicker.esm.js | 4 ++-- dist/vue-datepicker.min.css | 2 +- dist/vue-datepicker.min.js | 4 ++-- dist/vue-datepicker.umd.js | 4 ++-- package.json | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/dist/vue-datepicker.esm.js b/dist/vue-datepicker.esm.js index 7c9e0b2..922c0fc 100644 --- a/dist/vue-datepicker.esm.js +++ b/dist/vue-datepicker.esm.js @@ -1,5 +1,5 @@ /*! - * Vue-datepicker v0.2.7 + * Vue-datepicker v0.2.8 * (c) 2019-2020 Mathieu Stanowski */ -import{clearAllBodyScrollLocks as t,enableBodyScroll as e,disableBodyScroll as n}from"body-scroll-lock";import r from"dayjs";import i from"vue";var a=function(t){if(Array.isArray(t))return t};var o=function(t,e){if(Symbol.iterator in Object(t)||"[object Arguments]"===Object.prototype.toString.call(t)){var n=[],r=!0,i=!1,a=void 0;try{for(var o,s=t[Symbol.iterator]();!(r=(o=s.next()).done)&&(n.push(o.value),!e||n.length!==e);r=!0);}catch(t){i=!0,a=t}finally{try{r||null==s.return||s.return()}finally{if(i)throw a}}return n}};var s=function(){throw new TypeError("Invalid attempt to destructure non-iterable instance")};var c=function(t,e){return a(t)||o(t,e)||s()};var u=function(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t};"undefined"!=typeof globalThis?globalThis:"undefined"!=typeof window?window:"undefined"!=typeof global?global:"undefined"!=typeof self&&self;function l(t,e){return t(e={exports:{}},e.exports),e.exports}var h=l((function(t){function e(t){return(e="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})(t)}function n(r){return"function"==typeof Symbol&&"symbol"===e(Symbol.iterator)?t.exports=n=function(t){return e(t)}:t.exports=n=function(t){return t&&"function"==typeof Symbol&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":e(t)},n(r)}t.exports=n})),d=["click"],f=[],p={instances:f,bind:m,update:function(t,e){JSON.stringify(e.value)!==JSON.stringify(e.oldValue)&&m(t,e)},unbind:v};function m(t,e){var n=e.value;v(t);var r=n,i="function"==typeof r,a="object"===h(r);if((i||a)&&!(!1===r.isActive)){var o=function(t){var e=t.el,n=t.handler;return{el:e,eventHandlers:d.map((function(t){return{event:t,handler:function(t){return function(t){var e=t.event,n=t.el,r=t.handler,i=e.path||(e.composedPath?e.composedPath():void 0);if(i?i.indexOf(n)<0:!n.contains(e.target))return r(e,n)}({event:t,el:e,handler:n})}}}))}}({el:t,handler:i?r:r.handler});o.eventHandlers.forEach((function(t){var e=t.event,n=t.handler;return setTimeout((function(){return document.addEventListener(e,n,!1)}),0)})),f.push(o)}}function v(t){var e=f.findIndex((function(e){return e.el===t}));-1!==e&&(f[e].eventHandlers.forEach((function(t){var e=t.event,n=t.handler;return document.removeEventListener(e,n,!1)})),f.splice(e,1))}var y={model:{prop:"value",event:"input"},props:{value:{type:Boolean,required:!1}},data:function(){return{isActive:!1}},watch:{value:{handler:function(t){this.isActive=t},immediate:!0},isActive:function(t){t!==this.value&&this.$emit("input",t)}}};function g(t){var e=h(t);return"boolean"===e||"string"===e||t.nodeType===Node.ELEMENT_NODE}function b(t){if(null!=t&&""!==t)return isNaN(+t)?String(t):"".concat(Number(t),"px")}function D(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:"default",n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:{},r=arguments.length>3&&void 0!==arguments[3]&&arguments[3];return t.$scopedSlots[e]?t.$scopedSlots[e]&&t.$scopedSlots[e](n):!t.$slots[e]||n&&!r?void 0:t.$slots[e]}function _(t){if(!t||t.nodeType!==Node.ELEMENT_NODE)return 0;var e=+window.getComputedStyle(t).getPropertyValue("z-index");return e||_(t.parentNode)}var M={mixins:[y],props:{activator:{default:void 0,validator:function(t){return["string","object"].includes(h(t))}},disabled:{type:Boolean,default:!1}},data:function(){return{activatorElement:void 0,activatorNode:[]}},watch:{activator:"resetActivator"},mounted:function(){var t,e,n,r=(e="activator",n=!0,(t=this).$slots[e]&&t.$scopedSlots[e]&&t.$scopedSlots[e].name?n?"v-slot":"scoped":t.$slots[e]?"normal":t.$scopedSlots[e]?"scoped":void 0);r&&["v-slot","normal"].includes(r)&&console.error('The activator slot must be bound, try \'