New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

vgauge

Package Overview
Dependencies
Maintainers
1
Versions
33
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vgauge - npm Package Compare versions

Comparing version 1.0.6 to 1.0.8

8

dist/VGauge.esm.js

@@ -7,2 +7,6 @@ import { Gauge } from 'gaugeJS/dist/gauge.min';

props: {
name:{
required: false,
type: String
},
decimalPlace: {

@@ -84,3 +88,3 @@ type: Number,

this.gauge.setTextField(
document.getElementById("gauge-value"),
this.$refs['gauge-value'],
this.decimalPlace

@@ -182,3 +186,3 @@ );

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.top)?_c('p',{class:_vm.gaugeValueClass,attrs:{"id":"gauge-value"}}):_vm._e(),_vm._v(" "),_c('canvas',{ref:"gauge",attrs:{"id":"gauge"}}),_vm._v(" "),(!_vm.top)?_c('p',{class:_vm.gaugeValueClass,attrs:{"id":"gauge-value"}}):_vm._e()])};
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.top)?_c('p',{ref:"gauge-value",class:_vm.gaugeValueClass}):_vm._e(),_vm._v(" "),_c('canvas',{ref:"gauge"}),_vm._v(" "),(!_vm.top)?_c('p',{ref:"gauge-value",class:_vm.gaugeValueClass}):_vm._e()])};
var __vue_staticRenderFns__ = [];

@@ -185,0 +189,0 @@

@@ -1,1 +0,1 @@

var VGauge=function(e,t){"use strict";function a(e,t,a,n,i,u,o,s,l,r){"boolean"!=typeof o&&(l=s,s=o,o=!1);var d="function"==typeof a?a.options:a;e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),n&&(d._scopeId=n);var g;if(u?(g=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(u)},d._ssrRegister=g):t&&(g=o?function(){t.call(this,r(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),g)if(d.functional){var c=d.render;d.render=function(e,t){return g.call(t),c(e,t)}}else{var p=d.beforeCreate;d.beforeCreate=p?[].concat(p,g):[g]}return a}function n(e){n.installed||(n.installed=!0,e.component("VGauge",i))}var i=a({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.top?a("p",{class:e.gaugeValueClass,attrs:{id:"gauge-value"}}):e._e(),e._v(" "),a("canvas",{ref:"gauge",attrs:{id:"gauge"}}),e._v(" "),e.top?e._e():a("p",{class:e.gaugeValueClass,attrs:{id:"gauge-value"}})])},staticRenderFns:[]},void 0,{name:"VGauge",props:{decimalPlace:{type:Number,default:0},gaugeValueClass:{type:String,default:""},top:{type:Boolean,default:!1},maxValue:{type:Number,default:100},minValue:{type:Number,default:0},options:{type:Object,default:function(){return{angle:.15,lineWidth:.44,radiusScale:1,pointer:{length:.6,strokeWidth:.035,color:"#000000"},limitMax:!1,limitMin:!1,colorStart:"#6FADCF",colorStop:"#8FC0DA",strokeColor:"#E0E0E0",generateGradient:!0,highDpiSupport:!0}}},animationSpeed:{type:Number,default:10},initialValue:{type:Number,default:0},value:{type:Number,default:50}},data:function(){return{gauge:null}},mounted:function(){this.initializeGauge()},watch:{value:function(e){this.gauge.set(e)}},methods:{initializeGauge:function(){this.gauge=new t.Gauge(this.$refs.gauge),this.gauge.maxValue=this.maxValue,this.gauge.setMinValue(this.minValue),this.gauge.animationSpeed=this.animationSpeed,this.gauge.setOptions(this.options),this.gauge.setTextField(document.getElementById("gauge-value"),this.decimalPlace),this.gauge.set(this.value)}}},void 0,!1,void 0,void 0,void 0),u={install:n},o=null;return"undefined"!=typeof window?o=window.Vue:"undefined"!=typeof global&&(o=global.Vue),o&&o.use(u),i.install=n,e.default=i,e}({},gauge_min);
var VGauge=function(e,t){"use strict";function a(e,t,a,n,i,u,o,s,l,r){"boolean"!=typeof o&&(l=s,s=o,o=!1);var d="function"==typeof a?a.options:a;e&&e.render&&(d.render=e.render,d.staticRenderFns=e.staticRenderFns,d._compiled=!0,i&&(d.functional=!0)),n&&(d._scopeId=n);var g;if(u?(g=function(e){(e=e||this.$vnode&&this.$vnode.ssrContext||this.parent&&this.parent.$vnode&&this.parent.$vnode.ssrContext)||"undefined"==typeof __VUE_SSR_CONTEXT__||(e=__VUE_SSR_CONTEXT__),t&&t.call(this,l(e)),e&&e._registeredComponents&&e._registeredComponents.add(u)},d._ssrRegister=g):t&&(g=o?function(){t.call(this,r(this.$root.$options.shadowRoot))}:function(e){t.call(this,s(e))}),g)if(d.functional){var c=d.render;d.render=function(e,t){return g.call(t),c(e,t)}}else{var f=d.beforeCreate;d.beforeCreate=f?[].concat(f,g):[g]}return a}function n(e){n.installed||(n.installed=!0,e.component("VGauge",i))}var i=a({render:function(){var e=this,t=e.$createElement,a=e._self._c||t;return a("div",[e.top?a("p",{ref:"gauge-value",class:e.gaugeValueClass}):e._e(),e._v(" "),a("canvas",{ref:"gauge"}),e._v(" "),e.top?e._e():a("p",{ref:"gauge-value",class:e.gaugeValueClass})])},staticRenderFns:[]},void 0,{name:"VGauge",props:{name:{required:!1,type:String},decimalPlace:{type:Number,default:0},gaugeValueClass:{type:String,default:""},top:{type:Boolean,default:!1},maxValue:{type:Number,default:100},minValue:{type:Number,default:0},options:{type:Object,default:function(){return{angle:.15,lineWidth:.44,radiusScale:1,pointer:{length:.6,strokeWidth:.035,color:"#000000"},limitMax:!1,limitMin:!1,colorStart:"#6FADCF",colorStop:"#8FC0DA",strokeColor:"#E0E0E0",generateGradient:!0,highDpiSupport:!0}}},animationSpeed:{type:Number,default:10},initialValue:{type:Number,default:0},value:{type:Number,default:50}},data:function(){return{gauge:null}},mounted:function(){this.initializeGauge()},watch:{value:function(e){this.gauge.set(e)}},methods:{initializeGauge:function(){this.gauge=new t.Gauge(this.$refs.gauge),this.gauge.maxValue=this.maxValue,this.gauge.setMinValue(this.minValue),this.gauge.animationSpeed=this.animationSpeed,this.gauge.setOptions(this.options),this.gauge.setTextField(this.$refs["gauge-value"],this.decimalPlace),this.gauge.set(this.value)}}},void 0,!1,void 0,void 0,void 0),u={install:n},o=null;return"undefined"!=typeof window?o=window.Vue:"undefined"!=typeof global&&(o=global.Vue),o&&o.use(u),i.install=n,e.default=i,e}({},gauge_min);

@@ -11,2 +11,6 @@ (function (global, factory) {

props: {
name:{
required: false,
type: String
},
decimalPlace: {

@@ -88,3 +92,3 @@ type: Number,

this.gauge.setTextField(
document.getElementById("gauge-value"),
this.$refs['gauge-value'],
this.decimalPlace

@@ -186,3 +190,3 @@ );

/* template */
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.top)?_c('p',{class:_vm.gaugeValueClass,attrs:{"id":"gauge-value"}}):_vm._e(),_vm._v(" "),_c('canvas',{ref:"gauge",attrs:{"id":"gauge"}}),_vm._v(" "),(!_vm.top)?_c('p',{class:_vm.gaugeValueClass,attrs:{"id":"gauge-value"}}):_vm._e()])};
var __vue_render__ = function () {var _vm=this;var _h=_vm.$createElement;var _c=_vm._self._c||_h;return _c('div',[(_vm.top)?_c('p',{ref:"gauge-value",class:_vm.gaugeValueClass}):_vm._e(),_vm._v(" "),_c('canvas',{ref:"gauge"}),_vm._v(" "),(!_vm.top)?_c('p',{ref:"gauge-value",class:_vm.gaugeValueClass}):_vm._e()])};
var __vue_staticRenderFns__ = [];

@@ -189,0 +193,0 @@

{
"name": "vgauge",
"version": "1.0.6",
"version": "1.0.8",
"description": "",

@@ -16,3 +16,3 @@ "main": "dist/VGauge.umd.js",

"scripts": {
"build": "npm run build:unpkg & npm run build:es & npm run build:umd",
"build": "npm run build:unpkg & npm run build:es & npm run build:umd & npm publish",
"build:umd": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format umd --file dist/VGauge.umd.js",

@@ -19,0 +19,0 @@ "build:es": "cross-env NODE_ENV=production rollup --config build/rollup.config.js --format es --file dist/VGauge.esm.js",

Sorry, the diff of this file is not supported yet

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