@sumaris-net/ngx-components 1.23.68-alpha1 → 1.23.68
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/sumaris-net.ngx-components.umd.js +1 -3
- package/bundles/sumaris-net.ngx-components.umd.js.map +1 -1
- package/bundles/sumaris-net.ngx-components.umd.min.js +2 -2
- package/bundles/sumaris-net.ngx-components.umd.min.js.map +1 -1
- package/esm2015/src/app/shared/pipes/date-format.pipe.js +1 -3
- package/esm2015/src/app/social/user-event/user-event.service.js +3 -3
- package/fesm2015/sumaris-net.ngx-components.js +1 -3
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -2323,7 +2323,6 @@
|
|
|
2323
2323
|
var pattern = args && args.pattern ||
|
|
2324
2324
|
(args && args.time ? (args.seconds ? this.dateTimeSecondsPattern : this.dateTimePattern) : this.datePattern);
|
|
2325
2325
|
// Keep original moment object, if possible (to avoid a conversion)
|
|
2326
|
-
console.debug('DEBUG DATE PATERN TRANSFORM', pattern);
|
|
2327
2326
|
var date = momentImported.isMoment(value) ? value : this.dateAdapter.parse(value, DATE_ISO_PATTERN);
|
|
2328
2327
|
return date && this.dateAdapter.format(date, pattern) || '';
|
|
2329
2328
|
};
|
|
@@ -2331,7 +2330,6 @@
|
|
|
2331
2330
|
this.datePattern = this._getTranslationValue(translations, 'COMMON.DATE_PATTERN', 'DD/MM/YYYY');
|
|
2332
2331
|
this.dateTimePattern = this._getTranslationValue(translations, 'COMMON.DATE_TIME_PATTERN', 'DD/MM/YYYY HH:mm');
|
|
2333
2332
|
this.dateTimeSecondsPattern = this._getTranslationValue(translations, 'COMMON.DATE_TIME_SECONDS_PATTERN', 'DD/MM/YYYY HH:mm:ss');
|
|
2334
|
-
console.debug('DEBUG DATE PATERN UPDATE', this.datePattern);
|
|
2335
2333
|
};
|
|
2336
2334
|
AbstractDateFormat.prototype._getTranslationValue = function (translations, key, defaultValue) {
|
|
2337
2335
|
return (translations[key] !== key) ? translations[key] : defaultValue;
|
|
@@ -30958,7 +30956,7 @@
|
|
|
30958
30956
|
var _this = this;
|
|
30959
30957
|
return __generator(this, function (_b) {
|
|
30960
30958
|
// Update component when refresh is need (=login events)
|
|
30961
|
-
this._subscriptions.add(rxjs.merge(this.accountService.onLogin, this.accountService.onLogout, rxjs.
|
|
30959
|
+
this._subscriptions.add(rxjs.merge(this.accountService.onLogin, this.accountService.onLogout, rxjs.timer(1000) // Starts with - first attempt if account is ready
|
|
30962
30960
|
)
|
|
30963
30961
|
.pipe(
|
|
30964
30962
|
// Wait account service ready (can be restarted)
|