gis-common 1.1.21 → 1.1.23
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/resource.min.js +9 -0
- package/package.json +1 -1
package/dist/resource.min.js
CHANGED
|
@@ -513,6 +513,15 @@ var MeasureMode = {
|
|
|
513
513
|
}
|
|
514
514
|
return value;
|
|
515
515
|
});
|
|
516
|
+
},
|
|
517
|
+
deleteEmptyProperty: function deleteEmptyProperty(data) {
|
|
518
|
+
var _this = this;
|
|
519
|
+
|
|
520
|
+
return Object.fromEntries(Object.keys(data).filter(function (d) {
|
|
521
|
+
return !_this.isEmpty(data[d]);
|
|
522
|
+
}).map(function (i) {
|
|
523
|
+
return [i, data[i]];
|
|
524
|
+
}));
|
|
516
525
|
}
|
|
517
526
|
});
|
|
518
527
|
// CONCATENATED MODULE: ./src/utils/ArrayUtils.js
|