@porscheinformatik/clr-addons 10.4.3 → 10.4.4
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/bundles/clr-addons.umd.js +39 -18
- package/bundles/clr-addons.umd.js.map +1 -1
- package/esm2015/numericfield/numeric-field.js +3 -2
- package/fesm2015/clr-addons.js +5 -3
- package/fesm2015/clr-addons.js.map +1 -1
- package/package.json +1 -1
- package/bundles/clr-addons.umd.min.js +0 -17
- package/bundles/clr-addons.umd.min.js.map +0 -1
|
@@ -1,8 +1,28 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/forms'), require('@clr/angular'), require('rxjs'), require('rxjs/operators'), require('@angular/router'), require('@angular/animations'), require('@clr/icons'), require('@clr/icons/shapes/all-shapes')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@porscheinformatik/clr-addons', ['exports', '@angular/core', '@angular/common', '@angular/forms', '@clr/angular', 'rxjs', 'rxjs/operators', '@angular/router', '@angular/animations', '@clr/icons', '@clr/icons/shapes/all-shapes'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.porscheinformatik = global.porscheinformatik || {}, global.porscheinformatik[
|
|
5
|
-
}(this, (function (exports, i0, common, forms, angular, rxjs, operators, router, animations, icons, allShapes) { 'use strict';
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.porscheinformatik = global.porscheinformatik || {}, global.porscheinformatik["clr-addons"] = {}), global.ng.core, global.ng.common, global.ng.forms, global["@clr/angular"], global.rxjs, global.rxjs.operators, global.ng.router, global.ng.animations, global.icons, global.allShapes));
|
|
5
|
+
})(this, (function (exports, i0, common, forms, angular, rxjs, operators, router, animations, icons, allShapes) { 'use strict';
|
|
6
|
+
|
|
7
|
+
function _interopNamespace(e) {
|
|
8
|
+
if (e && e.__esModule) return e;
|
|
9
|
+
var n = Object.create(null);
|
|
10
|
+
if (e) {
|
|
11
|
+
Object.keys(e).forEach(function (k) {
|
|
12
|
+
if (k !== 'default') {
|
|
13
|
+
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
+
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
+
enumerable: true,
|
|
16
|
+
get: function () { return e[k]; }
|
|
17
|
+
});
|
|
18
|
+
}
|
|
19
|
+
});
|
|
20
|
+
}
|
|
21
|
+
n["default"] = e;
|
|
22
|
+
return Object.freeze(n);
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
6
26
|
|
|
7
27
|
/*
|
|
8
28
|
* Copyright (c) 2018-2019 Porsche Informatik. All Rights Reserved.
|
|
@@ -60,7 +80,7 @@
|
|
|
60
80
|
};
|
|
61
81
|
return ClrBreadcrumbService;
|
|
62
82
|
}());
|
|
63
|
-
ClrBreadcrumbService.ɵprov =
|
|
83
|
+
ClrBreadcrumbService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ClrBreadcrumbService_Factory() { return new ClrBreadcrumbService(); }, token: ClrBreadcrumbService, providedIn: "root" });
|
|
64
84
|
ClrBreadcrumbService.decorators = [
|
|
65
85
|
{ type: i0.Injectable, args: [{
|
|
66
86
|
providedIn: 'root',
|
|
@@ -1828,7 +1848,7 @@
|
|
|
1828
1848
|
this.onTouch = this.defaultOnTouch;
|
|
1829
1849
|
}
|
|
1830
1850
|
ClrAbstractFormComponent.prototype.ngOnInit = function () {
|
|
1831
|
-
var controlIdService = this.injector.get(angular
|
|
1851
|
+
var controlIdService = this.injector.get(angular["ɵbc"], null);
|
|
1832
1852
|
if (controlIdService) {
|
|
1833
1853
|
this.inputId = controlIdService.id;
|
|
1834
1854
|
}
|
|
@@ -1844,7 +1864,7 @@
|
|
|
1844
1864
|
_this.showError = _this.invalid && _this.control.touched;
|
|
1845
1865
|
});
|
|
1846
1866
|
}
|
|
1847
|
-
var markControlService = this.injector.get(angular
|
|
1867
|
+
var markControlService = this.injector.get(angular["ɵbi"], null);
|
|
1848
1868
|
if (markControlService) {
|
|
1849
1869
|
markControlService.touchedChange.subscribe(function () {
|
|
1850
1870
|
_this.control.markAsTouched();
|
|
@@ -1949,7 +1969,7 @@
|
|
|
1949
1969
|
useExisting: i0.forwardRef(function () { return ClrMultilingualInput; }),
|
|
1950
1970
|
multi: true,
|
|
1951
1971
|
},
|
|
1952
|
-
angular
|
|
1972
|
+
angular["ɵbc"],
|
|
1953
1973
|
]
|
|
1954
1974
|
},] }
|
|
1955
1975
|
];
|
|
@@ -1974,7 +1994,7 @@
|
|
|
1974
1994
|
useExisting: i0.forwardRef(function () { return ClrMultilingualTextarea; }),
|
|
1975
1995
|
multi: true,
|
|
1976
1996
|
},
|
|
1977
|
-
angular
|
|
1997
|
+
angular["ɵbc"],
|
|
1978
1998
|
]
|
|
1979
1999
|
},] }
|
|
1980
2000
|
];
|
|
@@ -2558,7 +2578,8 @@
|
|
|
2558
2578
|
};
|
|
2559
2579
|
ClrNumericField.prototype.roundOrTruncate = function (value) {
|
|
2560
2580
|
var method = this.roundValue ? 'round' : value < 0 ? 'ceil' : 'floor';
|
|
2561
|
-
|
|
2581
|
+
// 16 is the highest precision before numbers have weird behaviour. see https://stackoverflow.com/q/21472828/15120942
|
|
2582
|
+
return Math[method](+(value * Math.pow(10, this.decimalPlaces)).toPrecision(16)) / Math.pow(10, this.decimalPlaces);
|
|
2562
2583
|
};
|
|
2563
2584
|
return ClrNumericField;
|
|
2564
2585
|
}());
|
|
@@ -4867,17 +4888,17 @@
|
|
|
4867
4888
|
exports.escapeHtml = escapeHtml;
|
|
4868
4889
|
exports.escapeRegex = escapeRegex;
|
|
4869
4890
|
exports.loadIcons = loadIcons;
|
|
4870
|
-
exports
|
|
4871
|
-
exports
|
|
4872
|
-
exports
|
|
4873
|
-
exports
|
|
4874
|
-
exports
|
|
4875
|
-
exports
|
|
4876
|
-
exports
|
|
4877
|
-
exports
|
|
4878
|
-
exports
|
|
4891
|
+
exports["ɵa"] = TreetableMainRenderer;
|
|
4892
|
+
exports["ɵb"] = TreetableHeaderRenderer;
|
|
4893
|
+
exports["ɵc"] = TreetableRowRenderer;
|
|
4894
|
+
exports["ɵd"] = TreetableCellRenderer;
|
|
4895
|
+
exports["ɵe"] = ClrAddOption;
|
|
4896
|
+
exports["ɵf"] = ClrMultilingualAbstract;
|
|
4897
|
+
exports["ɵg"] = ClrAbstractFormComponent;
|
|
4898
|
+
exports["ɵh"] = ClrAutocompleteOffModule;
|
|
4899
|
+
exports["ɵi"] = ClrAutocompleteOff;
|
|
4879
4900
|
|
|
4880
4901
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4881
4902
|
|
|
4882
|
-
}))
|
|
4903
|
+
}));
|
|
4883
4904
|
//# sourceMappingURL=clr-addons.umd.js.map
|