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
11
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.1.31 to 1.1.32

0

lib/baseLine.js

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

133

lib/label.js

@@ -98,3 +98,3 @@ "use strict";

}, _objectSpread({
_rule: [['show', '$eq', true]]
_rule: [["show", "$eq", true]]
}, (0, _.translate)(x, y))].filter(function (item) {

@@ -691,9 +691,9 @@ return !!item;

_ref5$show = _ref5.show,
showLabel = _ref5$show === void 0 ? defaultValueAxisLabel.show : _ref5$show,
_ref5$extent = _ref5.extent;
_ref5$extent = _ref5$extent === void 0 ? defaultValueAxisLabel.extent : _ref5$extent;
var _ref5$extent$min = _ref5$extent.min,
min = _ref5$extent$min === void 0 ? defaultValueAxisLabel.extent.min : _ref5$extent$min,
_ref5$extent$max = _ref5$extent.max,
max = _ref5$extent$max === void 0 ? defaultValueAxisLabel.extent.max : _ref5$extent$max,
showLabel = _ref5$show === void 0 ? defaultClipValueAxisLabel.show : _ref5$show,
_ref5$extent = _ref5.extent,
_ref5$extent2 = _ref5$extent === void 0 ? defaultClipValueAxisLabel.extent : _ref5$extent,
_ref5$extent2$min = _ref5$extent2.min,
min = _ref5$extent2$min === void 0 ? defaultClipValueAxisLabel.extent.min : _ref5$extent2$min,
_ref5$extent2$max = _ref5$extent2.max,
max = _ref5$extent2$max === void 0 ? defaultClipValueAxisLabel.extent.max : _ref5$extent2$max,
_ref5$auto = _ref5.auto,

@@ -710,9 +710,9 @@ auto = _ref5$auto === void 0 ? defaultClipValueAxisLabel.auto : _ref5$auto,

_ref5$suffix = _ref5.suffix,
suffix = _ref5$suffix === void 0 ? defaultValueAxisLabel.suffix : _ref5$suffix,
_ref5$translate = _ref5.translate;
_ref5$translate = _ref5$translate === void 0 ? defaultValueAxisLabel.translate : _ref5$translate;
var _ref5$translate$x = _ref5$translate.x,
labelTranslateX = _ref5$translate$x === void 0 ? defaultValueAxisLabel.translate.x : _ref5$translate$x,
_ref5$translate$y = _ref5$translate.y,
labelTranslateY = _ref5$translate$y === void 0 ? defaultValueAxisLabel.translate.y : _ref5$translate$y,
suffix = _ref5$suffix === void 0 ? defaultClipValueAxisLabel.suffix : _ref5$suffix,
_ref5$translate = _ref5.translate,
_ref5$translate2 = _ref5$translate === void 0 ? defaultClipValueAxisLabel.translate : _ref5$translate,
_ref5$translate2$x = _ref5$translate2.x,
labelTranslateX = _ref5$translate2$x === void 0 ? defaultClipValueAxisLabel.translate.x : _ref5$translate2$x,
_ref5$translate2$y = _ref5$translate2.y,
labelTranslateY = _ref5$translate2$y === void 0 ? defaultClipValueAxisLabel.translate.y : _ref5$translate2$y,
_ref5$font = _ref5.font,

@@ -841,6 +841,107 @@ labelFont = _ref5$font === void 0 ? defaultClipValueAxisLabel.font : _ref5$font;

value: labelFont,
type: 'textStyle'
type: "textStyle"
}]
};
};
exports.valueCilpAsixLabel = valueCilpAsixLabel;
var valueAsixLabel = function valueAsixLabel() {
var _ref6 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : defaultValueAxisLabel,
_ref6$show = _ref6.show,
showLabel = _ref6$show === void 0 ? defaultValueAxisLabel.show : _ref6$show,
_ref6$extent = _ref6.extent,
_ref6$extent2 = _ref6$extent === void 0 ? defaultValueAxisLabel.extent : _ref6$extent,
_ref6$extent2$min = _ref6$extent2.min,
min = _ref6$extent2$min === void 0 ? defaultValueAxisLabel.extent.min : _ref6$extent2$min,
_ref6$extent2$max = _ref6$extent2.max,
max = _ref6$extent2$max === void 0 ? defaultValueAxisLabel.extent.max : _ref6$extent2$max,
_ref6$auto = _ref6.auto,
auto = _ref6$auto === void 0 ? defaultValueAxisLabel.auto : _ref6$auto,
_ref6$mode = _ref6.mode,
mode = _ref6$mode === void 0 ? defaultValueAxisLabel.mode : _ref6$mode,
_ref6$count = _ref6.count,
count = _ref6$count === void 0 ? defaultValueAxisLabel.count : _ref6$count,
_ref6$step = _ref6.step,
step = _ref6$step === void 0 ? defaultValueAxisLabel.step : _ref6$step,
_ref6$decimal = _ref6.decimal,
decimal = _ref6$decimal === void 0 ? defaultValueAxisLabel.decimal : _ref6$decimal,
_ref6$suffix = _ref6.suffix,
suffix = _ref6$suffix === void 0 ? defaultValueAxisLabel.suffix : _ref6$suffix,
_ref6$translate = _ref6.translate,
_ref6$translate2 = _ref6$translate === void 0 ? defaultValueAxisLabel.translate : _ref6$translate,
_ref6$translate2$x = _ref6$translate2.x,
labelTranslateX = _ref6$translate2$x === void 0 ? defaultValueAxisLabel.translate.x : _ref6$translate2$x,
_ref6$translate2$y = _ref6$translate2.y,
labelTranslateY = _ref6$translate2$y === void 0 ? defaultValueAxisLabel.translate.y : _ref6$translate2$y,
_ref6$font = _ref6.font,
labelFont = _ref6$font === void 0 ? defaultValueAxisLabel.font : _ref6$font;
return {
name: "label",
displayName: "轴标签",
value: [{
name: "show",
displayName: "显示",
value: showLabel,
type: "boolean"
}, _objectSpread({
rule: [["show", "$eq", true]]
}, (0, _.extent)({
min: min,
max: max
})), {
rule: [["show", "$eq", true]],
name: "auto",
displayName: "刻度自适应",
value: auto,
type: "boolean"
}, {
rule: [["show", "$eq", true], ["auto", "$eq", false]],
name: "mode",
displayName: "模式",
value: mode,
type: "radio",
config: {
options: [{
name: "数量强制",
value: "count"
}, {
name: "步长强制",
value: "step"
}]
}
}, {
rule: [["show", "$eq", true], ["auto", "$eq", false], ["mode", "$eq", "count"]],
name: "count",
displayName: "标签数量",
value: count,
min: 2,
type: "number"
}, {
rule: [["show", "$eq", true], ["auto", "$eq", false], ["mode", "$eq", "step"]],
name: "step",
displayName: "步长",
value: step,
type: "number"
}, {
rule: [["show", "$eq", true]],
name: "decimal",
displayName: "小数位数",
value: decimal,
type: "number"
}, {
rule: [["show", "$eq", true]],
name: "suffix",
displayName: "后缀内容",
value: suffix,
type: "input"
}, _objectSpread({
rule: [["show", "$eq", true]]
}, (0, _.translate)(labelTranslateX, labelTranslateY)), {
rule: [["show", "$eq", true]],
name: "font",
displayName: "文本样式",
value: labelFont,
type: "textStyle"
}]
};
};
exports.valueAsixLabel = valueAsixLabel;

2

package.json
{
"name": "@easyv/config",
"version": "1.1.31",
"version": "1.1.32",
"description": "",

@@ -5,0 +5,0 @@ "main": "index.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