Comparing version 1.4.2 to 1.4.3
import D3Chart from '../D3Chart'; | ||
import { ChartOpts, Item } from '../interface'; | ||
/** | ||
* @public | ||
*/ | ||
export interface Value extends Item { | ||
@@ -10,5 +7,2 @@ label: string; | ||
} | ||
/** | ||
* @public | ||
*/ | ||
export interface LabelOpts extends ChartOpts { | ||
@@ -15,0 +9,0 @@ data: Value[]; |
@@ -16,4 +16,4 @@ "use strict"; | ||
var D3Chart_1 = require("../D3Chart"); | ||
var Def = require("../common/DefUtil"); | ||
var utils_1 = require("../../../../vap/utils"); | ||
var DEFS = require('./defs.html'); | ||
var Formats = { | ||
@@ -80,3 +80,3 @@ number: function (from, to, p) { return Math.floor(from + p * (to - from)); }, | ||
this.SVG.attr('class', '_vc_label'); | ||
this.SVG.append('defs').html(DEFS); | ||
this.SVG.append('defs').html(Def.BuildShadow()); | ||
if (_.has(this.props, 'format') && _.has(Formats, this.props.format)) { | ||
@@ -83,0 +83,0 @@ this.format = Formats[this.props.format]; |
@@ -55,3 +55,3 @@ "use strict"; | ||
var topojson = require("topojson"); | ||
var DEFS = require('./__Base_defs.html'); | ||
var MapDEF_1 = require("./MapDEF"); | ||
var theme = utils_1.Page.theme(); | ||
@@ -147,3 +147,3 @@ /** | ||
this.THEIGHT = this.HEIGHT / this.PHEIGHT; | ||
this.SVG.append('defs').html(DEFS); | ||
this.SVG.append('defs').html(MapDEF_1.default); | ||
this.BkgGroup = this.SVG.append('g').attr('class', '_group_bkg'); | ||
@@ -150,0 +150,0 @@ ; |
{ | ||
"name": "vap", | ||
"version": "1.4.2", | ||
"version": "1.4.3", | ||
"description": "vap", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
241984
105
6251