@hpcc-js/common 2.68.1 → 2.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.es6.js +17 -3
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +17 -3
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/package.json +3 -3
- package/src/Class.ts +1 -1
- package/src/Database.ts +4 -4
- package/src/Widget.ts +18 -0
- package/src/__package__.ts +2 -2
- package/types/Database.d.ts +2 -2
- package/types/Database.d.ts.map +1 -1
- package/types/Widget.d.ts +4 -0
- package/types/Widget.d.ts.map +1 -1
- package/types/__package__.d.ts +2 -2
- package/types-3.4/Database.d.ts +2 -2
- package/types-3.4/Widget.d.ts +4 -0
- package/types-3.4/__package__.d.ts +2 -2
package/dist/index.es6.js
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { classID2Meta, hashSum, isArray } from '@hpcc-js/util';
|
|
2
2
|
|
|
3
3
|
var PKG_NAME = "@hpcc-js/common";
|
|
4
|
-
var PKG_VERSION = "2.
|
|
5
|
-
var BUILD_VERSION = "2.
|
|
4
|
+
var PKG_VERSION = "2.71.0";
|
|
5
|
+
var BUILD_VERSION = "2.104.0";
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -5783,7 +5783,7 @@ var Class = /** @class */ (function () {
|
|
|
5783
5783
|
};
|
|
5784
5784
|
Class.prototype.overrideMethod = function (methodID, newMethod) {
|
|
5785
5785
|
if (this[methodID] === undefined) {
|
|
5786
|
-
throw new Error("Method: "
|
|
5786
|
+
throw new Error("Method: ".concat(methodID.toString(), " does not exist."));
|
|
5787
5787
|
}
|
|
5788
5788
|
var origMethod = this[methodID];
|
|
5789
5789
|
this[methodID] = function () {
|
|
@@ -8185,10 +8185,24 @@ var Widget = /** @class */ (function (_super) {
|
|
|
8185
8185
|
}
|
|
8186
8186
|
return _this;
|
|
8187
8187
|
}
|
|
8188
|
+
Widget.prototype.columnChecksum = function () {
|
|
8189
|
+
return this._db.fieldsChecksum();
|
|
8190
|
+
};
|
|
8191
|
+
Widget.prototype.dataChecksum = function () {
|
|
8192
|
+
return this._db.dataChecksum();
|
|
8193
|
+
};
|
|
8188
8194
|
Widget.prototype.importJSON = function (_) {
|
|
8189
8195
|
this._db.json(_);
|
|
8190
8196
|
return this;
|
|
8191
8197
|
};
|
|
8198
|
+
Widget.prototype.importCSV = function (_) {
|
|
8199
|
+
this._db.csv(_);
|
|
8200
|
+
return this;
|
|
8201
|
+
};
|
|
8202
|
+
Widget.prototype.importTSV = function (_) {
|
|
8203
|
+
this._db.tsv(_);
|
|
8204
|
+
return this;
|
|
8205
|
+
};
|
|
8192
8206
|
Widget.prototype.export = function (_) {
|
|
8193
8207
|
if (_ === void 0) { _ = "JSON"; }
|
|
8194
8208
|
switch (_) {
|