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

@easyv/config

Package Overview
Dependencies
Maintainers
8
Versions
115
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@easyv/config - npm Package Compare versions

Comparing version 1.0.21 to 1.0.23

0

index.js
const config = require('./lib');
module.exports = config;

@@ -0,0 +0,0 @@ "use strict";

56

lib/label.js

@@ -132,3 +132,11 @@ "use strict";

show: true,
suffix: '',
suffix: {
show: false,
text: '',
fontSize: 12,
translate: {
x: 0,
y: 0
}
},
font: defaultFont

@@ -171,4 +179,16 @@ }

showValue = _ref2$value$show === void 0 ? defaultLabelOfPie.value.show : _ref2$value$show,
_ref2$value$suffix = _ref2$value.suffix,
suffix = _ref2$value$suffix === void 0 ? defaultLabelOfPie.value.suffix : _ref2$value$suffix,
_ref2$value$suffix = _ref2$value.suffix;
_ref2$value$suffix = _ref2$value$suffix === void 0 ? defaultLabelOfPie.value.suffix : _ref2$value$suffix;
var _ref2$value$suffix$sh = _ref2$value$suffix.show,
showSuffix = _ref2$value$suffix$sh === void 0 ? defaultLabelOfPie.value.suffix.show : _ref2$value$suffix$sh,
_ref2$value$suffix$te = _ref2$value$suffix.text,
suffixText = _ref2$value$suffix$te === void 0 ? defaultLabelOfPie.value.suffix.text : _ref2$value$suffix$te,
_ref2$value$suffix$fo = _ref2$value$suffix.fontSize,
suffixFontSize = _ref2$value$suffix$fo === void 0 ? defaultLabelOfPie.value.suffix.fontSize : _ref2$value$suffix$fo,
_ref2$value$suffix$tr = _ref2$value$suffix.translate;
_ref2$value$suffix$tr = _ref2$value$suffix$tr === void 0 ? defaultLabelOfPie.value.suffix.translate : _ref2$value$suffix$tr;
var _ref2$value$suffix$tr2 = _ref2$value$suffix$tr.x,
suffixTranslateX = _ref2$value$suffix$tr2 === void 0 ? defaultLabelOfPie.value.suffix.translate.x : _ref2$value$suffix$tr2,
_ref2$value$suffix$tr3 = _ref2$value$suffix$tr.y,
suffixTranslateY = _ref2$value$suffix$tr3 === void 0 ? defaultLabelOfPie.value.suffix.translate.y : _ref2$value$suffix$tr3,
_ref2$value$font = _ref2$value.font,

@@ -274,4 +294,25 @@ valueFont = _ref2$value$font === void 0 ? defaultLabelOfPie.value.font : _ref2$value$font;

displayName: '后缀',
value: suffix,
type: 'input'
value: [{
name: 'show',
displayName: '显示',
value: showSuffix,
type: 'boolean'
}, {
rule: [['show', '$eq', true]],
name: 'text',
displayName: '内容',
value: suffixText,
type: 'input'
}, {
rule: [['show', '$eq', true]],
name: 'fontSize',
displayName: '字号',
value: suffixFontSize,
type: 'number'
}, _objectSpread({
rule: [['show', '$eq', true]]
}, (0, _.translate)(suffixTranslateX, suffixTranslateY))],
config: {
defaultOpen: true
}
}, {

@@ -284,6 +325,3 @@ rule: [['show', '$eq', true]],

}]
}],
config: {
defaultOpen: true
}
}]
};

@@ -290,0 +328,0 @@ };

@@ -610,3 +610,20 @@ "use strict";

mapping: _mapping,
color: '#ffffff'
color: {
type: 'linear',
pure: '#fff',
linear: {
stops: [{
offset: 0,
color: '#fff'
}, {
offset: 50,
color: '#ff0'
}, {
offset: 100,
color: '#f0f'
}],
angle: 30,
opacity: 1
}
}
};

@@ -635,5 +652,5 @@

name: 'color',
displayName: '填充',
value: color,
type: 'color'
displayName: '颜色',
type: 'multicolor',
value: color
}],

@@ -640,0 +657,0 @@ type: 'object'

2

package.json
{
"name": "@easyv/config",
"version": "1.0.21",
"version": "1.0.23",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.js",

@@ -0,0 +0,0 @@ import { show as showConfig } from './';

@@ -0,0 +0,0 @@ import { gridLine, tickLine, axisLine, extent, unit, translate, font } from '.';

@@ -0,0 +0,0 @@ const axisLine = {

@@ -0,0 +0,0 @@ const defaultBrush = {

@@ -0,0 +0,0 @@ const defaultDimension = {

@@ -0,0 +0,0 @@ const extent = {

@@ -0,0 +0,0 @@ const defaultFont = {

@@ -0,0 +0,0 @@ const gridLine = {

@@ -0,0 +0,0 @@ import show from './show';

@@ -0,0 +0,0 @@ /**

@@ -86,3 +86,12 @@ import { translate, font } from '.';

percent: { show: true, precision: 0, font: defaultFont },
value: { show: true, suffix: '', font: defaultFont },
value: {
show: true,
suffix: {
show: false,
text: '',
fontSize: 12,
translate: { x: 0, y: 0 },
},
font: defaultFont,
},
};

@@ -106,3 +115,11 @@ export const labelOfPie = ({

show: showValue = defaultLabelOfPie.value.show,
suffix = defaultLabelOfPie.value.suffix,
suffix: {
show: showSuffix = defaultLabelOfPie.value.suffix.show,
text: suffixText = defaultLabelOfPie.value.suffix.text,
fontSize: suffixFontSize = defaultLabelOfPie.value.suffix.fontSize,
translate: {
x: suffixTranslateX = defaultLabelOfPie.value.suffix.translate.x,
y: suffixTranslateY = defaultLabelOfPie.value.suffix.translate.y,
} = defaultLabelOfPie.value.suffix.translate,
} = defaultLabelOfPie.value.suffix,
font: valueFont = defaultLabelOfPie.value.font,

@@ -229,4 +246,31 @@ } = defaultLabelOfPie.value,

displayName: '后缀',
value: suffix,
type: 'input',
value: [
{
name: 'show',
displayName: '显示',
value: showSuffix,
type: 'boolean',
},
{
rule: [['show', '$eq', true]],
name: 'text',
displayName: '内容',
value: suffixText,
type: 'input',
},
{
rule: [['show', '$eq', true]],
name: 'fontSize',
displayName: '字号',
value: suffixFontSize,
type: 'number',
},
{
rule: [['show', '$eq', true]],
...translate(suffixTranslateX, suffixTranslateY),
},
],
config: {
defaultOpen: true,
},
},

@@ -242,6 +286,3 @@ {

},
],
config: {
defaultOpen: true,
},
]
});

@@ -0,0 +0,0 @@ const { translate: translateConfig, font, show: showConfig } = require('.');

@@ -0,0 +0,0 @@ const defaultMapping = { fieldName: '', displayName: '' };

@@ -0,0 +0,0 @@ const defaultMargin = {

@@ -0,0 +0,0 @@ import { font, show as showConfig, translate as translateConfig } from './';

@@ -561,3 +561,15 @@ import { mapping, label } from '.';

mapping: _mapping,
color: '#ffffff',
color: {
type: 'linear',
pure: '#fff',
linear: {
stops: [
{ offset: 0, color: '#fff' },
{ offset: 50, color: '#ff0' },
{ offset: 100, color: '#f0f' },
],
angle: 30,
opacity: 1,
},
},
};

@@ -581,5 +593,5 @@

name: 'color',
displayName: '填充',
displayName: '颜色',
type: 'multicolor',
value: color,
type: 'color',
},

@@ -586,0 +598,0 @@ ],

@@ -0,0 +0,0 @@ export default (show = false) => ({

@@ -0,0 +0,0 @@ const defaultTickLine = {

@@ -0,0 +0,0 @@ import { translate, margin } from '.';

@@ -0,0 +0,0 @@ export default (x = 0, y = 0) => ({

@@ -0,0 +0,0 @@ const { translate } = require('.');

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