Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@activeprospect/integration-components

Package Overview
Dependencies
Maintainers
22
Versions
13
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@activeprospect/integration-components - npm Package Compare versions

Comparing version 2.0.0 to 2.1.0

src/components/LoadingScreen.vue

87

dist/leadconduit-integration-components.esm.js

@@ -13,3 +13,3 @@ //

//
var script = {
var script$1 = {
props: {

@@ -222,6 +222,6 @@ /**

/* script */
const __vue_script__ = script;
const __vue_script__$1 = script$1;
/* template */
var __vue_render__ = function () {
var __vue_render__$1 = function () {
var _vm = this;

@@ -270,2 +270,74 @@

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;
/* style inject */
/* style inject SSR */
/* style inject shadow dom */
const __vue_component__$1 = /*#__PURE__*/normalizeComponent({
render: __vue_render__$1,
staticRenderFns: __vue_staticRenderFns__$1
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);
//
//
//
//
//
//
//
var script = {
name: 'loading-screen',
props: {
/**
* The name of the module this RUI belongs to, e.g. 'TowerData'
*/
moduleName: String,
/**
* The function to be called after a 2 second wait
*/
finish: {
type: Function,
default: undefined
}
},
mounted() {
setTimeout(() => {
this.$props.finish();
}, 2000);
}
};
/* script */
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('section', [_c('span', {
staticClass: "loading"
}), _vm._v(" We're setting up your " + _vm._s(_vm.moduleName) + " step now.\n ")])]);
};
var __vue_staticRenderFns__ = [];

@@ -299,3 +371,4 @@ /* style */

__proto__: null,
Navigation: __vue_component__
Navigation: __vue_component__$1,
LoadingScreen: __vue_component__
});

@@ -308,3 +381,4 @@

install.installed = true;
Object.entries(components).forEach(([componentName, component]) => {
Object.entries(components).forEach(_ref => {
let [componentName, component] = _ref;
Vue.component(componentName, component);

@@ -319,3 +393,2 @@ });

export default plugin;
export { __vue_component__ as Navigation };
export { __vue_component__ as LoadingScreen, __vue_component__$1 as Navigation, plugin as default };

2

dist/leadconduit-integration-components.min.js

@@ -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=t&&("undefined"!=typeof Symbol&&t[Symbol.iterator]||t["@@iterator"]);if(null==e)return;var o,r,i=[],s=!0,a=!1;try{for(e=e.call(t);!(s=(o=e.next()).done)&&(i.push(o.value),!n||i.length!==n);s=!0);}catch(t){a=!0,r=t}finally{try{s||null==e.return||e.return()}finally{if(a)throw r}}return i}(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,r,i,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,r&&(l.functional=!0)),o&&(l._scopeId=o),i?(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(i)},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 r=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},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}},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),i=Object.freeze({__proto__:null,Navigation:r}),s=function(t){s.installed||(s.installed=!0,Object.entries(i).forEach((function(e){var o=n(e,2),r=o[0],i=o[1];t.component(r,i)})))},a={install:s},c=null;return"undefined"!=typeof window?c=window.Vue:"undefined"!=typeof global&&(c=global.Vue),c&&c.use(a),t.Navigation=r,t.default=a,Object.defineProperty(t,"__esModule",{value:!0}),t}({});
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},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}},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("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,finish:{type:Function,default:void 0}},mounted:function(){var t=this;setTimeout((function(){t.$props.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}({});

@@ -10,3 +10,3 @@ 'use strict';Object.defineProperty(exports,'__esModule',{value:true});function _slicedToArray(arr, i) {

function _iterableToArrayLimit(arr, i) {
var _i = arr && (typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"]);
var _i = arr == null ? null : typeof Symbol !== "undefined" && arr[Symbol.iterator] || arr["@@iterator"];

@@ -71,3 +71,3 @@ if (_i == null) return;

//
var script = {
var script$1 = {
props: {

@@ -268,2 +268,68 @@ /**

}/* script */
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)]);
};
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-8b0548ee";
/* functional template */
var __vue_is_functional_template__$1 = false;
/* style inject */
/* style inject SSR */
/* style inject shadow dom */
var __vue_component__$1 = /*#__PURE__*/normalizeComponent({
render: __vue_render__$1,
staticRenderFns: __vue_staticRenderFns__$1
}, __vue_inject_styles__$1, __vue_script__$1, __vue_scope_id__$1, __vue_is_functional_template__$1, __vue_module_identifier__$1, false, undefined, undefined, undefined);//
//
//
//
//
//
//
var script = {
name: 'loading-screen',
props: {
/**
* The name of the module this RUI belongs to, e.g. 'TowerData'
*/
moduleName: String,
/**
* The function to be called after a 2 second wait
*/
finish: {
type: Function,
default: undefined
}
},
mounted: function mounted() {
var _this = this;
setTimeout(function () {
_this.$props.finish();
}, 2000);
}
};/* script */
var __vue_script__ = script;

@@ -279,3 +345,3 @@ /* template */

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("<section><span class=\"loading\"></span>" + _vm._ssrEscape(" We're setting up your " + _vm._s(_vm.moduleName) + " step now.\n ") + "</section>")]);
};

@@ -292,3 +358,3 @@

var __vue_module_identifier__ = "data-v-8b0548ee";
var __vue_module_identifier__ = "data-v-5e447c5b";
/* functional template */

@@ -306,3 +372,3 @@

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__});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__});var install = function installLeadconduitIntegrationComponents(Vue) {
if (install.installed) return;

@@ -340,2 +406,2 @@ install.installed = true;

} // Default export is library as a whole, registered via Vue.use()
exports.Navigation=__vue_component__;exports.default=plugin;
exports.LoadingScreen=__vue_component__;exports.Navigation=__vue_component__$1;exports["default"]=plugin;
{
"name": "@activeprospect/integration-components",
"version": "2.0.0",
"version": "2.1.0",
"description": "A Vue component library for LeadConduit integrations",

@@ -5,0 +5,0 @@ "main": "dist/leadconduit-integration-components.ssr.js",

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc