@hpcc-js/common
Advanced tools
Comparing version 0.0.33 to 0.0.34
@@ -67,3 +67,2 @@ import { PropertyExt } from "./PropertyExt"; | ||
grid(_?: any): any; | ||
hipieMapSortArray(sort: any): any; | ||
hipieMappings(columns: any, missingDataString: any): any[]; | ||
@@ -70,0 +69,0 @@ legacyView(): LegacyView; |
@@ -338,19 +338,2 @@ import * as tslib_1 from "tslib"; | ||
// Hipie Helpers --- | ||
Grid.prototype.hipieMapSortArray = function (sort) { | ||
return sort.map(function (sortField) { | ||
var reverse = false; | ||
if (sortField.indexOf("-") === 0) { | ||
sortField = sortField.substring(1); | ||
reverse = true; | ||
} | ||
var field = this.fieldByLabel(sortField, true); | ||
if (!field) { | ||
console.log("Grid.prototype.hipieMapSortArray: Invalid sort array - " + sortField); | ||
} | ||
return { | ||
idx: field ? field.idx : -1, | ||
reverse: reverse | ||
}; | ||
}, this).filter(function (d) { return d.idx >= 0; }); | ||
}; | ||
Grid.prototype.hipieMappings = function (columns, missingDataString) { | ||
@@ -357,0 +340,0 @@ missingDataString = missingDataString || ""; |
@@ -67,3 +67,2 @@ import { PropertyExt } from "./PropertyExt"; | ||
grid(_?: any): any; | ||
hipieMapSortArray(sort: any): any; | ||
hipieMappings(columns: any, missingDataString: any): any[]; | ||
@@ -70,0 +69,0 @@ legacyView(): LegacyView; |
@@ -349,19 +349,2 @@ (function (factory) { | ||
// Hipie Helpers --- | ||
Grid.prototype.hipieMapSortArray = function (sort) { | ||
return sort.map(function (sortField) { | ||
var reverse = false; | ||
if (sortField.indexOf("-") === 0) { | ||
sortField = sortField.substring(1); | ||
reverse = true; | ||
} | ||
var field = this.fieldByLabel(sortField, true); | ||
if (!field) { | ||
console.log("Grid.prototype.hipieMapSortArray: Invalid sort array - " + sortField); | ||
} | ||
return { | ||
idx: field ? field.idx : -1, | ||
reverse: reverse | ||
}; | ||
}, this).filter(function (d) { return d.idx >= 0; }); | ||
}; | ||
Grid.prototype.hipieMappings = function (columns, missingDataString) { | ||
@@ -368,0 +351,0 @@ missingDataString = missingDataString || ""; |
{ | ||
"name": "@hpcc-js/common", | ||
"version": "0.0.33", | ||
"version": "0.0.34", | ||
"description": "hpcc-js - Viz Common", | ||
@@ -23,3 +23,2 @@ "main": "lib/index.js", | ||
"dependencies": { | ||
"@hpcc-js/util": "^0.0.30", | ||
"colorbrewer": "^1.0.0", | ||
@@ -42,3 +41,3 @@ "d3-array": "^1.2.0", | ||
"devDependencies": { | ||
"@hpcc-js/bundle": "^0.0.6", | ||
"@hpcc-js/bundle": "^0.0.7", | ||
"cpx": "^1.5.0", | ||
@@ -45,0 +44,0 @@ "rimraf": "^2.6.1", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
4422417
15
26844
- Removed@hpcc-js/util@^0.0.30
- Removed@hpcc-js/util@0.0.30(transitive)