@stemy/ngx-utils 12.2.7 → 12.2.9
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/stemy-ngx-utils.umd.js +10 -10
- package/bundles/stemy-ngx-utils.umd.js.map +1 -1
- package/esm2015/ngx-utils/directives/async-method.base.js +7 -4
- package/esm2015/ngx-utils/directives/async-method.directive.js +2 -9
- package/esm2015/ngx-utils/ngx-utils.module.js +3 -1
- package/esm2015/ngx-utils/services/universal.service.js +2 -2
- package/esm2015/ngx-utils/utils/object.utils.js +3 -3
- package/fesm2015/stemy-ngx-utils.js +9 -12
- package/fesm2015/stemy-ngx-utils.js.map +1 -1
- package/ngx-utils/directives/async-method.base.d.ts +2 -2
- package/ngx-utils/directives/async-method.directive.d.ts +1 -2
- package/ngx-utils/ngx-utils.module.d.ts +2 -2
- package/package.json +1 -1
- package/stemy-ngx-utils.metadata.json +1 -1
|
@@ -319,8 +319,8 @@
|
|
|
319
319
|
|
|
320
320
|
var defaultPredicate = function () { return true; };
|
|
321
321
|
var ɵ0 = defaultPredicate;
|
|
322
|
-
var hasBlob = typeof Blob !== "undefined";
|
|
323
|
-
var hasFile = typeof File !== "undefined";
|
|
322
|
+
var hasBlob = typeof Blob !== "undefined" && !!Blob;
|
|
323
|
+
var hasFile = typeof File !== "undefined" && !!File;
|
|
324
324
|
var ObjectUtils = /** @class */ (function () {
|
|
325
325
|
function ObjectUtils() {
|
|
326
326
|
}
|
|
@@ -1769,7 +1769,7 @@
|
|
|
1769
1769
|
this.platformId = platformId;
|
|
1770
1770
|
this.dds = dds;
|
|
1771
1771
|
var info = this.dds.getDeviceInfo();
|
|
1772
|
-
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST)/gi.test(info.userAgent);
|
|
1772
|
+
this.crawler = /(bot|google|baidu|bing|msn|duckduckbot|teoma|slurp|yandex|lighthouse|angular-universal|PTST|PostmanRuntime)/gi.test(info.userAgent);
|
|
1773
1773
|
}
|
|
1774
1774
|
Object.defineProperty(UniversalService.prototype, "isBrowser", {
|
|
1775
1775
|
get: function () {
|
|
@@ -5012,10 +5012,12 @@
|
|
|
5012
5012
|
return AsyncMethodBase;
|
|
5013
5013
|
}());
|
|
5014
5014
|
AsyncMethodBase.decorators = [
|
|
5015
|
-
{ type: core.
|
|
5015
|
+
{ type: core.Directive, args: [{
|
|
5016
|
+
selector: "[_abstract_asyncMethodBase]"
|
|
5017
|
+
},] }
|
|
5016
5018
|
];
|
|
5017
5019
|
AsyncMethodBase.ctorParameters = function () { return [
|
|
5018
|
-
{ type: undefined }
|
|
5020
|
+
{ type: undefined, decorators: [{ type: core.Inject, args: [TOASTER_SERVICE,] }] }
|
|
5019
5021
|
]; };
|
|
5020
5022
|
AsyncMethodBase.propDecorators = {
|
|
5021
5023
|
disabled: [{ type: core.Input }],
|
|
@@ -5029,8 +5031,8 @@
|
|
|
5029
5031
|
|
|
5030
5032
|
var AsyncMethodDirective = /** @class */ (function (_super) {
|
|
5031
5033
|
__extends(AsyncMethodDirective, _super);
|
|
5032
|
-
function AsyncMethodDirective(
|
|
5033
|
-
return _super.
|
|
5034
|
+
function AsyncMethodDirective() {
|
|
5035
|
+
return _super !== null && _super.apply(this, arguments) || this;
|
|
5034
5036
|
}
|
|
5035
5037
|
AsyncMethodDirective.prototype.getMethod = function () {
|
|
5036
5038
|
return this.method;
|
|
@@ -5043,9 +5045,6 @@
|
|
|
5043
5045
|
exportAs: "async-method"
|
|
5044
5046
|
},] }
|
|
5045
5047
|
];
|
|
5046
|
-
AsyncMethodDirective.ctorParameters = function () { return [
|
|
5047
|
-
{ type: undefined, decorators: [{ type: core.Inject, args: [TOASTER_SERVICE,] }] }
|
|
5048
|
-
]; };
|
|
5049
5048
|
AsyncMethodDirective.propDecorators = {
|
|
5050
5049
|
method: [{ type: core.Input, args: ["async-method",] }]
|
|
5051
5050
|
};
|
|
@@ -6010,6 +6009,7 @@
|
|
|
6010
6009
|
];
|
|
6011
6010
|
// --- Directives ---
|
|
6012
6011
|
var directives = [
|
|
6012
|
+
AsyncMethodBase,
|
|
6013
6013
|
AsyncMethodDirective,
|
|
6014
6014
|
BackgroundDirective,
|
|
6015
6015
|
DynamicTableTemplateDirective,
|