diff --git a/dev/App.vue b/dev/App.vue index f318893..b756e4a 100644 --- a/dev/App.vue +++ b/dev/App.vue @@ -39,13 +39,13 @@ VueJS 2.0+ - 2.1.10 + 2.5.13 Why else would you be here? Bootstrap 4.0.0 (alpha) - 4.0.0-alpha.6 + 4.0.0 Uses CSS only, Bootstrap's Javascript package is not required. diff --git a/dist/click-confirm.js b/dist/click-confirm.js index 9507776..0b77271 100644 --- a/dist/click-confirm.js +++ b/dist/click-confirm.js @@ -2760,7 +2760,9 @@ var matches = function matches(el, selector) { // https://developer.mozilla.org/en-US/docs/Web/API/Element/matches#Polyfill // Prefer native implementations over polyfill function var proto = Element.prototype; - var Matches = proto.matches || proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector || proto.webkitMatchesSelector || function (sel) { + var Matches = proto.matches || proto.matchesSelector || proto.mozMatchesSelector || proto.msMatchesSelector || proto.oMatchesSelector || proto.webkitMatchesSelector || + /* istanbul ignore next */ + function (sel) { var element = this; var m = selectAll(sel, element.document || element.ownerDocument); var i = m.length; @@ -2781,7 +2783,9 @@ var closest = function closest(selector, root) { // https://developer.mozilla.org/en-US/docs/Web/API/Element/closest // Since we dont support IE < 10, we can use the "Matches" version of the polyfill for speed // Prefer native implementation over polyfill function - var Closest = Element.prototype.closest || function (sel) { + var Closest = Element.prototype.closest || + /* istanbul ignore next */ + function (sel) { var element = this; if (!document.documentElement.contains(element)) { return null; @@ -2895,9 +2899,10 @@ var BSCLS_PREFIX_REGEX$1 = new RegExp('\\b' + CLASS_PREFIX$1 + '\\S+', 'g'); var TRANSITION_DURATION = 150; -// Modal $root event (prepare for future evnt name change) +// Modal $root hidden event var MODAL_CLOSE_EVENT = 'bv::modal::hidden'; -var MODAL_CLASS = '.modal'; +// Modal container for appending tip/popover +var MODAL_CLASS = '.modal-content'; var AttachmentMap = { AUTO: 'auto', @@ -2967,7 +2972,8 @@ var Selector$1 = { arrowPadding: 6, container: false, fallbackPlacement: 'flip', - callbacks: {} + callbacks: {}, + boundary: 'scrollParent' // Transition Event names };var TransitionEndEvents = { @@ -2980,6 +2986,7 @@ var Selector$1 = { // Could use Alex's uid generator util // Each tooltip requires a unique client side ID };var NEXTID = 1; +/* istanbul ignore next */ function generateId(name) { return '__BV_' + name + '_' + NEXTID++ + '__'; } @@ -2987,6 +2994,7 @@ function generateId(name) { /* * ToolTip Class definition */ +/* istanbul ignore next: difficult to test in Jest/JSDOM environment */ var ToolTip = function () { // Main constructor @@ -2994,6 +3002,7 @@ var ToolTip = function () { _classCallCheck$1(this, ToolTip); // New tooltip object + this.$isEnabled = true; this.$fadeTimeout = null; this.$hoverTimeout = null; this.$visibleInterval = null; @@ -3005,10 +3014,12 @@ var ToolTip = function () { this.$id = generateId(this.constructor.NAME); this.$root = $root || null; this.$routeWatcher = null; - // We keep a bound copy of the forceHide, doHide and doShow methods for root/modal listeners + // We use a bound version of the following handlers for root/modal listeners to maintain the 'this' context this.$forceHide = this.forceHide.bind(this); this.$doHide = this.doHide.bind(this); this.$doShow = this.doShow.bind(this); + this.$doDisable = this.doDisable.bind(this); + this.$doEnable = this.doEnable.bind(this); // Set the configuration this.updateConfig(config); } @@ -3078,6 +3089,7 @@ var ToolTip = function () { this.$tip = null; // Null out other properties this.$id = null; + this.$isEnabled = null; this.$root = null; this.$element = null; this.$config = null; @@ -3086,6 +3098,32 @@ var ToolTip = function () { this.$forceHide = null; this.$doHide = null; this.$doShow = null; + this.$doDisable = null; + this.$doEnable = null; + } + }, { + key: 'enable', + value: function enable() { + // Create a non-cancelable BvEvent + var enabledEvt = new BvEvent('enabled', { + cancelable: false, + target: this.$element, + relatedTarget: null + }); + this.$isEnabled = true; + this.emitEvent(enabledEvt); + } + }, { + key: 'disable', + value: function disable() { + // Create a non-cancelable BvEvent + var disabledEvt = new BvEvent('disabled', { + cancelable: false, + target: this.$element, + relatedTarget: null + }); + this.$isEnabled = false; + this.emitEvent(disabledEvt); } // Click toggler @@ -3093,6 +3131,9 @@ var ToolTip = function () { }, { key: 'toggle', value: function toggle(event) { + if (!this.$isEnabled) { + return; + } if (event) { this.$activeTrigger.click = !this.$activeTrigger.click; @@ -3121,7 +3162,6 @@ var ToolTip = function () { // If trigger element isn't in the DOM or is not visible return; } - // Build tooltip element (also sets this.$tip) var tip = this.getTipElement(); this.fixTitle(); @@ -3282,6 +3322,7 @@ var ToolTip = function () { } // Transitionend Callback + /* istanbul ignore next */ var complete = function complete() { if (_this3.$hoverState !== HoverState.SHOW && tip.parentNode) { // Remove tip from dom, and force recompile on next show @@ -3379,6 +3420,9 @@ var ToolTip = function () { } this.$popper = null; } + + /* istanbul ignore next */ + }, { key: 'transitionOnce', value: function transitionOnce(tip, complete) { @@ -3575,8 +3619,8 @@ var ToolTip = function () { eventOff(_this7.$element, evt, _this7); }, this); - // Stop listening for global show/hide events - this.setRootListener(true); + // Stop listening for global show/hide/enable/disable events + this.setRootListener(false); } }, { key: 'handleEvent', @@ -3587,6 +3631,10 @@ var ToolTip = function () { // disabled, then tip not close until no longer disabled or forcefully closed. return; } + if (!this.$isEnabled) { + // If not enable + return; + } var type = e.type; var target = e.target; var relatedTarget = e.relatedTarget; @@ -3621,6 +3669,9 @@ var ToolTip = function () { this.leave(e); } } + + /* istanbul ignore next */ + }, { key: 'setRouteWatcher', value: function setRouteWatcher(on) { @@ -3645,6 +3696,9 @@ var ToolTip = function () { } } } + + /* istanbul ignore next */ + }, { key: 'setModalListener', value: function setModalListener(on) { @@ -3658,6 +3712,9 @@ var ToolTip = function () { this.$root[on ? '$on' : '$off'](MODAL_CLOSE_EVENT, this.$forceHide); } } + + /* istanbul ignore next */ + }, { key: 'setRootListener', value: function setRootListener(on) { @@ -3665,14 +3722,16 @@ var ToolTip = function () { if (this.$root) { this.$root[on ? '$on' : '$off']('bv::hide::' + this.constructor.NAME, this.$doHide); this.$root[on ? '$on' : '$off']('bv::show::' + this.constructor.NAME, this.$doShow); + this.$root[on ? '$on' : '$off']('bv::disable::' + this.constructor.NAME, this.$doDisable); + this.$root[on ? '$on' : '$off']('bv::enable::' + this.constructor.NAME, this.$doEnable); } } }, { key: 'doHide', value: function doHide(id) { - // Programmatically hide this tooltip or popover + // Programmatically hide tooltip or popover if (!id) { - // Close all tooltip or popovers + // Close all tooltips or popovers this.forceHide(); } else if (this.$element && this.$element.id && this.$element.id === id) { // Close this specific tooltip or popover @@ -3682,11 +3741,42 @@ var ToolTip = function () { }, { key: 'doShow', value: function doShow(id) { - // Programmatically show this tooltip or popover - if (id && this.$element && this.$element.id && this.$element.id === id) { + // Programmatically show tooltip or popover + if (!id) { + // Open all tooltips or popovers this.show(); + } else if (id && this.$element && this.$element.id && this.$element.id === id) { + // Show this specific tooltip or popover + this.show(); + } + } + }, { + key: 'doDisable', + value: function doDisable(id) { + // Programmatically disable tooltip or popover + if (!id) { + // Disable all tooltips or popovers + this.disable(); + } else if (this.$element && this.$element.id && this.$element.id === id) { + // Disable this specific tooltip or popover + this.disable(); } } + }, { + key: 'doEnable', + value: function doEnable(id) { + // Programmatically enable tooltip or popover + if (!id) { + // Enable all tooltips or popovers + this.enable(); + } else if (this.$element && this.$element.id && this.$element.id === id) { + // Enable this specific tooltip or popover + this.enable(); + } + } + + /* istanbul ignore next */ + }, { key: 'setOnTouchStartListener', value: function setOnTouchStartListener(on) { @@ -3706,6 +3796,9 @@ var ToolTip = function () { }); } } + + /* istanbul ignore next */ + }, { key: '_noop', value: function _noop() { @@ -3723,6 +3816,7 @@ var ToolTip = function () { } // Enter handler + /* istanbul ignore next */ }, { key: 'enter', @@ -3750,6 +3844,7 @@ var ToolTip = function () { } // Leave handler + /* istanbul ignore next */ }, { key: 'leave', @@ -3789,7 +3884,8 @@ var ToolTip = function () { modifiers: { offset: { offset: this.getOffset(placement, tip) }, flip: { behavior: this.$config.fallbackPlacement }, - arrow: { element: '.arrow' } + arrow: { element: '.arrow' }, + preventOverflow: { boundariesElement: this.$config.boundary } }, onCreate: function onCreate(data) { // Handle flipping arrow classes @@ -3926,8 +4022,9 @@ var ClassName = { var Selector = { TITLE: '.popover-header', CONTENT: '.popover-body' -}; + /* istanbul ignore next: dificult to test in Jest/JSDOM environment */ +}; var PopOver = function (_ToolTip) { _inherits(PopOver, _ToolTip); @@ -4054,8 +4151,6 @@ var PopOver = function (_ToolTip) { * @param {string} str */ -"use strict"; - /** * Observe a DOM element changes, falls back to eventListener mode * @param {Element} el The DOM element to observe @@ -4069,6 +4164,7 @@ function observeDOM(el, callback, opts) { // Handle case where we might be passed a vue instance el = el ? el.$el || el : null; + /* istanbul ignore next: dificult to test in JSDOM */ if (!isElement(el)) { // We can't observe somthing that isn't an element return null; @@ -4076,6 +4172,7 @@ function observeDOM(el, callback, opts) { var obs = null; + /* istanbul ignore next: dificult to test in JSDOM */ if (MutationObserver) { // Define a new observer obs = new MutationObserver(function (mutations) { @@ -4157,10 +4254,29 @@ function observeDOM(el, callback, opts) { * @param {object} Plugin definition */ +/* + * Consitant and stable sort function across JavsaScript platforms + * + * Inconsistant sorts can cause SSR problems between client and server + * such as in if sortBy is applied to the data on server side render. + * Chrome and V8 native sorts are inconsistant/unstable + * + * This function uses native sort with fallback to index compare when the a and b + * compare returns 0 + * + * Algorithm bsaed on: + * https://stackoverflow.com/questions/1427608/fast-stable-sorting-algorithm-implementation-in-javascript/45422645#45422645 + * + * @param {array} array to sort + * @param {function} sortcompare function + * @return {array} + */ + /** * Log a warning message to the console with bootstrap-vue formatting sugar. * @param {string} message */ +/* istanbul ignore next */ function warn(message) { console.warn("[Bootstrap-Vue warn]: " + message); } @@ -4257,9 +4373,19 @@ var toolpopMixin = { type: String, default: null }, + boundary: { + // String: scrollParent, window, or viewport + // Element: element reference + type: [String, Object], + default: 'scrollParent' + }, show: { type: Boolean, default: false + }, + disabled: { + type: Boolean, + default: false } }, watch: { @@ -4267,8 +4393,13 @@ var toolpopMixin = { if (_show === old) { return; } - _show ? this.onOpen() : this.onClose(); + }, + disabled: function disabled(_disabled, old) { + if (_disabled === old) { + return; + } + _disabled ? this.onDisable() : this.onEnable(); } }, created: function created() { @@ -4280,16 +4411,23 @@ var toolpopMixin = { mounted: function mounted() { var _this = this; - // We do this in a $nextTick in hopes that the target element is in the DOM - // And that our children have rendered + // We do this in a next tick to ensure DOM has rendered first this.$nextTick(function () { // Instantiate ToolTip/PopOver on target - // createToolpop method must exist in main component + // The createToolpop method must exist in main component if (_this.createToolpop()) { + if (_this.disabled) { + // Initially disabled + _this.onDisable(); + } // Listen to open signals from others _this.$on('open', _this.onOpen); // Listen to close signals from others _this.$on('close', _this.onClose); + // Listen to disable signals from others + _this.$on('disable', _this.onDisable); + // Listen to disable signals from others + _this.$on('enable', _this.onEnable); // Observe content Child changes so we can notify popper of possible size change _this.setObservers(true); // Set intially open state @@ -4305,10 +4443,14 @@ var toolpopMixin = { this._toolpop.updateConfig(this.getConfig()); } }, + + /* istanbul ignore next: not easy to test */ activated: function activated() { // Called when component is inside a and component brought offline this.setObservers(true); }, + + /* istanbul ignore next: not easy to test */ deactivated: function deactivated() { // Called when component is inside a and component taken offline if (this._toolpop) { @@ -4316,15 +4458,21 @@ var toolpopMixin = { this._toolpop.hide(); } }, + + /* istanbul ignore next: not easy to test */ beforeDestroy: function beforeDestroy() { + // Shutdown our local event listeners + this.$off('open', this.onOpen); this.$off('close', this.onClose); + this.$off('disable', this.onDisable); + this.$off('enable', this.onEnable); this.setObservers(false); + // bring our content back if needed + this.bringItBack(); if (this._toolpop) { this._toolpop.destroy(); this._toolpop = null; } - // bring our content back if needed - this.bringItBack(); }, computed: { @@ -4340,6 +4488,8 @@ var toolpopMixin = { placement: PLACEMENTS[this.placement] || 'auto', // Container curently needs to be an ID with '#' prepended, if null then body is used container: cont ? /^#/.test(cont) ? cont : '#' + cont : false, + // boundariesElement passed to popper + boundary: this.boundary, // Show/Hide delay delay: delay || 0, // Offset can be css distance. if no units, pixels are assumed @@ -4353,7 +4503,9 @@ var toolpopMixin = { show: this.onShow, shown: this.onShown, hide: this.onHide, - hidden: this.onHidden + hidden: this.onHidden, + enabled: this.onEnabled, + disabled: this.onDisabled } }; } @@ -4387,6 +4539,16 @@ var toolpopMixin = { callback(); } }, + onDisable: function onDisable() { + if (this._toolpop) { + this._toolpop.disable(); + } + }, + onEnable: function onEnable() { + if (this._toolpop) { + this._toolpop.enable(); + } + }, updatePosition: function updatePosition() { if (this._toolpop) { // Instruct popper to reposition popover if necessary @@ -4426,6 +4588,22 @@ var toolpopMixin = { this.$emit('update:show', false); this.$emit('hidden', evt); }, + onEnabled: function onEnabled(evt) { + if (!evt || evt.type !== 'enabled') { + // Prevent possible endless loop if user mistakienly fires enabled instead of enable + return; + } + this.$emit('update:disabled', false); + this.$emit('disabled'); + }, + onDisabled: function onDisabled(evt) { + if (!evt || evt.type !== 'disabled') { + // Prevent possible endless loop if user mistakienly fires disabled instead of disable + return; + } + this.$emit('update:disabled', true); + this.$emit('enabled'); + }, bringItBack: function bringItBack() { // bring our content back if needed to keep Vue happy if (this.$el && this.$refs.title) { @@ -4435,6 +4613,8 @@ var toolpopMixin = { this.$el.appendChild(this.$refs.content); } }, + + /* istanbul ignore next: not easy to test */ setObservers: function setObservers(on) { if (on) { if (this.$refs.title) { diff --git a/dist/click-confirm.min.js b/dist/click-confirm.min.js index b260657..a875e10 100644 --- a/dist/click-confirm.min.js +++ b/dist/click-confirm.min.js @@ -1,2 +1,2 @@ -!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.clickConfirm={})}(this,function(t){"use strict";function e(t){return t&&"[object Function]"==={}.toString.call(t)}function n(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function i(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=n(t),r=e.overflow,s=e.overflowX,a=e.overflowY;return/(auto|scroll)/.test(r+a+s)?t:o(i(t))}function r(t){var e=t&&t.offsetParent,i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===n(e,"position")?r(e):e:t?t.ownerDocument.documentElement:document.documentElement}function s(t){return null!==t.parentNode?s(t.parentNode):t}function a(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,l=document.createRange();l.setStart(i,0),l.setEnd(o,0);var u=l.commonAncestorContainer;if(t!==u&&e!==u||i.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||r(t.firstElementChild)===t)}(u)?u:r(u);var c=s(t);return c.host?a(c.host,e):a(t,s(e).host)}function l(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function u(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function c(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],U()?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function f(){var t=document.body,e=document.documentElement,n=U()&&getComputedStyle(e);return{height:c("Height",t,e,n),width:c("Width",t,e,n)}}function h(t){return q({},t,{right:t.left+t.width,bottom:t.top+t.height})}function p(t){var e={};if(U())try{e=t.getBoundingClientRect();var i=l(t,"top"),o=l(t,"left");e.top+=i,e.left+=o,e.bottom+=i,e.right+=o}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?f():{},a=s.width||t.clientWidth||r.right-r.left,c=s.height||t.clientHeight||r.bottom-r.top,p=t.offsetWidth-a,d=t.offsetHeight-c;if(p||d){var m=n(t);p-=u(m,"x"),d-=u(m,"y"),r.width-=p,r.height-=d}return h(r)}function d(t,e){var i=U(),r="HTML"===e.nodeName,s=p(t),a=p(e),u=o(t),c=n(e),f=parseFloat(c.borderTopWidth,10),d=parseFloat(c.borderLeftWidth,10),m=h({top:s.top-a.top-f,left:s.left-a.left-d,width:s.width,height:s.height});if(m.marginTop=0,m.marginLeft=0,!i&&r){var v=parseFloat(c.marginTop,10),g=parseFloat(c.marginLeft,10);m.top-=f-v,m.bottom-=f-v,m.left-=d-g,m.right-=d-g,m.marginTop=v,m.marginLeft=g}return(i?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(m=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=l(e,"top"),o=l(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(m,e)),m}function m(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===n(t,"position")||m(i(t)))}function v(t,e,n,r){var s={top:0,left:0},u=a(t,e);if("viewport"===r)s=function(t){var e=t.ownerDocument.documentElement,n=d(t,e),i=Math.max(e.clientWidth,window.innerWidth||0),o=Math.max(e.clientHeight,window.innerHeight||0),r=l(e),s=l(e,"left");return h({top:r-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o})}(u);else{var c=void 0;"scrollParent"===r?"BODY"===(c=o(i(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===r?t.ownerDocument.documentElement:r;var p=d(c,u);if("HTML"!==c.nodeName||m(u))s=p;else{var v=f(),g=v.height,b=v.width;s.top+=p.top-p.marginTop,s.bottom=g+p.top,s.left+=p.left-p.marginLeft,s.right=b+p.left}}return s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function g(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=v(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return q({key:t},a[t],{area:function(t){return t.width*t.height}(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function b(t,e,n){return d(n,a(e,n))}function y(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function T(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function $(t,e,n){n=n.split("-")[0];var i=y(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[u]:e[T(a)],o}function w(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function O(t,n,i){return(void 0===i?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=w(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&e(i)&&(n.offsets.popper=h(n.offsets.popper),n.offsets.reference=h(n.offsets.reference),n=i(n,t))}),n}function E(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function k(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(t),i=K.slice(n+1).concat(K.slice(0,n));return e?i.reverse():i}function N(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(w(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(u=u.map(function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return h(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){H(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}function W(t,e,n){var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=window.addEventListener;if(t=t?t.$el||t:null,!st(t))return null;var r=null;return i?(r=new i(function(t){for(var n=!1,i=0;i0||o.removedNodes.length>0)&&(n=!0)}n&&e()})).observe(t,Z({childList:!0,subtree:!0},n)):o&&(t.addEventListener("DOMNodeInserted",e,!1),t.addEventListener("DOMNodeRemoved",e,!1)),r}for(var j="undefined"!=typeof window&&"undefined"!=typeof document,D=["Edge","Trident","Firefox"],I=0,F=0;F=0){I=1;break}var B=j&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},I))}},R=void 0,U=function(){return void 0===R&&(R=-1!==navigator.appVersion.indexOf("MSIE 10")),R},Y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},G=function(){function t(t,e){for(var n=0;ni[t]&&!e.escapeWithReference&&(o=Math.min(s[n],i[t]-("right"===t?s.width:s.height))),z({},n,o)}};return o.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";s=q({},s,a[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!P(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],s=t.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(r),c=u?"height":"width",f=u?"Top":"Left",p=f.toLowerCase(),d=u?"left":"top",m=u?"bottom":"right",v=y(o)[c];l[m]-va[m]&&(t.offsets.popper[p]+=l[p]+v-a[m]),t.offsets.popper=h(t.offsets.popper);var g=l[p]+l[c]/2-v/2,b=n(t.instance.popper),T=parseFloat(b["margin"+f],10),$=parseFloat(b["border"+f+"Width"],10),w=g-t.offsets.popper[p]-T-$;return w=Math.max(Math.min(a[c]-v,w),0),t.arrowElement=o,t.offsets.arrow=(i={},z(i,p,Math.round(w)),z(i,d,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(E(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=v(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split("-")[0],o=T(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case X.FLIP:s=[i,o];break;case X.CLOCKWISE:s=x(i);break;case X.COUNTERCLOCKWISE:s=x(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=T(i);var u=t.offsets.popper,c=t.offsets.reference,f=Math.floor,h="left"===i&&f(u.right)>f(c.left)||"right"===i&&f(u.left)f(c.top)||"bottom"===i&&f(u.top)f(n.right),m=f(u.top)f(n.bottom),g="left"===i&&p||"right"===i&&d||"top"===i&&m||"bottom"===i&&v,b=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(b&&"start"===r&&p||b&&"end"===r&&d||!b&&"start"===r&&m||!b&&"end"===r&&v);(h||g||y)&&(t.flipped=!0,(h||g)&&(i=s[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=q({},t.offsets.popper,$(t.instance.popper,t.offsets.reference,t.placement)),t=O(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=T(e),t.offsets.popper=h(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!P(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=w(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};Y(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=B(this.update.bind(this)),this.options=q({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(q({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){o.options.modifiers[e]=q({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return q({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return G(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=b(this.state,this.popper,this.reference),t.placement=g(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=$(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=O(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,E(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[k("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return L.call(this)}},{key:"disableEventListeners",value:function(){return A.call(this)}}]),t}();Q.Utils=("undefined"!=typeof window?window:global).PopperUtils,Q.placements=V,Q.Defaults=J,"function"!=typeof Object.assign&&(Object.assign=function(t,e){var n=arguments;if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),o=1;o1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '"+this.constructor.name+"'. 1 argument required, "+arguments.length+" given.");Z(this,t.defaults(),n,{type:e}),tt(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1}});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},et(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}return nt(t,null,[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}]),t}();Array.from||(Array.from=function(){var t=Object.prototype.toString,e=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},n=Math.pow(2,53)-1;return function(t){var i=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o=arguments.length>1?arguments[1]:void 0,r=void 0;if(void 0!==o){if(!e(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s=function(t){return Math.min(Math.max(function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t),0),n)}(i.length),a=e(this)?Object(new this(s)):new Array(s),l=0,u=void 0;l>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0&&t.getBoundingClientRect().width>0},lt=function(t,e){return st(e)||(e=document),e.querySelector(t)||null},ut=function(t,e){if(!st(t))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=function(t,e){return st(e)||(e=document),ot(e.querySelectorAll(t))}(t,this.document||this.ownerDocument),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}).call(t,e)},ct=function(t,e){if(!st(e))return null;var n=(Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(ut(e,t))return e;e=e.parentElement}while(null!==e);return null}).call(e,t);return n===e?null:n},ft=function(t,e){e&&st(t)&&t.classList.add(e)},ht=function(t,e){e&&st(t)&&t.classList.remove(e)},pt=function(t,e){return!(!e||!st(t))&&t.classList.contains(e)},dt=function(t,e,n){e&&st(t)&&t.setAttribute(e,n)},mt=function(t,e){return e&&st(t)?t.getAttribute(e):null},vt=function(t,e,n){t&&t.addEventListener&&t.addEventListener(e,n)},gt=function(t,e,n){t&&t.removeEventListener&&t.removeEventListener(e,n)},bt="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},yt=function(){function t(t,e){for(var n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{}},Ct={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Lt=1,At=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=function(t){return"__BV_"+t+"_"+Lt+++"__"}(this.constructor.NAME),this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.updateConfig(n)}return yt(t,[{key:"updateConfig",value:function(t){var e=Z({},this.constructor.Default,t);t.delay&&"number"==typeof t.delay&&(e.delay={show:t.delay,hide:t.delay}),t.title&&"number"==typeof t.title&&(e.title=t.title.toString()),t.content&&"number"==typeof t.content&&(e.content=t.content.toString()),this.fixTitle(),this.$config=e,this.unListen(),this.listen()}},{key:"destroy",value:function(){this.unListen(),this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null,this.$popper&&this.$popper.destroy(),this.$popper=null,this.$tip&&this.$tip.parentElement&&this.$tip.parentElement.removeChild(this.$tip),this.$tip=null,this.$id=null,this.$root=null,this.$element=null,this.$config=null,this.$hoverState=null,this.$activeTrigger=null,this.$forceHide=null,this.$doHide=null,this.$doShow=null}},{key:"toggle",value:function(t){t?(this.$activeTrigger.click=!this.$activeTrigger.click,this.isWithActiveTrigger()?this.enter(null):this.leave(null)):pt(this.getTipElement(),Et.SHOW)?this.leave(null):this.enter(null)}},{key:"show",value:function(){var t=this;if(document.body.contains(this.$element)&&at(this.$element)){var e=this.getTipElement();if(this.fixTitle(),this.setContent(e),this.isWithContent(e)){dt(e,"id",this.$id),this.addAriaDescribedby(),this.$config.animation?ft(e,Et.FADE):ht(e,Et.FADE);var n=this.getPlacement(),i=this.constructor.getAttachment(n);this.addAttachmentClass(i);var o=new it("show",{cancelable:!0,target:this.$element,relatedTarget:e});if(this.emitEvent(o),o.defaultPrevented)this.$tip=null;else{var r=this.getContainer();document.body.contains(e)||r.appendChild(e),this.removePopper(),this.$popper=new Q(this.$element,e,this.getPopperConfig(n,e));this.setWhileOpenListeners(!0),ft(e,Et.SHOW),this.transitionOnce(e,function(){t.$config.animation&&t.fixTransition(e);var n=t.$hoverState;t.$hoverState=null,n===Ot.OUT&&t.leave(null);var i=new it("shown",{cancelable:!1,target:t.$element,relatedTarget:e});t.emitEvent(i)})}}else this.$tip=null}}},{key:"visibleCheck",value:function(t){var e=this;clearInterval(this.$visibleInterval),this.$visibleInterval=null,t&&(this.$visibleInterval=setInterval(function(){var t=e.getTipElement();t&&!at(e.$element)&&pt(t,Et.SHOW)&&e.forceHide()},100))}},{key:"setWhileOpenListeners",value:function(t){this.setModalListener(t),this.visibleCheck(t),this.setRouteWatcher(t),this.setOnTouchStartListener(t),t&&/(focus|blur)/.test(this.$config.trigger)?vt(this.$tip,"focusout",this):gt(this.$tip,"focusout",this)}},{key:"forceHide",value:function(){this.$tip&&pt(this.$tip,Et.SHOW)&&(this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,this.$hoverState="",this.hide(null,!0))}},{key:"hide",value:function(t,e){var n=this,i=this.$tip;if(i){var o=new it("hide",{cancelable:!e,target:this.$element,relatedTarget:i});if(this.emitEvent(o),!o.defaultPrevented){this.setWhileOpenListeners(!1),e&&ht(i,Et.FADE),ht(i,Et.SHOW),this.$activeTrigger.click=!1,this.$activeTrigger.focus=!1,this.$activeTrigger.hover=!1,this.transitionOnce(i,function(){n.$hoverState!==Ot.SHOW&&i.parentNode&&(i.parentNode.removeChild(i),n.removeAriaDescribedby(),n.removePopper(),n.$tip=null),t&&t();var e=new it("hidden",{cancelable:!1,target:n.$element,relatedTarget:null});n.emitEvent(e)}),this.$hoverState=""}}}},{key:"emitEvent",value:function(t){var e=t.type;this.$root&&this.$root.$emit&&this.$root.$emit("bv::"+this.constructor.NAME+"::"+e,t);var n=this.$config.callbacks||{};"function"==typeof n[e]&&n[e](t)}},{key:"getContainer",value:function(){var t=this.$config.container,e=document.body;return!1===t?ct(".modal",this.$element)||e:lt(t,e)||e}},{key:"addAriaDescribedby",value:function(){var t=mt(this.$element,"aria-describedby")||"";t=t.split(/\s+/).concat(this.$id).join(" ").trim(),dt(this.$element,"aria-describedby",t)}},{key:"removeAriaDescribedby",value:function(){var t=this,e=mt(this.$element,"aria-describedby")||"";(e=e.split(/\s+/).filter(function(e){return e!==t.$id}).join(" ").trim())?dt(this.$element,"aria-describedby",e):function(t,e){e&&st(t)&&t.removeAttribute(e)}(this.$element,"aria-describedby")}},{key:"removePopper",value:function(){this.$popper&&this.$popper.destroy(),this.$popper=null}},{key:"transitionOnce",value:function(t,e){var n=this,i=this.getTransitionEndEvents(),o=!1;clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null;var r=function r(){o||(o=!0,clearTimeout(n.$fadeTimeout),n.$fadeTimeout=null,i.forEach(function(e){gt(t,e,r)}),e())};pt(t,Et.FADE)?(i.forEach(function(e){vt(t,e,r)}),this.$fadeTimeout=setTimeout(r,150)):r()}},{key:"getTransitionEndEvents",value:function(){for(var t in Ct)if(void 0!==this.$element.style[t])return Ct[t];return[]}},{key:"update",value:function(){null!==this.$popper&&this.$popper.scheduleUpdate()}},{key:"isWithContent",value:function(t){return!!(t=t||this.$tip)&&Boolean((lt(kt.TOOLTIP_INNER,t)||{}).innerHTML)}},{key:"addAttachmentClass",value:function(t){ft(this.getTipElement(),"bs-tooltip-"+t)}},{key:"getTipElement",value:function(){return this.$tip||(this.$tip=this.compileTemplate(this.$config.template)||this.compileTemplate(this.constructor.Default.template)),this.$tip.tabIndex=-1,this.$tip}},{key:"compileTemplate",value:function(t){if(!t||"string"!=typeof t)return null;var e=document.createElement("div");e.innerHTML=t.trim();var n=e.firstElementChild?e.removeChild(e.firstElementChild):null;return e=null,n}},{key:"setContent",value:function(t){this.setElementContent(lt(kt.TOOLTIP_INNER,t),this.getTitle()),ht(t,Et.FADE),ht(t,Et.SHOW)}},{key:"setElementContent",value:function(t,e){if(t){var n=this.$config.html;"object"===(void 0===e?"undefined":bt(e))&&e.nodeType?n?e.parentElement!==t&&(t.innerHtml="",t.appendChild(e)):t.innerText=e.innerText:t[n?"innerHTML":"innerText"]=e}}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":bt(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=mt(this.$element,"title")||mt(this.$element,"data-original-title")||"").trim()),t}},{key:"listen",value:function(){var t=this,e=this.$config.trigger.trim().split(/\s+/),n=this.$element;this.setRootListener(!0),e.forEach(function(e){"click"===e?vt(n,"click",t):"focus"===e?(vt(n,"focusin",t),vt(n,"focusout",t)):"blur"===e?vt(n,"focusout",t):"hover"===e&&(vt(n,"mouseenter",t),vt(n,"mouseleave",t))},this)}},{key:"unListen",value:function(){var t=this;["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(e){gt(t.$element,e,t)},this),this.setRootListener(!0)}},{key:"handleEvent",value:function(t){if(!function(t){return!st(t)||t.disabled||t.classList.contains("disabled")||Boolean(t.getAttribute("disabled"))}(this.$element)){var e=t.type,n=t.target,i=t.relatedTarget,o=this.$element,r=this.$tip;if("click"===e)this.toggle(t);else if("focusin"===e||"mouseenter"===e)this.enter(t);else if("focusout"===e){if(r&&o&&o.contains(n)&&r.contains(i))return;if(r&&o&&r.contains(n)&&o.contains(i))return;if(r&&r.contains(n)&&r.contains(i))return;if(o&&o.contains(n)&&o.contains(i))return;this.leave(t)}else"mouseleave"===e&&this.leave(t)}}},{key:"setRouteWatcher",value:function(t){var e=this;t?(this.setRouteWatcher(!1),this.$root&&Boolean(this.$root.$route)&&(this.$routeWatcher=this.$root.$watch("$route",function(t,n){t!==n&&e.forceHide()}))):this.$routeWatcher&&(this.$routeWatcher(),this.$routeWatcher=null)}},{key:"setModalListener",value:function(t){ct(".modal",this.$element)&&this.$root&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.$forceHide)}},{key:"setRootListener",value:function(t){this.$root&&(this.$root[t?"$on":"$off"]("bv::hide::"+this.constructor.NAME,this.$doHide),this.$root[t?"$on":"$off"]("bv::show::"+this.constructor.NAME,this.$doShow))}},{key:"doHide",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.hide():this.forceHide()}},{key:"doShow",value:function(t){t&&this.$element&&this.$element.id&&this.$element.id===t&&this.show()}},{key:"setOnTouchStartListener",value:function(t){var e=this;"ontouchstart"in document.documentElement&&ot(document.body.children).forEach(function(n){t?vt(n,"mouseover",e._noop):gt(n,"mouseover",e._noop)})}},{key:"_noop",value:function(){}},{key:"fixTitle",value:function(){var t=this.$element,e=bt(mt(t,"data-original-title"));(mt(t,"title")||"string"!==e)&&(dt(t,"data-original-title",mt(t,"title")||""),dt(t,"title",""))}},{key:"enter",value:function(t){var e=this;t&&(this.$activeTrigger["focusin"===t.type?"focus":"hover"]=!0),pt(this.getTipElement(),Et.SHOW)||this.$hoverState===Ot.SHOW?this.$hoverState=Ot.SHOW:(clearTimeout(this.$hoverTimeout),this.$hoverState=Ot.SHOW,this.$config.delay&&this.$config.delay.show?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Ot.SHOW&&e.show()},this.$config.delay.show):this.show())}},{key:"leave",value:function(t){var e=this;t&&(this.$activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&/blur/.test(this.$config.trigger)&&(this.$activeTrigger.click=!1,this.$activeTrigger.hover=!1)),this.isWithActiveTrigger()||(clearTimeout(this.$hoverTimeout),this.$hoverState=Ot.OUT,this.$config.delay&&this.$config.delay.hide?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Ot.OUT&&e.hide()},this.$config.delay.hide):this.hide())}},{key:"getPopperConfig",value:function(t,e){var n=this;return{placement:this.constructor.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t,e)},flip:{behavior:this.$config.fallbackPlacement},arrow:{element:".arrow"}},onCreate:function(t){t.originalPlacement!==t.placement&&n.handlePopperPlacementChange(t)},onUpdate:function(t){n.handlePopperPlacementChange(t)}}}},{key:"getOffset",value:function(t,e){if(!this.$config.offset){var n=lt(kt.ARROW,e),i=parseFloat(function(t){return st(t)?window.getComputedStyle(t):{}}(n).width)+parseFloat(this.$config.arrowPadding);switch(wt[t.toUpperCase()]){case 1:return"+50%p - "+i+"px";case-1:return"-50%p + "+i+"px";default:return 0}}return parseFloat(this.$config.offset)}},{key:"getPlacement",value:function(){var t=this.$config.placement;return"function"==typeof t?t.call(this,this.$tip,this.$element):t}},{key:"isWithActiveTrigger",value:function(){for(var t in this.$activeTrigger)if(this.$activeTrigger[t])return!0;return!1}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Tt);null!==e&&e.length>0&&e.forEach(function(e){ht(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;null===mt(t,"x-placement")&&(ht(t,Et.FADE),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}],[{key:"getAttachment",value:function(t){return $t[t.toUpperCase()]}},{key:"Default",get:function(){return St}},{key:"NAME",get:function(){return"tooltip"}}]),t}(),Ht="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},Mt=function(){function t(t,e){for(var n=0;n

'}),xt={FADE:"fade",SHOW:"show"},Nt={TITLE:".popover-header",CONTENT:".popover-body"},Wt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,At),Mt(e,[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((lt(Nt.TITLE,t)||{}).innerHTML),n=Boolean((lt(Nt.CONTENT,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){ft(this.getTipElement(),"bs-popover-"+t)}},{key:"setContent",value:function(t){this.setElementContent(lt(Nt.TITLE,t),this.getTitle()),this.setElementContent(lt(Nt.CONTENT,t),this.getContent()),ht(t,xt.FADE),ht(t,xt.SHOW)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(_t);null!==e&&e.length>0&&e.forEach(function(e){ht(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":Ht(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=mt(this.$element,"title")||mt(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":Ht(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}],[{key:"Default",get:function(){return Pt}},{key:"NAME",get:function(){return"popover"}}]),e}(),jt="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={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},It={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},Ft={title:"Are you sure?",yes:"Yes",no:"No"},Bt={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("span",{ref:"trigger",attrs:{id:t.randomId,tabindex:"-1"},on:{"!click":function(e){t.interceptEvent(e)}}},[t._t("default")],2),t._v(" "),n("b-popover",{ref:"popover",staticClass:"click-confirm",attrs:{target:t.randomId,show:t.isOpen,placement:t.placement,title:t.messages.title,triggers:"blur"},on:{"update:show":function(e){t.isOpen=e},hidden:t.onHidden}},[n("div",{staticClass:"text-center"},[n("button",{ref:"buttonYes",class:[t.yesClass,t.buttonSizeClass],on:{click:function(e){e.preventDefault(),t.onOk(e)}}},[t.yesIcon?n("span",{class:t.yesIcon,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.messages.yes)+" ")]),t._v(" "),n("button",{ref:"buttonNo",class:[t.noClass,t.buttonSizeClass],on:{click:function(e){e.preventDefault(),t.onCancel(e)}}},[t.noIcon?n("span",{class:t.noIcon,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.messages.no)+" ")])])])],1)},staticRenderFns:[],components:{bPopover:{mixins:[{props:{target:{type:[String,Object]},delay:{type:[Number,Object,String],default:0},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},show:{type:Boolean,default:!1}},watch:{show:function(t,e){t!==e&&(t?this.onOpen():this.onClose())}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var t=this;this.$nextTick(function(){t.createToolpop()&&(t.$on("open",t.onOpen),t.$on("close",t.onClose),t.setObservers(!0),t.show&&t.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("close",this.onClose),this.setObservers(!1),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null),this.bringItBack()},computed:{baseConfig:function(){var t=this.container,e="object"===jt(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:Dt[this.placement]||"auto",container:!!t&&(/^#/.test(t)?t:"#"+t),delay:e||0,offset:this.offset||0,animation:!this.noFade,trigger:rt(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden}}}},methods:{getConfig:function(){var t=Z({},this.baseConfig);return this.$refs.title&&this.$refs.title.innerHTML.trim()&&(t.title=this.$refs.title,t.html=!0),this.$refs.content&&this.$refs.content.innerHTML.trim()&&(t.content=this.$refs.content,t.html=!0),t},onOpen:function(){this._toolpop&&this._toolpop.show()},onClose:function(t){this._toolpop?this._toolpop.hide(t):"function"==typeof t&&t()},updatePosition:function(){this._toolpop&&this._toolpop.update()},getTarget:function(){var t=this.target;return"string"==typeof t?function(t){return document.getElementById(/^#/.test(t)?t.slice(1):t)||null}(t):"object"===(void 0===t?"undefined":jt(t))&&st(t.$el)?t.$el:"object"===(void 0===t?"undefined":jt(t))&&st(t)?t:null},onShow:function(t){this.$emit("show",t)},onShown:function(t){this.setObservers(!0),this.$emit("update:show",!0),this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.setObservers(!1),this.bringItBack(),this.$emit("update:show",!1),this.$emit("hidden",t)},bringItBack:function(){this.$el&&this.$refs.title&&this.$el.appendChild(this.$refs.title),this.$el&&this.$refs.content&&this.$el.appendChild(this.$refs.content)},setObservers:function(t){t?(this.$refs.title&&(this._obs_title=W(this.$refs.title,this.updatePosition.bind(this),It)),this.$refs.content&&(this._obs_content=W(this.$refs.content,this.updatePosition.bind(this),It))):(this._obs_title&&(this._obs_title.disconnect(),this._obs_title=null),this._obs_content&&(this._obs_content.disconnect(),this._obs_content=null))}}}],render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.title),t("div",{ref:"content"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},content:{type:String,default:""},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new Wt(t,this.getConfig(),this.$root):(this._toolpop=null,function(t){console.warn("[Bootstrap-Vue warn]: "+t)}("b-popover: 'target' element not found!")),this._toolpop}}}},data:function(){return{isOpen:!1,randomId:"clickConfirm"+this._uid,target:null,allow:!1}},props:{buttonSize:{type:String,default:"",validator:function(t){return["lg","","sm"].includes(t)}},disabled:{type:Boolean,default:!1},messages:{type:Object,default:function(){return Ft}},noClass:{type:[String,Array,Object],default:"btn btn-secondary"},noIcon:{type:[String,Array,Object],default:"fa fa-times"},placement:{type:String,default:"top"},yesClass:{type:[String,Array,Object],default:"btn btn-primary"},yesIcon:{type:[String,Array,Object],default:"fa fa-check"}},computed:{buttonSizeClass:function(){return this.buttonSize?"btn-"+this.buttonSize:""},messagesMerged:function(){return Object.assign({},Ft,this.messages)}},methods:{onHidden:function(){this.target=null},onOk:function(){if(null!==this.target){this.allow=!0;var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.target.dispatchEvent(t)||console.error("Confirmed event failed to dispatch"),this.allow=!1}this.onCancel()},onCancel:function(){this.isOpen=!1},interceptEvent:function(t){this.disabled||(this.target=t.target,this.allow||(this.isOpen=!0,this.setFocusOnButtonYes(),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()))},setFocusOnButtonYes:function(){var t=this;this.$nextTick(function(){t.$nextTick(function(){t.isOpen&&t.$refs.buttonYes.focus()})})}},beforeDestroy:function(){this.isOpen&&this.onCancel()}},Rt=function(t,e){var n="click-confirm";"string"==typeof e&&(n=e),t.component(n,Bt)};Bt.install=Rt,t.default=Bt,t.component=Bt,t.clickConfirmPlugin=Rt,Object.defineProperty(t,"__esModule",{value:!0})}); +!function(t,e){"object"==typeof exports&&"undefined"!=typeof module?e(exports):"function"==typeof define&&define.amd?define(["exports"],e):e(t.clickConfirm={})}(this,function(t){"use strict";function e(t){return t&&"[object Function]"==={}.toString.call(t)}function n(t,e){if(1!==t.nodeType)return[];var n=getComputedStyle(t,null);return e?n[e]:n}function i(t){return"HTML"===t.nodeName?t:t.parentNode||t.host}function o(t){if(!t)return document.body;switch(t.nodeName){case"HTML":case"BODY":return t.ownerDocument.body;case"#document":return t.body}var e=n(t),r=e.overflow,s=e.overflowX,a=e.overflowY;return/(auto|scroll)/.test(r+a+s)?t:o(i(t))}function r(t){var e=t&&t.offsetParent,i=e&&e.nodeName;return i&&"BODY"!==i&&"HTML"!==i?-1!==["TD","TABLE"].indexOf(e.nodeName)&&"static"===n(e,"position")?r(e):e:t?t.ownerDocument.documentElement:document.documentElement}function s(t){return null!==t.parentNode?s(t.parentNode):t}function a(t,e){if(!(t&&t.nodeType&&e&&e.nodeType))return document.documentElement;var n=t.compareDocumentPosition(e)&Node.DOCUMENT_POSITION_FOLLOWING,i=n?t:e,o=n?e:t,l=document.createRange();l.setStart(i,0),l.setEnd(o,0);var u=l.commonAncestorContainer;if(t!==u&&e!==u||i.contains(o))return function(t){var e=t.nodeName;return"BODY"!==e&&("HTML"===e||r(t.firstElementChild)===t)}(u)?u:r(u);var c=s(t);return c.host?a(c.host,e):a(t,s(e).host)}function l(t){var e="top"===(arguments.length>1&&void 0!==arguments[1]?arguments[1]:"top")?"scrollTop":"scrollLeft",n=t.nodeName;if("BODY"===n||"HTML"===n){var i=t.ownerDocument.documentElement;return(t.ownerDocument.scrollingElement||i)[e]}return t[e]}function u(t,e){var n="x"===e?"Left":"Top",i="Left"===n?"Right":"Bottom";return parseFloat(t["border"+n+"Width"],10)+parseFloat(t["border"+i+"Width"],10)}function c(t,e,n,i){return Math.max(e["offset"+t],e["scroll"+t],n["client"+t],n["offset"+t],n["scroll"+t],U()?n["offset"+t]+i["margin"+("Height"===t?"Top":"Left")]+i["margin"+("Height"===t?"Bottom":"Right")]:0)}function f(){var t=document.body,e=document.documentElement,n=U()&&getComputedStyle(e);return{height:c("Height",t,e,n),width:c("Width",t,e,n)}}function h(t){return q({},t,{right:t.left+t.width,bottom:t.top+t.height})}function p(t){var e={};if(U())try{e=t.getBoundingClientRect();var i=l(t,"top"),o=l(t,"left");e.top+=i,e.left+=o,e.bottom+=i,e.right+=o}catch(t){}else e=t.getBoundingClientRect();var r={left:e.left,top:e.top,width:e.right-e.left,height:e.bottom-e.top},s="HTML"===t.nodeName?f():{},a=s.width||t.clientWidth||r.right-r.left,c=s.height||t.clientHeight||r.bottom-r.top,p=t.offsetWidth-a,d=t.offsetHeight-c;if(p||d){var m=n(t);p-=u(m,"x"),d-=u(m,"y"),r.width-=p,r.height-=d}return h(r)}function d(t,e){var i=U(),r="HTML"===e.nodeName,s=p(t),a=p(e),u=o(t),c=n(e),f=parseFloat(c.borderTopWidth,10),d=parseFloat(c.borderLeftWidth,10),m=h({top:s.top-a.top-f,left:s.left-a.left-d,width:s.width,height:s.height});if(m.marginTop=0,m.marginLeft=0,!i&&r){var v=parseFloat(c.marginTop,10),b=parseFloat(c.marginLeft,10);m.top-=f-v,m.bottom-=f-v,m.left-=d-b,m.right-=d-b,m.marginTop=v,m.marginLeft=b}return(i?e.contains(u):e===u&&"BODY"!==u.nodeName)&&(m=function(t,e){var n=arguments.length>2&&void 0!==arguments[2]&&arguments[2],i=l(e,"top"),o=l(e,"left"),r=n?-1:1;return t.top+=i*r,t.bottom+=i*r,t.left+=o*r,t.right+=o*r,t}(m,e)),m}function m(t){var e=t.nodeName;return"BODY"!==e&&"HTML"!==e&&("fixed"===n(t,"position")||m(i(t)))}function v(t,e,n,r){var s={top:0,left:0},u=a(t,e);if("viewport"===r)s=function(t){var e=t.ownerDocument.documentElement,n=d(t,e),i=Math.max(e.clientWidth,window.innerWidth||0),o=Math.max(e.clientHeight,window.innerHeight||0),r=l(e),s=l(e,"left");return h({top:r-n.top+n.marginTop,left:s-n.left+n.marginLeft,width:i,height:o})}(u);else{var c=void 0;"scrollParent"===r?"BODY"===(c=o(i(e))).nodeName&&(c=t.ownerDocument.documentElement):c="window"===r?t.ownerDocument.documentElement:r;var p=d(c,u);if("HTML"!==c.nodeName||m(u))s=p;else{var v=f(),b=v.height,g=v.width;s.top+=p.top-p.marginTop,s.bottom=b+p.top,s.left+=p.left-p.marginLeft,s.right=g+p.left}}return s.left+=n,s.top+=n,s.right-=n,s.bottom-=n,s}function b(t,e,n,i,o){var r=arguments.length>5&&void 0!==arguments[5]?arguments[5]:0;if(-1===t.indexOf("auto"))return t;var s=v(n,i,r,o),a={top:{width:s.width,height:e.top-s.top},right:{width:s.right-e.right,height:s.height},bottom:{width:s.width,height:s.bottom-e.bottom},left:{width:e.left-s.left,height:s.height}},l=Object.keys(a).map(function(t){return q({key:t},a[t],{area:function(t){return t.width*t.height}(a[t])})}).sort(function(t,e){return e.area-t.area}),u=l.filter(function(t){var e=t.width,i=t.height;return e>=n.clientWidth&&i>=n.clientHeight}),c=u.length>0?u[0].key:l[0].key,f=t.split("-")[1];return c+(f?"-"+f:"")}function g(t,e,n){return d(n,a(e,n))}function y(t){var e=getComputedStyle(t),n=parseFloat(e.marginTop)+parseFloat(e.marginBottom),i=parseFloat(e.marginLeft)+parseFloat(e.marginRight);return{width:t.offsetWidth+i,height:t.offsetHeight+n}}function $(t){var e={left:"right",right:"left",bottom:"top",top:"bottom"};return t.replace(/left|right|bottom|top/g,function(t){return e[t]})}function T(t,e,n){n=n.split("-")[0];var i=y(t),o={width:i.width,height:i.height},r=-1!==["right","left"].indexOf(n),s=r?"top":"left",a=r?"left":"top",l=r?"height":"width",u=r?"width":"height";return o[s]=e[s]+e[l]/2-i[l]/2,o[a]=n===a?e[a]-i[u]:e[$(a)],o}function w(t,e){return Array.prototype.find?t.find(e):t.filter(e)[0]}function O(t,n,i){return(void 0===i?t:t.slice(0,function(t,e,n){if(Array.prototype.findIndex)return t.findIndex(function(t){return t[e]===n});var i=w(t,function(t){return t[e]===n});return t.indexOf(i)}(t,"name",i))).forEach(function(t){t.function&&console.warn("`modifier.function` is deprecated, use `modifier.fn`!");var i=t.function||t.fn;t.enabled&&e(i)&&(n.offsets.popper=h(n.offsets.popper),n.offsets.reference=h(n.offsets.reference),n=i(n,t))}),n}function E(t,e){return t.some(function(t){var n=t.name;return t.enabled&&n===e})}function k(t){for(var e=[!1,"ms","Webkit","Moz","O"],n=t.charAt(0).toUpperCase()+t.slice(1),i=0;i1&&void 0!==arguments[1]&&arguments[1],n=K.indexOf(t),i=K.slice(n+1).concat(K.slice(0,n));return e?i.reverse():i}function N(t,e,n,i){var o=[0,0],r=-1!==["right","left"].indexOf(i),s=t.split(/(\+|\-)/).map(function(t){return t.trim()}),a=s.indexOf(w(s,function(t){return-1!==t.search(/,|\s/)}));s[a]&&-1===s[a].indexOf(",")&&console.warn("Offsets separated by white space(s) are deprecated, use a comma (,) instead.");var l=/\s*,\s*|\s+/,u=-1!==a?[s.slice(0,a).concat([s[a].split(l)[0]]),[s[a].split(l)[1]].concat(s.slice(a+1))]:[s];return(u=u.map(function(t,i){var o=(1===i?!r:r)?"height":"width",s=!1;return t.reduce(function(t,e){return""===t[t.length-1]&&-1!==["+","-"].indexOf(e)?(t[t.length-1]=e,s=!0,t):s?(t[t.length-1]+=e,s=!1,t):t.concat(e)},[]).map(function(t){return function(t,e,n,i){var o=t.match(/((?:\-|\+)?\d*\.?\d*)(.*)/),r=+o[1],s=o[2];if(!r)return t;if(0===s.indexOf("%")){var a=void 0;switch(s){case"%p":a=n;break;case"%":case"%r":default:a=i}return h(a)[e]/100*r}if("vh"===s||"vw"===s)return("vh"===s?Math.max(document.documentElement.clientHeight,window.innerHeight||0):Math.max(document.documentElement.clientWidth,window.innerWidth||0))/100*r;return r}(t,o,e,n)})})).forEach(function(t,e){t.forEach(function(n,i){_(n)&&(o[e]+=n*("-"===t[i-1]?-1:1))})}),o}function x(t,e,n){var i=window.MutationObserver||window.WebKitMutationObserver||window.MozMutationObserver,o=window.addEventListener;if(t=t?t.$el||t:null,!st(t))return null;var r=null;return i?(r=new i(function(t){for(var n=!1,i=0;i0||o.removedNodes.length>0)&&(n=!0)}n&&e()})).observe(t,Z({childList:!0,subtree:!0},n)):o&&(t.addEventListener("DOMNodeInserted",e,!1),t.addEventListener("DOMNodeRemoved",e,!1)),r}for(var W="undefined"!=typeof window&&"undefined"!=typeof document,j=["Edge","Trident","Firefox"],I=0,F=0;F=0){I=1;break}var B=W&&window.Promise?function(t){var e=!1;return function(){e||(e=!0,window.Promise.resolve().then(function(){e=!1,t()}))}}:function(t){var e=!1;return function(){e||(e=!0,setTimeout(function(){e=!1,t()},I))}},R=void 0,U=function(){return void 0===R&&(R=-1!==navigator.appVersion.indexOf("MSIE 10")),R},Y=function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")},G=function(){function t(t,e){for(var n=0;ni[t]&&!e.escapeWithReference&&(o=Math.min(s[n],i[t]-("right"===t?s.width:s.height))),z({},n,o)}};return o.forEach(function(t){var e=-1!==["left","top"].indexOf(t)?"primary":"secondary";s=q({},s,a[e](t))}),t.offsets.popper=s,t},priority:["left","right","top","bottom"],padding:5,boundariesElement:"scrollParent"},keepTogether:{order:400,enabled:!0,fn:function(t){var e=t.offsets,n=e.popper,i=e.reference,o=t.placement.split("-")[0],r=Math.floor,s=-1!==["top","bottom"].indexOf(o),a=s?"right":"bottom",l=s?"left":"top",u=s?"width":"height";return n[a]r(i[a])&&(t.offsets.popper[l]=r(i[a])),t}},arrow:{order:500,enabled:!0,fn:function(t,e){var i;if(!P(t.instance.modifiers,"arrow","keepTogether"))return t;var o=e.element;if("string"==typeof o){if(!(o=t.instance.popper.querySelector(o)))return t}else if(!t.instance.popper.contains(o))return console.warn("WARNING: `arrow.element` must be child of its popper element!"),t;var r=t.placement.split("-")[0],s=t.offsets,a=s.popper,l=s.reference,u=-1!==["left","right"].indexOf(r),c=u?"height":"width",f=u?"Top":"Left",p=f.toLowerCase(),d=u?"left":"top",m=u?"bottom":"right",v=y(o)[c];l[m]-va[m]&&(t.offsets.popper[p]+=l[p]+v-a[m]),t.offsets.popper=h(t.offsets.popper);var b=l[p]+l[c]/2-v/2,g=n(t.instance.popper),$=parseFloat(g["margin"+f],10),T=parseFloat(g["border"+f+"Width"],10),w=b-t.offsets.popper[p]-$-T;return w=Math.max(Math.min(a[c]-v,w),0),t.arrowElement=o,t.offsets.arrow=(i={},z(i,p,Math.round(w)),z(i,d,""),i),t},element:"[x-arrow]"},flip:{order:600,enabled:!0,fn:function(t,e){if(E(t.instance.modifiers,"inner"))return t;if(t.flipped&&t.placement===t.originalPlacement)return t;var n=v(t.instance.popper,t.instance.reference,e.padding,e.boundariesElement),i=t.placement.split("-")[0],o=$(i),r=t.placement.split("-")[1]||"",s=[];switch(e.behavior){case X.FLIP:s=[i,o];break;case X.CLOCKWISE:s=D(i);break;case X.COUNTERCLOCKWISE:s=D(i,!0);break;default:s=e.behavior}return s.forEach(function(a,l){if(i!==a||s.length===l+1)return t;i=t.placement.split("-")[0],o=$(i);var u=t.offsets.popper,c=t.offsets.reference,f=Math.floor,h="left"===i&&f(u.right)>f(c.left)||"right"===i&&f(u.left)f(c.top)||"bottom"===i&&f(u.top)f(n.right),m=f(u.top)f(n.bottom),b="left"===i&&p||"right"===i&&d||"top"===i&&m||"bottom"===i&&v,g=-1!==["top","bottom"].indexOf(i),y=!!e.flipVariations&&(g&&"start"===r&&p||g&&"end"===r&&d||!g&&"start"===r&&m||!g&&"end"===r&&v);(h||b||y)&&(t.flipped=!0,(h||b)&&(i=s[l+1]),y&&(r=function(t){return"end"===t?"start":"start"===t?"end":t}(r)),t.placement=i+(r?"-"+r:""),t.offsets.popper=q({},t.offsets.popper,T(t.instance.popper,t.offsets.reference,t.placement)),t=O(t.instance.modifiers,t,"flip"))}),t},behavior:"flip",padding:5,boundariesElement:"viewport"},inner:{order:700,enabled:!1,fn:function(t){var e=t.placement,n=e.split("-")[0],i=t.offsets,o=i.popper,r=i.reference,s=-1!==["left","right"].indexOf(n),a=-1===["top","left"].indexOf(n);return o[s?"left":"top"]=r[n]-(a?o[s?"width":"height"]:0),t.placement=$(e),t.offsets.popper=h(o),t}},hide:{order:800,enabled:!0,fn:function(t){if(!P(t.instance.modifiers,"hide","preventOverflow"))return t;var e=t.offsets.reference,n=w(t.instance.modifiers,function(t){return"preventOverflow"===t.name}).boundaries;if(e.bottomn.right||e.top>n.bottom||e.right2&&void 0!==arguments[2]?arguments[2]:{};Y(this,t),this.scheduleUpdate=function(){return requestAnimationFrame(o.update)},this.update=B(this.update.bind(this)),this.options=q({},t.Defaults,r),this.state={isDestroyed:!1,isCreated:!1,scrollParents:[]},this.reference=n&&n.jquery?n[0]:n,this.popper=i&&i.jquery?i[0]:i,this.options.modifiers={},Object.keys(q({},t.Defaults.modifiers,r.modifiers)).forEach(function(e){o.options.modifiers[e]=q({},t.Defaults.modifiers[e]||{},r.modifiers?r.modifiers[e]:{})}),this.modifiers=Object.keys(this.options.modifiers).map(function(t){return q({name:t},o.options.modifiers[t])}).sort(function(t,e){return t.order-e.order}),this.modifiers.forEach(function(t){t.enabled&&e(t.onLoad)&&t.onLoad(o.reference,o.popper,o.options,t,o.state)}),this.update();var s=this.options.eventsEnabled;s&&this.enableEventListeners(),this.state.eventsEnabled=s}return G(t,[{key:"update",value:function(){return function(){if(!this.state.isDestroyed){var t={instance:this,styles:{},arrowStyles:{},attributes:{},flipped:!1,offsets:{}};t.offsets.reference=g(this.state,this.popper,this.reference),t.placement=b(this.options.placement,t.offsets.reference,this.popper,this.reference,this.options.modifiers.flip.boundariesElement,this.options.modifiers.flip.padding),t.originalPlacement=t.placement,t.offsets.popper=T(this.popper,t.offsets.reference,t.placement),t.offsets.popper.position="absolute",t=O(this.modifiers,t),this.state.isCreated?this.options.onUpdate(t):(this.state.isCreated=!0,this.options.onCreate(t))}}.call(this)}},{key:"destroy",value:function(){return function(){return this.state.isDestroyed=!0,E(this.modifiers,"applyStyle")&&(this.popper.removeAttribute("x-placement"),this.popper.style.left="",this.popper.style.position="",this.popper.style.top="",this.popper.style[k("transform")]=""),this.disableEventListeners(),this.options.removeOnDestroy&&this.popper.parentNode.removeChild(this.popper),this}.call(this)}},{key:"enableEventListeners",value:function(){return L.call(this)}},{key:"disableEventListeners",value:function(){return A.call(this)}}]),t}();Q.Utils=("undefined"!=typeof window?window:global).PopperUtils,Q.placements=V,Q.Defaults=J,"function"!=typeof Object.assign&&(Object.assign=function(t,e){var n=arguments;if(null==t)throw new TypeError("Cannot convert undefined or null to object");for(var i=Object(t),o=1;o1&&void 0!==arguments[1]?arguments[1]:{};if(function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),!e)throw new TypeError("Failed to construct '"+this.constructor.name+"'. 1 argument required, "+arguments.length+" given.");Z(this,t.defaults(),n,{type:e}),tt(this,{type:{enumerable:!0,configurable:!1,writable:!1},cancelable:{enumerable:!0,configurable:!1,writable:!1},nativeEvent:{enumerable:!0,configurable:!1,writable:!1},target:{enumerable:!0,configurable:!1,writable:!1},relatedTarget:{enumerable:!0,configurable:!1,writable:!1},vueTarget:{enumerable:!0,configurable:!1,writable:!1}});var i=!1;this.preventDefault=function(){this.cancelable&&(i=!0)},et(this,"defaultPrevented",{enumerable:!0,get:function(){return i}})}return nt(t,null,[{key:"defaults",value:function(){return{type:"",cancelable:!0,nativeEvent:null,target:null,relatedTarget:null,vueTarget:null}}}]),t}();Array.from||(Array.from=function(){var t=Object.prototype.toString,e=function(e){return"function"==typeof e||"[object Function]"===t.call(e)},n=Math.pow(2,53)-1;return function(t){var i=Object(t);if(null==t)throw new TypeError("Array.from requires an array-like object - not null or undefined");var o=arguments.length>1?arguments[1]:void 0,r=void 0;if(void 0!==o){if(!e(o))throw new TypeError("Array.from: when provided, the second argument must be a function");arguments.length>2&&(r=arguments[2])}for(var s=function(t){return Math.min(Math.max(function(t){var e=Number(t);return isNaN(e)?0:0!==e&&isFinite(e)?(e>0?1:-1)*Math.floor(Math.abs(e)):e}(t),0),n)}(i.length),a=e(this)?Object(new this(s)):new Array(s),l=0,u=void 0;l>>0;if("function"!=typeof t)throw new TypeError("predicate must be a function");for(var i=arguments[1],o=0;o0&&t.getBoundingClientRect().width>0},lt=function(t,e){return st(e)||(e=document),e.querySelector(t)||null},ut=function(t,e){if(!st(t))return!1;var n=Element.prototype;return(n.matches||n.matchesSelector||n.mozMatchesSelector||n.msMatchesSelector||n.oMatchesSelector||n.webkitMatchesSelector||function(t){for(var e=function(t,e){return st(e)||(e=document),ot(e.querySelectorAll(t))}(t,this.document||this.ownerDocument),n=e.length;--n>=0&&e.item(n)!==this;);return n>-1}).call(t,e)},ct=function(t,e){if(!st(e))return null;var n=(Element.prototype.closest||function(t){var e=this;if(!document.documentElement.contains(e))return null;do{if(ut(e,t))return e;e=e.parentElement}while(null!==e);return null}).call(e,t);return n===e?null:n},ft=function(t,e){e&&st(t)&&t.classList.add(e)},ht=function(t,e){e&&st(t)&&t.classList.remove(e)},pt=function(t,e){return!(!e||!st(t))&&t.classList.contains(e)},dt=function(t,e,n){e&&st(t)&&t.setAttribute(e,n)},mt=function(t,e){return e&&st(t)?t.getAttribute(e):null},vt=function(t,e,n){t&&t.addEventListener&&t.addEventListener(e,n)},bt=function(t,e,n){t&&t.removeEventListener&&t.removeEventListener(e,n)},gt="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},yt=function(){function t(t,e){for(var n=0;n
',trigger:"hover focus",title:"",delay:0,html:!1,placement:"top",offset:0,arrowPadding:6,container:!1,fallbackPlacement:"flip",callbacks:{},boundary:"scrollParent"},Ct={WebkitTransition:["webkitTransitionEnd"],MozTransition:["transitionend"],OTransition:["otransitionend","oTransitionEnd"],transition:["transitionend"]},Lt=1,At=function(){function t(e,n,i){!function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,t),this.$isEnabled=!0,this.$fadeTimeout=null,this.$hoverTimeout=null,this.$visibleInterval=null,this.$hoverState="",this.$activeTrigger={},this.$popper=null,this.$element=e,this.$tip=null,this.$id=function(t){return"__BV_"+t+"_"+Lt+++"__"}(this.constructor.NAME),this.$root=i||null,this.$routeWatcher=null,this.$forceHide=this.forceHide.bind(this),this.$doHide=this.doHide.bind(this),this.$doShow=this.doShow.bind(this),this.$doDisable=this.doDisable.bind(this),this.$doEnable=this.doEnable.bind(this),this.updateConfig(n)}return yt(t,[{key:"updateConfig",value:function(t){var e=Z({},this.constructor.Default,t);t.delay&&"number"==typeof t.delay&&(e.delay={show:t.delay,hide:t.delay}),t.title&&"number"==typeof t.title&&(e.title=t.title.toString()),t.content&&"number"==typeof t.content&&(e.content=t.content.toString()),this.fixTitle(),this.$config=e,this.unListen(),this.listen()}},{key:"destroy",value:function(){this.unListen(),this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null,this.$popper&&this.$popper.destroy(),this.$popper=null,this.$tip&&this.$tip.parentElement&&this.$tip.parentElement.removeChild(this.$tip),this.$tip=null,this.$id=null,this.$isEnabled=null,this.$root=null,this.$element=null,this.$config=null,this.$hoverState=null,this.$activeTrigger=null,this.$forceHide=null,this.$doHide=null,this.$doShow=null,this.$doDisable=null,this.$doEnable=null}},{key:"enable",value:function(){var t=new it("enabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!0,this.emitEvent(t)}},{key:"disable",value:function(){var t=new it("disabled",{cancelable:!1,target:this.$element,relatedTarget:null});this.$isEnabled=!1,this.emitEvent(t)}},{key:"toggle",value:function(t){this.$isEnabled&&(t?(this.$activeTrigger.click=!this.$activeTrigger.click,this.isWithActiveTrigger()?this.enter(null):this.leave(null)):pt(this.getTipElement(),Et.SHOW)?this.leave(null):this.enter(null))}},{key:"show",value:function(){var t=this;if(document.body.contains(this.$element)&&at(this.$element)){var e=this.getTipElement();if(this.fixTitle(),this.setContent(e),this.isWithContent(e)){dt(e,"id",this.$id),this.addAriaDescribedby(),this.$config.animation?ft(e,Et.FADE):ht(e,Et.FADE);var n=this.getPlacement(),i=this.constructor.getAttachment(n);this.addAttachmentClass(i);var o=new it("show",{cancelable:!0,target:this.$element,relatedTarget:e});if(this.emitEvent(o),o.defaultPrevented)this.$tip=null;else{var r=this.getContainer();document.body.contains(e)||r.appendChild(e),this.removePopper(),this.$popper=new Q(this.$element,e,this.getPopperConfig(n,e));this.setWhileOpenListeners(!0),ft(e,Et.SHOW),this.transitionOnce(e,function(){t.$config.animation&&t.fixTransition(e);var n=t.$hoverState;t.$hoverState=null,n===Ot.OUT&&t.leave(null);var i=new it("shown",{cancelable:!1,target:t.$element,relatedTarget:e});t.emitEvent(i)})}}else this.$tip=null}}},{key:"visibleCheck",value:function(t){var e=this;clearInterval(this.$visibleInterval),this.$visibleInterval=null,t&&(this.$visibleInterval=setInterval(function(){var t=e.getTipElement();t&&!at(e.$element)&&pt(t,Et.SHOW)&&e.forceHide()},100))}},{key:"setWhileOpenListeners",value:function(t){this.setModalListener(t),this.visibleCheck(t),this.setRouteWatcher(t),this.setOnTouchStartListener(t),t&&/(focus|blur)/.test(this.$config.trigger)?vt(this.$tip,"focusout",this):bt(this.$tip,"focusout",this)}},{key:"forceHide",value:function(){this.$tip&&pt(this.$tip,Et.SHOW)&&(this.setWhileOpenListeners(!1),clearTimeout(this.$hoverTimeout),this.$hoverTimeout=null,this.$hoverState="",this.hide(null,!0))}},{key:"hide",value:function(t,e){var n=this,i=this.$tip;if(i){var o=new it("hide",{cancelable:!e,target:this.$element,relatedTarget:i});if(this.emitEvent(o),!o.defaultPrevented){this.setWhileOpenListeners(!1),e&&ht(i,Et.FADE),ht(i,Et.SHOW),this.$activeTrigger.click=!1,this.$activeTrigger.focus=!1,this.$activeTrigger.hover=!1,this.transitionOnce(i,function(){n.$hoverState!==Ot.SHOW&&i.parentNode&&(i.parentNode.removeChild(i),n.removeAriaDescribedby(),n.removePopper(),n.$tip=null),t&&t();var e=new it("hidden",{cancelable:!1,target:n.$element,relatedTarget:null});n.emitEvent(e)}),this.$hoverState=""}}}},{key:"emitEvent",value:function(t){var e=t.type;this.$root&&this.$root.$emit&&this.$root.$emit("bv::"+this.constructor.NAME+"::"+e,t);var n=this.$config.callbacks||{};"function"==typeof n[e]&&n[e](t)}},{key:"getContainer",value:function(){var t=this.$config.container,e=document.body;return!1===t?ct(".modal-content",this.$element)||e:lt(t,e)||e}},{key:"addAriaDescribedby",value:function(){var t=mt(this.$element,"aria-describedby")||"";t=t.split(/\s+/).concat(this.$id).join(" ").trim(),dt(this.$element,"aria-describedby",t)}},{key:"removeAriaDescribedby",value:function(){var t=this,e=mt(this.$element,"aria-describedby")||"";(e=e.split(/\s+/).filter(function(e){return e!==t.$id}).join(" ").trim())?dt(this.$element,"aria-describedby",e):function(t,e){e&&st(t)&&t.removeAttribute(e)}(this.$element,"aria-describedby")}},{key:"removePopper",value:function(){this.$popper&&this.$popper.destroy(),this.$popper=null}},{key:"transitionOnce",value:function(t,e){var n=this,i=this.getTransitionEndEvents(),o=!1;clearTimeout(this.$fadeTimeout),this.$fadeTimeout=null;var r=function r(){o||(o=!0,clearTimeout(n.$fadeTimeout),n.$fadeTimeout=null,i.forEach(function(e){bt(t,e,r)}),e())};pt(t,Et.FADE)?(i.forEach(function(e){vt(t,e,r)}),this.$fadeTimeout=setTimeout(r,150)):r()}},{key:"getTransitionEndEvents",value:function(){for(var t in Ct)if(void 0!==this.$element.style[t])return Ct[t];return[]}},{key:"update",value:function(){null!==this.$popper&&this.$popper.scheduleUpdate()}},{key:"isWithContent",value:function(t){return!!(t=t||this.$tip)&&Boolean((lt(kt.TOOLTIP_INNER,t)||{}).innerHTML)}},{key:"addAttachmentClass",value:function(t){ft(this.getTipElement(),"bs-tooltip-"+t)}},{key:"getTipElement",value:function(){return this.$tip||(this.$tip=this.compileTemplate(this.$config.template)||this.compileTemplate(this.constructor.Default.template)),this.$tip.tabIndex=-1,this.$tip}},{key:"compileTemplate",value:function(t){if(!t||"string"!=typeof t)return null;var e=document.createElement("div");e.innerHTML=t.trim();var n=e.firstElementChild?e.removeChild(e.firstElementChild):null;return e=null,n}},{key:"setContent",value:function(t){this.setElementContent(lt(kt.TOOLTIP_INNER,t),this.getTitle()),ht(t,Et.FADE),ht(t,Et.SHOW)}},{key:"setElementContent",value:function(t,e){if(t){var n=this.$config.html;"object"===(void 0===e?"undefined":gt(e))&&e.nodeType?n?e.parentElement!==t&&(t.innerHtml="",t.appendChild(e)):t.innerText=e.innerText:t[n?"innerHTML":"innerText"]=e}}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":gt(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=mt(this.$element,"title")||mt(this.$element,"data-original-title")||"").trim()),t}},{key:"listen",value:function(){var t=this,e=this.$config.trigger.trim().split(/\s+/),n=this.$element;this.setRootListener(!0),e.forEach(function(e){"click"===e?vt(n,"click",t):"focus"===e?(vt(n,"focusin",t),vt(n,"focusout",t)):"blur"===e?vt(n,"focusout",t):"hover"===e&&(vt(n,"mouseenter",t),vt(n,"mouseleave",t))},this)}},{key:"unListen",value:function(){var t=this;["click","focusin","focusout","mouseenter","mouseleave"].forEach(function(e){bt(t.$element,e,t)},this),this.setRootListener(!1)}},{key:"handleEvent",value:function(t){if(!function(t){return!st(t)||t.disabled||t.classList.contains("disabled")||Boolean(t.getAttribute("disabled"))}(this.$element)&&this.$isEnabled){var e=t.type,n=t.target,i=t.relatedTarget,o=this.$element,r=this.$tip;if("click"===e)this.toggle(t);else if("focusin"===e||"mouseenter"===e)this.enter(t);else if("focusout"===e){if(r&&o&&o.contains(n)&&r.contains(i))return;if(r&&o&&r.contains(n)&&o.contains(i))return;if(r&&r.contains(n)&&r.contains(i))return;if(o&&o.contains(n)&&o.contains(i))return;this.leave(t)}else"mouseleave"===e&&this.leave(t)}}},{key:"setRouteWatcher",value:function(t){var e=this;t?(this.setRouteWatcher(!1),this.$root&&Boolean(this.$root.$route)&&(this.$routeWatcher=this.$root.$watch("$route",function(t,n){t!==n&&e.forceHide()}))):this.$routeWatcher&&(this.$routeWatcher(),this.$routeWatcher=null)}},{key:"setModalListener",value:function(t){ct(".modal-content",this.$element)&&this.$root&&this.$root[t?"$on":"$off"]("bv::modal::hidden",this.$forceHide)}},{key:"setRootListener",value:function(t){this.$root&&(this.$root[t?"$on":"$off"]("bv::hide::"+this.constructor.NAME,this.$doHide),this.$root[t?"$on":"$off"]("bv::show::"+this.constructor.NAME,this.$doShow),this.$root[t?"$on":"$off"]("bv::disable::"+this.constructor.NAME,this.$doDisable),this.$root[t?"$on":"$off"]("bv::enable::"+this.constructor.NAME,this.$doEnable))}},{key:"doHide",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.hide():this.forceHide()}},{key:"doShow",value:function(t){t?t&&this.$element&&this.$element.id&&this.$element.id===t&&this.show():this.show()}},{key:"doDisable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.disable():this.disable()}},{key:"doEnable",value:function(t){t?this.$element&&this.$element.id&&this.$element.id===t&&this.enable():this.enable()}},{key:"setOnTouchStartListener",value:function(t){var e=this;"ontouchstart"in document.documentElement&&ot(document.body.children).forEach(function(n){t?vt(n,"mouseover",e._noop):bt(n,"mouseover",e._noop)})}},{key:"_noop",value:function(){}},{key:"fixTitle",value:function(){var t=this.$element,e=gt(mt(t,"data-original-title"));(mt(t,"title")||"string"!==e)&&(dt(t,"data-original-title",mt(t,"title")||""),dt(t,"title",""))}},{key:"enter",value:function(t){var e=this;t&&(this.$activeTrigger["focusin"===t.type?"focus":"hover"]=!0),pt(this.getTipElement(),Et.SHOW)||this.$hoverState===Ot.SHOW?this.$hoverState=Ot.SHOW:(clearTimeout(this.$hoverTimeout),this.$hoverState=Ot.SHOW,this.$config.delay&&this.$config.delay.show?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Ot.SHOW&&e.show()},this.$config.delay.show):this.show())}},{key:"leave",value:function(t){var e=this;t&&(this.$activeTrigger["focusout"===t.type?"focus":"hover"]=!1,"focusout"===t.type&&/blur/.test(this.$config.trigger)&&(this.$activeTrigger.click=!1,this.$activeTrigger.hover=!1)),this.isWithActiveTrigger()||(clearTimeout(this.$hoverTimeout),this.$hoverState=Ot.OUT,this.$config.delay&&this.$config.delay.hide?this.$hoverTimeout=setTimeout(function(){e.$hoverState===Ot.OUT&&e.hide()},this.$config.delay.hide):this.hide())}},{key:"getPopperConfig",value:function(t,e){var n=this;return{placement:this.constructor.getAttachment(t),modifiers:{offset:{offset:this.getOffset(t,e)},flip:{behavior:this.$config.fallbackPlacement},arrow:{element:".arrow"},preventOverflow:{boundariesElement:this.$config.boundary}},onCreate:function(t){t.originalPlacement!==t.placement&&n.handlePopperPlacementChange(t)},onUpdate:function(t){n.handlePopperPlacementChange(t)}}}},{key:"getOffset",value:function(t,e){if(!this.$config.offset){var n=lt(kt.ARROW,e),i=parseFloat(function(t){return st(t)?window.getComputedStyle(t):{}}(n).width)+parseFloat(this.$config.arrowPadding);switch(wt[t.toUpperCase()]){case 1:return"+50%p - "+i+"px";case-1:return"-50%p + "+i+"px";default:return 0}}return parseFloat(this.$config.offset)}},{key:"getPlacement",value:function(){var t=this.$config.placement;return"function"==typeof t?t.call(this,this.$tip,this.$element):t}},{key:"isWithActiveTrigger",value:function(){for(var t in this.$activeTrigger)if(this.$activeTrigger[t])return!0;return!1}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match($t);null!==e&&e.length>0&&e.forEach(function(e){ht(t,e)})}},{key:"handlePopperPlacementChange",value:function(t){this.cleanTipClass(),this.addAttachmentClass(this.constructor.getAttachment(t.placement))}},{key:"fixTransition",value:function(t){var e=this.$config.animation||!1;null===mt(t,"x-placement")&&(ht(t,Et.FADE),this.$config.animation=!1,this.hide(),this.show(),this.$config.animation=e)}}],[{key:"getAttachment",value:function(t){return Tt[t.toUpperCase()]}},{key:"Default",get:function(){return St}},{key:"NAME",get:function(){return"tooltip"}}]),t}(),_t="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},Mt=function(){function t(t,e){for(var n=0;n

'}),Dt={FADE:"fade",SHOW:"show"},Nt={TITLE:".popover-header",CONTENT:".popover-body"},xt=function(t){function e(){return function(t,e){if(!(t instanceof e))throw new TypeError("Cannot call a class as a function")}(this,e),function(t,e){if(!t)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return!e||"object"!=typeof e&&"function"!=typeof e?t:e}(this,(e.__proto__||Object.getPrototypeOf(e)).apply(this,arguments))}return function(t,e){if("function"!=typeof e&&null!==e)throw new TypeError("Super expression must either be null or a function, not "+typeof e);t.prototype=Object.create(e&&e.prototype,{constructor:{value:t,enumerable:!1,writable:!0,configurable:!0}}),e&&(Object.setPrototypeOf?Object.setPrototypeOf(t,e):t.__proto__=e)}(e,At),Mt(e,[{key:"isWithContent",value:function(t){if(!(t=t||this.$tip))return!1;var e=Boolean((lt(Nt.TITLE,t)||{}).innerHTML),n=Boolean((lt(Nt.CONTENT,t)||{}).innerHTML);return e||n}},{key:"addAttachmentClass",value:function(t){ft(this.getTipElement(),"bs-popover-"+t)}},{key:"setContent",value:function(t){this.setElementContent(lt(Nt.TITLE,t),this.getTitle()),this.setElementContent(lt(Nt.CONTENT,t),this.getContent()),ht(t,Dt.FADE),ht(t,Dt.SHOW)}},{key:"cleanTipClass",value:function(){var t=this.getTipElement(),e=t.className.match(Ht);null!==e&&e.length>0&&e.forEach(function(e){ht(t,e)})}},{key:"getTitle",value:function(){var t=this.$config.title||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":_t(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t||(t=(t=mt(this.$element,"title")||mt(this.$element,"data-original-title")||"").trim()),t}},{key:"getContent",value:function(){var t=this.$config.content||"";return"function"==typeof t&&(t=t(this.$element)),"object"===(void 0===t?"undefined":_t(t))&&t.nodeType&&!t.innerHTML.trim()&&(t=""),"string"==typeof t&&(t=t.trim()),t}}],[{key:"Default",get:function(){return Pt}},{key:"NAME",get:function(){return"popover"}}]),e}(),Wt="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},jt={top:"top",topleft:"topleft",topright:"topright",right:"right",righttop:"righttop",rightbottom:"rightbottom",bottom:"bottom",bottomleft:"bottomleft",bottomright:"bottomright",left:"left",lefttop:"lefttop",leftbottom:"leftbottom",auto:"auto"},It={subtree:!0,childList:!0,characterData:!0,attributes:!0,attributeFilter:["class","style"]},Ft={title:"Are you sure?",yes:"Yes",no:"No"},Bt={render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("span",{ref:"trigger",attrs:{id:t.randomId,tabindex:"-1"},on:{"!click":function(e){t.interceptEvent(e)}}},[t._t("default")],2),t._v(" "),n("b-popover",{ref:"popover",staticClass:"click-confirm",attrs:{target:t.randomId,show:t.isOpen,placement:t.placement,title:t.messages.title,triggers:"blur"},on:{"update:show":function(e){t.isOpen=e},hidden:t.onHidden}},[n("div",{staticClass:"text-center"},[n("button",{ref:"buttonYes",class:[t.yesClass,t.buttonSizeClass],on:{click:function(e){e.preventDefault(),t.onOk(e)}}},[t.yesIcon?n("span",{class:t.yesIcon,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.messages.yes)+" ")]),t._v(" "),n("button",{ref:"buttonNo",class:[t.noClass,t.buttonSizeClass],on:{click:function(e){e.preventDefault(),t.onCancel(e)}}},[t.noIcon?n("span",{class:t.noIcon,attrs:{"aria-hidden":"true"}}):t._e(),t._v(" "+t._s(t.messages.no)+" ")])])])],1)},staticRenderFns:[],components:{bPopover:{mixins:[{props:{target:{type:[String,Object]},delay:{type:[Number,Object,String],default:0},offset:{type:[Number,String],default:0},noFade:{type:Boolean,default:!1},container:{type:String,default:null},boundary:{type:[String,Object],default:"scrollParent"},show:{type:Boolean,default:!1},disabled:{type:Boolean,default:!1}},watch:{show:function(t,e){t!==e&&(t?this.onOpen():this.onClose())},disabled:function(t,e){t!==e&&(t?this.onDisable():this.onEnable())}},created:function(){this._toolpop=null,this._obs_title=null,this._obs_content=null},mounted:function(){var t=this;this.$nextTick(function(){t.createToolpop()&&(t.disabled&&t.onDisable(),t.$on("open",t.onOpen),t.$on("close",t.onClose),t.$on("disable",t.onDisable),t.$on("enable",t.onEnable),t.setObservers(!0),t.show&&t.onOpen())})},updated:function(){this._toolpop&&this._toolpop.updateConfig(this.getConfig())},activated:function(){this.setObservers(!0)},deactivated:function(){this._toolpop&&(this.setObservers(!1),this._toolpop.hide())},beforeDestroy:function(){this.$off("open",this.onOpen),this.$off("close",this.onClose),this.$off("disable",this.onDisable),this.$off("enable",this.onEnable),this.setObservers(!1),this.bringItBack(),this._toolpop&&(this._toolpop.destroy(),this._toolpop=null)},computed:{baseConfig:function(){var t=this.container,e="object"===Wt(this.delay)?this.delay:parseInt(this.delay,10)||0;return{title:(this.title||"").trim()||"",content:(this.content||"").trim()||"",placement:jt[this.placement]||"auto",container:!!t&&(/^#/.test(t)?t:"#"+t),boundary:this.boundary,delay:e||0,offset:this.offset||0,animation:!this.noFade,trigger:rt(this.triggers)?this.triggers.join(" "):this.triggers,callbacks:{show:this.onShow,shown:this.onShown,hide:this.onHide,hidden:this.onHidden,enabled:this.onEnabled,disabled:this.onDisabled}}}},methods:{getConfig:function(){var t=Z({},this.baseConfig);return this.$refs.title&&this.$refs.title.innerHTML.trim()&&(t.title=this.$refs.title,t.html=!0),this.$refs.content&&this.$refs.content.innerHTML.trim()&&(t.content=this.$refs.content,t.html=!0),t},onOpen:function(){this._toolpop&&this._toolpop.show()},onClose:function(t){this._toolpop?this._toolpop.hide(t):"function"==typeof t&&t()},onDisable:function(){this._toolpop&&this._toolpop.disable()},onEnable:function(){this._toolpop&&this._toolpop.enable()},updatePosition:function(){this._toolpop&&this._toolpop.update()},getTarget:function(){var t=this.target;return"string"==typeof t?function(t){return document.getElementById(/^#/.test(t)?t.slice(1):t)||null}(t):"object"===(void 0===t?"undefined":Wt(t))&&st(t.$el)?t.$el:"object"===(void 0===t?"undefined":Wt(t))&&st(t)?t:null},onShow:function(t){this.$emit("show",t)},onShown:function(t){this.setObservers(!0),this.$emit("update:show",!0),this.$emit("shown",t)},onHide:function(t){this.$emit("hide",t)},onHidden:function(t){this.setObservers(!1),this.bringItBack(),this.$emit("update:show",!1),this.$emit("hidden",t)},onEnabled:function(t){t&&"enabled"===t.type&&(this.$emit("update:disabled",!1),this.$emit("disabled"))},onDisabled:function(t){t&&"disabled"===t.type&&(this.$emit("update:disabled",!0),this.$emit("enabled"))},bringItBack:function(){this.$el&&this.$refs.title&&this.$el.appendChild(this.$refs.title),this.$el&&this.$refs.content&&this.$el.appendChild(this.$refs.content)},setObservers:function(t){t?(this.$refs.title&&(this._obs_title=x(this.$refs.title,this.updatePosition.bind(this),It)),this.$refs.content&&(this._obs_content=x(this.$refs.content,this.updatePosition.bind(this),It))):(this._obs_title&&(this._obs_title.disconnect(),this._obs_title=null),this._obs_content&&(this._obs_content.disconnect(),this._obs_content=null))}}}],render:function(t){return t("div",{class:["d-none"],style:{display:"none"},attrs:{"aria-hidden":!0}},[t("div",{ref:"title"},this.$slots.title),t("div",{ref:"content"},this.$slots.default)])},data:function(){return{}},props:{title:{type:String,default:""},content:{type:String,default:""},triggers:{type:[String,Array],default:"click"},placement:{type:String,default:"right"}},methods:{createToolpop:function(){var t=this.getTarget();return t?this._toolpop=new xt(t,this.getConfig(),this.$root):(this._toolpop=null,function(t){console.warn("[Bootstrap-Vue warn]: "+t)}("b-popover: 'target' element not found!")),this._toolpop}}}},data:function(){return{isOpen:!1,randomId:"clickConfirm"+this._uid,target:null,allow:!1}},props:{buttonSize:{type:String,default:"",validator:function(t){return["lg","","sm"].includes(t)}},disabled:{type:Boolean,default:!1},messages:{type:Object,default:function(){return Ft}},noClass:{type:[String,Array,Object],default:"btn btn-secondary"},noIcon:{type:[String,Array,Object],default:"fa fa-times"},placement:{type:String,default:"top"},yesClass:{type:[String,Array,Object],default:"btn btn-primary"},yesIcon:{type:[String,Array,Object],default:"fa fa-check"}},computed:{buttonSizeClass:function(){return this.buttonSize?"btn-"+this.buttonSize:""},messagesMerged:function(){return Object.assign({},Ft,this.messages)}},methods:{onHidden:function(){this.target=null},onOk:function(){if(null!==this.target){this.allow=!0;var t=new MouseEvent("click",{bubbles:!0,cancelable:!0,composed:!0});this.target.dispatchEvent(t)||console.error("Confirmed event failed to dispatch"),this.allow=!1}this.onCancel()},onCancel:function(){this.isOpen=!1},interceptEvent:function(t){this.disabled||(this.target=t.target,this.allow||(this.isOpen=!0,this.setFocusOnButtonYes(),t.preventDefault(),t.stopPropagation(),t.stopImmediatePropagation()))},setFocusOnButtonYes:function(){var t=this;this.$nextTick(function(){t.$nextTick(function(){t.isOpen&&t.$refs.buttonYes.focus()})})}},beforeDestroy:function(){this.isOpen&&this.onCancel()}},Rt=function(t,e){var n="click-confirm";"string"==typeof e&&(n=e),t.component(n,Bt)};Bt.install=Rt,t.default=Bt,t.component=Bt,t.clickConfirmPlugin=Rt,Object.defineProperty(t,"__esModule",{value:!0})}); //# sourceMappingURL=click-confirm.min.js.map diff --git a/package.json b/package.json index b39f11b..f0b3f3a 100644 --- a/package.json +++ b/package.json @@ -40,18 +40,18 @@ "CSS" ], "peerDependencies": { - "bootstrap-vue": ">= 1.2.0 < 2", + "bootstrap-vue": ">= 1.2.0 <= 2", "vue": ">= 2.5.0 < 3" }, "devDependencies": { "bili": "^0.18.2", - "bootstrap-vue": "^1.2.0", + "bootstrap-vue": "^2.0.0-rc.0", "eslint-config-rem": "^3.0.0", "gh-pages": "^1.0.0", "poi": "^9.5.0", "rollup-plugin-vue": "^2.5.2", - "vue": "2.5.3", - "vue-template-compiler": "2.5.3", + "vue": "^2.5.3", + "vue-template-compiler": "^2.5.3", "xo": "^0.18.0" }, "unpkg": "dist/click-confirm", diff --git a/yarn.lock b/yarn.lock index dbd7ea7..3c5c77c 100644 --- a/yarn.lock +++ b/yarn.lock @@ -2,6 +2,34 @@ # yarn lockfile v1 +"@types/node@*": + version "9.3.0" + resolved "https://registry.yarnpkg.com/@types/node/-/node-9.3.0.tgz#3a129cda7c4e5df2409702626892cb4b96546dd5" + +"@types/tapable@*": + version "0.2.4" + resolved "https://registry.yarnpkg.com/@types/tapable/-/tapable-0.2.4.tgz#8181a228da46185439300e600c5ae3b3b3982585" + +"@types/uglify-js@*": + version "2.6.30" + resolved "https://registry.yarnpkg.com/@types/uglify-js/-/uglify-js-2.6.30.tgz#257d2b6dd86673d60da476680fba90f2e30c6eef" + dependencies: + source-map "^0.6.1" + +"@types/webpack-chain@^4.0.0": + version "4.0.0" + resolved "https://registry.yarnpkg.com/@types/webpack-chain/-/webpack-chain-4.0.0.tgz#637c3936510da9bd435b76577a6f93dac3c5b657" + dependencies: + "@types/webpack" "*" + +"@types/webpack@*", "@types/webpack@^3.8.2": + version "3.8.3" + resolved "https://registry.yarnpkg.com/@types/webpack/-/webpack-3.8.3.tgz#92501a9c7e41a560aa9b354345768b7348d80764" + dependencies: + "@types/node" "*" + "@types/tapable" "*" + "@types/uglify-js" "*" + abbrev@1: version "1.1.0" resolved "https://registry.yarnpkg.com/abbrev/-/abbrev-1.1.0.tgz#d0554c2256636e2f56e7c2e5ad183f859428d81f" @@ -140,6 +168,13 @@ anymatch@^1.3.0: micromatch "^2.1.5" normalize-path "^2.0.0" +anymatch@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/anymatch/-/anymatch-2.0.0.tgz#bcb24b4f37934d9aa7ac17b4adaf89e7c76ef2eb" + dependencies: + micromatch "^3.1.4" + normalize-path "^2.1.1" + aproba@^1.0.3: version "1.1.2" resolved "https://registry.yarnpkg.com/aproba/-/aproba-1.1.2.tgz#45c6629094de4e96f693ef7eab74ae079c240fc1" @@ -163,10 +198,18 @@ arr-diff@^2.0.0: dependencies: arr-flatten "^1.0.1" -arr-flatten@^1.0.1: +arr-diff@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/arr-diff/-/arr-diff-4.0.0.tgz#d6461074febfec71e7e15235761a329a5dc7c520" + +arr-flatten@^1.0.1, arr-flatten@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/arr-flatten/-/arr-flatten-1.1.0.tgz#36048bbff4e7b47e136644316c99669ea5ae91f1" +arr-union@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/arr-union/-/arr-union-3.1.0.tgz#e39b09aea9def866a8f206e288af63919bae39c4" + array-differ@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/array-differ/-/array-differ-1.0.0.tgz#eff52e3758249d33be402b8bb8e564bb2b5d4031" @@ -204,6 +247,10 @@ array-unique@^0.2.1: version "0.2.1" resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.2.1.tgz#a1d97ccafcbc2625cc70fadceb36a50c58b01a53" +array-unique@^0.3.2: + version "0.3.2" + resolved "https://registry.yarnpkg.com/array-unique/-/array-unique-0.3.2.tgz#a894b75d4bc4f6cd679ef3244a9fd8f46ae2d428" + arrify@^1.0.0, arrify@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/arrify/-/arrify-1.0.1.tgz#898508da2226f380df904728456849c1501a4b0d" @@ -238,6 +285,10 @@ assert@^1.1.1: dependencies: util "0.10.3" +assign-symbols@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/assign-symbols/-/assign-symbols-1.0.0.tgz#59667f41fadd4f20ccbc2bb96b8d4f7f78ec0367" + async-each@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/async-each/-/async-each-1.0.1.tgz#19d386a1d9edc6e7c1c85d388aedbcc56d33602d" @@ -267,6 +318,10 @@ asynckit@^0.4.0: version "0.4.0" resolved "https://registry.yarnpkg.com/asynckit/-/asynckit-0.4.0.tgz#c79ed97f7f34cb8f2ba1bc9790bcc366474b4b79" +atob@^2.0.0: + version "2.0.3" + resolved "https://registry.yarnpkg.com/atob/-/atob-2.0.3.tgz#19c7a760473774468f20b2d2d03372ad7d4cbf5d" + autoprefixer@^6.3.1: version "6.7.7" resolved "https://registry.yarnpkg.com/autoprefixer/-/autoprefixer-6.7.7.tgz#1dbd1c835658e35ce3f9984099db00585c782014" @@ -509,14 +564,22 @@ babel-plugin-jsx-v-model@^2.0.1: html-tags "^2.0.0" svg-tags "^1.0.0" -babel-plugin-jsx-vue-functional@^2.1.0: - version "2.1.0" - resolved "https://registry.yarnpkg.com/babel-plugin-jsx-vue-functional/-/babel-plugin-jsx-vue-functional-2.1.0.tgz#5630a0c86fe1904d28c30465e6bf1cf71235a239" +babel-plugin-react-require@^3.0.0: + version "3.0.0" + resolved "https://registry.yarnpkg.com/babel-plugin-react-require/-/babel-plugin-react-require-3.0.0.tgz#2e4e7b4496b93a654a1c80042276de4e4eeb20e3" babel-plugin-syntax-async-functions@^6.8.0: version "6.13.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-async-functions/-/babel-plugin-syntax-async-functions-6.13.0.tgz#cad9cad1191b5ad634bf30ae0872391e0647be95" +babel-plugin-syntax-class-properties@^6.8.0: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-class-properties/-/babel-plugin-syntax-class-properties-6.13.0.tgz#d7eb23b79a317f8543962c505b827c7d6cac27de" + +babel-plugin-syntax-decorators@^6.1.18: + version "6.13.0" + resolved "https://registry.yarnpkg.com/babel-plugin-syntax-decorators/-/babel-plugin-syntax-decorators-6.13.0.tgz#312563b4dbde3cc806cee3e416cceeaddd11ac0b" + babel-plugin-syntax-dynamic-import@^6.18.0: version "6.18.0" resolved "https://registry.yarnpkg.com/babel-plugin-syntax-dynamic-import/-/babel-plugin-syntax-dynamic-import-6.18.0.tgz#8d6a26229c83745a9982a441051572caa179b1da" @@ -545,6 +608,23 @@ babel-plugin-transform-async-to-generator@^6.22.0: babel-plugin-syntax-async-functions "^6.8.0" babel-runtime "^6.22.0" +babel-plugin-transform-class-properties@^6.24.1: + version "6.24.1" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-class-properties/-/babel-plugin-transform-class-properties-6.24.1.tgz#6a79763ea61d33d36f37b611aa9def81a81b46ac" + dependencies: + babel-helper-function-name "^6.24.1" + babel-plugin-syntax-class-properties "^6.8.0" + babel-runtime "^6.22.0" + babel-template "^6.24.1" + +babel-plugin-transform-decorators-legacy@^1.3.4: + version "1.3.4" + resolved "https://registry.yarnpkg.com/babel-plugin-transform-decorators-legacy/-/babel-plugin-transform-decorators-legacy-1.3.4.tgz#741b58f6c5bce9e6027e0882d9c994f04f366925" + dependencies: + babel-plugin-syntax-decorators "^6.1.18" + babel-runtime "^6.2.0" + babel-template "^6.3.0" + babel-plugin-transform-es2015-arrow-functions@^6.22.0: version "6.22.0" resolved "https://registry.yarnpkg.com/babel-plugin-transform-es2015-arrow-functions/-/babel-plugin-transform-es2015-arrow-functions-6.22.0.tgz#452692cb711d5f79dc7f85e440ce41b9f244d221" @@ -813,27 +893,29 @@ babel-preset-env@^1.6.1: invariant "^2.2.2" semver "^5.3.0" -babel-preset-poi@^1.0.1: - version "1.0.1" - resolved "https://registry.yarnpkg.com/babel-preset-poi/-/babel-preset-poi-1.0.1.tgz#70ce0e84b7c3bbf25d943304a871a38cedd50905" +babel-preset-poi@^1.1.2: + version "1.1.2" + resolved "https://registry.yarnpkg.com/babel-preset-poi/-/babel-preset-poi-1.1.2.tgz#b1a1812f1ee4a063000c15636fe441e18ee82de4" dependencies: babel-macros "^1.2.0" + babel-plugin-react-require "^3.0.0" babel-plugin-syntax-dynamic-import "^6.18.0" + babel-plugin-transform-class-properties "^6.24.1" + babel-plugin-transform-decorators-legacy "^1.3.4" babel-plugin-transform-object-rest-spread "^6.26.0" babel-plugin-transform-react-jsx "^6.24.1" babel-plugin-transform-runtime "^6.23.0" babel-preset-env "^1.6.1" - babel-preset-vue "^1.2.1" + babel-preset-vue "^2.0.0" babel-runtime "^6.26.0" -babel-preset-vue@^1.2.1: - version "1.2.1" - resolved "https://registry.yarnpkg.com/babel-preset-vue/-/babel-preset-vue-1.2.1.tgz#b0de8977e0ce981fc6824cf0a537917a02a6fe87" +babel-preset-vue@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/babel-preset-vue/-/babel-preset-vue-2.0.0.tgz#441f7cf75836a0fa908a5df62bc243f8f9109d2c" dependencies: babel-helper-vue-jsx-merge-props "^2.0.2" babel-plugin-jsx-event-modifiers "^2.0.2" babel-plugin-jsx-v-model "^2.0.1" - babel-plugin-jsx-vue-functional "^2.1.0" babel-plugin-syntax-jsx "^6.18.0" babel-plugin-transform-vue-jsx "^3.5.0" @@ -856,7 +938,7 @@ babel-runtime@^6.18.0, babel-runtime@^6.22.0: core-js "^2.4.0" regenerator-runtime "^0.10.0" -babel-runtime@^6.26.0: +babel-runtime@^6.2.0, babel-runtime@^6.26.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-runtime/-/babel-runtime-6.26.0.tgz#965c7058668e82b55d7bfe04ff2337bc8b5647fe" dependencies: @@ -873,7 +955,7 @@ babel-template@^6.24.1: babylon "^6.17.2" lodash "^4.2.0" -babel-template@^6.26.0: +babel-template@^6.26.0, babel-template@^6.3.0: version "6.26.0" resolved "https://registry.yarnpkg.com/babel-template/-/babel-template-6.26.0.tgz#de03e2d16396b069f46dd9fff8521fb1a0e35e02" dependencies: @@ -953,6 +1035,18 @@ base64url@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/base64url/-/base64url-2.0.0.tgz#eac16e03ea1438eff9423d69baa36262ed1f70bb" +base@^0.11.1: + version "0.11.2" + resolved "https://registry.yarnpkg.com/base/-/base-0.11.2.tgz#7bde5ced145b6d551a90db87f83c558b4eb48a8f" + dependencies: + cache-base "^1.0.1" + class-utils "^0.3.5" + component-emitter "^1.2.1" + define-property "^1.0.0" + isobject "^3.0.1" + mixin-deep "^1.2.0" + pascalcase "^0.1.1" + batch@0.6.1: version "0.6.1" resolved "https://registry.yarnpkg.com/batch/-/batch-0.6.1.tgz#dc34314f4e679318093fc760272525f94bf25c16" @@ -1046,14 +1140,19 @@ boom@5.x.x: dependencies: hoek "4.x.x" -bootstrap-vue@^1.2.0: - version "1.2.0" - resolved "https://registry.yarnpkg.com/bootstrap-vue/-/bootstrap-vue-1.2.0.tgz#137aa803e7d910a0b63a7cc3816d7d180c3f7575" +bootstrap-vue@^2.0.0-rc.0: + version "2.0.0-rc.0" + resolved "https://registry.yarnpkg.com/bootstrap-vue/-/bootstrap-vue-2.0.0-rc.0.tgz#e67d6137eef61b917f7c76f5614a01ceaac06747" dependencies: + bootstrap "^4.0.0" lodash.startcase "^4.4.0" opencollective "^1.0.3" popper.js "^1.12.9" - vue-functional-data-merge "^1.0.6" + vue-functional-data-merge "^2.0.3" + +bootstrap@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/bootstrap/-/bootstrap-4.0.0.tgz#ceb03842c145fcc1b9b4e15da2a05656ba68469a" boxen@^1.2.1: version "1.2.2" @@ -1082,6 +1181,22 @@ braces@^1.8.2: preserve "^0.2.0" repeat-element "^1.1.2" +braces@^2.3.0: + version "2.3.0" + resolved "https://registry.yarnpkg.com/braces/-/braces-2.3.0.tgz#a46941cb5fb492156b3d6a656e06c35364e3e66e" + dependencies: + arr-flatten "^1.1.0" + array-unique "^0.3.2" + define-property "^1.0.0" + extend-shallow "^2.0.1" + fill-range "^4.0.0" + isobject "^3.0.1" + repeat-element "^1.1.2" + snapdragon "^0.8.1" + snapdragon-node "^2.0.1" + split-string "^3.0.2" + to-regex "^3.0.1" + brorand@^1.0.1: version "1.1.0" resolved "https://registry.yarnpkg.com/brorand/-/brorand-1.1.0.tgz#12c25efe40a45e3c323eb8675a0a0ce57b22371f" @@ -1213,6 +1328,20 @@ cac@^4.0.0, cac@^4.2.0: string-width "^2.1.1" text-table "^0.2.0" +cache-base@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/cache-base/-/cache-base-1.0.1.tgz#0a7f46416831c8b662ee36fe4e7c59d76f666ab2" + dependencies: + collection-visit "^1.0.0" + component-emitter "^1.2.1" + get-value "^2.0.6" + has-value "^1.0.0" + isobject "^3.0.1" + set-value "^2.0.0" + to-object-path "^0.3.0" + union-value "^1.0.0" + unset-value "^1.0.0" + caller-path@^0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/caller-path/-/caller-path-0.1.0.tgz#94085ef63581ecd3daa92444a8fe94e82577751f" @@ -1356,6 +1485,27 @@ chokidar@^1.6.0, chokidar@^1.7.0: optionalDependencies: fsevents "^1.0.0" +chokidar@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/chokidar/-/chokidar-2.0.0.tgz#6686313c541d3274b2a5c01233342037948c911b" + dependencies: + anymatch "^2.0.0" + async-each "^1.0.0" + braces "^2.3.0" + glob-parent "^3.1.0" + inherits "^2.0.1" + is-binary-path "^1.0.0" + is-glob "^4.0.0" + normalize-path "^2.1.1" + path-is-absolute "^1.0.0" + readdirp "^2.0.0" + optionalDependencies: + fsevents "^1.0.0" + +ci-info@^1.0.0: + version "1.1.2" + resolved "https://registry.yarnpkg.com/ci-info/-/ci-info-1.1.2.tgz#03561259db48d0474c8bdc90f5b47b068b6bbfb4" + cipher-base@^1.0.0, cipher-base@^1.0.1, cipher-base@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/cipher-base/-/cipher-base-1.0.4.tgz#8760e4ecc272f4c363532f926d874aae2c1397de" @@ -1373,6 +1523,15 @@ clap@^1.0.9: dependencies: chalk "^1.1.3" +class-utils@^0.3.5: + version "0.3.6" + resolved "https://registry.yarnpkg.com/class-utils/-/class-utils-0.3.6.tgz#f93369ae8b9a7ce02fd41faad0ca83033190c463" + dependencies: + arr-union "^3.1.0" + define-property "^0.2.5" + isobject "^3.0.0" + static-extend "^0.1.1" + clean-css@4.1.x: version "4.1.9" resolved "https://registry.yarnpkg.com/clean-css/-/clean-css-4.1.9.tgz#35cee8ae7687a49b98034f70de00c4edd3826301" @@ -1428,6 +1587,14 @@ cliui@^3.2.0: strip-ansi "^3.0.1" wrap-ansi "^2.0.0" +cliui@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/cliui/-/cliui-4.0.0.tgz#743d4650e05f36d1ed2575b59638d87322bfbbcc" + dependencies: + string-width "^2.1.1" + strip-ansi "^4.0.0" + wrap-ansi "^2.0.0" + clone@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/clone/-/clone-1.0.2.tgz#260b7a99ebb1edfe247538175f783243cb19d149" @@ -1462,6 +1629,13 @@ collapse-white-space@^1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/collapse-white-space/-/collapse-white-space-1.0.3.tgz#4b906f670e5a963a87b76b0e1689643341b6023c" +collection-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/collection-visit/-/collection-visit-1.0.0.tgz#4bc0373c164bc3291b4d368c829cf1a80a59dca0" + dependencies: + map-visit "^1.0.0" + object-visit "^1.0.0" + color-convert@^1.3.0, color-convert@^1.9.0: version "1.9.0" resolved "https://registry.yarnpkg.com/color-convert/-/color-convert-1.9.0.tgz#1accf97dd739b983bf994d56fec8f95853641b7a" @@ -1518,6 +1692,10 @@ commondir@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/commondir/-/commondir-1.0.1.tgz#ddd800da0c66127393cca5950ea968a3aaf1253b" +component-emitter@^1.2.1: + version "1.2.1" + resolved "https://registry.yarnpkg.com/component-emitter/-/component-emitter-1.2.1.tgz#137918d6d78283f7df7a6b7c5a63e140e69425e6" + compressible@~2.0.10: version "2.0.11" resolved "https://registry.yarnpkg.com/compressible/-/compressible-2.0.11.tgz#16718a75de283ed8e604041625a2064586797d8a" @@ -1614,6 +1792,10 @@ cookie@0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/cookie/-/cookie-0.3.1.tgz#e7e0a1f9ef43b4c8ba925c5c5a96e806d16873bb" +copy-descriptor@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/copy-descriptor/-/copy-descriptor-0.1.1.tgz#676f6eb3c39997c2ee1ac3a924fd6124748f578d" + copy-webpack-plugin@^4.0.1: version "4.2.0" resolved "https://registry.yarnpkg.com/copy-webpack-plugin/-/copy-webpack-plugin-4.2.0.tgz#252bb94597f96399d23d7fad355f8d3a661ac096" @@ -1899,7 +2081,7 @@ debug@2.6.8, debug@^2.2.0, debug@^2.6.6: dependencies: ms "2.0.0" -debug@^2.1.1, debug@^2.6.0, debug@^2.6.8: +debug@^2.1.1, debug@^2.3.3, debug@^2.6.8: version "2.6.9" resolved "https://registry.yarnpkg.com/debug/-/debug-2.6.9.tgz#5d128515df134ff327e90a4c93f4e077a536341f" dependencies: @@ -1909,6 +2091,10 @@ decamelize@^1.0.0, decamelize@^1.1.1, decamelize@^1.1.2: version "1.2.0" resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290" +decode-uri-component@^0.2.0: + version "0.2.0" + resolved "https://registry.yarnpkg.com/decode-uri-component/-/decode-uri-component-0.2.0.tgz#eb3913333458775cb84cd1a1fae062106bb87545" + deep-assign@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/deep-assign/-/deep-assign-1.0.0.tgz#b092743be8427dc621ea0067cdec7e70dd19f37b" @@ -1944,6 +2130,18 @@ define-properties@^1.1.2: foreach "^2.0.5" object-keys "^1.0.8" +define-property@^0.2.5: + version "0.2.5" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-0.2.5.tgz#c35b1ef918ec3c990f9a5bc57be04aacec5c8116" + dependencies: + is-descriptor "^0.1.0" + +define-property@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/define-property/-/define-property-1.0.0.tgz#769ebaaf3f4a63aad3af9e8d304c9bbe79bfb0e6" + dependencies: + is-descriptor "^1.0.0" + defined@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/defined/-/defined-1.0.0.tgz#c98d9bcef75674188e110969151199e39b1fa693" @@ -2287,8 +2485,8 @@ eslint-config-prettier@^1.7.0: get-stdin "^5.0.1" eslint-config-rem@^3.0.0: - version "3.2.0" - resolved "https://registry.yarnpkg.com/eslint-config-rem/-/eslint-config-rem-3.2.0.tgz#8f9db2f7dded1875a12689a3e28ab4ae137cfac3" + version "3.2.2" + resolved "https://registry.yarnpkg.com/eslint-config-rem/-/eslint-config-rem-3.2.2.tgz#20589c4388c65bd03822d15385d6eea6f10b8611" dependencies: eslint-config-prettier "^1.7.0" eslint-plugin-markdown "^1.0.0-beta.6" @@ -2561,6 +2759,18 @@ expand-brackets@^0.1.4: dependencies: is-posix-bracket "^0.1.0" +expand-brackets@^2.1.4: + version "2.1.4" + resolved "https://registry.yarnpkg.com/expand-brackets/-/expand-brackets-2.1.4.tgz#b77735e315ce30f6b6eff0f83b04151a22449622" + dependencies: + debug "^2.3.3" + define-property "^0.2.5" + extend-shallow "^2.0.1" + posix-character-classes "^0.1.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + expand-range@^1.8.1: version "1.8.2" resolved "https://registry.yarnpkg.com/expand-range/-/expand-range-1.8.2.tgz#a299effd335fe2721ebae8e257ec79644fc85337" @@ -2600,6 +2810,19 @@ express@^4.13.3: utils-merge "1.0.0" vary "~1.1.1" +extend-shallow@^2.0.1: + version "2.0.1" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-2.0.1.tgz#51af7d614ad9a9f610ea1bafbb989d6b1c56890f" + dependencies: + is-extendable "^0.1.0" + +extend-shallow@^3.0.0: + version "3.0.2" + resolved "https://registry.yarnpkg.com/extend-shallow/-/extend-shallow-3.0.2.tgz#26a71aaf073b39fb2127172746131c2704028db8" + dependencies: + assign-symbols "^1.0.0" + is-extendable "^1.0.1" + extend@^3.0.0, extend@~3.0.0, extend@~3.0.1: version "3.0.1" resolved "https://registry.yarnpkg.com/extend/-/extend-3.0.1.tgz#a755ea7bc1adfcc5a31ce7e762dbaadc5e636444" @@ -2618,6 +2841,19 @@ extglob@^0.3.1: dependencies: is-extglob "^1.0.0" +extglob@^2.0.2: + version "2.0.4" + resolved "https://registry.yarnpkg.com/extglob/-/extglob-2.0.4.tgz#ad00fe4dc612a9232e8718711dc5cb5ab0285543" + dependencies: + array-unique "^0.3.2" + define-property "^1.0.0" + expand-brackets "^2.1.4" + extend-shallow "^2.0.1" + fragment-cache "^0.2.1" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + extract-text-webpack-plugin@^3.0.0: version "3.0.2" resolved "https://registry.yarnpkg.com/extract-text-webpack-plugin/-/extract-text-webpack-plugin-3.0.2.tgz#5f043eaa02f9750a9258b78c0a6e0dc1408fb2f7" @@ -2711,6 +2947,15 @@ fill-range@^2.1.0: repeat-element "^1.1.2" repeat-string "^1.5.2" +fill-range@^4.0.0: + version "4.0.0" + resolved "https://registry.yarnpkg.com/fill-range/-/fill-range-4.0.0.tgz#d544811d428f98eb06a63dc402d2403c328c38f7" + dependencies: + extend-shallow "^2.0.1" + is-number "^3.0.0" + repeat-string "^1.6.1" + to-regex-range "^2.1.0" + finalhandler@~1.0.4: version "1.0.4" resolved "https://registry.yarnpkg.com/finalhandler/-/finalhandler-1.0.4.tgz#18574f2e7c4b98b8ae3b230c21f201f31bdb3fb7" @@ -2764,7 +3009,7 @@ flow-remove-types@^1.1.0: babylon "^6.15.0" vlq "^0.2.1" -for-in@^1.0.1: +for-in@^1.0.1, for-in@^1.0.2: version "1.0.2" resolved "https://registry.yarnpkg.com/for-in/-/for-in-1.0.2.tgz#81068d295a8142ec0ac726c6e2200c30fb6d5e80" @@ -2802,6 +3047,12 @@ forwarded@~0.1.0: version "0.1.0" resolved "https://registry.yarnpkg.com/forwarded/-/forwarded-0.1.0.tgz#19ef9874c4ae1c297bcf078fde63a09b66a84363" +fragment-cache@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/fragment-cache/-/fragment-cache-0.2.1.tgz#4290fad27f13e89be7f33799c6bc5a0abfff0d19" + dependencies: + map-cache "^0.2.2" + fresh@0.5.0: version "0.5.0" resolved "https://registry.yarnpkg.com/fresh/-/fresh-0.5.0.tgz#f474ca5e6a9246d6fd8e0953cfa9b9c805afa78e" @@ -2912,6 +3163,10 @@ get-stream@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/get-stream/-/get-stream-3.0.0.tgz#8e943d1358dc37555054ecbe2edb05aa174ede14" +get-value@^2.0.3, get-value@^2.0.6: + version "2.0.6" + resolved "https://registry.yarnpkg.com/get-value/-/get-value-2.0.6.tgz#dc15ca1c672387ca76bd37ac0a395ba2042a2c28" + getpass@^0.1.1: version "0.1.7" resolved "https://registry.yarnpkg.com/getpass/-/getpass-0.1.7.tgz#5eff8e3e684d569ae4cb2b1282604e8ba62149fa" @@ -2943,6 +3198,13 @@ glob-parent@^2.0.0: dependencies: is-glob "^2.0.0" +glob-parent@^3.1.0: + version "3.1.0" + resolved "https://registry.yarnpkg.com/glob-parent/-/glob-parent-3.1.0.tgz#9e6af6299d8d3bd2bd40430832bd113df906c5ae" + dependencies: + is-glob "^3.1.0" + path-dirname "^1.0.0" + glob@7.0.x: version "7.0.6" resolved "https://registry.yarnpkg.com/glob/-/glob-7.0.6.tgz#211bafaf49e525b8cd93260d14ab136152b3f57a" @@ -3076,6 +3338,33 @@ has-unicode@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9" +has-value@^0.3.1: + version "0.3.1" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-0.3.1.tgz#7b1f58bada62ca827ec0a2078025654845995e1f" + dependencies: + get-value "^2.0.3" + has-values "^0.1.4" + isobject "^2.0.0" + +has-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-value/-/has-value-1.0.0.tgz#18b281da585b1c5c51def24c930ed29a0be6b177" + dependencies: + get-value "^2.0.6" + has-values "^1.0.0" + isobject "^3.0.0" + +has-values@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-0.1.4.tgz#6d61de95d91dfca9b9a02089ad384bff8f62b771" + +has-values@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/has-values/-/has-values-1.0.0.tgz#95b0b63fec2146619a6fe57fe75628d5a39efe4f" + dependencies: + is-number "^3.0.0" + kind-of "^4.0.0" + has@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/has/-/has-1.0.1.tgz#8461733f538b0837c9361e39a9ab9e9704dc2f28" @@ -3208,7 +3497,7 @@ html-webpack-plugin@^2.28.0: pretty-error "^2.0.2" toposort "^1.0.0" -htmlparser2@^3.8.3: +htmlparser2@^3.9.2: version "3.9.2" resolved "https://registry.yarnpkg.com/htmlparser2/-/htmlparser2-3.9.2.tgz#1bdf87acca0f3f9e53fa4fcceb0f4b4cbb00b338" dependencies: @@ -3442,6 +3731,18 @@ is-absolute-url@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/is-absolute-url/-/is-absolute-url-2.1.0.tgz#50530dfb84fcc9aa7dbe7852e83a37b93b9f2aa6" +is-accessor-descriptor@^0.1.6: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-0.1.6.tgz#a9e12cb3ae8d876727eeef3843f8a0897b5c98d6" + dependencies: + kind-of "^3.0.2" + +is-accessor-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-accessor-descriptor/-/is-accessor-descriptor-1.0.0.tgz#169c2f6d3df1f992618072365c9b0ea1f6878656" + dependencies: + kind-of "^6.0.0" + is-alphabetical@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-alphabetical/-/is-alphabetical-1.0.1.tgz#c77079cc91d4efac775be1034bf2d243f95e6f08" @@ -3481,6 +3782,24 @@ is-callable@^1.1.1, is-callable@^1.1.3: version "1.1.3" resolved "https://registry.yarnpkg.com/is-callable/-/is-callable-1.1.3.tgz#86eb75392805ddc33af71c92a0eedf74ee7604b2" +is-ci@^1.0.10: + version "1.1.0" + resolved "https://registry.yarnpkg.com/is-ci/-/is-ci-1.1.0.tgz#247e4162e7860cebbdaf30b774d6b0ac7dcfe7a5" + dependencies: + ci-info "^1.0.0" + +is-data-descriptor@^0.1.4: + version "0.1.4" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-0.1.4.tgz#0b5ee648388e2c860282e793f1856fec3f301b56" + dependencies: + kind-of "^3.0.2" + +is-data-descriptor@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-data-descriptor/-/is-data-descriptor-1.0.0.tgz#d84876321d0e7add03990406abbbbd36ba9268c7" + dependencies: + kind-of "^6.0.0" + is-date-object@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/is-date-object/-/is-date-object-1.0.1.tgz#9aa20eb6aeebbff77fbd33e74ca01b33581d3a16" @@ -3489,6 +3808,22 @@ is-decimal@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-decimal/-/is-decimal-1.0.1.tgz#f5fb6a94996ad9e8e3761fbfbd091f1fca8c4e82" +is-descriptor@^0.1.0: + version "0.1.6" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-0.1.6.tgz#366d8240dde487ca51823b1ab9f07a10a78251ca" + dependencies: + is-accessor-descriptor "^0.1.6" + is-data-descriptor "^0.1.4" + kind-of "^5.0.0" + +is-descriptor@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/is-descriptor/-/is-descriptor-1.0.2.tgz#3b159746a66604b04f8c81524ba365c5f14d86ec" + dependencies: + is-accessor-descriptor "^1.0.0" + is-data-descriptor "^1.0.0" + kind-of "^6.0.2" + is-directory@^0.3.1: version "0.3.1" resolved "https://registry.yarnpkg.com/is-directory/-/is-directory-0.3.1.tgz#61339b6f2475fc772fd9c9d83f5c8575dc154ae1" @@ -3525,10 +3860,16 @@ is-expression@^3.0.0: acorn "~4.0.2" object-assign "^4.0.1" -is-extendable@^0.1.1: +is-extendable@^0.1.0, is-extendable@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-0.1.1.tgz#62b110e289a471418e3ec36a617d472e301dfc89" +is-extendable@^1.0.1: + version "1.0.1" + resolved "https://registry.yarnpkg.com/is-extendable/-/is-extendable-1.0.1.tgz#a7470f9e426733d81bd81e1155264e3a3507cab4" + dependencies: + is-plain-object "^2.0.4" + is-extglob@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-extglob/-/is-extglob-1.0.0.tgz#ac468177c4943405a092fc8f29760c6ffc6206c0" @@ -3635,6 +3976,12 @@ is-obj@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/is-obj/-/is-obj-1.0.1.tgz#3e4729ac1f5fde025cd7d83a896dab9f4f67db0f" +is-odd@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/is-odd/-/is-odd-1.0.0.tgz#3b8a932eb028b3775c39bb09e91767accdb69088" + dependencies: + is-number "^3.0.0" + is-path-cwd@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/is-path-cwd/-/is-path-cwd-1.0.0.tgz#d225ec23132e89edd38fda767472e62e65f1106d" @@ -3651,10 +3998,16 @@ is-path-inside@^1.0.0: dependencies: path-is-inside "^1.0.1" -is-plain-obj@^1.0.0, is-plain-obj@^1.1.0: +is-plain-obj@^1.0.0, is-plain-obj@^1.1, is-plain-obj@^1.1.0: version "1.1.0" resolved "https://registry.yarnpkg.com/is-plain-obj/-/is-plain-obj-1.1.0.tgz#71a50c8429dfca773c92a390a4a03b39fcd51d3e" +is-plain-object@^2.0.1, is-plain-object@^2.0.3, is-plain-object@^2.0.4: + version "2.0.4" + resolved "https://registry.yarnpkg.com/is-plain-object/-/is-plain-object-2.0.4.tgz#2c163b3fafb1b606d9d17928f05c2a1c38e07677" + dependencies: + isobject "^3.0.1" + is-posix-bracket@^0.1.0: version "0.1.1" resolved "https://registry.yarnpkg.com/is-posix-bracket/-/is-posix-bracket-0.1.1.tgz#3334dc79774368e92f016e6fbc0a88f5cd6e6bc4" @@ -3750,6 +4103,10 @@ isobject@^2.0.0, isobject@^2.1.0: dependencies: isarray "1.0.0" +isobject@^3.0.0, isobject@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/isobject/-/isobject-3.0.1.tgz#4e431e92b11a9731636aa1f9c8d1ccbcfdab78df" + isstream@~0.1.2: version "0.1.2" resolved "https://registry.yarnpkg.com/isstream/-/isstream-0.1.2.tgz#47e63f7af55afa6f92e1500e690eb8b8529c099a" @@ -3879,7 +4236,7 @@ killable@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/killable/-/killable-1.0.0.tgz#da8b84bd47de5395878f95d64d02f2449fe05e6b" -kind-of@^3.0.2: +kind-of@^3.0.2, kind-of@^3.0.3, kind-of@^3.2.0: version "3.2.2" resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-3.2.2.tgz#31ea21a734bab9bbb0f32466d893aea51e4a3c64" dependencies: @@ -3891,6 +4248,14 @@ kind-of@^4.0.0: dependencies: is-buffer "^1.1.5" +kind-of@^5.0.0, kind-of@^5.0.2: + version "5.1.0" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-5.1.0.tgz#729c91e2d857b7a419a1f9aa65685c4c33f5845d" + +kind-of@^6.0.0, kind-of@^6.0.2: + version "6.0.2" + resolved "https://registry.yarnpkg.com/kind-of/-/kind-of-6.0.2.tgz#01146b36a6218e64e58f3a8d66de5d7fc6f6d051" + latest-version@^3.0.0: version "3.1.0" resolved "https://registry.yarnpkg.com/latest-version/-/latest-version-3.1.0.tgz#a205383fea322b33b5ae3b18abee0dc2f356ee15" @@ -3901,6 +4266,12 @@ lazy-cache@^1.0.3: version "1.0.4" resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-1.0.4.tgz#a1d78fc3a50474cb80845d3b3b6e1da49a446e8e" +lazy-cache@^2.0.2: + version "2.0.2" + resolved "https://registry.yarnpkg.com/lazy-cache/-/lazy-cache-2.0.2.tgz#b9190a4f913354694840859f8a8f7084d8822264" + dependencies: + set-getter "^0.1.0" + lcid@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/lcid/-/lcid-1.0.0.tgz#308accafa0bc483a3867b4b6f2b9506251d1b835" @@ -4100,6 +4471,10 @@ make-dir@^1.0.0: dependencies: pify "^3.0.0" +map-cache@^0.2.2: + version "0.2.2" + resolved "https://registry.yarnpkg.com/map-cache/-/map-cache-0.2.2.tgz#c32abd0bd6525d9b051645bb4f26ac5dc98a0dbf" + map-obj@^1.0.0, map-obj@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-1.0.1.tgz#d933ceb9205d82bdcf4886f6742bdc2b4dea146d" @@ -4108,6 +4483,12 @@ map-obj@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/map-obj/-/map-obj-2.0.0.tgz#a65cd29087a92598b8791257a523e021222ac1f9" +map-visit@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/map-visit/-/map-visit-1.0.0.tgz#ecdca8f13144e660f1b5bd41f12f3479d98dfb8f" + dependencies: + object-visit "^1.0.0" + markdown-escapes@^1.0.0: version "1.0.1" resolved "https://registry.yarnpkg.com/markdown-escapes/-/markdown-escapes-1.0.1.tgz#1994df2d3af4811de59a6714934c2b2292734518" @@ -4159,11 +4540,11 @@ merge-descriptors@1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/merge-descriptors/-/merge-descriptors-1.0.1.tgz#b00aaa556dd8b44568150ec9d1b953f3f90cbb61" -merge-options@0.0.64: - version "0.0.64" - resolved "https://registry.yarnpkg.com/merge-options/-/merge-options-0.0.64.tgz#cbe04f594a6985eaf27f7f8f0b2a3acf6f9d562d" +merge-options@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/merge-options/-/merge-options-1.0.0.tgz#5b4f339a957192b5b98994a3ac5c95d2ca651b94" dependencies: - is-plain-obj "^1.1.0" + is-plain-obj "^1.1" methods@~1.1.2: version "1.1.2" @@ -4187,6 +4568,24 @@ micromatch@^2.1.5, micromatch@^2.3.11: parse-glob "^3.0.4" regex-cache "^0.4.2" +micromatch@^3.1.4: + version "3.1.5" + resolved "https://registry.yarnpkg.com/micromatch/-/micromatch-3.1.5.tgz#d05e168c206472dfbca985bfef4f57797b4cd4ba" + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + braces "^2.3.0" + define-property "^1.0.0" + extend-shallow "^2.0.1" + extglob "^2.0.2" + fragment-cache "^0.2.1" + kind-of "^6.0.0" + nanomatch "^1.2.5" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + miller-rabin@^4.0.0: version "4.0.1" resolved "https://registry.yarnpkg.com/miller-rabin/-/miller-rabin-4.0.1.tgz#f080351c865b0dc562a8462966daa53543c78a4d" @@ -4259,6 +4658,13 @@ minimost@^1.0.0: camelcase-keys "^4.0.0" minimist "^1.2.0" +mixin-deep@^1.2.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/mixin-deep/-/mixin-deep-1.3.0.tgz#47a8732ba97799457c8c1eca28f95132d7e8150a" + dependencies: + for-in "^1.0.2" + is-extendable "^1.0.1" + mkdirp@0.5.x, "mkdirp@>=0.5 0", mkdirp@^0.5.0, mkdirp@^0.5.1, mkdirp@~0.5.0, mkdirp@~0.5.1: version "0.5.1" resolved "https://registry.yarnpkg.com/mkdirp/-/mkdirp-0.5.1.tgz#30057438eac6cf7f8c4767f38648d6697d75c903" @@ -4313,6 +4719,22 @@ nan@^2.3.2: version "2.7.0" resolved "https://registry.yarnpkg.com/nan/-/nan-2.7.0.tgz#d95bf721ec877e08db276ed3fc6eb78f9083ad46" +nanomatch@^1.2.5: + version "1.2.7" + resolved "https://registry.yarnpkg.com/nanomatch/-/nanomatch-1.2.7.tgz#53cd4aa109ff68b7f869591fdc9d10daeeea3e79" + dependencies: + arr-diff "^4.0.0" + array-unique "^0.3.2" + define-property "^1.0.0" + extend-shallow "^2.0.1" + fragment-cache "^0.2.1" + is-odd "^1.0.0" + kind-of "^5.0.2" + object.pick "^1.3.0" + regex-not "^1.0.0" + snapdragon "^0.8.1" + to-regex "^3.0.1" + natural-compare@^1.4.0: version "1.4.0" resolved "https://registry.yarnpkg.com/natural-compare/-/natural-compare-1.4.0.tgz#4abebfeed7541f2c27acfb29bdbbd15c8d5ba4f7" @@ -4464,7 +4886,7 @@ normalize-package-data@^2.3.2, normalize-package-data@^2.3.4: semver "2 || 3 || 4 || 5" validate-npm-package-license "^3.0.1" -normalize-path@^2.0.0, normalize-path@^2.0.1: +normalize-path@^2.0.0, normalize-path@^2.0.1, normalize-path@^2.1.1: version "2.1.1" resolved "https://registry.yarnpkg.com/normalize-path/-/normalize-path-2.1.1.tgz#1ab28b556e198363a8c1a6f7e6fa20137fe6aed9" dependencies: @@ -4520,14 +4942,28 @@ obj-props@^1.0.0: version "1.1.0" resolved "https://registry.yarnpkg.com/obj-props/-/obj-props-1.1.0.tgz#626313faa442befd4a44e9a02c3cb6bde937b511" -object-assign@^4.0.1, object-assign@^4.1.0: +object-assign@^4.0.1, object-assign@^4.1.0, object-assign@^4.1.1: version "4.1.1" resolved "https://registry.yarnpkg.com/object-assign/-/object-assign-4.1.1.tgz#2109adc7965887cfc05cbbd442cac8bfbb360863" +object-copy@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/object-copy/-/object-copy-0.1.0.tgz#7e7d858b781bd7c991a41ba975ed3812754e998c" + dependencies: + copy-descriptor "^0.1.0" + define-property "^0.2.5" + kind-of "^3.0.3" + object-keys@^1.0.8: version "1.0.11" resolved "https://registry.yarnpkg.com/object-keys/-/object-keys-1.0.11.tgz#c54601778ad560f1142ce0e01bcca8b56d13426d" +object-visit@^1.0.0: + version "1.0.1" + resolved "https://registry.yarnpkg.com/object-visit/-/object-visit-1.0.1.tgz#f79c4493af0c5377b59fe39d395e41042dd045bb" + dependencies: + isobject "^3.0.0" + object.omit@^2.0.0: version "2.0.1" resolved "https://registry.yarnpkg.com/object.omit/-/object.omit-2.0.1.tgz#1a9c744829f39dbb858c76ca3579ae2a54ebd1fa" @@ -4535,6 +4971,12 @@ object.omit@^2.0.0: for-own "^0.1.4" is-extendable "^0.1.1" +object.pick@^1.3.0: + version "1.3.0" + resolved "https://registry.yarnpkg.com/object.pick/-/object.pick-1.3.0.tgz#87a10ac4c1694bd2e1cbf53591a66141fb5dd747" + dependencies: + isobject "^3.0.1" + obuf@^1.0.0, obuf@^1.1.1: version "1.1.1" resolved "https://registry.yarnpkg.com/obuf/-/obuf-1.1.1.tgz#104124b6c602c6796881a042541d36db43a5264e" @@ -4722,18 +5164,28 @@ parse-json@^3.0.0: dependencies: error-ex "^1.3.1" -parse5@^2.1.0: - version "2.2.3" - resolved "https://registry.yarnpkg.com/parse5/-/parse5-2.2.3.tgz#0c4fc41c1000c5e6b93d48b03f8083837834e9f6" +parse5@^3.0.3: + version "3.0.3" + resolved "https://registry.yarnpkg.com/parse5/-/parse5-3.0.3.tgz#042f792ffdd36851551cf4e9e066b3874ab45b5c" + dependencies: + "@types/node" "*" parseurl@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/parseurl/-/parseurl-1.3.1.tgz#c8ab8c9223ba34888aa64a297b28853bec18da56" +pascalcase@^0.1.1: + version "0.1.1" + resolved "https://registry.yarnpkg.com/pascalcase/-/pascalcase-0.1.1.tgz#b363e55e8006ca6fe21784d2db22bd15d7917f14" + path-browserify@0.0.0: version "0.0.0" resolved "https://registry.yarnpkg.com/path-browserify/-/path-browserify-0.0.0.tgz#a0b870729aae214005b7d5032ec2cbbb0fb4451a" +path-dirname@^1.0.0: + version "1.0.2" + resolved "https://registry.yarnpkg.com/path-dirname/-/path-dirname-1.0.2.tgz#cc33d24d525e099a5388c0336c6e32b9160609e0" + path-exists@^2.0.0: version "2.1.0" resolved "https://registry.yarnpkg.com/path-exists/-/path-exists-2.1.0.tgz#0feb6c64f0fc518d9a754dd5efb62c7022761f4b" @@ -4853,32 +5305,34 @@ poi-dev-utils@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/poi-dev-utils/-/poi-dev-utils-1.0.1.tgz#c3089d1db60e9d2c56343decc6a3b9647d577c14" -poi-load-config@^1.1.2: - version "1.1.2" - resolved "https://registry.yarnpkg.com/poi-load-config/-/poi-load-config-1.1.2.tgz#5db24d0e2d149ada2c35369f4de21d1924365bda" +poi-load-config@^1.1.6: + version "1.1.6" + resolved "https://registry.yarnpkg.com/poi-load-config/-/poi-load-config-1.1.6.tgz#54eb1febf54a0caf2e5f108714d15db6325b45a9" dependencies: babel-core "^6.24.1" babel-load-config "^1.0.0" postcss-load-config "^1.2.0" - use-config "^1.1.0" + use-config "^2.0.0" poi-webpack-node-externals@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/poi-webpack-node-externals/-/poi-webpack-node-externals-2.0.0.tgz#3e23ae0673705f5f44b23ecd194b85c724de91fa" poi@^9.5.0: - version "9.5.2" - resolved "https://registry.yarnpkg.com/poi/-/poi-9.5.2.tgz#c621d1b736dee17a65734c8f471ac5585eb44678" + version "9.6.13" + resolved "https://registry.yarnpkg.com/poi/-/poi-9.6.13.tgz#7ef137f6a863a93d1c1ffc7f17f3a9f588aa847d" dependencies: + "@types/webpack" "^3.8.2" + "@types/webpack-chain" "^4.0.0" address "^1.0.1" autoprefixer "^7.1.2" babel-core "^6.24.1" babel-loader "^7.0.0" - babel-preset-poi "^1.0.1" + babel-preset-poi "^1.1.2" cac "^4.0.0" case-sensitive-paths-webpack-plugin "^2.0.0" chalk "^2.0.1" - chokidar "^1.7.0" + chokidar "^2.0.0" clipboardy "^1.1.2" co "^4.6.0" copy-webpack-plugin "^4.0.1" @@ -4888,6 +5342,7 @@ poi@^9.5.0: highlight-es "^1.0.1" html-webpack-plugin "^2.28.0" import-local-file "^0.2.0" + is-ci "^1.0.10" lodash "^4.17.4" loud-rejection "^1.6.0" memory-fs "^0.4.1" @@ -4896,7 +5351,7 @@ poi@^9.5.0: opn "^5.0.0" parse-json-config "^0.2.0" poi-dev-utils "^1.0.1" - poi-load-config "^1.1.2" + poi-load-config "^1.1.6" poi-webpack-node-externals "^2.0.0" post-compile-webpack-plugin "^0.1.1" postcss-loader "^2.0.6" @@ -4914,7 +5369,7 @@ poi@^9.5.0: webpack-dev-server "^2.9.2" webpack-handle-css-loader "^2.0.1" webpack-merge "^4.1.0" - yargs "^9.0.1" + yargs "^10.0.0" yarn-global "^1.1.0" popper.js@^1.12.9: @@ -4929,6 +5384,10 @@ portfinder@^1.0.9: debug "^2.2.0" mkdirp "0.5.x" +posix-character-classes@^0.1.0: + version "0.1.1" + resolved "https://registry.yarnpkg.com/posix-character-classes/-/posix-character-classes-0.1.1.tgz#01eac0fe3b5af71a2a6c02feabb8c1fef7e00eab" + post-compile-webpack-plugin@^0.1.1: version "0.1.1" resolved "https://registry.yarnpkg.com/post-compile-webpack-plugin/-/post-compile-webpack-plugin-0.1.1.tgz#1b1a0eea890ce748556ca49e066a48c900e0b370" @@ -5257,22 +5716,23 @@ posthtml-attrs-parser@^0.1.1: dependencies: object-assign "^4.0.1" -posthtml-parser@^0.2.0: - version "0.2.1" - resolved "https://registry.yarnpkg.com/posthtml-parser/-/posthtml-parser-0.2.1.tgz#35d530de386740c2ba24ff2eb2faf39ccdf271dd" +posthtml-parser@^0.3.0: + version "0.3.3" + resolved "https://registry.yarnpkg.com/posthtml-parser/-/posthtml-parser-0.3.3.tgz#3fe986fca9f00c0f109d731ba590b192f26e776d" dependencies: - htmlparser2 "^3.8.3" + htmlparser2 "^3.9.2" isobject "^2.1.0" + object-assign "^4.1.1" posthtml-render@^1.0.5: version "1.0.6" resolved "https://registry.yarnpkg.com/posthtml-render/-/posthtml-render-1.0.6.tgz#1b88b8e7860a8ebdfe2f2a1310a4642a55cf5bda" -posthtml@^0.9.2: - version "0.9.2" - resolved "https://registry.yarnpkg.com/posthtml/-/posthtml-0.9.2.tgz#f4c06db9f67b61fd17c4e256e7e3d9515bf726fd" +posthtml@^0.10.1: + version "0.10.1" + resolved "https://registry.yarnpkg.com/posthtml/-/posthtml-0.10.1.tgz#029caa80591d2788ac1903dcf92352f46cec3cb5" dependencies: - posthtml-parser "^0.2.0" + posthtml-parser "^0.3.0" posthtml-render "^1.0.5" prelude-ls@~1.1.2: @@ -5318,10 +5778,6 @@ progress@^1.1.8: version "1.1.8" resolved "https://registry.yarnpkg.com/progress/-/progress-1.1.8.tgz#e260c78f6161cdd9b0e56cc3e0a85de17c7a57be" -promise.series@^0.2.0: - version "0.2.0" - resolved "https://registry.yarnpkg.com/promise.series/-/promise.series-0.2.0.tgz#2cc7ebe959fc3a6619c04ab4dbdc9e452d864bbd" - promise@^7.0.1, promise@^7.1.1: version "7.3.1" resolved "https://registry.yarnpkg.com/promise/-/promise-7.3.1.tgz#064b72602b18f90f29192b8b1bc418ffd1ebd3bf" @@ -5676,6 +6132,12 @@ regex-cache@^0.4.2: is-equal-shallow "^0.1.3" is-primitive "^2.0.0" +regex-not@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/regex-not/-/regex-not-1.0.0.tgz#42f83e39771622df826b02af176525d6a5f157f9" + dependencies: + extend-shallow "^2.0.1" + regexpu-core@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/regexpu-core/-/regexpu-core-1.0.0.tgz#86a763f58ee4d7c2f6b102e4764050de7ed90c6b" @@ -5758,7 +6220,7 @@ repeat-element@^1.1.2: version "1.1.2" resolved "https://registry.yarnpkg.com/repeat-element/-/repeat-element-1.1.2.tgz#ef089a178d1483baae4d93eb98b4f9e4e11d990a" -repeat-string@^1.5.2, repeat-string@^1.5.4: +repeat-string@^1.5.2, repeat-string@^1.5.4, repeat-string@^1.6.1: version "1.6.1" resolved "https://registry.yarnpkg.com/repeat-string/-/repeat-string-1.6.1.tgz#8dcae470e1c88abc2d600fff4a776286da75e637" @@ -5889,6 +6351,10 @@ resolve-from@^3.0.0: version "3.0.0" resolved "https://registry.yarnpkg.com/resolve-from/-/resolve-from-3.0.0.tgz#b22c7af7d9d6881bc8b6e653335eebcb0a188748" +resolve-url@^0.2.1: + version "0.2.1" + resolved "https://registry.yarnpkg.com/resolve-url/-/resolve-url-0.2.1.tgz#2c637fe77c893afd2a663fe21aa9080068e2052a" + resolve@1.1.7: version "1.1.7" resolved "https://registry.yarnpkg.com/resolve/-/resolve-1.1.7.tgz#203114d82ad2c5ed9e8e0411b3932875e889e97b" @@ -6005,27 +6471,28 @@ rollup-plugin-uglify@^2.0.1: uglify-js "^3.0.9" rollup-plugin-vue@^2.5.2: - version "2.5.2" - resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-2.5.2.tgz#8b8d2a90cd166b265a649b8533f02b5b23ace8a9" + version "2.5.4" + resolved "https://registry.yarnpkg.com/rollup-plugin-vue/-/rollup-plugin-vue-2.5.4.tgz#218b2d7e00871f20d7c3a474c473c60127193f30" dependencies: babel-runtime "^6.22.0" camelcase "^4.0.0" de-indent "^1.0.2" - debug "^2.6.0" + debug "^3.1.0" hash-sum "^1.0.2" html-minifier "^3.2.3" - magic-string "^0.19.0" - merge-options "0.0.64" - parse5 "^2.1.0" + magic-string "^0.22.4" + merge-options "^1.0.0" + parse5 "^3.0.3" postcss "^5.2.11" postcss-load-config "^1.2.0" postcss-modules "^0.6.4" postcss-selector-parser "^2.2.3" - posthtml "^0.9.2" + posthtml "^0.10.1" posthtml-attrs-parser "^0.1.1" rollup-pluginutils "^2.0.1" typescript "^2.4.1" - vue-template-es2015-compiler "^1.5.0" + vue-template-compiler ">=2.0" + vue-template-es2015-compiler "^1.6.0" vue-template-validator "^1.1.5" optionalDependencies: coffee-script "^1.12.4" @@ -6174,10 +6641,34 @@ set-blocking@^2.0.0, set-blocking@~2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/set-blocking/-/set-blocking-2.0.0.tgz#045f9782d011ae9a6803ddd382b24392b3d890f7" +set-getter@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/set-getter/-/set-getter-0.1.0.tgz#d769c182c9d5a51f409145f2fba82e5e86e80376" + dependencies: + to-object-path "^0.3.0" + set-immediate-shim@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/set-immediate-shim/-/set-immediate-shim-1.0.1.tgz#4b2b1b27eb808a9f8dcc481a58e5e56f599f3f61" +set-value@^0.4.3: + version "0.4.3" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-0.4.3.tgz#7db08f9d3d22dc7f78e53af3c3bf4666ecdfccf1" + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.1" + to-object-path "^0.3.0" + +set-value@^2.0.0: + version "2.0.0" + resolved "https://registry.yarnpkg.com/set-value/-/set-value-2.0.0.tgz#71ae4a88f0feefbbf52d1ea604f3fb315ebb6274" + dependencies: + extend-shallow "^2.0.1" + is-extendable "^0.1.1" + is-plain-object "^2.0.3" + split-string "^3.0.1" + setimmediate@^1.0.4: version "1.0.5" resolved "https://registry.yarnpkg.com/setimmediate/-/setimmediate-1.0.5.tgz#290cbb232e306942d7d7ea9b83732ab7856f8285" @@ -6227,6 +6718,33 @@ slice-ansi@0.0.4: version "0.0.4" resolved "https://registry.yarnpkg.com/slice-ansi/-/slice-ansi-0.0.4.tgz#edbf8903f66f7ce2f8eafd6ceed65e264c831b35" +snapdragon-node@^2.0.1: + version "2.1.1" + resolved "https://registry.yarnpkg.com/snapdragon-node/-/snapdragon-node-2.1.1.tgz#6c175f86ff14bdb0724563e8f3c1b021a286853b" + dependencies: + define-property "^1.0.0" + isobject "^3.0.0" + snapdragon-util "^3.0.1" + +snapdragon-util@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/snapdragon-util/-/snapdragon-util-3.0.1.tgz#f956479486f2acd79700693f6f7b805e45ab56e2" + dependencies: + kind-of "^3.2.0" + +snapdragon@^0.8.1: + version "0.8.1" + resolved "https://registry.yarnpkg.com/snapdragon/-/snapdragon-0.8.1.tgz#e12b5487faded3e3dea0ac91e9400bf75b401370" + dependencies: + base "^0.11.1" + debug "^2.2.0" + define-property "^0.2.5" + extend-shallow "^2.0.1" + map-cache "^0.2.2" + source-map "^0.5.6" + source-map-resolve "^0.5.0" + use "^2.0.0" + sntp@1.x.x: version "1.0.9" resolved "https://registry.yarnpkg.com/sntp/-/sntp-1.0.9.tgz#6541184cc90aeea6c6e7b35e2659082443c66198" @@ -6273,12 +6791,26 @@ source-list-map@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/source-list-map/-/source-list-map-2.0.0.tgz#aaa47403f7b245a92fbc97ea08f250d6087ed085" +source-map-resolve@^0.5.0: + version "0.5.1" + resolved "https://registry.yarnpkg.com/source-map-resolve/-/source-map-resolve-0.5.1.tgz#7ad0f593f2281598e854df80f19aae4b92d7a11a" + dependencies: + atob "^2.0.0" + decode-uri-component "^0.2.0" + resolve-url "^0.2.1" + source-map-url "^0.4.0" + urix "^0.1.0" + source-map-support@^0.4.15: version "0.4.18" resolved "https://registry.yarnpkg.com/source-map-support/-/source-map-support-0.4.18.tgz#0286a6de8be42641338594e97ccea75f0a2c585f" dependencies: source-map "^0.5.6" +source-map-url@^0.4.0: + version "0.4.0" + resolved "https://registry.yarnpkg.com/source-map-url/-/source-map-url-0.4.0.tgz#3e935d7ddd73631b97659956d55128e87b5084a3" + source-map@0.1.x: version "0.1.43" resolved "https://registry.yarnpkg.com/source-map/-/source-map-0.1.43.tgz#c24bc146ca517c1471f5dacbe2571b2b7f9e3346" @@ -6340,6 +6872,12 @@ spdy@^3.4.1: select-hose "^2.0.0" spdy-transport "^2.0.18" +split-string@^3.0.1, split-string@^3.0.2: + version "3.1.0" + resolved "https://registry.yarnpkg.com/split-string/-/split-string-3.1.0.tgz#7cb09dda3a86585705c64b39a6466038682e8fe2" + dependencies: + extend-shallow "^3.0.0" + sprintf-js@~1.0.2: version "1.0.3" resolved "https://registry.yarnpkg.com/sprintf-js/-/sprintf-js-1.0.3.tgz#04e6926f662895354f3dd015203633b857297e2c" @@ -6362,6 +6900,13 @@ state-toggle@^1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/state-toggle/-/state-toggle-1.0.0.tgz#d20f9a616bb4f0c3b98b91922d25b640aa2bc425" +static-extend@^0.1.1: + version "0.1.2" + resolved "https://registry.yarnpkg.com/static-extend/-/static-extend-0.1.2.tgz#60809c39cbff55337226fd5e0b520f341f1fb5c6" + dependencies: + define-property "^0.2.5" + object-copy "^0.1.0" + "statuses@>= 1.3.1 < 2", statuses@~1.3.1: version "1.3.1" resolved "https://registry.yarnpkg.com/statuses/-/statuses-1.3.1.tgz#faf51b9eb74aaef3b3acf4ad5f61abf24cb7b93e" @@ -6631,6 +7176,27 @@ to-fast-properties@^1.0.1, to-fast-properties@^1.0.3: version "1.0.3" resolved "https://registry.yarnpkg.com/to-fast-properties/-/to-fast-properties-1.0.3.tgz#b83571fa4d8c25b82e231b06e3a3055de4ca1a47" +to-object-path@^0.3.0: + version "0.3.0" + resolved "https://registry.yarnpkg.com/to-object-path/-/to-object-path-0.3.0.tgz#297588b7b0e7e0ac08e04e672f85c1f4999e17af" + dependencies: + kind-of "^3.0.2" + +to-regex-range@^2.1.0: + version "2.1.1" + resolved "https://registry.yarnpkg.com/to-regex-range/-/to-regex-range-2.1.1.tgz#7c80c17b9dfebe599e27367e0d4dd5590141db38" + dependencies: + is-number "^3.0.0" + repeat-string "^1.6.1" + +to-regex@^3.0.1: + version "3.0.1" + resolved "https://registry.yarnpkg.com/to-regex/-/to-regex-3.0.1.tgz#15358bee4a2c83bd76377ba1dc049d0f18837aae" + dependencies: + define-property "^0.2.5" + extend-shallow "^2.0.1" + regex-not "^1.0.0" + token-stream@0.0.1: version "0.0.1" resolved "https://registry.yarnpkg.com/token-stream/-/token-stream-0.0.1.tgz#ceeefc717a76c4316f126d0b9dbaa55d7e7df01a" @@ -6761,6 +7327,15 @@ unified@^6.1.2: x-is-function "^1.0.4" x-is-string "^0.1.0" +union-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/union-value/-/union-value-1.0.0.tgz#5c71c34cb5bad5dcebe3ea0cd08207ba5aa1aea4" + dependencies: + arr-union "^3.1.0" + get-value "^2.0.6" + is-extendable "^0.1.1" + set-value "^0.4.3" + uniq@^1.0.1: version "1.0.1" resolved "https://registry.yarnpkg.com/uniq/-/uniq-1.0.1.tgz#b31c5ae8254844a3a8281541ce2b04b865a734ff" @@ -6803,6 +7378,13 @@ unpipe@~1.0.0: version "1.0.0" resolved "https://registry.yarnpkg.com/unpipe/-/unpipe-1.0.0.tgz#b2bf4ee8514aae6165b4817829d21b2ef49904ec" +unset-value@^1.0.0: + version "1.0.0" + resolved "https://registry.yarnpkg.com/unset-value/-/unset-value-1.0.0.tgz#8376873f7d2335179ffb1e6fc3a8ed0dfc8ab559" + dependencies: + has-value "^0.3.1" + isobject "^3.0.0" + unzip-response@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/unzip-response/-/unzip-response-2.0.1.tgz#d2f0f737d16b0615e72a6935ed04214572d56f97" @@ -6825,6 +7407,10 @@ upper-case@^1.1.1: version "1.1.3" resolved "https://registry.yarnpkg.com/upper-case/-/upper-case-1.1.3.tgz#f6b4501c2ec4cdd26ba78be7222961de77621598" +urix@^0.1.0: + version "0.1.0" + resolved "https://registry.yarnpkg.com/urix/-/urix-0.1.0.tgz#da937f7a62e21fec1fd18d49b35c2935067a6c72" + url-loader@^0.6.2: version "0.6.2" resolved "https://registry.yarnpkg.com/url-loader/-/url-loader-0.6.2.tgz#a007a7109620e9d988d14bce677a1decb9a993f7" @@ -6860,15 +7446,22 @@ url@^0.11.0: punycode "1.3.2" querystring "0.2.0" -use-config@^1.1.0: - version "1.1.0" - resolved "https://registry.yarnpkg.com/use-config/-/use-config-1.1.0.tgz#0a0c7760e1f12cd546154fc67afefe49d048fbb4" +use-config@^2.0.0: + version "2.0.4" + resolved "https://registry.yarnpkg.com/use-config/-/use-config-2.0.4.tgz#1e14e5dbc600533aa5cd1b35d43a5be849b45b0c" dependencies: load-json-file "^2.0.0" path-exists "^3.0.0" - promise.series "^0.2.0" pupa "^1.0.0" +use@^2.0.0: + version "2.0.2" + resolved "https://registry.yarnpkg.com/use/-/use-2.0.2.tgz#ae28a0d72f93bf22422a18a2e379993112dec8e8" + dependencies: + define-property "^0.2.5" + isobject "^3.0.0" + lazy-cache "^2.0.2" + user-home@^2.0.0: version "2.0.0" resolved "https://registry.yarnpkg.com/user-home/-/user-home-2.0.0.tgz#9c70bfd8169bc1dcbf48604e0f04b8b49cde9e9f" @@ -6954,9 +7547,9 @@ void-elements@^2.0.1: version "2.0.1" resolved "https://registry.yarnpkg.com/void-elements/-/void-elements-2.0.1.tgz#c066afb582bb1cb4128d60ea92392e94d5e9dbec" -vue-functional-data-merge@^1.0.6: - version "1.0.6" - resolved "https://registry.yarnpkg.com/vue-functional-data-merge/-/vue-functional-data-merge-1.0.6.tgz#cde4f0cf3f251f7f0196341156d2c936cca63d40" +vue-functional-data-merge@^2.0.3: + version "2.0.4" + resolved "https://registry.yarnpkg.com/vue-functional-data-merge/-/vue-functional-data-merge-2.0.4.tgz#b045ca57097f31446db6de15c87642b6e88ca7c2" vue-hot-reload-api@^2.2.0: version "2.2.3" @@ -6987,14 +7580,21 @@ vue-style-loader@^3.0.0: hash-sum "^1.0.2" loader-utils "^1.0.2" -vue-template-compiler@2.5.3, vue-template-compiler@^2.3.3: +vue-template-compiler@>=2.0, vue-template-compiler@^2.5.3: + version "2.5.13" + resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.13.tgz#12a2aa0ecd6158ac5e5f14d294b0993f399c3d38" + dependencies: + de-indent "^1.0.2" + he "^1.1.0" + +vue-template-compiler@^2.3.3: version "2.5.3" resolved "https://registry.yarnpkg.com/vue-template-compiler/-/vue-template-compiler-2.5.3.tgz#ab631b0694e211a6aaf0d800102b37836aae36a4" dependencies: de-indent "^1.0.2" he "^1.1.0" -vue-template-es2015-compiler@^1.5.0, vue-template-es2015-compiler@^1.6.0: +vue-template-es2015-compiler@^1.6.0: version "1.6.0" resolved "https://registry.yarnpkg.com/vue-template-es2015-compiler/-/vue-template-es2015-compiler-1.6.0.tgz#dc42697133302ce3017524356a6c61b7b69b4a18" @@ -7004,10 +7604,14 @@ vue-template-validator@^1.1.5: dependencies: chalk "^1.1.1" -vue@2.5.3, vue@^2.3.3: +vue@^2.3.3: version "2.5.3" resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.3.tgz#e1a3b1f49b6e93e574ce040b95cbc873912fecc1" +vue@^2.5.3: + version "2.5.13" + resolved "https://registry.yarnpkg.com/vue/-/vue-2.5.13.tgz#95bd31e20efcf7a7f39239c9aa6787ce8cf578e1" + ware@^1.3.0: version "1.3.0" resolved "https://registry.yarnpkg.com/ware/-/ware-1.3.0.tgz#d1b14f39d2e2cb4ab8c4098f756fe4b164e473d4" @@ -7316,6 +7920,29 @@ yargs-parser@^7.0.0: dependencies: camelcase "^4.1.0" +yargs-parser@^8.1.0: + version "8.1.0" + resolved "https://registry.yarnpkg.com/yargs-parser/-/yargs-parser-8.1.0.tgz#f1376a33b6629a5d063782944da732631e966950" + dependencies: + camelcase "^4.1.0" + +yargs@^10.0.0: + version "10.1.2" + resolved "https://registry.yarnpkg.com/yargs/-/yargs-10.1.2.tgz#454d074c2b16a51a43e2fb7807e4f9de69ccb5c5" + dependencies: + cliui "^4.0.0" + decamelize "^1.1.1" + find-up "^2.1.0" + get-caller-file "^1.0.1" + os-locale "^2.0.0" + require-directory "^2.1.1" + require-main-filename "^1.0.1" + set-blocking "^2.0.0" + string-width "^2.0.0" + which-module "^2.0.0" + y18n "^3.2.1" + yargs-parser "^8.1.0" + yargs@^6.6.0: version "6.6.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-6.6.0.tgz#782ec21ef403345f830a808ca3d513af56065208" @@ -7370,24 +7997,6 @@ yargs@^8.0.2: y18n "^3.2.1" yargs-parser "^7.0.0" -yargs@^9.0.1: - version "9.0.1" - resolved "https://registry.yarnpkg.com/yargs/-/yargs-9.0.1.tgz#52acc23feecac34042078ee78c0c007f5085db4c" - dependencies: - camelcase "^4.1.0" - cliui "^3.2.0" - decamelize "^1.1.1" - get-caller-file "^1.0.1" - os-locale "^2.0.0" - read-pkg-up "^2.0.0" - require-directory "^2.1.1" - require-main-filename "^1.0.1" - set-blocking "^2.0.0" - string-width "^2.0.0" - which-module "^2.0.0" - y18n "^3.2.1" - yargs-parser "^7.0.0" - yargs@~3.10.0: version "3.10.0" resolved "https://registry.yarnpkg.com/yargs/-/yargs-3.10.0.tgz#f7ee7bd857dd7c1d2d38c0e74efbd681d1431fd1"