@hpcc-js/common 2.69.0 → 2.70.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 +10 -2
- package/dist/index.es6.js.map +1 -1
- package/dist/index.js +10 -2
- 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/Database.ts +4 -4
- package/src/Widget.ts +10 -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 +2 -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 +2 -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.103.
|
|
4
|
+
var PKG_VERSION = "2.70.0";
|
|
5
|
+
var BUILD_VERSION = "2.103.5";
|
|
6
6
|
|
|
7
7
|
/*! *****************************************************************************
|
|
8
8
|
Copyright (c) Microsoft Corporation.
|
|
@@ -8195,6 +8195,14 @@ var Widget = /** @class */ (function (_super) {
|
|
|
8195
8195
|
this._db.json(_);
|
|
8196
8196
|
return this;
|
|
8197
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
|
+
};
|
|
8198
8206
|
Widget.prototype.export = function (_) {
|
|
8199
8207
|
if (_ === void 0) { _ = "JSON"; }
|
|
8200
8208
|
switch (_) {
|