@activeprospect/integration-components
Advanced tools
Comparing version 3.0.1 to 3.0.2
@@ -13,2 +13,3 @@ // | ||
// | ||
var script$1 = { | ||
@@ -26,3 +27,2 @@ props: { | ||
}, | ||
/** | ||
@@ -36,3 +36,2 @@ * A boolean expression that determines whether the finish button should be shown in an inactive state. | ||
}, | ||
/** | ||
@@ -50,3 +49,2 @@ * A function, defined in the same `<script>` block, to execute when the user clicks "Next". | ||
}, | ||
/** | ||
@@ -60,3 +58,2 @@ * A function, defined in the same `<script>` block, to execute when the user clicks "Finish". | ||
}, | ||
/** | ||
@@ -69,3 +66,2 @@ * A boolean expression that determines whether the previous button should be shown. | ||
}, | ||
/** | ||
@@ -80,3 +76,2 @@ * Optional array, provided by the user of this component, to make the "Prev" button work correctly. It should be an | ||
default: () => [] // for this history to work correctly, the user of this component must provide the array | ||
} | ||
@@ -91,3 +86,2 @@ }, | ||
}, | ||
computed: { | ||
@@ -109,6 +103,4 @@ pageNo() { | ||
var prevPage = this.$props.navHistory.slice(-1)[0]; // get last element of history without removing it | ||
return (typeof prevPage === 'string' || this.pageNo > 1) && this.$props.showPrevious; | ||
} | ||
}, | ||
@@ -123,3 +115,2 @@ methods: { | ||
}, | ||
prev() { | ||
@@ -129,3 +120,2 @@ try { | ||
var prevPage = this.$props.navHistory.pop(); | ||
if (!prevPage) { | ||
@@ -136,3 +126,2 @@ // prevPage being undefined means no navHistory array provided by RUI; assume numeric routes | ||
} | ||
this.$router.push(prevPage); | ||
@@ -143,7 +132,5 @@ } catch (error) { | ||
}, | ||
next() { | ||
if (this.$props.onNext) { | ||
this.$props.navHistory.push(this.page); // save this page to the end of the history array | ||
this.$props.onNext(); | ||
@@ -154,3 +141,2 @@ } else { | ||
}, | ||
finish() { | ||
@@ -163,3 +149,2 @@ if (this.$props.onFinish) { | ||
} | ||
} | ||
@@ -245,22 +230,11 @@ }; | ||
const __vue_script__$1 = script$1; | ||
/* template */ | ||
var __vue_render__$1 = function () { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('div', [_c('footer', [_c('button', { | ||
return _c('div', [_c('footer', [_vm.showPrev ? _c('button', { | ||
staticClass: "tertiary-control", | ||
attrs: { | ||
"data-test": "nav-cancel" | ||
}, | ||
on: { | ||
"click": _vm.cancel | ||
} | ||
}, [_vm._v("Cancel")]), _vm._v(" "), _vm.showPrev ? _c('button', { | ||
staticClass: "tertiary-control", | ||
attrs: { | ||
"data-test": "nav-prev" | ||
@@ -289,17 +263,20 @@ }, | ||
} | ||
}, [_vm._v("Next")]) : _vm._e()], 2)]); | ||
}, [_vm._v("Next")]) : _vm._e(), _vm._v(" "), _c('button', { | ||
attrs: { | ||
"data-test": "nav-cancel" | ||
}, | ||
on: { | ||
"click": _vm.cancel | ||
} | ||
}, [_vm._v("Cancel")])], 2)]); | ||
}; | ||
var __vue_staticRenderFns__$1 = []; | ||
var __vue_staticRenderFns__$1 = []; | ||
/* style */ | ||
const __vue_inject_styles__$1 = undefined; | ||
/* scoped */ | ||
const __vue_scope_id__$1 = undefined; | ||
/* module identifier */ | ||
const __vue_module_identifier__$1 = undefined; | ||
/* functional template */ | ||
const __vue_is_functional_template__$1 = false; | ||
@@ -327,2 +304,3 @@ /* style inject */ | ||
// | ||
var script = { | ||
@@ -335,3 +313,2 @@ name: 'loading-screen', | ||
moduleName: String, | ||
/** | ||
@@ -354,5 +331,3 @@ * Custom function to be called after a 2 second wait (default is | ||
} | ||
}, | ||
mounted() { | ||
@@ -363,3 +338,2 @@ setTimeout(() => { | ||
} | ||
}; | ||
@@ -369,11 +343,8 @@ | ||
const __vue_script__ = script; | ||
/* template */ | ||
var __vue_render__ = function () { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('div', [_c('header', [_vm._v("\n " + _vm._s(_vm.moduleName) + "\n ")]), _vm._v(" "), _c('section', [_c('span', { | ||
@@ -383,15 +354,11 @@ staticClass: "loading" | ||
}; | ||
var __vue_staticRenderFns__ = []; | ||
var __vue_staticRenderFns__ = []; | ||
/* style */ | ||
const __vue_inject_styles__ = undefined; | ||
/* scoped */ | ||
const __vue_scope_id__ = undefined; | ||
/* module identifier */ | ||
const __vue_module_identifier__ = undefined; | ||
/* functional template */ | ||
const __vue_is_functional_template__ = false; | ||
@@ -419,2 +386,3 @@ /* style inject */ | ||
// install function executed by Vue.use() | ||
const install = function installLeadconduitIntegrationComponents(Vue) { | ||
@@ -427,9 +395,9 @@ if (install.installed) return; | ||
}); | ||
}; // Create module definition for Vue.use() | ||
}; | ||
// Create module definition for Vue.use() | ||
const plugin = { | ||
install | ||
}; // To auto-install on non-es builds, when vue is found | ||
}; | ||
export { __vue_component__ as LoadingScreen, __vue_component__$1 as Navigation, plugin as default }; |
@@ -1,1 +0,1 @@ | ||
var LeadconduitIntegrationComponents=function(t){"use strict";function n(t,n){return function(t){if(Array.isArray(t))return t}(t)||function(t,n){var e=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null==e)return;var o,i,r=[],s=!0,a=!1;try{for(e=e.call(t);!(s=(o=e.next()).done)&&(r.push(o.value),!n||r.length!==n);s=!0);}catch(t){a=!0,i=t}finally{try{s||null==e.return||e.return()}finally{if(a)throw i}}return r}(t,n)||function(t,n){if(!t)return;if("string"==typeof t)return e(t,n);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return e(t,n)}(t,n)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function e(t,n){(null==n||n>t.length)&&(n=t.length);for(var e=0,o=new Array(n);e<n;e++)o[e]=t[e];return o}function o(t,n,e,o,i,r,s,a,c,u){"boolean"!=typeof s&&(c=a,a=s,s=!1);const l="function"==typeof e?e.options:e;let d;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),o&&(l._scopeId=o),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),n&&n.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=d):n&&(d=s?function(t){n.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){n.call(this,a(t))}),d)if(l.functional){const t=l.render;l.render=function(n,e){return d.call(e),t(n,e)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,d):[d]}return e}var i=o({render:function(){var t=this,n=t.$createElement,e=t._self._c||n;return e("div",[e("footer",[e("button",{staticClass:"tertiary-control",attrs:{"data-test":"nav-cancel"},on:{click:t.cancel}},[t._v("Cancel")]),t._v(" "),t.showPrev?e("button",{staticClass:"tertiary-control",attrs:{"data-test":"nav-prev"},on:{click:t.prev}},[t._v("Prev")]):t._e(),t._v(" "),t._t("footer"),t._v(" "),t.showFinish?e("button",{staticClass:"primary",attrs:{disabled:t.disableFinish,"data-test":"nav-finish"},on:{click:t.finish}},[t._v("Finish")]):t._e(),t._v(" "),t.showNext?e("button",{staticClass:"primary",attrs:{disabled:t.disableNext,"data-test":"nav-next"},on:{click:t.next}},[t._v("Next")]):t._e()],2)])},staticRenderFns:[]},void 0,{props:{disableNext:{type:Boolean,default:!1},disableFinish:{type:Boolean,default:!1},onNext:{type:Function,default:void 0},onFinish:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:function(){return[]}}},data:function(){return{page:this.$router?this.$router.currentRoute.path:"/"}},computed:{pageNo:function(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showFinish:function(){return!!this.$props.onFinish},showNext:function(){return!!this.$props.onNext},showPrev:function(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel:function(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev:function(){try{var t=this.$props.navHistory.pop();t||(t="/".concat(this.pageNo-1),console.debug("Navigation.vue: no previous page in history; using previous page by number: '".concat(t,"'"))),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},next:function(){this.$props.onNext?(this.$props.navHistory.push(this.page),this.$props.onNext()):console.debug("Navigation: next() called with no :onNext")},finish:function(){this.$props.onFinish?this.$props.onFinish():console.debug("Navigation: finish() called with no :onFinish")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),r=o({render:function(){var t=this.$createElement,n=this._self._c||t;return n("div",[n("header",[this._v("\n "+this._s(this.moduleName)+"\n ")]),this._v(" "),n("section",[n("span",{staticClass:"loading"}),this._v(" We're setting up your "+this._s(this.moduleName)+" step now.\n ")])])},staticRenderFns:[]},void 0,{name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish:function(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted:function(){var t=this;setTimeout((function(){t.finish()}),2e3)}},void 0,!1,void 0,!1,void 0,void 0,void 0),s=Object.freeze({__proto__:null,Navigation:i,LoadingScreen:r}),a=function(t){a.installed||(a.installed=!0,Object.entries(s).forEach((function(e){var o=n(e,2),i=o[0],r=o[1];t.component(i,r)})))},c={install:a},u=null;return"undefined"!=typeof window?u=window.Vue:"undefined"!=typeof global&&(u=global.Vue),u&&u.use(c),t.LoadingScreen=r,t.Navigation=i,t.default=c,Object.defineProperty(t,"__esModule",{value:!0}),t}({}); | ||
var LeadconduitIntegrationComponents=function(t){"use strict";function e(t,e){return function(t){if(Array.isArray(t))return t}(t)||function(t,e){var n=null==t?null:"undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"];if(null!=n){var o,i,r,s,a=[],c=!0,u=!1;try{if(r=(n=n.call(t)).next,0===e){if(Object(n)!==n)return;c=!1}else for(;!(c=(o=r.call(n)).done)&&(a.push(o.value),a.length!==e);c=!0);}catch(t){u=!0,i=t}finally{try{if(!c&&null!=n.return&&(s=n.return(),Object(s)!==s))return}finally{if(u)throw i}}return a}}(t,e)||function(t,e){if(!t)return;if("string"==typeof t)return n(t,e);var o=Object.prototype.toString.call(t).slice(8,-1);"Object"===o&&t.constructor&&(o=t.constructor.name);if("Map"===o||"Set"===o)return Array.from(t);if("Arguments"===o||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(o))return n(t,e)}(t,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function n(t,e){(null==e||e>t.length)&&(e=t.length);for(var n=0,o=new Array(e);n<e;n++)o[n]=t[n];return o}function o(t,e,n,o,i,r,s,a,c,u){"boolean"!=typeof s&&(c=a,a=s,s=!1);const l="function"==typeof n?n.options:n;let d;if(t&&t.render&&(l.render=t.render,l.staticRenderFns=t.staticRenderFns,l._compiled=!0,i&&(l.functional=!0)),o&&(l._scopeId=o),r?(d=function(t){(t=t||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(t=__VUE_SSR_CONTEXT__),e&&e.call(this,c(t)),t&&t._registeredComponents&&t._registeredComponents.add(r)},l._ssrRegister=d):e&&(d=s?function(t){e.call(this,u(t,this.$root.$options.shadowRoot))}:function(t){e.call(this,a(t))}),d)if(l.functional){const t=l.render;l.render=function(e,n){return d.call(n),t(e,n)}}else{const t=l.beforeCreate;l.beforeCreate=t?[].concat(t,d):[d]}return n}var i=o({render:function(){var t=this,e=t.$createElement,n=t._self._c||e;return n("div",[n("footer",[t.showPrev?n("button",{staticClass:"tertiary-control",attrs:{"data-test":"nav-prev"},on:{click:t.prev}},[t._v("Prev")]):t._e(),t._v(" "),t._t("footer"),t._v(" "),t.showFinish?n("button",{staticClass:"primary",attrs:{disabled:t.disableFinish,"data-test":"nav-finish"},on:{click:t.finish}},[t._v("Finish")]):t._e(),t._v(" "),t.showNext?n("button",{staticClass:"primary",attrs:{disabled:t.disableNext,"data-test":"nav-next"},on:{click:t.next}},[t._v("Next")]):t._e(),t._v(" "),n("button",{attrs:{"data-test":"nav-cancel"},on:{click:t.cancel}},[t._v("Cancel")])],2)])},staticRenderFns:[]},void 0,{props:{disableNext:{type:Boolean,default:!1},disableFinish:{type:Boolean,default:!1},onNext:{type:Function,default:void 0},onFinish:{type:Function,default:void 0},showPrevious:{type:Boolean,default:!0},navHistory:{type:Array,default:function(){return[]}}},data:function(){return{page:this.$router?this.$router.currentRoute.path:"/"}},computed:{pageNo:function(){return"/"===this.page?1:parseInt(this.page.slice(1),10)},showFinish:function(){return!!this.$props.onFinish},showNext:function(){return!!this.$props.onNext},showPrev:function(){return("string"==typeof this.$props.navHistory.slice(-1)[0]||this.pageNo>1)&&this.$props.showPrevious}},methods:{cancel:function(){try{this.$store.dispatch("cancel")}catch(t){console.warn('Navigation Error - Could not dispatch "cancel" to Vuex store.')}},prev:function(){try{var t=this.$props.navHistory.pop();t||(t="/".concat(this.pageNo-1),console.debug("Navigation.vue: no previous page in history; using previous page by number: '".concat(t,"'"))),this.$router.push(t)}catch(t){console.warn("Navigation Error - Could not direct to previous page.")}},next:function(){this.$props.onNext?(this.$props.navHistory.push(this.page),this.$props.onNext()):console.debug("Navigation: next() called with no :onNext")},finish:function(){this.$props.onFinish?this.$props.onFinish():console.debug("Navigation: finish() called with no :onFinish")}}},void 0,!1,void 0,!1,void 0,void 0,void 0),r=o({render:function(){var t=this.$createElement,e=this._self._c||t;return e("div",[e("header",[this._v("\n "+this._s(this.moduleName)+"\n ")]),this._v(" "),e("section",[e("span",{staticClass:"loading"}),this._v(" We're setting up your "+this._s(this.moduleName)+" step now.\n ")])])},staticRenderFns:[]},void 0,{name:"loading-screen",props:{moduleName:String,onFinish:{type:Function,default:void 0}},methods:{finish:function(){this.$props.onFinish?this.$props.onFinish():this.$store.dispatch("finish")}},mounted:function(){var t=this;setTimeout((function(){t.finish()}),2e3)}},void 0,!1,void 0,!1,void 0,void 0,void 0),s=Object.freeze({__proto__:null,Navigation:i,LoadingScreen:r}),a=function(t){a.installed||(a.installed=!0,Object.entries(s).forEach((function(n){var o=e(n,2),i=o[0],r=o[1];t.component(i,r)})))},c={install:a},u=null;return"undefined"!=typeof window?u=window.Vue:"undefined"!=typeof global&&(u=global.Vue),u&&u.use(c),t.LoadingScreen=r,t.Navigation=i,t.default=c,Object.defineProperty(t,"__esModule",{value:!0}),t}({}); |
@@ -1,39 +0,34 @@ | ||
'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _slicedToArray(arr, i) { | ||
'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _iterableToArrayLimit(arr, i) { | ||
var _i = null == arr ? null : "undefined" != typeof Symbol && arr[Symbol.iterator] || arr["@@iterator"]; | ||
if (null != _i) { | ||
var _s, | ||
_e, | ||
_x, | ||
_r, | ||
_arr = [], | ||
_n = !0, | ||
_d = !1; | ||
try { | ||
if (_x = (_i = _i.call(arr)).next, 0 === i) { | ||
if (Object(_i) !== _i) return; | ||
_n = !1; | ||
} else for (; !(_n = (_s = _x.call(_i)).done) && (_arr.push(_s.value), _arr.length !== i); _n = !0); | ||
} catch (err) { | ||
_d = !0, _e = err; | ||
} finally { | ||
try { | ||
if (!_n && null != _i.return && (_r = _i.return(), Object(_r) !== _r)) return; | ||
} finally { | ||
if (_d) throw _e; | ||
} | ||
} | ||
return _arr; | ||
} | ||
} | ||
function _slicedToArray(arr, i) { | ||
return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); | ||
} | ||
function _arrayWithHoles(arr) { | ||
if (Array.isArray(arr)) return arr; | ||
} | ||
function _iterableToArrayLimit(arr, i) { | ||
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]; | ||
if (_i == null) return; | ||
var _arr = []; | ||
var _n = true; | ||
var _d = false; | ||
var _s, _e; | ||
try { | ||
for (_i = _i.call(arr); !(_n = (_s = _i.next()).done); _n = true) { | ||
_arr.push(_s.value); | ||
if (i && _arr.length === i) break; | ||
} | ||
} catch (err) { | ||
_d = true; | ||
_e = err; | ||
} finally { | ||
try { | ||
if (!_n && _i["return"] != null) _i["return"](); | ||
} finally { | ||
if (_d) throw _e; | ||
} | ||
} | ||
return _arr; | ||
} | ||
function _unsupportedIterableToArray(o, minLen) { | ||
@@ -47,11 +42,7 @@ if (!o) return; | ||
} | ||
function _arrayLikeToArray(arr, len) { | ||
if (len == null || len > arr.length) len = arr.length; | ||
for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; | ||
return arr2; | ||
} | ||
function _nonIterableRest() { | ||
@@ -71,2 +62,3 @@ throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); | ||
// | ||
var script$1 = { | ||
@@ -84,3 +76,2 @@ props: { | ||
}, | ||
/** | ||
@@ -94,3 +85,2 @@ * A boolean expression that determines whether the finish button should be shown in an inactive state. | ||
}, | ||
/** | ||
@@ -108,3 +98,2 @@ * A function, defined in the same `<script>` block, to execute when the user clicks "Next". | ||
}, | ||
/** | ||
@@ -118,3 +107,2 @@ * A function, defined in the same `<script>` block, to execute when the user clicks "Finish". | ||
}, | ||
/** | ||
@@ -127,3 +115,2 @@ * A boolean expression that determines whether the previous button should be shown. | ||
}, | ||
/** | ||
@@ -140,3 +127,2 @@ * Optional array, provided by the user of this component, to make the "Prev" button work correctly. It should be an | ||
} // for this history to work correctly, the user of this component must provide the array | ||
} | ||
@@ -163,3 +149,2 @@ }, | ||
var prevPage = this.$props.navHistory.slice(-1)[0]; // get last element of history without removing it | ||
return (typeof prevPage === 'string' || this.pageNo > 1) && this.$props.showPrevious; | ||
@@ -180,3 +165,2 @@ } | ||
var prevPage = this.$props.navHistory.pop(); | ||
if (!prevPage) { | ||
@@ -187,3 +171,2 @@ // prevPage being undefined means no navHistory array provided by RUI; assume numeric routes | ||
} | ||
this.$router.push(prevPage); | ||
@@ -197,3 +180,2 @@ } catch (error) { | ||
this.$props.navHistory.push(this.page); // save this page to the end of the history array | ||
this.$props.onNext(); | ||
@@ -287,26 +269,19 @@ } else { | ||
var __vue_script__$1 = script$1; | ||
/* template */ | ||
var __vue_render__$1 = function __vue_render__() { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('div', [_vm._ssrNode("<footer>", "</footer>", [_vm._ssrNode("<button data-test=\"nav-cancel\" class=\"tertiary-control\">Cancel</button> " + (_vm.showPrev ? "<button data-test=\"nav-prev\" class=\"tertiary-control\">Prev</button>" : "<!---->") + " "), _vm._t("footer"), _vm._ssrNode(" " + (_vm.showFinish ? "<button" + _vm._ssrAttr("disabled", _vm.disableFinish) + " data-test=\"nav-finish\" class=\"primary\">Finish</button>" : "<!---->") + " " + (_vm.showNext ? "<button" + _vm._ssrAttr("disabled", _vm.disableNext) + " data-test=\"nav-next\" class=\"primary\">Next</button>" : "<!---->"))], 2)]); | ||
return _c('div', [_vm._ssrNode("<footer>", "</footer>", [_vm._ssrNode((_vm.showPrev ? "<button data-test=\"nav-prev\" class=\"tertiary-control\">Prev</button>" : "<!---->") + " "), _vm._t("footer"), _vm._ssrNode(" " + (_vm.showFinish ? "<button" + _vm._ssrAttr("disabled", _vm.disableFinish) + " data-test=\"nav-finish\" class=\"primary\">Finish</button>" : "<!---->") + " " + (_vm.showNext ? "<button" + _vm._ssrAttr("disabled", _vm.disableNext) + " data-test=\"nav-next\" class=\"primary\">Next</button>" : "<!---->") + " <button data-test=\"nav-cancel\">Cancel</button>")], 2)]); | ||
}; | ||
var __vue_staticRenderFns__$1 = []; | ||
var __vue_staticRenderFns__$1 = []; | ||
/* style */ | ||
var __vue_inject_styles__$1 = undefined; | ||
/* scoped */ | ||
var __vue_scope_id__$1 = undefined; | ||
/* module identifier */ | ||
var __vue_module_identifier__$1 = "data-v-0b0b8ea8"; | ||
var __vue_module_identifier__$1 = "data-v-19778bfd"; | ||
/* functional template */ | ||
var __vue_is_functional_template__$1 = false; | ||
@@ -332,2 +307,3 @@ /* style inject */ | ||
// | ||
var script = { | ||
@@ -340,3 +316,2 @@ name: 'loading-screen', | ||
moduleName: String, | ||
/** | ||
@@ -362,3 +337,2 @@ * Custom function to be called after a 2 second wait (default is | ||
var _this = this; | ||
setTimeout(function () { | ||
@@ -370,26 +344,19 @@ _this.finish(); | ||
var __vue_script__ = script; | ||
/* template */ | ||
var __vue_render__ = function __vue_render__() { | ||
var _vm = this; | ||
var _h = _vm.$createElement; | ||
var _c = _vm._self._c || _h; | ||
return _c('div', [_vm._ssrNode("<header>" + _vm._ssrEscape("\n " + _vm._s(_vm.moduleName) + "\n ") + "</header> <section><span class=\"loading\"></span>" + _vm._ssrEscape(" We're setting up your " + _vm._s(_vm.moduleName) + " step now.\n ") + "</section>")]); | ||
}; | ||
var __vue_staticRenderFns__ = []; | ||
var __vue_staticRenderFns__ = []; | ||
/* style */ | ||
var __vue_inject_styles__ = undefined; | ||
/* scoped */ | ||
var __vue_scope_id__ = undefined; | ||
/* module identifier */ | ||
var __vue_module_identifier__ = "data-v-351fb316"; | ||
/* functional template */ | ||
var __vue_is_functional_template__ = false; | ||
@@ -405,3 +372,4 @@ /* style inject */ | ||
staticRenderFns: __vue_staticRenderFns__ | ||
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);/* eslint-disable import/prefer-default-export */var components=/*#__PURE__*/Object.freeze({__proto__:null,Navigation:__vue_component__$1,LoadingScreen:__vue_component__});var install = function installLeadconduitIntegrationComponents(Vue) { | ||
}, __vue_inject_styles__, __vue_script__, __vue_scope_id__, __vue_is_functional_template__, __vue_module_identifier__, false, undefined, undefined, undefined);/* eslint-disable import/prefer-default-export */var components=/*#__PURE__*/Object.freeze({__proto__:null,Navigation:__vue_component__$1,LoadingScreen:__vue_component__});// install function executed by Vue.use() | ||
var install = function installLeadconduitIntegrationComponents(Vue) { | ||
if (install.installed) return; | ||
@@ -411,20 +379,18 @@ install.installed = true; | ||
var _ref2 = _slicedToArray(_ref, 2), | ||
componentName = _ref2[0], | ||
component = _ref2[1]; | ||
componentName = _ref2[0], | ||
component = _ref2[1]; | ||
Vue.component(componentName, component); | ||
}); | ||
}; // Create module definition for Vue.use() | ||
}; | ||
// Create module definition for Vue.use() | ||
var plugin = { | ||
install: install | ||
}; // To auto-install on non-es builds, when vue is found | ||
}; | ||
// To auto-install on non-es builds, when vue is found | ||
// eslint-disable-next-line no-redeclare | ||
/* global window, global */ | ||
{ | ||
var GlobalVue = null; | ||
if (typeof window !== 'undefined') { | ||
@@ -435,7 +401,5 @@ GlobalVue = window.Vue; | ||
} | ||
if (GlobalVue) { | ||
GlobalVue.use(plugin); | ||
} | ||
} // Default export is library as a whole, registered via Vue.use() | ||
exports.LoadingScreen=__vue_component__;exports.Navigation=__vue_component__$1;exports["default"]=plugin; | ||
}exports.LoadingScreen=__vue_component__;exports.Navigation=__vue_component__$1;exports["default"]=plugin; |
{ | ||
"name": "@activeprospect/integration-components", | ||
"version": "3.0.1", | ||
"version": "3.0.2", | ||
"description": "A Vue component library for LeadConduit integrations", | ||
@@ -5,0 +5,0 @@ "main": "dist/leadconduit-integration-components.ssr.js", |
Sorry, the diff of this file is not supported yet
725
42190