@hestia-earth/ui-components 0.0.6 → 0.0.7
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/auth/{public-api.d.ts → index.d.ts} +0 -0
- package/bibliographies/{public-api.d.ts → index.d.ts} +0 -0
- package/bundles/hestia-earth-ui-components.umd.js +69 -66
- package/bundles/hestia-earth-ui-components.umd.js.map +1 -1
- package/common/blank-node-value-delta/blank-node-value-delta.component.d.ts +2 -2
- package/common/delta-utils.d.ts +20 -0
- package/common/{public-api.d.ts → index.d.ts} +1 -0
- package/common/utils.d.ts +5 -15
- package/cycles/{public-api.d.ts → index.d.ts} +0 -0
- package/engine/{public-api.d.ts → index.d.ts} +0 -0
- package/esm2015/auth/index.js +2 -0
- package/esm2015/bibliographies/index.js +3 -0
- package/esm2015/common/blank-node-diffs/blank-node-diffs.component.js +3 -4
- package/esm2015/common/blank-node-value-delta/blank-node-value-delta.component.js +4 -4
- package/esm2015/common/delta-utils.js +54 -0
- package/esm2015/common/index.js +33 -0
- package/esm2015/common/utils.js +18 -24
- package/esm2015/cycles/index.js +12 -0
- package/esm2015/engine/index.js +3 -0
- package/esm2015/files/index.js +5 -0
- package/esm2015/fontawesome/index.js +2 -0
- package/esm2015/impact-assessments/index.js +7 -0
- package/esm2015/mendeley/index.js +2 -0
- package/esm2015/node/index.js +14 -0
- package/esm2015/node/node-diffs/node-diffs.component.js +5 -5
- package/esm2015/node/node-diffs/node-diffs.model.js +6 -6
- package/esm2015/public-api.js +16 -16
- package/esm2015/schema/index.js +2 -0
- package/esm2015/search/index.js +4 -0
- package/esm2015/sites/index.js +6 -0
- package/esm2015/terms/index.js +2 -0
- package/esm2015/users/index.js +2 -0
- package/fesm2015/hestia-earth-ui-components.js +44 -45
- package/fesm2015/hestia-earth-ui-components.js.map +1 -1
- package/files/{public-api.d.ts → index.d.ts} +0 -0
- package/fontawesome/{public-api.d.ts → index.d.ts} +0 -0
- package/impact-assessments/{public-api.d.ts → index.d.ts} +0 -0
- package/mendeley/{public-api.d.ts → index.d.ts} +0 -0
- package/node/{public-api.d.ts → index.d.ts} +1 -0
- package/node/node-diffs/node-diffs.component.d.ts +3 -3
- package/node/node-diffs/node-diffs.model.d.ts +1 -1
- package/package.json +1 -1
- package/public-api.d.ts +15 -15
- package/schema/{public-api.d.ts → index.d.ts} +0 -0
- package/search/{public-api.d.ts → index.d.ts} +0 -0
- package/sites/{public-api.d.ts → index.d.ts} +0 -0
- package/terms/{public-api.d.ts → index.d.ts} +0 -0
- package/users/{public-api.d.ts → index.d.ts} +0 -0
- package/common/blank-node-diffs/blank-node-diffs.service.d.ts +0 -5
- package/common/blank-node-value-delta/blank-node-value-delta.service.d.ts +0 -6
- package/esm2015/auth/public-api.js +0 -2
- package/esm2015/bibliographies/public-api.js +0 -3
- package/esm2015/common/blank-node-diffs/blank-node-diffs.service.js +0 -20
- package/esm2015/common/blank-node-value-delta/blank-node-value-delta.service.js +0 -31
- package/esm2015/common/public-api.js +0 -32
- package/esm2015/cycles/public-api.js +0 -12
- package/esm2015/engine/public-api.js +0 -3
- package/esm2015/files/public-api.js +0 -5
- package/esm2015/fontawesome/public-api.js +0 -2
- package/esm2015/impact-assessments/public-api.js +0 -7
- package/esm2015/mendeley/public-api.js +0 -2
- package/esm2015/node/public-api.js +0 -13
- package/esm2015/schema/public-api.js +0 -2
- package/esm2015/search/public-api.js +0 -4
- package/esm2015/sites/public-api.js +0 -6
- package/esm2015/terms/public-api.js +0 -2
- package/esm2015/users/public-api.js +0 -2
|
File without changes
|
|
File without changes
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@ng-bootstrap/ng-bootstrap'), require('@angular/google-maps'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-regular-svg-icons'), require('@fortawesome/free-solid-svg-icons'), require('
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@hestia-earth/ui-components', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router', '@ng-bootstrap/ng-bootstrap', '@angular/google-maps', '@fortawesome/angular-fontawesome', '@fortawesome/free-regular-svg-icons', '@fortawesome/free-solid-svg-icons', '
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["hestia-earth"] = global["hestia-earth"] || {}, global["hestia-earth"]["ui-components"] = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.i10, global.ng.googleMaps, global.i1, global.freeRegularSvgIcons, global.freeSolidSvgIcons, global.
|
|
5
|
-
})(this, (function (exports, i0, i3, i1$4, i4, i10, i1$2, i1, freeRegularSvgIcons, freeSolidSvgIcons,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@angular/router'), require('@ng-bootstrap/ng-bootstrap'), require('@angular/google-maps'), require('@fortawesome/angular-fontawesome'), require('@fortawesome/free-regular-svg-icons'), require('@fortawesome/free-solid-svg-icons'), require('random-material-color'), require('@hestia-earth/schema'), require('@hestia-earth/api'), require('@hestia-earth/utils'), require('rxjs'), require('rxjs/operators'), require('csvtojson'), require('@angular/common/http'), require('@angular/platform-browser'), require('pluralize'), require('@hestia-earth/bulma-tagsinput'), require('json-2-csv'), require('@angular/cdk/drag-drop'), require('@hestia-earth/schema-convert'), require('@hestia-earth/json-schema/schema-utils'), require('jsondiffpatch'), require('chart.js'), require('moment'), require('moment/locale/en-gb'), require('uuid'), require('@google/markerclustererplus'), require('chartjs-plugin-datalabels')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@hestia-earth/ui-components', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@angular/router', '@ng-bootstrap/ng-bootstrap', '@angular/google-maps', '@fortawesome/angular-fontawesome', '@fortawesome/free-regular-svg-icons', '@fortawesome/free-solid-svg-icons', 'random-material-color', '@hestia-earth/schema', '@hestia-earth/api', '@hestia-earth/utils', 'rxjs', 'rxjs/operators', 'csvtojson', '@angular/common/http', '@angular/platform-browser', 'pluralize', '@hestia-earth/bulma-tagsinput', 'json-2-csv', '@angular/cdk/drag-drop', '@hestia-earth/schema-convert', '@hestia-earth/json-schema/schema-utils', 'jsondiffpatch', 'chart.js', 'moment', 'moment/locale/en-gb', 'uuid', '@google/markerclustererplus', 'chartjs-plugin-datalabels'], factory) :
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global["hestia-earth"] = global["hestia-earth"] || {}, global["hestia-earth"]["ui-components"] = {}), global.ng.core, global.ng.common, global.ng.forms, global.ng.router, global.i10, global.ng.googleMaps, global.i1, global.freeRegularSvgIcons, global.freeSolidSvgIcons, global.randomMaterialColor, global.schema, global.api, global.utils, global.rxjs, global.rxjs.operators, global.csvtojson, global.ng.common.http, global.ng.platformBrowser, global.pluralize, global.BulmaTagsInput, global.json2Csv, global.ng.cdk.dragDrop, global.schemaConvert, global.schemaUtils, global.jsondiffpatch, global.chart_js, global.moment, null, global.uuid, global.MarkerClusterer, global.ChartDataLabels));
|
|
5
|
+
})(this, (function (exports, i0, i3, i1$4, i4, i10, i1$2, i1, freeRegularSvgIcons, freeSolidSvgIcons, randomMaterialColor, schema, api, utils, rxjs, operators, csvtojson, i1$1, i1$3, pluralize, BulmaTagsInput, json2Csv, i6, schemaConvert, schemaUtils, jsondiffpatch, chart_js, moment, enGb, uuid, MarkerClusterer, ChartDataLabels) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -417,7 +417,7 @@
|
|
|
417
417
|
}]
|
|
418
418
|
}], ctorParameters: function () { return [{ type: i1__namespace.FaIconLibrary }]; } });
|
|
419
419
|
|
|
420
|
-
var _a$6
|
|
420
|
+
var _a$6;
|
|
421
421
|
var get$4 = require('lodash.get');
|
|
422
422
|
var gitHome = 'https://gitlab.com/hestia-earth';
|
|
423
423
|
var gitRawBaseUrl = 'https://glcdn.githack.com/hestia-earth';
|
|
@@ -592,44 +592,8 @@
|
|
|
592
592
|
var defaultLabel = function (node) { return node ? (node['@type'] in nodeDefaultLabel ? nodeDefaultLabel[node['@type']](node) : node.name) || node['@id'] || node.id : ''; };
|
|
593
593
|
var itemColor = function (index) { return randomMaterialColor.getColor({ text: "" + index }); };
|
|
594
594
|
var listColor = function (_v, index) { return itemColor(index); };
|
|
595
|
-
exports.DeltaDisplayType = void 0;
|
|
596
|
-
(function (DeltaDisplayType) {
|
|
597
|
-
DeltaDisplayType["absolute"] = "absolute";
|
|
598
|
-
DeltaDisplayType["percent"] = "percent";
|
|
599
|
-
})(exports.DeltaDisplayType || (exports.DeltaDisplayType = {}));
|
|
600
|
-
var deltaPerType = (_b$3 = {},
|
|
601
|
-
_b$3[exports.DeltaDisplayType.absolute] = function (value, original) { return value - original; },
|
|
602
|
-
_b$3[exports.DeltaDisplayType.percent] = function (value, original) { return ((value - original) / original) * 100; },
|
|
603
|
-
_b$3);
|
|
604
|
-
var roundValue = function (value) { return +("" + value).substring(0, 10); };
|
|
605
|
-
var delta = function (value, originalValue, displayType, customDeltaFuncs) {
|
|
606
|
-
if (displayType === void 0) { displayType = exports.DeltaDisplayType.percent; }
|
|
607
|
-
var vvalue = roundValue(propertyValue$1(value));
|
|
608
|
-
var voriginalValue = roundValue(propertyValue$1(originalValue));
|
|
609
|
-
var deltaFuncs = Object.assign(Object.assign({}, deltaPerType), customDeltaFuncs);
|
|
610
|
-
var diff = vvalue === voriginalValue ? 0 : deltaFuncs[displayType](vvalue, voriginalValue);
|
|
611
|
-
return Number.isFinite(diff) ? (diff === -0 ? 0 : diff) : 0;
|
|
612
|
-
};
|
|
613
|
-
exports.DeltaColour = void 0;
|
|
614
|
-
(function (DeltaColour) {
|
|
615
|
-
DeltaColour["Success"] = "success";
|
|
616
|
-
DeltaColour["Warning"] = "warning";
|
|
617
|
-
DeltaColour["Danger"] = "danger";
|
|
618
|
-
})(exports.DeltaColour || (exports.DeltaColour = {}));
|
|
619
|
-
var emptyValue = function (value) { return utils.isEmpty(value) || isNaN(propertyValue$1(value)); };
|
|
620
|
-
var repeat = function (times) {
|
|
621
|
-
if (times === void 0) { times = 0; }
|
|
622
|
-
return (Array.from(Array(times), Math.random));
|
|
623
|
-
};
|
|
624
|
-
var filenameWithoutExt = function (filename) {
|
|
625
|
-
if (filename === void 0) { filename = ''; }
|
|
626
|
-
var file = api.fileToExt(filename, '');
|
|
627
|
-
// remove last .
|
|
628
|
-
return file.endsWith('.') ? file.substring(0, file.length - 1) : file;
|
|
629
|
-
};
|
|
630
|
-
|
|
631
595
|
var reduceValues$1 = function (values) { return values.length ? values.reduce(function (p, v) { return p + propertyValue$1(v.value); }, 0) : undefined; };
|
|
632
|
-
var
|
|
596
|
+
var formatDiffValues = function (originalValues, recalculatedValues) {
|
|
633
597
|
if (originalValues === void 0) { originalValues = []; }
|
|
634
598
|
if (recalculatedValues === void 0) { recalculatedValues = []; }
|
|
635
599
|
var originalValuesFiltered = originalValues.filter(function (value) { return !value.deleted; });
|
|
@@ -647,35 +611,70 @@
|
|
|
647
611
|
});
|
|
648
612
|
return values;
|
|
649
613
|
};
|
|
614
|
+
var emptyValue = function (value) { return utils.isEmpty(value) || isNaN(propertyValue$1(value)); };
|
|
615
|
+
var repeat = function (times) {
|
|
616
|
+
if (times === void 0) { times = 0; }
|
|
617
|
+
return (Array.from(Array(times), Math.random));
|
|
618
|
+
};
|
|
619
|
+
var filenameWithoutExt = function (filename) {
|
|
620
|
+
if (filename === void 0) { filename = ''; }
|
|
621
|
+
var file = api.fileToExt(filename, '');
|
|
622
|
+
// remove last .
|
|
623
|
+
return file.endsWith('.') ? file.substring(0, file.length - 1) : file;
|
|
624
|
+
};
|
|
650
625
|
|
|
651
|
-
var _a$5, _b$2, _c$2;
|
|
626
|
+
var _a$5, _b$2, _c$2, _d$2;
|
|
652
627
|
var SUCCESS_CRITERION_MAX_DELTA_PERCENT = 5;
|
|
653
628
|
var WARNING_CRITERION_MAX_DELTA_PERCENT = 20;
|
|
629
|
+
exports.DeltaColour = void 0;
|
|
630
|
+
(function (DeltaColour) {
|
|
631
|
+
DeltaColour["Success"] = "success";
|
|
632
|
+
DeltaColour["Warning"] = "warning";
|
|
633
|
+
DeltaColour["Danger"] = "danger";
|
|
634
|
+
})(exports.DeltaColour || (exports.DeltaColour = {}));
|
|
635
|
+
exports.DeltaDisplayType = void 0;
|
|
636
|
+
(function (DeltaDisplayType) {
|
|
637
|
+
DeltaDisplayType["absolute"] = "absolute";
|
|
638
|
+
DeltaDisplayType["percent"] = "percent";
|
|
639
|
+
})(exports.DeltaDisplayType || (exports.DeltaDisplayType = {}));
|
|
640
|
+
var deltaPerType = (_a$5 = {},
|
|
641
|
+
_a$5[exports.DeltaDisplayType.absolute] = function (value, original) { return value - original; },
|
|
642
|
+
_a$5[exports.DeltaDisplayType.percent] = function (value, original) { return ((value - original) / original) * 100; },
|
|
643
|
+
_a$5);
|
|
644
|
+
var roundValue = function (value) { return +("" + value).substring(0, 10); };
|
|
645
|
+
var delta = function (value, originalValue, displayType, mapping) {
|
|
646
|
+
if (displayType === void 0) { displayType = exports.DeltaDisplayType.percent; }
|
|
647
|
+
var vvalue = roundValue(propertyValue$1(value));
|
|
648
|
+
var voriginalValue = roundValue(propertyValue$1(originalValue));
|
|
649
|
+
var deltaFuncs = Object.assign(Object.assign({}, deltaPerType), mapping);
|
|
650
|
+
var diff = vvalue === voriginalValue ? 0 : deltaFuncs[displayType](vvalue, voriginalValue);
|
|
651
|
+
return Number.isFinite(diff) ? (diff === -0 ? 0 : diff) : 0;
|
|
652
|
+
};
|
|
654
653
|
var PercentDeltaConditions;
|
|
655
654
|
(function (PercentDeltaConditions) {
|
|
656
655
|
PercentDeltaConditions["recalculated0"] = "recalculated should be 0";
|
|
657
656
|
PercentDeltaConditions["original0"] = "original is 0";
|
|
658
657
|
})(PercentDeltaConditions || (PercentDeltaConditions = {}));
|
|
659
|
-
var calculatePercentDeltaConditions = (
|
|
660
|
-
|
|
661
|
-
|
|
662
|
-
_a$5);
|
|
663
|
-
var calculatePercentDeltaResult = (_b$2 = {},
|
|
664
|
-
_b$2[PercentDeltaConditions.recalculated0] = function (original, recalculated) { return (recalculated - original) / (original + 1); },
|
|
665
|
-
// Always considered an error so deliberately exceed SUCCESS_CRITERION_MAX_DELTA_PERCENT
|
|
666
|
-
_b$2[PercentDeltaConditions.original0] = function (original, recalculated) { return Math.sign(recalculated - original); },
|
|
667
|
-
_b$2.default = function (original, recalculated) { return (recalculated - original) / original; },
|
|
658
|
+
var calculatePercentDeltaConditions = (_b$2 = {},
|
|
659
|
+
_b$2[PercentDeltaConditions.recalculated0] = function (original, recalculated) { return original > 0 && recalculated === 0; },
|
|
660
|
+
_b$2[PercentDeltaConditions.original0] = function (original, recalculated) { return original === 0 && recalculated > 0; },
|
|
668
661
|
_b$2);
|
|
662
|
+
var calculatePercentDeltaResult = (_c$2 = {},
|
|
663
|
+
_c$2[PercentDeltaConditions.recalculated0] = function (original, recalculated) { return (recalculated - original) / (original + 1); },
|
|
664
|
+
// Always considered an error so deliberately exceed SUCCESS_CRITERION_MAX_DELTA_PERCENT
|
|
665
|
+
_c$2[PercentDeltaConditions.original0] = function (original, recalculated) { return Math.sign(recalculated - original); },
|
|
666
|
+
_c$2.default = function (original, recalculated) { return (recalculated - original) / original; },
|
|
667
|
+
_c$2);
|
|
669
668
|
var calculatePercentDelta = function (recalculated, original) {
|
|
670
669
|
var matchingCondition = Object.values(PercentDeltaConditions).find(function (value) { return calculatePercentDeltaConditions[value](original, recalculated); }) || 'default';
|
|
671
670
|
return calculatePercentDeltaResult[matchingCondition](original, recalculated) * 100;
|
|
672
671
|
};
|
|
673
|
-
var customDeltaFuncs = (
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
var evaluateSuccess = function (
|
|
672
|
+
var customDeltaFuncs = (_d$2 = {},
|
|
673
|
+
_d$2[exports.DeltaDisplayType.percent] = calculatePercentDelta,
|
|
674
|
+
_d$2);
|
|
675
|
+
var evaluateSuccess = function (deltaValue) { return Math.abs(deltaValue) < SUCCESS_CRITERION_MAX_DELTA_PERCENT
|
|
677
676
|
? exports.DeltaColour.Success
|
|
678
|
-
: Math.abs(
|
|
677
|
+
: Math.abs(deltaValue) < WARNING_CRITERION_MAX_DELTA_PERCENT
|
|
679
678
|
? exports.DeltaColour.Warning
|
|
680
679
|
: exports.DeltaColour.Danger; };
|
|
681
680
|
|
|
@@ -774,7 +773,7 @@
|
|
|
774
773
|
this.values = [];
|
|
775
774
|
}
|
|
776
775
|
BlankNodeDiffsComponent.prototype.ngOnInit = function () {
|
|
777
|
-
this.values =
|
|
776
|
+
this.values = formatDiffValues(this.originalValues, this.recalculatedValues);
|
|
778
777
|
};
|
|
779
778
|
return BlankNodeDiffsComponent;
|
|
780
779
|
}());
|
|
@@ -3526,11 +3525,11 @@
|
|
|
3526
3525
|
type: i0.Output
|
|
3527
3526
|
}] } });
|
|
3528
3527
|
|
|
3529
|
-
|
|
3530
|
-
(function (
|
|
3531
|
-
|
|
3532
|
-
|
|
3533
|
-
})(
|
|
3528
|
+
exports.DiffsDisplayType = void 0;
|
|
3529
|
+
(function (DiffsDisplayType) {
|
|
3530
|
+
DiffsDisplayType["diffs"] = "diffs";
|
|
3531
|
+
DiffsDisplayType["sideBySide"] = "side-by-side";
|
|
3532
|
+
})(exports.DiffsDisplayType || (exports.DiffsDisplayType = {}));
|
|
3534
3533
|
|
|
3535
3534
|
var omit = require('lodash.omit');
|
|
3536
3535
|
var ignoreProperties = [
|
|
@@ -3546,9 +3545,9 @@
|
|
|
3546
3545
|
var NodeDiffsComponent = /** @class */ (function () {
|
|
3547
3546
|
function NodeDiffsComponent(nodeService) {
|
|
3548
3547
|
this.nodeService = nodeService;
|
|
3549
|
-
this.displayType =
|
|
3548
|
+
this.displayType = exports.DiffsDisplayType.diffs;
|
|
3550
3549
|
this.diffsLoaded = new i0.EventEmitter();
|
|
3551
|
-
this.
|
|
3550
|
+
this.DiffsDisplayType = exports.DiffsDisplayType;
|
|
3552
3551
|
this.loading = true;
|
|
3553
3552
|
}
|
|
3554
3553
|
NodeDiffsComponent.prototype.ngOnInit = function () {
|
|
@@ -3582,7 +3581,7 @@
|
|
|
3582
3581
|
return NodeDiffsComponent;
|
|
3583
3582
|
}());
|
|
3584
3583
|
NodeDiffsComponent.ɵfac = i0__namespace.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NodeDiffsComponent, deps: [{ token: HeNodeService }], target: i0__namespace.ɵɵFactoryTarget.Component });
|
|
3585
|
-
NodeDiffsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NodeDiffsComponent, selector: "he-node-diffs", inputs: { data: "data", id: "id", type: "type", displayType: "displayType" }, outputs: { diffsLoaded: "diffsLoaded" }, ngImport: i0__namespace, template: "<div *ngIf=\"loading\" class=\"has-text-center py-3\">\n <fa-icon icon=\"spinner\" [pulse]=\"true\" size=\"lg\"></fa-icon>\n</div>\n\n<ng-container *ngIf=\"left && right\">\n <ng-container [ngSwitch]=\"displayType\">\n <div *ngSwitchCase=\"
|
|
3584
|
+
NodeDiffsComponent.ɵcmp = i0__namespace.ɵɵngDeclareComponent({ minVersion: "12.0.0", version: "12.2.16", type: NodeDiffsComponent, selector: "he-node-diffs", inputs: { data: "data", id: "id", type: "type", displayType: "displayType" }, outputs: { diffsLoaded: "diffsLoaded" }, ngImport: i0__namespace, template: "<div *ngIf=\"loading\" class=\"has-text-center py-3\">\n <fa-icon icon=\"spinner\" [pulse]=\"true\" size=\"lg\"></fa-icon>\n</div>\n\n<ng-container *ngIf=\"left && right\">\n <ng-container [ngSwitch]=\"displayType\">\n <div *ngSwitchCase=\"DiffsDisplayType.diffs\" [innerHTML]=\"diffHtml\"></div>\n\n <div *ngSwitchCase=\"DiffsDisplayType.sideBySide\" class=\"columns\">\n <div class=\"column is-6\">\n <pre class=\"has-background-black has-text-white\"><code>{{left | json}}</code></pre>\n </div>\n <div class=\"column is-6\">\n <pre class=\"has-background-black has-text-white\"><code>{{right | json}}</code></pre>\n </div>\n </div>\n </ng-container>\n</ng-container>\n", styles: [""], components: [{ type: i1__namespace.FaIconComponent, selector: "fa-icon", inputs: ["classes", "icon", "title", "spin", "pulse", "mask", "styles", "flip", "size", "pull", "border", "inverse", "symbol", "rotate", "fixedWidth", "transform", "a11yRole"] }], directives: [{ type: i3__namespace.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { type: i3__namespace.NgSwitch, selector: "[ngSwitch]", inputs: ["ngSwitch"] }, { type: i3__namespace.NgSwitchCase, selector: "[ngSwitchCase]", inputs: ["ngSwitchCase"] }], pipes: { "json": i3__namespace.JsonPipe } });
|
|
3586
3585
|
i0__namespace.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "12.2.16", ngImport: i0__namespace, type: NodeDiffsComponent, decorators: [{
|
|
3587
3586
|
type: i0.Component,
|
|
3588
3587
|
args: [{
|
|
@@ -7396,12 +7395,14 @@
|
|
|
7396
7395
|
exports.calculateCycleDurationEnabled = calculateCycleDurationEnabled;
|
|
7397
7396
|
exports.calculateCycleStartDate = calculateCycleStartDate;
|
|
7398
7397
|
exports.calculateCycleStartDateEnabled = calculateCycleStartDateEnabled;
|
|
7398
|
+
exports.calculatePercentDelta = calculatePercentDelta;
|
|
7399
7399
|
exports.clustererImage = clustererImage;
|
|
7400
7400
|
exports.code = code;
|
|
7401
7401
|
exports.coordinatesToPoint = coordinatesToPoint;
|
|
7402
7402
|
exports.countriesQuery = countriesQuery;
|
|
7403
7403
|
exports.createMarker = createMarker;
|
|
7404
7404
|
exports.cropsQuery = cropsQuery;
|
|
7405
|
+
exports.customDeltaFuncs = customDeltaFuncs;
|
|
7405
7406
|
exports.dataPathToKey = dataPathToKey;
|
|
7406
7407
|
exports.dataValue = dataValue;
|
|
7407
7408
|
exports.defaultFeature = defaultFeature;
|
|
@@ -7415,6 +7416,7 @@
|
|
|
7415
7416
|
exports.errorHasError = errorHasError;
|
|
7416
7417
|
exports.errorHasWarning = errorHasWarning;
|
|
7417
7418
|
exports.errorText = errorText;
|
|
7419
|
+
exports.evaluateSuccess = evaluateSuccess;
|
|
7418
7420
|
exports.filenameWithoutExt = filenameWithoutExt;
|
|
7419
7421
|
exports.fillColor = fillColor;
|
|
7420
7422
|
exports.fillStyle = fillStyle;
|
|
@@ -7424,6 +7426,7 @@
|
|
|
7424
7426
|
exports.findProperty = findProperty;
|
|
7425
7427
|
exports.findPropertyById = findPropertyById;
|
|
7426
7428
|
exports.formatCustomErrorMessage = formatCustomErrorMessage;
|
|
7429
|
+
exports.formatDiffValues = formatDiffValues;
|
|
7427
7430
|
exports.formatError = formatError;
|
|
7428
7431
|
exports.formatLinkNodesSuggestions = formatLinkNodesSuggestions;
|
|
7429
7432
|
exports.formatPropertyError = formatPropertyError;
|