@sumaris-net/ngx-components 1.6.17 → 1.7.2-rc1
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 +326 -308
- 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/doc/changelog.md +4 -0
- package/esm2015/public_api.js +2 -1
- package/esm2015/src/app/core/table/table.class.js +5 -3
- package/esm2015/src/app/shared/directives/directives.module.js +6 -3
- package/esm2015/src/app/shared/directives/ng-var.directive.js +32 -0
- package/esm2015/src/app/shared/material/latlong/material.latlong.js +20 -19
- package/fesm2015/sumaris-net.ngx-components.js +313 -292
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/public_api.d.ts +1 -0
- package/src/app/shared/directives/ng-var.directive.d.ts +9 -0
- package/sumaris-net.ngx-components.metadata.json +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/common'), require('@angular/cdk/table'), require('@angular/cdk/a11y'), require('@angular/cdk/overlay'), require('@angular/cdk/scrolling'), require('@angular/material/core'), require('@angular/material/table'), require('@angular/material/sort'), require('@angular/material/paginator'), require('@angular/material/form-field'), require('@angular/material/input'), require('@angular/material/checkbox'), require('@angular/material/expansion'), require('@angular/material/toolbar'), require('@angular/material/icon'), require('@angular/material/button'), require('@angular/material/menu'), require('@angular/material/select'), require('@angular/material/card'), require('@angular/material/tabs'), require('@angular/material/stepper'), require('@angular/material/list'), require('@angular/material/button-toggle'), require('@angular/material/progress-spinner'), require('@angular/material/progress-bar'), require('@angular/material/radio'), require('@angular/material/badge'), require('@angular/material/slide-toggle'), require('@angular/material/dialog'), require('@angular/material/autocomplete'), require('@angular/forms'), require('rxjs'), require('rxjs/operators'), require('@ngx-translate/core'), require('@ionic/angular'), require('moment'), require('@angular/material-moment-adapter'), require('@ionic-native/keyboard/ngx'), require('angular2-text-mask'), require('ngx-material-timepicker'), require('@angular/material/datepicker'), require('@angular/animations'), require('@angular/material/divider'), require('@angular/material/tooltip'), require('@angular/material/chips'), require('@angular/router'), require('@angular/platform-browser'), require('@angular/common/http'), require('ngx-color-picker'), require('@ionic-native/native-audio/ngx'), require('@ionic-native/vibration/ngx'), require('@ionic-native/audio-management/ngx'), require('@ionic-native/native-audio/ngx/index'), require('@ionic-native/vibration/ngx/index'), require('@ionic-native/audio-management/ngx/index'), require('uuid/v4'), require('@angular/cdk/drag-drop'), require('ngx-markdown'), require('tweetnacl'), require('@ionic/storage'), require('zone.js/dist/zone-error'), require('@ionic-native/splash-screen/ngx'), require('@ionic-native/network/ngx'), require('ionic-cache'), require('ionic-cache/dist/cache.service'), require('@ionic-native/network/ngx/index'), require('@ionic-native/splash-screen/ngx/index'), require('@ionic-native/status-bar/ngx'), require('@angular/cdk/platform'), require('@ionic-native/in-app-browser/ngx'), require('@apollo/client/core'), require('apollo-angular'), require('@apollo/client/link/ws'), require('@apollo/client/utilities'), require('@apollo/client/link/retry'), require('apollo-link-queue'), require('apollo-link-serialize'), require('apollo-link-logger'), require('apollo-angular/http'), require('apollo3-cache-persist'), require('@ionic-native/downloader/ngx'), require('@ionic-native/status-bar/ngx/index'), require('@ionic-native/keyboard/ngx/index'), require('@ionic-native/in-app-browser/ngx/index'), require('@ionic-native/downloader/ngx/index'), require('@e-is/ngx-material-table'), require('@angular/cdk/collections'), require('ngx-jdenticon'), require('tweetnacl-util'), require('scrypt-async'), require('hammerjs')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@sumaris-net/ngx-components', ['exports', '@angular/core', '@angular/common', '@angular/cdk/table', '@angular/cdk/a11y', '@angular/cdk/overlay', '@angular/cdk/scrolling', '@angular/material/core', '@angular/material/table', '@angular/material/sort', '@angular/material/paginator', '@angular/material/form-field', '@angular/material/input', '@angular/material/checkbox', '@angular/material/expansion', '@angular/material/toolbar', '@angular/material/icon', '@angular/material/button', '@angular/material/menu', '@angular/material/select', '@angular/material/card', '@angular/material/tabs', '@angular/material/stepper', '@angular/material/list', '@angular/material/button-toggle', '@angular/material/progress-spinner', '@angular/material/progress-bar', '@angular/material/radio', '@angular/material/badge', '@angular/material/slide-toggle', '@angular/material/dialog', '@angular/material/autocomplete', '@angular/forms', 'rxjs', 'rxjs/operators', '@ngx-translate/core', '@ionic/angular', 'moment', '@angular/material-moment-adapter', '@ionic-native/keyboard/ngx', 'angular2-text-mask', 'ngx-material-timepicker', '@angular/material/datepicker', '@angular/animations', '@angular/material/divider', '@angular/material/tooltip', '@angular/material/chips', '@angular/router', '@angular/platform-browser', '@angular/common/http', 'ngx-color-picker', '@ionic-native/native-audio/ngx', '@ionic-native/vibration/ngx', '@ionic-native/audio-management/ngx', '@ionic-native/native-audio/ngx/index', '@ionic-native/vibration/ngx/index', '@ionic-native/audio-management/ngx/index', 'uuid/v4', '@angular/cdk/drag-drop', 'ngx-markdown', 'tweetnacl', '@ionic/storage', 'zone.js/dist/zone-error', '@ionic-native/splash-screen/ngx', '@ionic-native/network/ngx', 'ionic-cache', 'ionic-cache/dist/cache.service', '@ionic-native/network/ngx/index', '@ionic-native/splash-screen/ngx/index', '@ionic-native/status-bar/ngx', '@angular/cdk/platform', '@ionic-native/in-app-browser/ngx', '@apollo/client/core', 'apollo-angular', '@apollo/client/link/ws', '@apollo/client/utilities', '@apollo/client/link/retry', 'apollo-link-queue', 'apollo-link-serialize', 'apollo-link-logger', 'apollo-angular/http', 'apollo3-cache-persist', '@ionic-native/downloader/ngx', '@ionic-native/status-bar/ngx/index', '@ionic-native/keyboard/ngx/index', '@ionic-native/in-app-browser/ngx/index', '@ionic-native/downloader/ngx/index', '@e-is/ngx-material-table', '@angular/cdk/collections', 'ngx-jdenticon', 'tweetnacl-util', 'scrypt-async', 'hammerjs'], factory) :
|
|
4
|
-
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global[
|
|
5
|
-
}
|
|
4
|
+
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global['sumaris-net'] = global['sumaris-net'] || {}, global['sumaris-net']['ngx-components'] = {}), global.ng.core, global.ng.common, global.ng.cdk.table, global.ng.cdk.a11y, global.ng.cdk.overlay, global.ng.cdk.scrolling, global.ng.material.core, global.ng.material.table, global.ng.material.sort, global.ng.material.paginator, global.ng.material.formField, global.ng.material.input, global.ng.material.checkbox, global.ng.material.expansion, global.ng.material.toolbar, global.ng.material.icon, global.ng.material.button, global.ng.material.menu, global.ng.material.select, global.ng.material.card, global.ng.material.tabs, global.ng.material.stepper, global.ng.material.list, global.ng.material.buttonToggle, global.ng.material.progressSpinner, global.ng.material.progressBar, global.ng.material.radio, global.ng.material.badge, global.ng.material.slideToggle, global.ng.material.dialog, global.ng.material.autocomplete, global.ng.forms, global.rxjs, global.rxjs.operators, global['ngx-translate'].core, global.ionic.angular, global.moment, global.ng.materialMomentAdapter, global['ionic-native'].keyboard.ngx, global['angular2-text-mask'], global['ngx-material-timepicker'], global.ng.material.datepicker, global.ng.animations, global.ng.material.divider, global.ng.material.tooltip, global.ng.material.chips, global.ng.router, global.ng.platformBrowser, global.ng.common.http, global['ngx-color-picker'], global['ionic-native']['native-audio'].ngx, global['ionic-native'].vibration.ngx, global['ionic-native']['audio-management'].ngx, global['ionic-native']['native-audio'].ngx.index, global['ionic-native'].vibration.ngx.index, global['ionic-native']['audio-management'].ngx.index, global.uuid.v4, global.ng.cdk.dragDrop, global['ngx-markdown'], global.tweetnacl, global.ionic.storage, null, global['ionic-native']['splash-screen'].ngx, global['ionic-native'].network.ngx, global['ionic-cache'], global['ionic-cache/dist/cache'].service, global['ionic-native'].network.ngx.index, global['ionic-native']['splash-screen'].ngx.index, global['ionic-native']['status-bar'].ngx, global.ng.cdk.platform, global['ionic-native']['in-app-browser'].ngx, global.apollo.client.core, global['apollo-angular'], global.apollo.client.link.ws, global.apollo.client.utilities, global.apollo.client.link.retry, global['apollo-link-queue'], global['apollo-link-serialize'], global['apollo-link-logger'], global['apollo-angular'].http, global['apollo3-cache-persist'], global['ionic-native'].downloader.ngx, global['ionic-native']['status-bar'].ngx.index, global['ionic-native'].keyboard.ngx.index, global['ionic-native']['in-app-browser'].ngx.index, global['ionic-native'].downloader.ngx.index, global['e-is']['ngx-material-table'], global.ng.cdk.collections, global['ngx-jdenticon']));
|
|
5
|
+
}(this, (function (exports, i0, i1$4, table$1, a11y, overlay, scrolling, i1$3, table, sort$1, paginator, formField, input, checkbox, expansion, toolbar, icon, button, menu, select, card, tabs, stepper, list, buttonToggle, progressSpinner, progressBar, radio, badge, slideToggle, i2, autocomplete, i1, rxjs, operators, i1$2, i1$5, momentImported, i1$1, ngx, angular2TextMask, ngxMaterialTimepicker, datepicker, animations, divider, tooltip, chips, i3, i1$6, i2$1, ngxColorPicker, ngx$2, ngx$3, ngx$1, i2$2, i3$1, i4, uuidv4Imported, dragDrop, ngxMarkdown, tweetnacl, i3$2, zoneError, ngx$5, ngx$4, ionicCache, i6, i9, i10, ngx$7, i2$4, ngx$8, core, i2$3, ws, utilities, retry, QueueLink, SerializingLink, loggerLink, i3$3, apollo3CachePersist, ngx$6, i14, i15, i17, i18, ngxMaterialTable, collections, ngxJdenticon) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,45 +15,22 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
18
|
+
get: function () {
|
|
19
|
+
return e[k];
|
|
20
|
+
}
|
|
19
21
|
});
|
|
20
22
|
}
|
|
21
23
|
});
|
|
22
24
|
}
|
|
23
|
-
n[
|
|
25
|
+
n['default'] = e;
|
|
24
26
|
return Object.freeze(n);
|
|
25
27
|
}
|
|
26
28
|
|
|
27
|
-
var i0__namespace = /*#__PURE__*/_interopNamespace(i0);
|
|
28
|
-
var i1__namespace$3 = /*#__PURE__*/_interopNamespace(i1$4);
|
|
29
|
-
var i1__namespace$2 = /*#__PURE__*/_interopNamespace(i1$3);
|
|
30
|
-
var i2__namespace$1 = /*#__PURE__*/_interopNamespace(i2);
|
|
31
|
-
var i1__namespace$6 = /*#__PURE__*/_interopNamespace(i1);
|
|
32
|
-
var i1__namespace$1 = /*#__PURE__*/_interopNamespace(i1$2);
|
|
33
|
-
var i1__namespace$4 = /*#__PURE__*/_interopNamespace(i1$5);
|
|
34
29
|
var momentImported__namespace = /*#__PURE__*/_interopNamespace(momentImported);
|
|
35
|
-
var i1__namespace = /*#__PURE__*/_interopNamespace(i1$1);
|
|
36
|
-
var i3__namespace$3 = /*#__PURE__*/_interopNamespace(i3);
|
|
37
|
-
var i1__namespace$5 = /*#__PURE__*/_interopNamespace(i1$6);
|
|
38
|
-
var i2__namespace$2 = /*#__PURE__*/_interopNamespace(i2$1);
|
|
39
|
-
var i2__namespace = /*#__PURE__*/_interopNamespace(i2$2);
|
|
40
|
-
var i3__namespace = /*#__PURE__*/_interopNamespace(i3$1);
|
|
41
|
-
var i4__namespace = /*#__PURE__*/_interopNamespace(i4);
|
|
42
30
|
var uuidv4Imported__namespace = /*#__PURE__*/_interopNamespace(uuidv4Imported);
|
|
43
|
-
var i3__namespace$1 = /*#__PURE__*/_interopNamespace(i3$2);
|
|
44
|
-
var i6__namespace = /*#__PURE__*/_interopNamespace(i6);
|
|
45
|
-
var i9__namespace = /*#__PURE__*/_interopNamespace(i9);
|
|
46
|
-
var i10__namespace = /*#__PURE__*/_interopNamespace(i10);
|
|
47
|
-
var i2__namespace$4 = /*#__PURE__*/_interopNamespace(i2$4);
|
|
48
|
-
var i2__namespace$3 = /*#__PURE__*/_interopNamespace(i2$3);
|
|
49
31
|
var QueueLink__default = /*#__PURE__*/_interopDefaultLegacy(QueueLink);
|
|
50
32
|
var SerializingLink__default = /*#__PURE__*/_interopDefaultLegacy(SerializingLink);
|
|
51
33
|
var loggerLink__default = /*#__PURE__*/_interopDefaultLegacy(loggerLink);
|
|
52
|
-
var i3__namespace$2 = /*#__PURE__*/_interopNamespace(i3$3);
|
|
53
|
-
var i14__namespace = /*#__PURE__*/_interopNamespace(i14);
|
|
54
|
-
var i15__namespace = /*#__PURE__*/_interopNamespace(i15);
|
|
55
|
-
var i17__namespace = /*#__PURE__*/_interopNamespace(i17);
|
|
56
|
-
var i18__namespace = /*#__PURE__*/_interopNamespace(i18);
|
|
57
34
|
|
|
58
35
|
var ENVIRONMENT = new i0.InjectionToken('ENV');
|
|
59
36
|
var Environment = /** @class */ (function () {
|
|
@@ -1278,14 +1255,14 @@
|
|
|
1278
1255
|
};
|
|
1279
1256
|
return MatAutocompleteConfigHolder;
|
|
1280
1257
|
}());
|
|
1281
|
-
var noop
|
|
1282
|
-
var ɵ0
|
|
1258
|
+
var noop = function (_) { };
|
|
1259
|
+
var ɵ0 = noop;
|
|
1283
1260
|
var MatAutocompleteField = /** @class */ (function () {
|
|
1284
1261
|
function MatAutocompleteField(cd, formGroupDir) {
|
|
1285
1262
|
this.cd = cd;
|
|
1286
1263
|
this.formGroupDir = formGroupDir;
|
|
1287
|
-
this._onChangeCallback = noop
|
|
1288
|
-
this._onTouchedCallback = noop
|
|
1264
|
+
this._onChangeCallback = noop;
|
|
1265
|
+
this._onTouchedCallback = noop;
|
|
1289
1266
|
this.logPrefix = '[mat-autocomplete] ';
|
|
1290
1267
|
this.formControlName = null;
|
|
1291
1268
|
this.required = false;
|
|
@@ -2078,7 +2055,7 @@
|
|
|
2078
2055
|
};
|
|
2079
2056
|
return DateFormatPipe;
|
|
2080
2057
|
}());
|
|
2081
|
-
DateFormatPipe.ɵprov =
|
|
2058
|
+
DateFormatPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DateFormatPipe_Factory() { return new DateFormatPipe(i0.ɵɵinject(i1$1.MomentDateAdapter), i0.ɵɵinject(i1$2.TranslateService)); }, token: DateFormatPipe, providedIn: "root" });
|
|
2082
2059
|
DateFormatPipe.decorators = [
|
|
2083
2060
|
{ type: i0.Pipe, args: [{
|
|
2084
2061
|
name: 'dateFormat'
|
|
@@ -2090,7 +2067,7 @@
|
|
|
2090
2067
|
{ type: i1$2.TranslateService }
|
|
2091
2068
|
]; };
|
|
2092
2069
|
|
|
2093
|
-
var moment
|
|
2070
|
+
var moment = momentImported__namespace;
|
|
2094
2071
|
var DateDiffDurationPipe = /** @class */ (function () {
|
|
2095
2072
|
function DateDiffDurationPipe(dateAdapter, translate) {
|
|
2096
2073
|
var _this = this;
|
|
@@ -2107,10 +2084,10 @@
|
|
|
2107
2084
|
return this.format(startDate, endDate);
|
|
2108
2085
|
};
|
|
2109
2086
|
DateDiffDurationPipe.prototype.format = function (startDate, endDate) {
|
|
2110
|
-
var duration = moment
|
|
2087
|
+
var duration = moment.duration(endDate.diff(startDate));
|
|
2111
2088
|
if (duration.asMinutes() < 0)
|
|
2112
2089
|
return '';
|
|
2113
|
-
var timeDuration = moment
|
|
2090
|
+
var timeDuration = moment(0)
|
|
2114
2091
|
.hour(duration.hours())
|
|
2115
2092
|
.minute(duration.minutes());
|
|
2116
2093
|
var days = Math.floor(duration.asDays());
|
|
@@ -2118,7 +2095,7 @@
|
|
|
2118
2095
|
};
|
|
2119
2096
|
return DateDiffDurationPipe;
|
|
2120
2097
|
}());
|
|
2121
|
-
DateDiffDurationPipe.ɵprov =
|
|
2098
|
+
DateDiffDurationPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DateDiffDurationPipe_Factory() { return new DateDiffDurationPipe(i0.ɵɵinject(i1$3.DateAdapter), i0.ɵɵinject(i1$2.TranslateService)); }, token: DateDiffDurationPipe, providedIn: "root" });
|
|
2122
2099
|
DateDiffDurationPipe.decorators = [
|
|
2123
2100
|
{ type: i0.Pipe, args: [{
|
|
2124
2101
|
name: 'dateDiffDuration'
|
|
@@ -2140,7 +2117,7 @@
|
|
|
2140
2117
|
};
|
|
2141
2118
|
return DateFromNowPipe;
|
|
2142
2119
|
}());
|
|
2143
|
-
DateFromNowPipe.ɵprov =
|
|
2120
|
+
DateFromNowPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DateFromNowPipe_Factory() { return new DateFromNowPipe(i0.ɵɵinject(i1$1.MomentDateAdapter)); }, token: DateFromNowPipe, providedIn: "root" });
|
|
2144
2121
|
DateFromNowPipe.decorators = [
|
|
2145
2122
|
{ type: i0.Pipe, args: [{
|
|
2146
2123
|
name: 'dateFromNow'
|
|
@@ -2209,7 +2186,7 @@
|
|
|
2209
2186
|
value *= -1;
|
|
2210
2187
|
}
|
|
2211
2188
|
}
|
|
2212
|
-
var degrees = roundFloat
|
|
2189
|
+
var degrees = roundFloat(value, opts.maxDecimals).toString();
|
|
2213
2190
|
// Add sign
|
|
2214
2191
|
var sign = negative ? '-' : '+';
|
|
2215
2192
|
if (opts.placeholderChar) {
|
|
@@ -2260,7 +2237,7 @@
|
|
|
2260
2237
|
}
|
|
2261
2238
|
var degrees = Math.trunc(value);
|
|
2262
2239
|
var minutes = Math.trunc((value - degrees) * 60);
|
|
2263
|
-
var seconds = roundFloat
|
|
2240
|
+
var seconds = roundFloat(((value - degrees) * 60 - minutes) * 60, opts.maxDecimals);
|
|
2264
2241
|
while (seconds >= 60) {
|
|
2265
2242
|
seconds -= 60;
|
|
2266
2243
|
minutes += 1;
|
|
@@ -2328,7 +2305,7 @@
|
|
|
2328
2305
|
}
|
|
2329
2306
|
}
|
|
2330
2307
|
var degrees = Math.trunc(value);
|
|
2331
|
-
var minutes = roundFloat
|
|
2308
|
+
var minutes = roundFloat((value - degrees) * 60, opts.maxDecimals);
|
|
2332
2309
|
while (minutes >= 60) {
|
|
2333
2310
|
minutes -= 60;
|
|
2334
2311
|
degrees += 1;
|
|
@@ -2379,15 +2356,15 @@
|
|
|
2379
2356
|
return NaN;
|
|
2380
2357
|
}
|
|
2381
2358
|
if (pattern === 'DD')
|
|
2382
|
-
return roundFloat
|
|
2359
|
+
return roundFloat(degrees, maxDecimals);
|
|
2383
2360
|
var minutes = (pattern === 'DDMMSS' || pattern === 'DDMM') && parts[1] && parseFloat(parts[1].replace(/,/g, '.')) || 0;
|
|
2384
2361
|
var seconds = (pattern === 'DDMMSS') && parts[2] && parseFloat(parts[2].replace(/,/g, '.')) || 0;
|
|
2385
2362
|
var direction = ((pattern === 'DDMMSS') && parts[3]) || ((pattern === 'DDMM') && parts[2]) || undefined;
|
|
2386
2363
|
var sign = (direction && (direction === 's' || direction === 'S' || direction === 'w' || direction === 'W')) ? -1 : 1;
|
|
2387
2364
|
degrees = sign * (degrees + minutes / 60 + seconds / (60 * 60));
|
|
2388
|
-
return roundFloat
|
|
2365
|
+
return roundFloat(degrees, maxDecimals);
|
|
2389
2366
|
}
|
|
2390
|
-
function roundFloat
|
|
2367
|
+
function roundFloat(input, maxDecimals) {
|
|
2391
2368
|
if (maxDecimals > 0) {
|
|
2392
2369
|
var powDecimal = Math.pow(10, maxDecimals);
|
|
2393
2370
|
return Math.trunc(input * powDecimal + 0.5) / powDecimal;
|
|
@@ -2410,7 +2387,7 @@
|
|
|
2410
2387
|
};
|
|
2411
2388
|
return LatLongFormatPipe;
|
|
2412
2389
|
}());
|
|
2413
|
-
LatLongFormatPipe.ɵprov =
|
|
2390
|
+
LatLongFormatPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function LatLongFormatPipe_Factory() { return new LatLongFormatPipe(); }, token: LatLongFormatPipe, providedIn: "root" });
|
|
2414
2391
|
LatLongFormatPipe.decorators = [
|
|
2415
2392
|
{ type: i0.Pipe, args: [{
|
|
2416
2393
|
name: 'latLongFormat'
|
|
@@ -2423,7 +2400,7 @@
|
|
|
2423
2400
|
}
|
|
2424
2401
|
return LatitudeFormatPipe;
|
|
2425
2402
|
}());
|
|
2426
|
-
LatitudeFormatPipe.ɵprov =
|
|
2403
|
+
LatitudeFormatPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function LatitudeFormatPipe_Factory() { return new LatitudeFormatPipe(); }, token: LatitudeFormatPipe, providedIn: "root" });
|
|
2427
2404
|
LatitudeFormatPipe.decorators = [
|
|
2428
2405
|
{ type: i0.Pipe, args: [{
|
|
2429
2406
|
name: 'latitudeFormat'
|
|
@@ -2436,7 +2413,7 @@
|
|
|
2436
2413
|
}
|
|
2437
2414
|
return LongitudeFormatPipe;
|
|
2438
2415
|
}());
|
|
2439
|
-
LongitudeFormatPipe.ɵprov =
|
|
2416
|
+
LongitudeFormatPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function LongitudeFormatPipe_Factory() { return new LongitudeFormatPipe(); }, token: LongitudeFormatPipe, providedIn: "root" });
|
|
2440
2417
|
LongitudeFormatPipe.decorators = [
|
|
2441
2418
|
{ type: i0.Pipe, args: [{
|
|
2442
2419
|
name: 'longitudeFormat'
|
|
@@ -2459,7 +2436,7 @@
|
|
|
2459
2436
|
};
|
|
2460
2437
|
return NumberFormatPipe;
|
|
2461
2438
|
}());
|
|
2462
|
-
NumberFormatPipe.ɵprov =
|
|
2439
|
+
NumberFormatPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function NumberFormatPipe_Factory() { return new NumberFormatPipe(); }, token: NumberFormatPipe, providedIn: "root" });
|
|
2463
2440
|
NumberFormatPipe.decorators = [
|
|
2464
2441
|
{ type: i0.Pipe, args: [{
|
|
2465
2442
|
name: 'numberFormat'
|
|
@@ -2502,7 +2479,7 @@
|
|
|
2502
2479
|
};
|
|
2503
2480
|
return HighlightPipe;
|
|
2504
2481
|
}());
|
|
2505
|
-
HighlightPipe.ɵprov =
|
|
2482
|
+
HighlightPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function HighlightPipe_Factory() { return new HighlightPipe(); }, token: HighlightPipe, providedIn: "root" });
|
|
2506
2483
|
HighlightPipe.decorators = [
|
|
2507
2484
|
{ type: i0.Pipe, args: [{
|
|
2508
2485
|
name: 'highlight'
|
|
@@ -2570,7 +2547,7 @@
|
|
|
2570
2547
|
{ type: i0.Pipe, args: [{ name: 'fileSize' },] }
|
|
2571
2548
|
];
|
|
2572
2549
|
|
|
2573
|
-
var moment$
|
|
2550
|
+
var moment$1 = momentImported__namespace;
|
|
2574
2551
|
var DATE_UNIX_TIMESTAMP = 'X';
|
|
2575
2552
|
var DATE_UNIX_MS_TIMESTAMP = 'x';
|
|
2576
2553
|
var DateUtils = /** @class */ (function () {
|
|
@@ -2613,32 +2590,32 @@
|
|
|
2613
2590
|
if (!value || momentImported.isMoment(value))
|
|
2614
2591
|
return value;
|
|
2615
2592
|
// Parse the input value, as a ISO date time
|
|
2616
|
-
var date = moment$
|
|
2593
|
+
var date = moment$1(value, DATE_ISO_PATTERN);
|
|
2617
2594
|
if (date.isValid())
|
|
2618
2595
|
return date;
|
|
2619
2596
|
// Not valid: trying to convert from unix timestamp
|
|
2620
2597
|
if (typeof value === 'string') {
|
|
2621
2598
|
console.warn('Wrong date format - Trying to convert from local time: ' + value);
|
|
2622
2599
|
if (value.length === 10) {
|
|
2623
|
-
return moment$
|
|
2600
|
+
return moment$1(value, DATE_UNIX_TIMESTAMP);
|
|
2624
2601
|
}
|
|
2625
2602
|
else if (value.length === 13) {
|
|
2626
|
-
return moment$
|
|
2603
|
+
return moment$1(value, DATE_UNIX_MS_TIMESTAMP);
|
|
2627
2604
|
}
|
|
2628
2605
|
}
|
|
2629
2606
|
console.warn('Unable to parse date: ' + value);
|
|
2630
2607
|
return undefined;
|
|
2631
2608
|
}
|
|
2632
2609
|
function fromUnixTimestamp(timeInSec) {
|
|
2633
|
-
return moment$
|
|
2610
|
+
return moment$1(timeInSec, DATE_UNIX_TIMESTAMP);
|
|
2634
2611
|
}
|
|
2635
2612
|
function fromUnixMsTimestamp(timeInMs) {
|
|
2636
|
-
return moment$
|
|
2613
|
+
return moment$1(timeInMs, DATE_UNIX_MS_TIMESTAMP);
|
|
2637
2614
|
}
|
|
2638
2615
|
function toDuration(value, unit) {
|
|
2639
2616
|
if (!value)
|
|
2640
2617
|
return undefined;
|
|
2641
|
-
var duration = moment$
|
|
2618
|
+
var duration = moment$1.duration(value, unit);
|
|
2642
2619
|
// fix 990+ ms
|
|
2643
2620
|
if (duration.milliseconds() >= 990) {
|
|
2644
2621
|
duration.add(1000 - duration.milliseconds(), 'ms');
|
|
@@ -2668,7 +2645,7 @@
|
|
|
2668
2645
|
};
|
|
2669
2646
|
return DurationPipe;
|
|
2670
2647
|
}());
|
|
2671
|
-
DurationPipe.ɵprov =
|
|
2648
|
+
DurationPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DurationPipe_Factory() { return new DurationPipe(i0.ɵɵinject(i1$2.TranslateService)); }, token: DurationPipe, providedIn: "root" });
|
|
2672
2649
|
DurationPipe.decorators = [
|
|
2673
2650
|
{ type: i0.Pipe, args: [{
|
|
2674
2651
|
name: 'duration'
|
|
@@ -2692,7 +2669,7 @@
|
|
|
2692
2669
|
};
|
|
2693
2670
|
return MathAbsPipe;
|
|
2694
2671
|
}());
|
|
2695
|
-
MathAbsPipe.ɵprov =
|
|
2672
|
+
MathAbsPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function MathAbsPipe_Factory() { return new MathAbsPipe(); }, token: MathAbsPipe, providedIn: "root" });
|
|
2696
2673
|
MathAbsPipe.decorators = [
|
|
2697
2674
|
{ type: i0.Pipe, args: [{
|
|
2698
2675
|
name: 'mathAbs'
|
|
@@ -2707,7 +2684,7 @@
|
|
|
2707
2684
|
};
|
|
2708
2685
|
return EvenPipe;
|
|
2709
2686
|
}());
|
|
2710
|
-
EvenPipe.ɵprov =
|
|
2687
|
+
EvenPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function EvenPipe_Factory() { return new EvenPipe(); }, token: EvenPipe, providedIn: "root" });
|
|
2711
2688
|
EvenPipe.decorators = [
|
|
2712
2689
|
{ type: i0.Pipe, args: [{
|
|
2713
2690
|
name: 'even'
|
|
@@ -2722,7 +2699,7 @@
|
|
|
2722
2699
|
};
|
|
2723
2700
|
return OddPipe;
|
|
2724
2701
|
}());
|
|
2725
|
-
OddPipe.ɵprov =
|
|
2702
|
+
OddPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function OddPipe_Factory() { return new OddPipe(); }, token: OddPipe, providedIn: "root" });
|
|
2726
2703
|
OddPipe.decorators = [
|
|
2727
2704
|
{ type: i0.Pipe, args: [{
|
|
2728
2705
|
name: 'odd'
|
|
@@ -2854,7 +2831,7 @@
|
|
|
2854
2831
|
};
|
|
2855
2832
|
return MapGetPipe;
|
|
2856
2833
|
}());
|
|
2857
|
-
MapGetPipe.ɵprov =
|
|
2834
|
+
MapGetPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function MapGetPipe_Factory() { return new MapGetPipe(); }, token: MapGetPipe, providedIn: "root" });
|
|
2858
2835
|
MapGetPipe.decorators = [
|
|
2859
2836
|
{ type: i0.Pipe, args: [{
|
|
2860
2837
|
name: 'mapGet'
|
|
@@ -2871,7 +2848,7 @@
|
|
|
2871
2848
|
};
|
|
2872
2849
|
return MapKeysPipe;
|
|
2873
2850
|
}());
|
|
2874
|
-
MapKeysPipe.ɵprov =
|
|
2851
|
+
MapKeysPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function MapKeysPipe_Factory() { return new MapKeysPipe(); }, token: MapKeysPipe, providedIn: "root" });
|
|
2875
2852
|
MapKeysPipe.decorators = [
|
|
2876
2853
|
{ type: i0.Pipe, args: [{
|
|
2877
2854
|
name: 'mapKeys'
|
|
@@ -2888,7 +2865,7 @@
|
|
|
2888
2865
|
};
|
|
2889
2866
|
return MapValuesPipe;
|
|
2890
2867
|
}());
|
|
2891
|
-
MapValuesPipe.ɵprov =
|
|
2868
|
+
MapValuesPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function MapValuesPipe_Factory() { return new MapValuesPipe(); }, token: MapValuesPipe, providedIn: "root" });
|
|
2892
2869
|
MapValuesPipe.decorators = [
|
|
2893
2870
|
{ type: i0.Pipe, args: [{
|
|
2894
2871
|
name: 'mapValues'
|
|
@@ -2904,7 +2881,7 @@
|
|
|
2904
2881
|
};
|
|
2905
2882
|
return IsNotNilOrBlankPipe;
|
|
2906
2883
|
}());
|
|
2907
|
-
IsNotNilOrBlankPipe.ɵprov =
|
|
2884
|
+
IsNotNilOrBlankPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsNotNilOrBlankPipe_Factory() { return new IsNotNilOrBlankPipe(); }, token: IsNotNilOrBlankPipe, providedIn: "root" });
|
|
2908
2885
|
IsNotNilOrBlankPipe.decorators = [
|
|
2909
2886
|
{ type: i0.Pipe, args: [{
|
|
2910
2887
|
name: 'isNotNilOrBlank'
|
|
@@ -2919,7 +2896,7 @@
|
|
|
2919
2896
|
};
|
|
2920
2897
|
return IsNilOrBlankPipe;
|
|
2921
2898
|
}());
|
|
2922
|
-
IsNilOrBlankPipe.ɵprov =
|
|
2899
|
+
IsNilOrBlankPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsNilOrBlankPipe_Factory() { return new IsNilOrBlankPipe(); }, token: IsNilOrBlankPipe, providedIn: "root" });
|
|
2923
2900
|
IsNilOrBlankPipe.decorators = [
|
|
2924
2901
|
{ type: i0.Pipe, args: [{
|
|
2925
2902
|
name: 'isNilOrBlank'
|
|
@@ -2934,7 +2911,7 @@
|
|
|
2934
2911
|
};
|
|
2935
2912
|
return ToStringPipe;
|
|
2936
2913
|
}());
|
|
2937
|
-
ToStringPipe.ɵprov =
|
|
2914
|
+
ToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function ToStringPipe_Factory() { return new ToStringPipe(); }, token: ToStringPipe, providedIn: "root" });
|
|
2938
2915
|
ToStringPipe.decorators = [
|
|
2939
2916
|
{ type: i0.Pipe, args: [{
|
|
2940
2917
|
name: 'toString'
|
|
@@ -2949,7 +2926,7 @@
|
|
|
2949
2926
|
};
|
|
2950
2927
|
return StrLengthPipe;
|
|
2951
2928
|
}());
|
|
2952
|
-
StrLengthPipe.ɵprov =
|
|
2929
|
+
StrLengthPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function StrLengthPipe_Factory() { return new StrLengthPipe(); }, token: StrLengthPipe, providedIn: "root" });
|
|
2953
2930
|
StrLengthPipe.decorators = [
|
|
2954
2931
|
{ type: i0.Pipe, args: [{
|
|
2955
2932
|
name: 'strLength'
|
|
@@ -3040,7 +3017,7 @@
|
|
|
3040
3017
|
};
|
|
3041
3018
|
return TranslateContextService;
|
|
3042
3019
|
}());
|
|
3043
|
-
TranslateContextService.ɵprov =
|
|
3020
|
+
TranslateContextService.ɵprov = i0.ɵɵdefineInjectable({ factory: function TranslateContextService_Factory() { return new TranslateContextService(i0.ɵɵinject(i1$2.TranslateService)); }, token: TranslateContextService, providedIn: "root" });
|
|
3044
3021
|
TranslateContextService.decorators = [
|
|
3045
3022
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
3046
3023
|
];
|
|
@@ -3097,7 +3074,7 @@
|
|
|
3097
3074
|
};
|
|
3098
3075
|
return PropertyGetPipe;
|
|
3099
3076
|
}());
|
|
3100
|
-
PropertyGetPipe.ɵprov =
|
|
3077
|
+
PropertyGetPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function PropertyGetPipe_Factory() { return new PropertyGetPipe(); }, token: PropertyGetPipe, providedIn: "root" });
|
|
3101
3078
|
PropertyGetPipe.decorators = [
|
|
3102
3079
|
{ type: i0.Pipe, args: [{
|
|
3103
3080
|
name: 'propertyGet'
|
|
@@ -3123,7 +3100,7 @@
|
|
|
3123
3100
|
ngInit: [{ type: i0.Output }]
|
|
3124
3101
|
};
|
|
3125
3102
|
|
|
3126
|
-
var moment$
|
|
3103
|
+
var moment$2 = momentImported__namespace;
|
|
3127
3104
|
// @dynamic
|
|
3128
3105
|
var SharedValidators = /** @class */ (function () {
|
|
3129
3106
|
function SharedValidators() {
|
|
@@ -3142,7 +3119,7 @@
|
|
|
3142
3119
|
};
|
|
3143
3120
|
SharedValidators.validDate = function (control) {
|
|
3144
3121
|
var value = control.value;
|
|
3145
|
-
var date = !value || moment$
|
|
3122
|
+
var date = !value || moment$2.isMoment(value) ? value : moment$2(control.value, DATE_ISO_PATTERN);
|
|
3146
3123
|
if (date && (!date.isValid() || date.year() < 1970)) {
|
|
3147
3124
|
return { validDate: true };
|
|
3148
3125
|
}
|
|
@@ -4308,7 +4285,7 @@
|
|
|
4308
4285
|
};
|
|
4309
4286
|
return FormErrorTranslator;
|
|
4310
4287
|
}());
|
|
4311
|
-
FormErrorTranslator.ɵprov =
|
|
4288
|
+
FormErrorTranslator.ɵprov = i0.ɵɵdefineInjectable({ factory: function FormErrorTranslator_Factory() { return new FormErrorTranslator(i0.ɵɵinject(i1$2.TranslateService), i0.ɵɵinject(APP_FORM_ERROR_I18N_KEYS, 8)); }, token: FormErrorTranslator, providedIn: "root" });
|
|
4312
4289
|
FormErrorTranslator.decorators = [
|
|
4313
4290
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
4314
4291
|
];
|
|
@@ -4566,6 +4543,42 @@
|
|
|
4566
4543
|
{ type: ngx.Keyboard, decorators: [{ type: i0.Optional }] }
|
|
4567
4544
|
]; };
|
|
4568
4545
|
|
|
4546
|
+
var NgVarDirective = /** @class */ (function () {
|
|
4547
|
+
function NgVarDirective(templateRef, vcRef) {
|
|
4548
|
+
this.templateRef = templateRef;
|
|
4549
|
+
this.vcRef = vcRef;
|
|
4550
|
+
this.context = {
|
|
4551
|
+
$implicit: null,
|
|
4552
|
+
ngVar: null,
|
|
4553
|
+
};
|
|
4554
|
+
this.hasView = false;
|
|
4555
|
+
}
|
|
4556
|
+
Object.defineProperty(NgVarDirective.prototype, "ngVar", {
|
|
4557
|
+
set: function (context) {
|
|
4558
|
+
this.context.$implicit = this.context.ngVar = context;
|
|
4559
|
+
if (!this.hasView) {
|
|
4560
|
+
this.vcRef.createEmbeddedView(this.templateRef, this.context);
|
|
4561
|
+
this.hasView = true;
|
|
4562
|
+
}
|
|
4563
|
+
},
|
|
4564
|
+
enumerable: false,
|
|
4565
|
+
configurable: true
|
|
4566
|
+
});
|
|
4567
|
+
return NgVarDirective;
|
|
4568
|
+
}());
|
|
4569
|
+
NgVarDirective.decorators = [
|
|
4570
|
+
{ type: i0.Directive, args: [{
|
|
4571
|
+
selector: '[ngVar]',
|
|
4572
|
+
},] }
|
|
4573
|
+
];
|
|
4574
|
+
NgVarDirective.ctorParameters = function () { return [
|
|
4575
|
+
{ type: i0.TemplateRef },
|
|
4576
|
+
{ type: i0.ViewContainerRef }
|
|
4577
|
+
]; };
|
|
4578
|
+
NgVarDirective.propDecorators = {
|
|
4579
|
+
ngVar: [{ type: i0.Input }]
|
|
4580
|
+
};
|
|
4581
|
+
|
|
4569
4582
|
var SharedDirectivesModule = /** @class */ (function () {
|
|
4570
4583
|
function SharedDirectivesModule() {
|
|
4571
4584
|
}
|
|
@@ -4578,10 +4591,12 @@
|
|
|
4578
4591
|
i1$5.IonicModule
|
|
4579
4592
|
],
|
|
4580
4593
|
declarations: [
|
|
4581
|
-
AutofocusDirective
|
|
4594
|
+
AutofocusDirective,
|
|
4595
|
+
NgVarDirective
|
|
4582
4596
|
],
|
|
4583
4597
|
exports: [
|
|
4584
|
-
AutofocusDirective
|
|
4598
|
+
AutofocusDirective,
|
|
4599
|
+
NgVarDirective
|
|
4585
4600
|
]
|
|
4586
4601
|
},] }
|
|
4587
4602
|
];
|
|
@@ -4641,9 +4656,9 @@
|
|
|
4641
4656
|
var hour = parseInt(durationParts[0] || '0');
|
|
4642
4657
|
var minute = parseInt(durationParts[1] || '0');
|
|
4643
4658
|
var value = hour + (minute + 0.5) / 60;
|
|
4644
|
-
return roundFloat(value, maxDecimals);
|
|
4659
|
+
return roundFloat$1(value, maxDecimals);
|
|
4645
4660
|
}
|
|
4646
|
-
function roundFloat(input, maxDecimals) {
|
|
4661
|
+
function roundFloat$1(input, maxDecimals) {
|
|
4647
4662
|
if (maxDecimals > 0) {
|
|
4648
4663
|
var powDecimal = Math.pow(10, maxDecimals);
|
|
4649
4664
|
return Math.trunc(input * powDecimal + 0.5) / powDecimal;
|
|
@@ -4667,9 +4682,9 @@
|
|
|
4667
4682
|
DD: [/[+-]/, /\d/, /\d/, /\d/, '.', /\d/, /\d/, /\d/, /\d/, /\d/, /\d/, /\d/, '°']
|
|
4668
4683
|
}
|
|
4669
4684
|
};
|
|
4670
|
-
var noop$
|
|
4685
|
+
var noop$1 = function () {
|
|
4671
4686
|
};
|
|
4672
|
-
var ɵ0$
|
|
4687
|
+
var ɵ0$1 = noop$1;
|
|
4673
4688
|
var MatLatLongField = /** @class */ (function () {
|
|
4674
4689
|
function MatLatLongField(platform, translate, formBuilder, cd, formGroupDir) {
|
|
4675
4690
|
this.platform = platform;
|
|
@@ -4677,8 +4692,8 @@
|
|
|
4677
4692
|
this.formBuilder = formBuilder;
|
|
4678
4693
|
this.cd = cd;
|
|
4679
4694
|
this.formGroupDir = formGroupDir;
|
|
4680
|
-
this._onChangeCallback = noop$
|
|
4681
|
-
this._onTouchedCallback = noop$
|
|
4695
|
+
this._onChangeCallback = noop$1;
|
|
4696
|
+
this._onTouchedCallback = noop$1;
|
|
4682
4697
|
this._subscription = new rxjs.Subscription();
|
|
4683
4698
|
this.disabling = false;
|
|
4684
4699
|
this.writing = false;
|
|
@@ -4720,24 +4735,25 @@
|
|
|
4720
4735
|
this.pattern = 'DDMM';
|
|
4721
4736
|
this.mask = MASKS[this.type][this.pattern];
|
|
4722
4737
|
}
|
|
4723
|
-
|
|
4724
|
-
|
|
4725
|
-
|
|
4726
|
-
|
|
4727
|
-
|
|
4728
|
-
|
|
4729
|
-
|
|
4730
|
-
|
|
4731
|
-
|
|
4732
|
-
|
|
4733
|
-
|
|
4734
|
-
|
|
4735
|
-
|
|
4736
|
-
|
|
4737
|
-
|
|
4738
|
-
|
|
4739
|
-
|
|
4740
|
-
|
|
4738
|
+
// Remove max decimals in the DDMMSS format
|
|
4739
|
+
if (this.pattern === 'DD') {
|
|
4740
|
+
console.warn("Invalid attribute 'maxDecimals' - Must be '0' when using the 'DDMMSS' pattern.");
|
|
4741
|
+
this.maxDecimals = 7;
|
|
4742
|
+
}
|
|
4743
|
+
else if (this.pattern === 'DDMMSS') {
|
|
4744
|
+
console.warn("Invalid attribute 'maxDecimals' - Must be '0' when using the 'DDMMSS' pattern.");
|
|
4745
|
+
this.maxDecimals = 0;
|
|
4746
|
+
}
|
|
4747
|
+
else if (isNil(this.maxDecimals)) {
|
|
4748
|
+
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4749
|
+
}
|
|
4750
|
+
else if (this.maxDecimals < 0) {
|
|
4751
|
+
console.error('Invalid attribute \'maxDecimals\'. Must a positive value.');
|
|
4752
|
+
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4753
|
+
}
|
|
4754
|
+
else if (this.maxDecimals !== DEFAULT_MAX_DECIMALS) {
|
|
4755
|
+
console.warn("Invalid attribute 'maxDecimals' - Expected value: " + DEFAULT_MAX_DECIMALS + " but get: " + this.maxDecimals + ". Other value not implemented.");
|
|
4756
|
+
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4741
4757
|
}
|
|
4742
4758
|
this.showSignControl = this.pattern !== 'DD';
|
|
4743
4759
|
this.formatFn = this.type === 'latitude' ? formatLatitude : formatLongitude;
|
|
@@ -5029,14 +5045,14 @@
|
|
|
5029
5045
|
},] }
|
|
5030
5046
|
];
|
|
5031
5047
|
|
|
5032
|
-
var DEFAULT_VALUE_ACCESSOR
|
|
5048
|
+
var DEFAULT_VALUE_ACCESSOR = {
|
|
5033
5049
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5034
5050
|
useExisting: i0.forwardRef(function () { return MatDate; }),
|
|
5035
5051
|
multi: true
|
|
5036
5052
|
};
|
|
5037
|
-
var DAY_MASK
|
|
5038
|
-
var noop$
|
|
5039
|
-
var ɵ0$
|
|
5053
|
+
var DAY_MASK = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5054
|
+
var noop$2 = function () { };
|
|
5055
|
+
var ɵ0$2 = noop$2;
|
|
5040
5056
|
var MatDate = /** @class */ (function () {
|
|
5041
5057
|
function MatDate(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5042
5058
|
this.dateAdapter = dateAdapter;
|
|
@@ -5045,12 +5061,12 @@
|
|
|
5045
5061
|
this.cd = cd;
|
|
5046
5062
|
this.keyboard = keyboard;
|
|
5047
5063
|
this.formGroupDir = formGroupDir;
|
|
5048
|
-
this._onChangeCallback = noop$
|
|
5049
|
-
this._onTouchedCallback = noop$
|
|
5064
|
+
this._onChangeCallback = noop$2;
|
|
5065
|
+
this._onTouchedCallback = noop$2;
|
|
5050
5066
|
this._subscription = new rxjs.Subscription();
|
|
5051
5067
|
this.writing = true;
|
|
5052
5068
|
this.disabling = false;
|
|
5053
|
-
this.dayMask = DAY_MASK
|
|
5069
|
+
this.dayMask = DAY_MASK;
|
|
5054
5070
|
this.disabled = false;
|
|
5055
5071
|
this.floatLabel = 'auto';
|
|
5056
5072
|
this.readonly = false;
|
|
@@ -5319,7 +5335,7 @@
|
|
|
5319
5335
|
selector: 'mat-date-field',
|
|
5320
5336
|
template: "<!-- readonly -->\n<mat-form-field *ngIf=\"readonly else writable\">\n <input matInput hidden type=\"text\" readonly=\"true\" [formControl]=\"formControl\">\n <ion-text>{{formControl.value|dateFormat: {pattern: displayPattern} }}</ion-text>\n</mat-form-field>\n\n<ng-template #writable>\n <mat-form-field [floatLabel]=\"floatLabel\">\n\n <mat-label>{{placeholder}}</mat-label>\n\n <div matPrefix><ng-content select=\"[matPrefix]\"></ng-content></div>\n\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"!mobile\"\n [formControl]=\"dayControl\"\n [textMask]=\"{mask: dayMask, keepCharPositions: true, placeholderChar: placeholderChar}\"\n [placeholder]=\"'COMMON.DATE_PLACEHOLDER'|translate\"\n (blur)=\"checkIfTouched()\"\n (keyup.arrowdown)=\"openDatePicker($event, datePicker)\"\n (keyup.escape)=\"preventEvent($event)\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [appAutofocus]=\"autofocus\">\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"mobile\"\n [formControl]=\"dayControl\"\n (click)=\"openDatePickerIfMobile($event, datePicker)\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n readonly>\n\n <!-- Hide the final control -->\n <input matInput type=\"text\"\n [formControl]=\"formControl\"\n hidden\n [matDatepicker]=\"datePicker\"\n (dateChange)=\"onDatePickerChange($event)\">\n\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n (click)=\"openDatePicker($event, datePicker)\"\n [disabled]=\"formControl.disabled\">\n <div *ngIf=\"mobile; then iconDate; else iconDesktop\"></div>\n </button>\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n *ngIf=\"clearable\"\n (click)=\"writeValue(null)\"\n [hidden]=\"formControl.disabled || !formControl.value\">\n <mat-icon>close</mat-icon>\n </button>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('validDate')\" translate>ERROR.FIELD_NOT_VALID_DATE</mat-error>\n <mat-error *ngIf=\"formControl.hasError('dateIsAfter')\">{{'ERROR.FIELD_NOT_VALID_DATE_AFTER' | translate: formControl.errors.dateIsAfter }}</mat-error>\n <mat-error *ngIf=\"formControl.hasError('dateRange')\" translate>ERROR.FIELD_NOT_VALID_DATE_RANGE</mat-error>\n <mat-error *ngIf=\"!formControl.hasError('dateRange') && formControl.hasError('dateMaxDuration')\" translate>ERROR.FIELD_NOT_VALID_DATE_MAX_DURATION</mat-error>\n <mat-error *ngIf=\"!formControl.hasError('dateRange') && formControl.hasError('dateMinDuration')\" translate>ERROR.FIELD_NOT_VALID_DATE_MIN_DURATION</mat-error>\n <mat-error *ngIf=\"formControl.hasError('msg')\">{{formControl.errors.msg}}</mat-error>\n </mat-form-field>\n\n <mat-datepicker #datePicker\n [touchUi]=\"mobile\"\n [disabled]=\"formControl.disabled\"\n [startAt]=\"startDate\"></mat-datepicker>\n\n <ng-template #iconDesktop>\n <mat-icon>keyboard_arrow_down</mat-icon>\n </ng-template>\n\n <ng-template #iconDate>\n <mat-icon>date_range</mat-icon>\n </ng-template>\n\n</ng-template>\n\n",
|
|
5321
5337
|
providers: [
|
|
5322
|
-
DEFAULT_VALUE_ACCESSOR
|
|
5338
|
+
DEFAULT_VALUE_ACCESSOR,
|
|
5323
5339
|
],
|
|
5324
5340
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5325
5341
|
styles: [":host{display:inline-block;width:100%;position:relative}:host [no-padding]{--ion-grid-column-padding:0}:host [nowrap]{flex-wrap:nowrap}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}mat-form-field .datetime-md,mat-form-field ion-datetime{padding:0!important}ion-col.day{min-width:100px}ion-col.day .mat-form-field-subscript-wrapper{overflow:visible;right:-64px;width:calc(100% + 64px)}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper{display:flex}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper .mat-form-field-hint-spacer{flex:1 0 1em}ion-col.hour{min-width:55px;max-width:65px}ion-col.hour mat-form-field{width:100%}ion-col.hour mat-form-field input[type=text],ion-col.hour mat-form-field mat-label{text-align:left;min-width:50px}mat-form-field.mat-form-field-disabled ion-col.day{min-width:100px}.hour .mat-form-field-label{max-width:40px}.hour mat-form-field.mat-form-field-should-float .mat-form-field-placeholder{max-width:inherit}mat-error{text-align:right;width:100%}"]
|
|
@@ -5352,17 +5368,17 @@
|
|
|
5352
5368
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5353
5369
|
};
|
|
5354
5370
|
|
|
5355
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5371
|
+
var DEFAULT_VALUE_ACCESSOR$1 = {
|
|
5356
5372
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5357
5373
|
useExisting: i0.forwardRef(function () { return MatDateTime; }),
|
|
5358
5374
|
multi: true
|
|
5359
5375
|
};
|
|
5360
5376
|
var DAY_MASK$1 = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5361
5377
|
var HOUR_REGEXP = /^[012][0-9][:][012345][0-9]$/;
|
|
5362
|
-
var HOUR_MASK
|
|
5363
|
-
var noop$
|
|
5378
|
+
var HOUR_MASK = [/[012]/, /\d/, ':', /[012345]/, /\d/];
|
|
5379
|
+
var noop$3 = function () {
|
|
5364
5380
|
};
|
|
5365
|
-
var ɵ0$
|
|
5381
|
+
var ɵ0$3 = noop$3;
|
|
5366
5382
|
var MatDateTime = /** @class */ (function () {
|
|
5367
5383
|
function MatDateTime(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5368
5384
|
this.platform = platform;
|
|
@@ -5372,14 +5388,14 @@
|
|
|
5372
5388
|
this.cd = cd;
|
|
5373
5389
|
this.keyboard = keyboard;
|
|
5374
5390
|
this.formGroupDir = formGroupDir;
|
|
5375
|
-
this._onChangeCallback = noop$
|
|
5376
|
-
this._onTouchedCallback = noop$
|
|
5391
|
+
this._onChangeCallback = noop$3;
|
|
5392
|
+
this._onTouchedCallback = noop$3;
|
|
5377
5393
|
this._subscription = new rxjs.Subscription();
|
|
5378
5394
|
this.writing = true;
|
|
5379
5395
|
this.disabling = false;
|
|
5380
5396
|
this._readonly = false;
|
|
5381
5397
|
this.dayMask = DAY_MASK$1;
|
|
5382
|
-
this.hourMask = HOUR_MASK
|
|
5398
|
+
this.hourMask = HOUR_MASK;
|
|
5383
5399
|
this.floatLabel = 'auto';
|
|
5384
5400
|
this.compact = false;
|
|
5385
5401
|
this.placeholderChar = DEFAULT_PLACEHOLDER_CHAR;
|
|
@@ -5736,7 +5752,7 @@
|
|
|
5736
5752
|
selector: 'mat-date-time-field',
|
|
5737
5753
|
template: "<!-- readonly -->\n<mat-form-field *ngIf=\"readonly; else writable\"\n [floatLabel]=\"floatLabel\"\n class=\"mat-form-field-disabled\">\n\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n\n <input matInput hidden type=\"text\"\n readonly\n [placeholder]=\"placeholder\"\n [formControl]=\"formControl\">\n <ion-text>{{formControl.value|dateFormat: {pattern: displayPattern} }}</ion-text>\n</mat-form-field>\n\n<!-- writable + time -->\n<ng-template #writable >\n <ion-grid class=\"ion-no-padding\">\n <ion-row class=\"ion-no-padding no-wrap\" nowrap>\n\n <!-- day -->\n <ion-col class=\"day ion-no-padding\">\n <mat-form-field [floatLabel]=\"floatLabel\"\n [class.mat-form-field-invalid]=\"formControl.touched && formControl.invalid\">\n\n <mat-label>{{placeholder}}</mat-label>\n\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"!mobile\"\n [formControl]=\"dateFormControl\"\n [textMask]=\"{mask: dayMask, keepCharPositions: true, placeholderChar: placeholderChar}\"\n [placeholder]=\"'COMMON.DATE_PLACEHOLDER'|translate\"\n (blur)=\"checkIfTouched()\"\n (keyup.arrowdown)=\"openDatePicker($event, datePicker)\"\n (keyup.escape)=\"preventEvent($event)\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n [appAutofocus]=\"autofocus\">\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"mobile\"\n [formControl]=\"dateFormControl\"\n (click)=\"openDatePickerIfMobile($event, datePicker)\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n readonly>\n <input matInput type=\"text\" [formControl]=\"formControl\"\n hidden\n [matDatepicker]=\"datePicker\"\n (dateChange)=\"onDatePickerChange($event)\">\n\n <button type=\"button\" mat-icon-button tabindex=\"-1\" matSuffix #datePickerButton2 (click)=\"openDatePicker($event, datePicker)\" [disabled]=\"formControl.disabled\">\n <div *ngIf=\"mobile; then iconDate; else iconDesktop\"></div>\n </button>\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n *ngIf=\"clearable\"\n (click)=\"clear()\"\n [hidden]=\"formControl.disabled || !formControl.value\">\n <mat-icon>close</mat-icon>\n </button>\n </mat-form-field>\n <mat-datepicker #datePicker\n [touchUi]=\"mobile\"\n [disabled]=\"formControl.disabled\"\n [startAt]=\"startDate\"></mat-datepicker>\n <div class=\"mat-form-field-subscript mat-form-field-subscript-wrapper\" >\n <!-- errors -->\n <ng-container [ngSwitch]=\"formControl.touched && formControl.errors|mapKeys|arrayFirst\">\n <mat-error *ngSwitchCase=\"'required'\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngSwitchCase=\"'validDate'\" translate>ERROR.FIELD_NOT_VALID_DATE_TIME</mat-error>\n <mat-error *ngSwitchCase=\"'dateIsAfter'\">{{'ERROR.FIELD_NOT_VALID_DATE_AFTER' | translate: formControl.errors.dateIsAfter }}</mat-error>\n <mat-error *ngSwitchCase=\"'dateRange'\" translate>ERROR.FIELD_NOT_VALID_DATE_RANGE</mat-error>\n <mat-error *ngSwitchCase=\"'dateMaxDuration'\" translate>ERROR.FIELD_NOT_VALID_DATE_MAX_DURATION</mat-error>\n <mat-error *ngSwitchCase=\"'dateMinDuration'\" translate>ERROR.FIELD_NOT_VALID_DATE_MIN_DURATION</mat-error>\n <mat-error *ngSwitchCase=\"'msg'\">{{(formControl.errors.msg?.key || formControl.errors.msg) | translate: formControl.errors.msg?.params}}</mat-error>\n </ng-container>\n <ng-content select=\"mat-error\"></ng-content>\n\n <!-- mat hint -->\n <div class=\"mat-form-field-hint-wrapper\" [class.cdk-visually-hidden]=\"formControl.invalid\">\n <div class=\"mat-form-field-hint-spacer\"></div>\n <ng-content select=\"mat-hint\"></ng-content>\n </div>\n </div>\n\n </ion-col>\n\n <!-- hour -->\n <ion-col class=\"hour ion-no-padding\">\n <mat-form-field [floatLabel]=\"floatLabel\"\n [class.mat-form-field-invalid]=\"formControl.touched && (timeFormControl.invalid || formControl.invalid)\">\n <mat-label *ngIf=\"placeholder && floatLabel != 'never'\" translate>COMMON.TIME</mat-label>\n <input matInput #matInput type=\"text\"\n *ngIf=\"!mobile\"\n [formControl]=\"timeFormControl\"\n autocomplete=\"off\"\n min=\"0\" max=\"23\"\n [textMask]=\"{mask: hourMask, keepCharPositions: true, placeholderChar: placeholderChar, guide: true}\"\n [placeholder]=\"'COMMON.TIME_PLACEHOLDER'|translate\"\n [required]=\"required\"\n (keyup.arrowdown)=\"openTimePicker($event)\"\n (keyup.escape)=\"preventEvent($event)\"\n (blur)=\"checkIfTouched()\"\n [tabindex]=\"tabindex !== undefined ? tabindex+1 : undefined\">\n\n <input matInput #matInput type=\"text\"\n *ngIf=\"mobile\"\n [formControl]=\"timeFormControl\"\n (click)=\"openTimePickerIfMobile($event)\"\n readonly>\n\n <input matInput type=\"text\"\n [formControl]=\"timeFormControl\"\n hidden\n [ngxTimepicker]=\"timePicker\"\n [format]=\"24\">\n\n <button matSuffix type=\"button\" mat-icon-button\n tabindex=\"-1\"\n *ngIf=\"!compact && !mobile\"\n [disabled]=\"formControl.disabled\"\n (click)=\"openTimePicker($event)\" >\n <mat-icon>keyboard_arrow_down</mat-icon>\n </button>\n <button matSuffix type=\"button\" mat-icon-button\n tabindex=\"-1\"\n *ngIf=\"!compact && mobile\"\n [disabled]=\"formControl.disabled\"\n (click)=\"openTimePickerIfMobile($event)\">\n <mat-icon>access_time</mat-icon>\n </button>\n\n <ngx-material-timepicker #timePicker [@.disabled]=\"true\"\n (timeSet)=\"onTimePickerChange($event)\"\n [ESC]=\"!mobile\"\n [defaultTime]=\"'00:00'\"\n [cancelBtnTmpl]=\"timePickerCancelButton\"\n [confirmBtnTmpl]=\"timePickerOkButton\"\n [preventOverlayClick]=\"mobile\"\n [enableKeyboardInput]=\"false\"\n [disableAnimation]=\"true\">\n <!-- cancel button -->\n <ng-template #timePickerCancelButton>\n <ion-button fill=\"clear\" color=\"dark\">\n <ion-label translate>COMMON.BTN_CANCEL</ion-label>\n </ion-button>\n </ng-template>\n\n <!-- confirm button -->\n <ng-template #timePickerOkButton>\n <ion-button fill=\"solid\" color=\"tertiary\">\n <ion-label translate>COMMON.BTN_VALIDATE</ion-label>\n </ion-button>\n </ng-template>\n\n </ngx-material-timepicker>\n </mat-form-field>\n </ion-col>\n </ion-row>\n </ion-grid>\n\n\n</ng-template>\n\n<ng-template #iconDesktop>\n <mat-icon>keyboard_arrow_down</mat-icon>\n</ng-template>\n\n<ng-template #iconDate>\n <mat-icon>date_range</mat-icon>\n</ng-template>\n\n<ng-template #matPrefixTemplate>\n <ng-content select=\"[matPrefix]\"></ng-content>\n</ng-template>\n",
|
|
5738
5754
|
providers: [
|
|
5739
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
5755
|
+
DEFAULT_VALUE_ACCESSOR$1,
|
|
5740
5756
|
],
|
|
5741
5757
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5742
5758
|
styles: [":host{display:inline-block;width:100%;position:relative;--ion-grid-column-padding:0}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}mat-form-field .datetime-md{padding:0!important}ion-row.no-wrap{flex-wrap:nowrap}ion-col.day{min-width:100px}ion-col.day .mat-form-field-subscript-wrapper{overflow:visible;right:-64px;width:calc(100% + 64px)}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper{display:flex}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper .mat-form-field-hint-spacer{flex:1 0 1em}ion-col.hour{min-width:55px;max-width:65px}ion-col.hour mat-form-field{width:100%}ion-col.hour mat-form-field input[type=text],ion-col.hour mat-form-field mat-label{text-align:left;min-width:50px}mat-form-field.mat-form-field-disabled ion-col.day{min-width:100px}.hour .mat-form-field-label{max-width:40px}.hour mat-form-field.mat-form-field-should-float .mat-form-field-placeholder{max-width:inherit}mat-error{text-align:right;width:100%}"]
|
|
@@ -5770,15 +5786,15 @@
|
|
|
5770
5786
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5771
5787
|
};
|
|
5772
5788
|
|
|
5773
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5789
|
+
var DEFAULT_VALUE_ACCESSOR$2 = {
|
|
5774
5790
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5775
5791
|
useExisting: i0.forwardRef(function () { return MatDateShort; }),
|
|
5776
5792
|
multi: true
|
|
5777
5793
|
};
|
|
5778
|
-
var DAY_MASK = [/\d/, /\d/, /\d/, /\d/];
|
|
5794
|
+
var DAY_MASK$2 = [/\d/, /\d/, /\d/, /\d/];
|
|
5779
5795
|
var noop$4 = function () {
|
|
5780
5796
|
};
|
|
5781
|
-
var ɵ0$
|
|
5797
|
+
var ɵ0$4 = noop$4;
|
|
5782
5798
|
var MatDateShort = /** @class */ (function () {
|
|
5783
5799
|
function MatDateShort(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5784
5800
|
this.dateAdapter = dateAdapter;
|
|
@@ -5791,7 +5807,7 @@
|
|
|
5791
5807
|
this._onTouchedCallback = noop$4;
|
|
5792
5808
|
this.writing = true;
|
|
5793
5809
|
this.disabling = false;
|
|
5794
|
-
this.dayMask = DAY_MASK;
|
|
5810
|
+
this.dayMask = DAY_MASK$2;
|
|
5795
5811
|
this.disabled = false;
|
|
5796
5812
|
this.floatLabel = 'auto';
|
|
5797
5813
|
this.readonly = false;
|
|
@@ -6068,7 +6084,7 @@
|
|
|
6068
6084
|
selector: 'mat-date-short-field',
|
|
6069
6085
|
template: "<!-- readonly -->\n<mat-form-field *ngIf=\"readonly else writable\">\n <input matInput hidden type=\"text\" readonly=\"true\" [formControl]=\"formControl\">\n <ion-text>{{formControl.value|dateFormat: {pattern: displayPattern} }}</ion-text>\n</mat-form-field>\n\n<ng-template #writable>\n <mat-form-field [floatLabel]=\"floatLabel\">\n\n <mat-label>{{placeholder}}</mat-label>\n\n <div matPrefix><ng-content select=\"[matPrefix]\"></ng-content></div>\n\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"!mobile\"\n [formControl]=\"dayControl\"\n [textMask]=\"{mask: dayMask, keepCharPositions: true, placeholderChar: placeholderChar}\"\n [placeholder]=\"'COMMON.DATE_YEAR_PLACEHOLDER'|translate\"\n (blur)=\"checkIfTouched()\"\n (keyup.arrowdown)=\"openDatePicker($event, datePicker1)\"\n (keyup.escape)=\"preventEvent($event)\"\n (click)=\"matInput.select()\"\n [required]=\"required\"\n [tabindex]=\"tabindex\">\n <input matInput #matInput autocomplete=\"off\" type=\"text\"\n *ngIf=\"mobile\"\n [formControl]=\"dayControl\"\n (click)=\"openDatePickerIfMobile($event, datePicker1)\"\n [required]=\"required\"\n [tabindex]=\"tabindex\"\n readonly>\n\n <!-- Hide the final control -->\n <input matInput type=\"text\"\n [formControl]=\"formControl\"\n hidden\n [matDatepicker]=\"datePicker1\"\n (dateChange)=\"onDatePickerChange($event)\">\n\n\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n (click)=\"openDatePicker($event, datePicker1)\"\n [disabled]=\"formControl.disabled\">\n <div *ngIf=\"mobile; then iconDate; else iconDesktop\"></div>\n </button>\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n *ngIf=\"clearable\"\n (click)=\"writeValue(null)\"\n [hidden]=\"formControl.disabled || !formControl.value\">\n <mat-icon>close</mat-icon>\n </button>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('validDate')\" translate>ERROR.FIELD_NOT_VALID_DATE</mat-error>\n <mat-error *ngIf=\"formControl.hasError('dateIsAfter')\">{{'ERROR.FIELD_NOT_VALID_DATE_AFTER' | translate: formControl.errors.dateIsAfter }}</mat-error>\n <mat-error *ngIf=\"formControl.hasError('dateRange')\" translate>ERROR.FIELD_NOT_VALID_DATE_RANGE</mat-error>\n <mat-error *ngIf=\"!formControl.hasError('dateRange') && formControl.hasError('dateMaxDuration')\" translate>ERROR.FIELD_NOT_VALID_DATE_MAX_DURATION</mat-error>\n <mat-error *ngIf=\"!formControl.hasError('dateRange') && formControl.hasError('dateMinDuration')\" translate>ERROR.FIELD_NOT_VALID_DATE_MIN_DURATION</mat-error>\n <mat-error *ngIf=\"formControl.hasError('msg')\">{{formControl.errors.msg}}</mat-error>\n <ng-content select=\"mat-error\"></ng-content>\n </mat-form-field>\n\n <mat-datepicker #datePicker1\n startView=\"multi-year\"\n [touchUi]=\"mobile\"\n [disabled]=\"formControl.disabled\"\n (yearSelected)=\"closeDatePicker($event, datePicker1)\"\n [startAt]=\"startDate\"></mat-datepicker>\n\n <ng-template #iconDesktop>\n <mat-icon>keyboard_arrow_down</mat-icon>\n </ng-template>\n\n <ng-template #iconDate>\n <mat-icon>date_range</mat-icon>\n </ng-template>\n\n</ng-template>\n",
|
|
6070
6086
|
providers: [
|
|
6071
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6087
|
+
DEFAULT_VALUE_ACCESSOR$2,
|
|
6072
6088
|
],
|
|
6073
6089
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6074
6090
|
styles: [":host{display:inline-block;width:100%;position:relative}:host [no-padding]{--ion-grid-column-padding:0}:host [nowrap]{flex-wrap:nowrap}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}mat-form-field .datetime-md,mat-form-field ion-datetime{padding:0!important}ion-col.day{min-width:100px}ion-col.day .mat-form-field-subscript-wrapper{overflow:visible;right:-64px;width:calc(100% + 64px)}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper{display:flex}ion-col.day .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper .mat-form-field-hint-spacer{flex:1 0 1em}ion-col.hour{min-width:55px;max-width:65px}ion-col.hour mat-form-field{width:100%}ion-col.hour mat-form-field input[type=text],ion-col.hour mat-form-field mat-label{text-align:left;min-width:50px}mat-form-field.mat-form-field-disabled ion-col.day{min-width:100px}.hour .mat-form-field-label{max-width:40px}.hour mat-form-field.mat-form-field-should-float .mat-form-field-placeholder{max-width:inherit}mat-error{text-align:right;width:100%}"]
|
|
@@ -6139,16 +6155,16 @@
|
|
|
6139
6155
|
},] }
|
|
6140
6156
|
];
|
|
6141
6157
|
|
|
6142
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6158
|
+
var DEFAULT_VALUE_ACCESSOR$3 = {
|
|
6143
6159
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6144
6160
|
useExisting: i0.forwardRef(function () { return MatDuration; }),
|
|
6145
6161
|
multi: true
|
|
6146
6162
|
};
|
|
6147
6163
|
var HOUR_TIME_PATTERN = /[0-9]\d\d:[0-5]\d/;
|
|
6148
|
-
var HOUR_MASK = [/\d/, /\d/, /\d/, ':', /[0-5]/, /\d/];
|
|
6149
|
-
var noop$
|
|
6164
|
+
var HOUR_MASK$1 = [/\d/, /\d/, /\d/, ':', /[0-5]/, /\d/];
|
|
6165
|
+
var noop$5 = function () {
|
|
6150
6166
|
};
|
|
6151
|
-
var ɵ0$
|
|
6167
|
+
var ɵ0$5 = noop$5;
|
|
6152
6168
|
var MatDuration = /** @class */ (function () {
|
|
6153
6169
|
function MatDuration(platform, dateAdapter, translate, formBuilder, cd, formGroupDir) {
|
|
6154
6170
|
this.dateAdapter = dateAdapter;
|
|
@@ -6157,11 +6173,11 @@
|
|
|
6157
6173
|
this.cd = cd;
|
|
6158
6174
|
this.formGroupDir = formGroupDir;
|
|
6159
6175
|
this._subscription = new rxjs.Subscription();
|
|
6160
|
-
this._onChangeCallback = noop$
|
|
6161
|
-
this._onTouchedCallback = noop$
|
|
6176
|
+
this._onChangeCallback = noop$5;
|
|
6177
|
+
this._onTouchedCallback = noop$5;
|
|
6162
6178
|
this.writing = true;
|
|
6163
6179
|
this.disabling = false;
|
|
6164
|
-
this.hourMask = HOUR_MASK;
|
|
6180
|
+
this.hourMask = HOUR_MASK$1;
|
|
6165
6181
|
this.disabled = false;
|
|
6166
6182
|
this.floatLabel = 'auto';
|
|
6167
6183
|
this.readonly = false;
|
|
@@ -6354,7 +6370,7 @@
|
|
|
6354
6370
|
selector: 'mat-duration-field',
|
|
6355
6371
|
template: "<!-- readonly -->\n<mat-form-field *ngIf=\"readonly else writable\">\n <input matInput hidden type=\"text\" readonly=\"true\" [formControl]=\"formControl\">\n <ion-text>{{ formControl.value|duration }}</ion-text>\n</mat-form-field>\n\n<!-- writable -->\n<ng-template #writable>\n <mat-form-field [floatLabel]=\"floatLabel\"\n [class.mat-form-field-disabled]=\"formControl.disabled\"\n [class.mat-form-field-invalid]=\"formControl.touched && formControl.invalid\">\n <mat-label *ngIf=\"placeholder && floatLabel != 'never'\" translate>COMMON.TIME</mat-label>\n\n <div matPrefix><ng-content select=\"[matPrefix]\"></ng-content></div>\n\n <input matInput #matInput type=\"text\"\n autocomplete=\"off\"\n [formControl]=\"textControl\"\n [textMask]=\"{mask: hourMask, keepCharPositions: true, placeholderChar: placeholderChar, guide: true}\"\n [placeholder]=\"'COMMON.DURATION_PLACEHOLDER'|translate\"\n [required]=\"required\"\n (keydown.tab)=\"moveCaretToSeparator($event, true)\"\n (keydown.shift.tab)=\"moveCaretToSeparator($event, false)\"\n (keyup.escape)=\"preventEvent($event)\"\n (blur)=\"checkIfTouched()\"\n [tabindex]=\"tabindex !== undefined ? tabindex+1 : undefined\">\n\n\n <!-- errors -->\n <mat-error *ngIf=\"!formControl.hasError('required') && textControl.hasError('pattern')\" translate>ERROR.FIELD_NOT_VALID_PATTERN</mat-error>\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('min')\">\n {{(compact ? 'ERROR.FIELD_MIN_COMPACT' : 'ERROR.FIELD_MIN') | translate:formControl.errors.min }}</mat-error>\n <mat-error *ngIf=\"formControl.hasError('max')\">\n {{(compact ? 'ERROR.FIELD_MAX_COMPACT' : 'ERROR.FIELD_MAX') | translate:formControl.errors.max }}</mat-error>\n\n <ng-content select=\"mat-error\"></ng-content>\n </mat-form-field>\n</ng-template>\n\n",
|
|
6356
6372
|
providers: [
|
|
6357
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6373
|
+
DEFAULT_VALUE_ACCESSOR$3,
|
|
6358
6374
|
],
|
|
6359
6375
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6360
6376
|
styles: [":host{display:inline-block;min-width:140px;position:relative;--ion-grid-column-padding:0}:host,mat-form-field{width:100%}mat-form-field .mat-form-field-subscript-wrapper{overflow:visible;top:100%}mat-form-field .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper{display:flex}mat-form-field .mat-form-field-subscript-wrapper .mat-form-field-hint-wrapper .mat-form-field-hint-spacer{flex:1 0 1em}mat-error{text-align:right;width:100%}"]
|
|
@@ -6414,22 +6430,22 @@
|
|
|
6414
6430
|
},] }
|
|
6415
6431
|
];
|
|
6416
6432
|
|
|
6417
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6433
|
+
var DEFAULT_VALUE_ACCESSOR$4 = {
|
|
6418
6434
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6419
6435
|
useExisting: i0.forwardRef(function () { return MatBooleanField; }),
|
|
6420
6436
|
multi: true
|
|
6421
6437
|
};
|
|
6422
|
-
var noop$
|
|
6438
|
+
var noop$6 = function () {
|
|
6423
6439
|
};
|
|
6424
|
-
var ɵ0$
|
|
6440
|
+
var ɵ0$6 = noop$6;
|
|
6425
6441
|
var MatBooleanField = /** @class */ (function () {
|
|
6426
6442
|
function MatBooleanField(translate, formBuilder, cd, formGroupDir) {
|
|
6427
6443
|
this.translate = translate;
|
|
6428
6444
|
this.formBuilder = formBuilder;
|
|
6429
6445
|
this.cd = cd;
|
|
6430
6446
|
this.formGroupDir = formGroupDir;
|
|
6431
|
-
this._onChangeCallback = noop$
|
|
6432
|
-
this._onTouchedCallback = noop$
|
|
6447
|
+
this._onChangeCallback = noop$6;
|
|
6448
|
+
this._onTouchedCallback = noop$6;
|
|
6433
6449
|
this._writing = false;
|
|
6434
6450
|
this.showRadio = false;
|
|
6435
6451
|
this.disabled = false;
|
|
@@ -6604,7 +6620,7 @@
|
|
|
6604
6620
|
selector: 'mat-boolean-field',
|
|
6605
6621
|
template: "<mat-form-field *ngIf=\"readonly; else writable\"\n [floatLabel]=\"floatLabel\"\n class=\"mat-form-field-disabled {{classList}}\">\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n <input matInput hidden type=\"text\" readonly\n [placeholder]=\"placeholder\"\n [formControl]=\"formControl\">\n <ion-text>{{(formControl.value == null && 'COMMON.EMPTY_OPTION' || (formControl.value === true && yesLabel) || noLabel) | translate }}</ion-text>\n <div matSuffix>\n <ng-container *ngTemplateOutlet=\"matSuffixTemplate\"></ng-container>\n </div>\n</mat-form-field>\n\n<ng-template #writable>\n <ng-container [ngSwitch]=\"style\">\n\n <!-- Radio -->\n <mat-form-field *ngSwitchCase=\"'radio'\"\n [floatLabel]=\"showRadio && (!floatLabel || floatLabel === 'auto') ? 'always': floatLabel\"\n class=\"mat-boolean-field mat-boolean-field-radio {{classList}}\">\n <mat-label *ngIf=\"placeholder && floatLabel!=='never'\">\n {{placeholder}}\n <span [hidden]=\"showRadio\">({{yesLabel|translate}}/{{'COMMON.NO'|translate}})</span>\n </mat-label>\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n <input matInput #fakeInput type=\"text\" readonly=\"true\"\n [formControl]=\"formControl\"\n (focus)=\"_onFocusFakeInput($event)\"\n [required]=\"required\"\n [class.cdk-visually-hidden]=\"showRadio\"\n [tabindex]=\"tabindex\">\n\n <!-- radio button -->\n <mat-radio-group [hidden]=\"!showRadio\"\n [formControl]=\"formControl\"\n (change)=\"onRadioValueChanged($event)\">\n <mat-radio-button #yesButton [value]=\"true\">\n <span>{{yesLabel|translate}}</span>\n </mat-radio-button> \n <mat-radio-button #noButton [value]=\"false\">\n <span>{{noLabel|translate}}</span>\n </mat-radio-button>\n </mat-radio-group>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n\n <div matSuffix>\n <ng-container *ngTemplateOutlet=\"matSuffixTemplate\"></ng-container>\n </div>\n </mat-form-field>\n\n <!-- Checkbox -->\n <mat-form-field *ngSwitchCase=\"'checkbox'\"\n [floatLabel]=\"floatLabel\"\n class=\"mat-boolean-field mat-boolean-field-checkbox {{classList}}\">\n <mat-label *ngIf=\"placeholder && !showRadio\">\n {{placeholder}}\n </mat-label>\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n <input matInput #matInput\n [formControl]=\"formControl\"\n (focus)=\"_onFocusFakeInput($event)\"\n [required]=\"required\"\n [class.cdk-visually-hidden]=\"showRadio\"\n [tabindex]=\"tabindex\">\n\n <ion-label> </ion-label>\n\n <!-- checkbox, when compact -->\n <mat-checkbox #checkboxButton\n [formControl]=\"formControl\"\n (change)=\"onCheckboxValueChanged($event)\"\n [indeterminate]=\"value===undefined\"\n [hidden]=\"!showRadio\"\n [tabindex]=\"tabindex\">\n </mat-checkbox>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n\n <div matSuffix>\n <ng-container *ngTemplateOutlet=\"matSuffixTemplate\"></ng-container>\n </div>\n </mat-form-field>\n\n <!-- Buttons -->\n <mat-form-field *ngSwitchCase=\"'button'\"\n [floatLabel]=\"floatLabel === 'never' ? 'never' : 'always'\"\n class=\"mat-boolean-field mat-boolean-field-button {{classList}}\">\n <div matPrefix>\n <ng-container *ngTemplateOutlet=\"matPrefixTemplate\"></ng-container>\n </div>\n <input matInput type=\"text\" hidden\n [formControl]=\"formControl\"\n [placeholder]=\"placeholder\"\n [required]=\"required\">\n <div class=\"mat-form-field-buttons\"\n [style.--buttons-col-count]=\"buttonsColCount\"\n *ngIf=\"!formControl.disabled; else disabledLabel\">\n <!-- yes -->\n <ion-button class=\"mat-form-field-button\"\n [tabindex]=\"_tabindex\"\n (click)=\"writeValue(true, $event)\"\n (keyup.enter)=\"writeValue(true, $event)\"\n [color]=\"_value == null ? 'tertiary' : (_value === true) ? 'accent' : 'light'\">\n <ion-icon *ngIf=\"showButtonIcons && yesIcon; let icon\" slot=\"start\" [name]=\"icon\"></ion-icon>\n {{yesLabel|translate}}\n </ion-button>\n\n <!-- No button -->\n <ion-button class=\"mat-form-field-button\"\n [tabindex]=\"_tabindex !== undefined ? (_tabindex + 1) : undefined\"\n (click)=\"writeValue(false, $event)\"\n (keyup.enter)=\"writeValue(false, $event)\"\n [color]=\"_value == null ? 'tertiary' : (_value === false) ? 'accent' : 'light'\">\n <ion-icon *ngIf=\"showButtonIcons && noIcon; let icon\" slot=\"start\" [name]=\"icon\"></ion-icon>\n {{noLabel|translate}}\n </ion-button>\n </div>\n <ng-template #disabledLabel>\n <ion-label><i translate>COMMON.EMPTY_OPTION</i></ion-label>\n </ng-template>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <div matSuffix>\n <ng-container *ngTemplateOutlet=\"matSuffixTemplate\"></ng-container>\n </div>\n\n </mat-form-field>\n </ng-container>\n\n</ng-template>\n\n\n<ng-template #matPrefixTemplate>\n <ng-content select=\"[matPrefix]\"></ng-content>\n</ng-template>\n<ng-template #matSuffixTemplate>\n <ng-content select=\"[matSuffix]\"></ng-content>\n</ng-template>\n",
|
|
6606
6622
|
providers: [
|
|
6607
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6623
|
+
DEFAULT_VALUE_ACCESSOR$4
|
|
6608
6624
|
],
|
|
6609
6625
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6610
6626
|
styles: [":host{width:100%}.mat-form-field.mat-boolean-field-radio{margin-top:-2px}.mat-form-field.mat-boolean-field-button{margin-top:-4px}.mat-form-field .mat-form-field-buttons{width:100%;display:flex;flex-flow:row wrap;justify-content:flex-start;align-items:center}.mat-form-field .mat-form-field-buttons .mat-form-field-button{--flex-basis:calc(100% / var(--buttons-col-count, 2));flex:0 1 var(--flex-basis);max-width:min(var(--flex-basis),150px);white-space:normal;padding:0 2px;height:40px}"]
|
|
@@ -6691,7 +6707,6 @@
|
|
|
6691
6707
|
return MatNumpadEvent;
|
|
6692
6708
|
}(KeyboardEvent));
|
|
6693
6709
|
|
|
6694
|
-
exports.AnimationState = void 0;
|
|
6695
6710
|
(function (AnimationState) {
|
|
6696
6711
|
AnimationState["ENTER"] = "enter";
|
|
6697
6712
|
AnimationState["ENTER_INPUT"] = "enter-input";
|
|
@@ -6859,7 +6874,7 @@
|
|
|
6859
6874
|
};
|
|
6860
6875
|
return MatNumpadDomService;
|
|
6861
6876
|
}());
|
|
6862
|
-
MatNumpadDomService.ɵprov =
|
|
6877
|
+
MatNumpadDomService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatNumpadDomService_Factory() { return new MatNumpadDomService(i0.ɵɵinject(i0.ComponentFactoryResolver), i0.ɵɵinject(i0.ApplicationRef), i0.ɵɵinject(i0.INJECTOR), i0.ɵɵinject(i1$4.DOCUMENT, 8)); }, token: MatNumpadDomService, providedIn: "root" });
|
|
6863
6878
|
MatNumpadDomService.decorators = [
|
|
6864
6879
|
{ type: i0.Injectable, args: [{
|
|
6865
6880
|
providedIn: 'root'
|
|
@@ -7265,7 +7280,7 @@
|
|
|
7265
7280
|
},] }
|
|
7266
7281
|
];
|
|
7267
7282
|
|
|
7268
|
-
var DEFAULT_VALUE_ACCESSOR = {
|
|
7283
|
+
var DEFAULT_VALUE_ACCESSOR$5 = {
|
|
7269
7284
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
7270
7285
|
useExisting: i0.forwardRef(function () { return MatSwipeField; }),
|
|
7271
7286
|
multi: true
|
|
@@ -7585,7 +7600,7 @@
|
|
|
7585
7600
|
{ type: i0.Component, args: [{
|
|
7586
7601
|
selector: 'mat-swipe-field',
|
|
7587
7602
|
template: "<mat-form-field [floatLabel]=\"showSlides && (!floatLabel || floatLabel === 'auto') ? 'always': floatLabel\"\n [class]=\"classList\"\n [class.mat-form-field-disabled]=\"disabled\">\n <mat-label *ngIf=\"placeholder && floatLabel!=='never'\">\n {{placeholder}}\n </mat-label>\n <input matInput #fakeInput type=\"text\"\n [formControl]=\"formControl\"\n [readonly]=\"true\"\n (focus)=\"_onFocusFakeInput($event)\"\n [required]=\"required\"\n [class.cdk-visually-hidden]=\"showSlides\"\n [tabindex]=\"tabindex\">\n\n <div class=\"slides-container\" [class.hidden]=\"!showSlides\">\n <ion-slides #slides\n [options]=\"slidesOptions\"\n (ionSlidesDidLoad)=\"slidesLoaded()\"\n (ionSlideReachStart)=\"reachStart(true)\"\n (ionSlideReachEnd)=\"reachEnd(true)\"\n (ionSlideNextEnd)=\"reachStart(false)\"\n (ionSlidePrevEnd)=\"reachEnd(false)\"\n (ionSlideDidChange)=\"slideChanged()\"\n >\n <ion-slide *ngFor=\"let item of $items | async\">\n <ion-label>{{ displayWith(item) }}</ion-label>\n </ion-slide>\n\n </ion-slides>\n </div>\n\n <button #prevButton\n mat-icon-button\n type=\"button\"\n class=\"button-prev\"\n [hidden]=\"!showSlides\"\n [disabled]=\"previousDisabled\"\n (click)=\"previous()\">\n <mat-icon>chevron_left</mat-icon>\n </button>\n <button #nextButton\n mat-icon-button\n type=\"button\"\n class=\"button-next\"\n [hidden]=\"!showSlides\"\n [disabled]=\"nextDisabled\"\n (click)=\"next()\">\n <mat-icon>chevron_right</mat-icon>\n </button>\n\n <button matSuffix mat-icon-button tabindex=\"-1\"\n type=\"button\"\n *ngIf=\"clearable\"\n (click)=\"clearValue($event)\"\n [hidden]=\"disabled || !formControl.value\">\n <mat-icon>close</mat-icon>\n </button>\n\n <mat-error *ngIf=\"formControl.hasError('required')\" translate>ERROR.FIELD_REQUIRED</mat-error>\n <mat-error *ngIf=\"formControl.hasError('entity')\" translate>ERROR.FIELD_INVALID</mat-error>\n\n</mat-form-field>\n",
|
|
7588
|
-
providers: [DEFAULT_VALUE_ACCESSOR],
|
|
7603
|
+
providers: [DEFAULT_VALUE_ACCESSOR$5],
|
|
7589
7604
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7590
7605
|
styles: [":host{display:inline-block;width:100%;position:relative}input.hidden{display:none}.slides-container .swiper-slide{font-size:16px!important}.slides-container.hidden{visibility:hidden;height:0!important}.button-next,.button-prev{position:absolute;top:calc(50% - 20px);z-index:10}.button-prev{left:0;right:auto}.button-next{left:auto;right:0}"]
|
|
7591
7606
|
},] }
|
|
@@ -7646,14 +7661,14 @@
|
|
|
7646
7661
|
},] }
|
|
7647
7662
|
];
|
|
7648
7663
|
|
|
7649
|
-
var noop$
|
|
7650
|
-
var ɵ0$
|
|
7664
|
+
var noop$7 = function () { };
|
|
7665
|
+
var ɵ0$7 = noop$7;
|
|
7651
7666
|
var MatChipsField = /** @class */ (function () {
|
|
7652
7667
|
function MatChipsField(cd, formGroupDir) {
|
|
7653
7668
|
this.cd = cd;
|
|
7654
7669
|
this.formGroupDir = formGroupDir;
|
|
7655
|
-
this._onChangeCallback = noop$
|
|
7656
|
-
this._onTouchedCallback = noop$
|
|
7670
|
+
this._onChangeCallback = noop$7;
|
|
7671
|
+
this._onTouchedCallback = noop$7;
|
|
7657
7672
|
this.logPrefix = '[mat-chips] ';
|
|
7658
7673
|
this.formControlName = null;
|
|
7659
7674
|
this.required = false;
|
|
@@ -8621,7 +8636,7 @@
|
|
|
8621
8636
|
};
|
|
8622
8637
|
return ProgressBarService;
|
|
8623
8638
|
}());
|
|
8624
|
-
ProgressBarService.ɵprov =
|
|
8639
|
+
ProgressBarService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProgressBarService_Factory() { return new ProgressBarService(); }, token: ProgressBarService, providedIn: "root" });
|
|
8625
8640
|
ProgressBarService.decorators = [
|
|
8626
8641
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8627
8642
|
];
|
|
@@ -8668,7 +8683,7 @@
|
|
|
8668
8683
|
};
|
|
8669
8684
|
return AppGestureConfig;
|
|
8670
8685
|
}(i1$6.HammerGestureConfig));
|
|
8671
|
-
AppGestureConfig.ɵprov =
|
|
8686
|
+
AppGestureConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function AppGestureConfig_Factory() { return new AppGestureConfig(); }, token: AppGestureConfig, providedIn: "root" });
|
|
8672
8687
|
AppGestureConfig.decorators = [
|
|
8673
8688
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8674
8689
|
];
|
|
@@ -8935,7 +8950,7 @@
|
|
|
8935
8950
|
};
|
|
8936
8951
|
return MatPaginatorI18n;
|
|
8937
8952
|
}(paginator.MatPaginatorIntl));
|
|
8938
|
-
MatPaginatorI18n.ɵprov =
|
|
8953
|
+
MatPaginatorI18n.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatPaginatorI18n_Factory() { return new MatPaginatorI18n(i0.ɵɵinject(i1$2.TranslateService)); }, token: MatPaginatorI18n, providedIn: "root" });
|
|
8939
8954
|
MatPaginatorI18n.decorators = [
|
|
8940
8955
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8941
8956
|
];
|
|
@@ -9027,17 +9042,17 @@
|
|
|
9027
9042
|
return rgbArrayToHex(rgb.map(function (v) { return 255 - v; }));
|
|
9028
9043
|
}
|
|
9029
9044
|
|
|
9030
|
-
var noop = function () {
|
|
9045
|
+
var noop$8 = function () {
|
|
9031
9046
|
};
|
|
9032
|
-
var ɵ0$
|
|
9047
|
+
var ɵ0$8 = noop$8;
|
|
9033
9048
|
var AppFormField = /** @class */ (function () {
|
|
9034
9049
|
function AppFormField(translate, cd, injector, formGroupDir) {
|
|
9035
9050
|
this.translate = translate;
|
|
9036
9051
|
this.cd = cd;
|
|
9037
9052
|
this.injector = injector;
|
|
9038
9053
|
this.formGroupDir = formGroupDir;
|
|
9039
|
-
this._onChangeCallback = noop;
|
|
9040
|
-
this._onTouchedCallback = noop;
|
|
9054
|
+
this._onChangeCallback = noop$8;
|
|
9055
|
+
this._onTouchedCallback = noop$8;
|
|
9041
9056
|
this.readonly = false;
|
|
9042
9057
|
this.compact = false;
|
|
9043
9058
|
this.floatLabel = 'auto';
|
|
@@ -9592,7 +9607,7 @@
|
|
|
9592
9607
|
};
|
|
9593
9608
|
return AudioProvider;
|
|
9594
9609
|
}(StartableService));
|
|
9595
|
-
AudioProvider.ɵprov =
|
|
9610
|
+
AudioProvider.ɵprov = i0.ɵɵdefineInjectable({ factory: function AudioProvider_Factory() { return new AudioProvider(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2$2.NativeAudio, 8), i0.ɵɵinject(i3$1.Vibration, 8), i0.ɵɵinject(i4.AudioManagement, 8)); }, token: AudioProvider, providedIn: "root" });
|
|
9596
9611
|
AudioProvider.decorators = [
|
|
9597
9612
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9598
9613
|
];
|
|
@@ -9692,7 +9707,7 @@
|
|
|
9692
9707
|
};
|
|
9693
9708
|
return Hotkeys;
|
|
9694
9709
|
}());
|
|
9695
|
-
Hotkeys.ɵprov =
|
|
9710
|
+
Hotkeys.ɵprov = i0.ɵɵdefineInjectable({ factory: function Hotkeys_Factory() { return new Hotkeys(i0.ɵɵinject(i1$6.EventManager), i0.ɵɵinject(i2.MatDialog), i0.ɵɵinject(i1$4.DOCUMENT), i0.ɵɵinject(i1$5.ModalController)); }, token: Hotkeys, providedIn: "root" });
|
|
9696
9711
|
Hotkeys.decorators = [
|
|
9697
9712
|
{ type: i0.Injectable, args: [{
|
|
9698
9713
|
providedIn: 'root'
|
|
@@ -9896,7 +9911,7 @@
|
|
|
9896
9911
|
return Base64ImageReader;
|
|
9897
9912
|
}());
|
|
9898
9913
|
|
|
9899
|
-
var uuidv4
|
|
9914
|
+
var uuidv4 = uuidv4Imported__namespace;
|
|
9900
9915
|
var FileService = /** @class */ (function () {
|
|
9901
9916
|
function FileService(platform,
|
|
9902
9917
|
//private transfer: FileTransfer,
|
|
@@ -9942,7 +9957,7 @@
|
|
|
9942
9957
|
lastSlashIndex = source.lastIndexOf('/');
|
|
9943
9958
|
if (lastSlashIndex === -1)
|
|
9944
9959
|
throw new Error('Invalid URL: ' + source);
|
|
9945
|
-
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4
|
|
9960
|
+
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4();
|
|
9946
9961
|
if (!(responseType === 'file' && this.canUseFileSystem)) return [3 /*break*/, 4];
|
|
9947
9962
|
console.warn("WARN: [file] Fetching image {" + source + "} in local file...");
|
|
9948
9963
|
targetFilePath = this._imageDirectory + fileName;
|
|
@@ -10005,7 +10020,7 @@
|
|
|
10005
10020
|
};
|
|
10006
10021
|
return FileService;
|
|
10007
10022
|
}());
|
|
10008
|
-
FileService.ɵprov =
|
|
10023
|
+
FileService.ɵprov = i0.ɵɵdefineInjectable({ factory: function FileService_Factory() { return new FileService(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2$1.HttpClient), i0.ɵɵinject(ENVIRONMENT)); }, token: FileService, providedIn: "root" });
|
|
10009
10024
|
FileService.decorators = [
|
|
10010
10025
|
{ type: i0.Injectable, args: [{
|
|
10011
10026
|
providedIn: 'root',
|
|
@@ -10172,7 +10187,7 @@
|
|
|
10172
10187
|
Base58.alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
|
|
10173
10188
|
|
|
10174
10189
|
var scrypt = require('scrypt-async');
|
|
10175
|
-
var sha256
|
|
10190
|
+
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
10176
10191
|
var sha512 = require('hash.js/lib/hash/sha/512');
|
|
10177
10192
|
var nacl = {
|
|
10178
10193
|
sign: tweetnacl.sign,
|
|
@@ -10278,7 +10293,7 @@
|
|
|
10278
10293
|
* Hash (using SHA256) a message
|
|
10279
10294
|
*/
|
|
10280
10295
|
CryptoService.prototype.sha256 = function (message) {
|
|
10281
|
-
return sha256
|
|
10296
|
+
return sha256().update(message).digest('hex');
|
|
10282
10297
|
};
|
|
10283
10298
|
/**
|
|
10284
10299
|
* Hash (using SHA512) a message
|
|
@@ -10292,7 +10307,7 @@
|
|
|
10292
10307
|
};
|
|
10293
10308
|
return CryptoService;
|
|
10294
10309
|
}());
|
|
10295
|
-
CryptoService.ɵprov =
|
|
10310
|
+
CryptoService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CryptoService_Factory() { return new CryptoService(); }, token: CryptoService, providedIn: "root" });
|
|
10296
10311
|
CryptoService.decorators = [
|
|
10297
10312
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
10298
10313
|
];
|
|
@@ -11721,7 +11736,7 @@
|
|
|
11721
11736
|
};
|
|
11722
11737
|
return LocalSettingsService;
|
|
11723
11738
|
}(StartableService));
|
|
11724
|
-
LocalSettingsService.ɵprov =
|
|
11739
|
+
LocalSettingsService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LocalSettingsService_Factory() { return new LocalSettingsService(i0.ɵɵinject(i1$2.TranslateService), i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(APP_LOCAL_SETTINGS, 8), i0.ɵɵinject(APP_LOCAL_SETTINGS_OPTIONS, 8)); }, token: LocalSettingsService, providedIn: "root" });
|
|
11725
11740
|
LocalSettingsService.decorators = [
|
|
11726
11741
|
{ type: i0.Injectable, args: [{
|
|
11727
11742
|
providedIn: 'root',
|
|
@@ -12524,7 +12539,7 @@
|
|
|
12524
12539
|
};
|
|
12525
12540
|
return NetworkService;
|
|
12526
12541
|
}(StartableService));
|
|
12527
|
-
NetworkService.ɵprov =
|
|
12542
|
+
NetworkService.ɵprov = i0.ɵɵdefineInjectable({ factory: function NetworkService_Factory() { return new NetworkService(i0.ɵɵinject(i1$4.DOCUMENT), i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i1$5.ModalController), i0.ɵɵinject(CryptoService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(LocalSettingsService), i0.ɵɵinject(i6.CacheService), i0.ɵɵinject(i2$1.HttpClient), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(i9.Network, 8), i0.ɵɵinject(i10.SplashScreen, 8), i0.ɵɵinject(i1$2.TranslateService, 8), i0.ɵɵinject(i1$5.ToastController, 8)); }, token: NetworkService, providedIn: "root" });
|
|
12528
12543
|
NetworkService.decorators = [
|
|
12529
12544
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
12530
12545
|
];
|
|
@@ -12544,7 +12559,7 @@
|
|
|
12544
12559
|
{ type: i1$5.ToastController, decorators: [{ type: i0.Optional }] }
|
|
12545
12560
|
]; };
|
|
12546
12561
|
|
|
12547
|
-
var ErrorCodes
|
|
12562
|
+
var ErrorCodes = {
|
|
12548
12563
|
UNKNOWN_ERROR: 0,
|
|
12549
12564
|
LOAD_ACCOUNT_ERROR: 1,
|
|
12550
12565
|
BAD_PASSWORD: 2,
|
|
@@ -12961,7 +12976,7 @@
|
|
|
12961
12976
|
case 13:
|
|
12962
12977
|
err_1 = _b.sent();
|
|
12963
12978
|
console.error(err_1);
|
|
12964
|
-
throw { code: ErrorCodes
|
|
12979
|
+
throw { code: ErrorCodes.ENTITY_STORAGE_MIGRATION_FAILED, message: 'ERROR.ENTITY_STORAGE_MIGRATION_FAILED', details: err_1 };
|
|
12965
12980
|
case 14:
|
|
12966
12981
|
// Emit update event
|
|
12967
12982
|
if (!opts || opts.emitEvent !== false) {
|
|
@@ -13738,7 +13753,7 @@
|
|
|
13738
13753
|
}(StartableService));
|
|
13739
13754
|
EntitiesStorage.TRASH_PREFIX = 'Trash#';
|
|
13740
13755
|
EntitiesStorage.REMOTE_PREFIX = 'Remote#';
|
|
13741
|
-
EntitiesStorage.ɵprov =
|
|
13756
|
+
EntitiesStorage.ɵprov = i0.ɵɵdefineInjectable({ factory: function EntitiesStorage_Factory() { return new EntitiesStorage(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(ProgressBarService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(APP_LOCAL_STORAGE_TYPE_POLICIES, 8)); }, token: EntitiesStorage, providedIn: "root" });
|
|
13742
13757
|
EntitiesStorage.decorators = [
|
|
13743
13758
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
13744
13759
|
];
|
|
@@ -13894,10 +13909,10 @@
|
|
|
13894
13909
|
function referentialsToString(values, properties, separator) {
|
|
13895
13910
|
return (values || []).map(function (v) { return referentialToString(v, properties); }).join(separator || ', ');
|
|
13896
13911
|
}
|
|
13897
|
-
var ɵ0$
|
|
13912
|
+
var ɵ0$9 = StatusIds.ENABLE, ɵ1 = StatusIds.DISABLE, ɵ2 = StatusIds.TEMPORARY;
|
|
13898
13913
|
var StatusList = Object.freeze([
|
|
13899
13914
|
{
|
|
13900
|
-
id: ɵ0$
|
|
13915
|
+
id: ɵ0$9,
|
|
13901
13916
|
icon: 'checkmark',
|
|
13902
13917
|
label: 'REFERENTIAL.STATUS_ENUM.ENABLE'
|
|
13903
13918
|
},
|
|
@@ -14200,7 +14215,7 @@
|
|
|
14200
14215
|
(data.lastName || '')) || '';
|
|
14201
14216
|
}
|
|
14202
14217
|
|
|
14203
|
-
var uuidv4 = uuidv4Imported__namespace;
|
|
14218
|
+
var uuidv4$1 = uuidv4Imported__namespace;
|
|
14204
14219
|
var _global = typeof global !== 'undefined' ? global : (typeof window !== 'undefined' ? window : {});
|
|
14205
14220
|
var NativeWebSocket = _global.WebSocket || _global.MozWebSocket;
|
|
14206
14221
|
/**
|
|
@@ -14244,7 +14259,7 @@
|
|
|
14244
14259
|
// Skip if not tracked
|
|
14245
14260
|
if (!context || !context.tracked)
|
|
14246
14261
|
return forward(operation);
|
|
14247
|
-
var id = context.serializationKey || uuidv4();
|
|
14262
|
+
var id = context.serializationKey || uuidv4$1();
|
|
14248
14263
|
console.debug("[apollo-tracker-link] Watching tracked query {" + operation.operationName + "#" + id + "}");
|
|
14249
14264
|
// Clean context, before calling JSON.stringify (remove unused attributes)
|
|
14250
14265
|
var cleanContext = Object.assign(Object.assign({}, context), { optimisticResponse: null, cache: null });
|
|
@@ -14877,14 +14892,14 @@
|
|
|
14877
14892
|
mutationLinks = void 0;
|
|
14878
14893
|
// Add queue to store tracked queries, when offline
|
|
14879
14894
|
if (enableTrackMutationQueries) {
|
|
14880
|
-
serializingLink = new SerializingLink__default[
|
|
14895
|
+
serializingLink = new SerializingLink__default['default']();
|
|
14881
14896
|
trackerLink = createTrackerLink({
|
|
14882
14897
|
storage: storage,
|
|
14883
14898
|
onNetworkStatusChange: this._networkStatusChanged$,
|
|
14884
14899
|
debounce: 1000,
|
|
14885
14900
|
debug: true
|
|
14886
14901
|
});
|
|
14887
|
-
queueLink_1 = new QueueLink__default[
|
|
14902
|
+
queueLink_1 = new QueueLink__default['default']();
|
|
14888
14903
|
this.registerSubscription(this._networkStatusChanged$
|
|
14889
14904
|
.subscribe(function (type) {
|
|
14890
14905
|
// Network is offline: start buffering into queue
|
|
@@ -14899,7 +14914,7 @@
|
|
|
14899
14914
|
}
|
|
14900
14915
|
}));
|
|
14901
14916
|
mutationLinks = [
|
|
14902
|
-
loggerLink__default[
|
|
14917
|
+
loggerLink__default['default'],
|
|
14903
14918
|
queueLink_1,
|
|
14904
14919
|
trackerLink,
|
|
14905
14920
|
queueLink_1,
|
|
@@ -15006,7 +15021,7 @@
|
|
|
15006
15021
|
(err.networkError && ((err.networkError.error && this.toAppError(err.networkError.error))
|
|
15007
15022
|
|| this.toAppError(err.networkError)
|
|
15008
15023
|
|| (err.networkError.error && this.createAppErrorByCode(err.networkError.error.status))
|
|
15009
|
-
|| this.createAppErrorByCode(ErrorCodes
|
|
15024
|
+
|| this.createAppErrorByCode(ErrorCodes.UNKNOWN_NETWORK_ERROR)))
|
|
15010
15025
|
// If graphQL: try to convert the first error found
|
|
15011
15026
|
|| (err.graphQLErrors && err.graphQLErrors.length && this.toAppError(err.graphQLErrors[0]))
|
|
15012
15027
|
|| this.toAppError(err)
|
|
@@ -15014,7 +15029,7 @@
|
|
|
15014
15029
|
|| (err.graphQLErrors && err.graphQLErrors[0])
|
|
15015
15030
|
|| err;
|
|
15016
15031
|
console.error('[graphql] ' + (error && error.message || error), error.stack || '');
|
|
15017
|
-
if (error && error.code === ErrorCodes
|
|
15032
|
+
if (error && error.code === ErrorCodes.UNKNOWN_NETWORK_ERROR && err.networkError && err.networkError.message) {
|
|
15018
15033
|
console.error('[graphql] original error: ' + err.networkError.message);
|
|
15019
15034
|
this.onNetworkError.next(error);
|
|
15020
15035
|
}
|
|
@@ -15050,7 +15065,7 @@
|
|
|
15050
15065
|
return 'ERROR.UNAUTHORIZED';
|
|
15051
15066
|
case ServerErrorCodes.FORBIDDEN:
|
|
15052
15067
|
return 'ERROR.FORBIDDEN';
|
|
15053
|
-
case ErrorCodes
|
|
15068
|
+
case ErrorCodes.UNKNOWN_NETWORK_ERROR:
|
|
15054
15069
|
return 'ERROR.UNKNOWN_NETWORK_ERROR';
|
|
15055
15070
|
case ServerErrorCodes.BAD_UPDATE_DATE:
|
|
15056
15071
|
return 'ERROR.BAD_UPDATE_DATE';
|
|
@@ -15082,7 +15097,7 @@
|
|
|
15082
15097
|
};
|
|
15083
15098
|
return GraphqlService;
|
|
15084
15099
|
}(StartableService));
|
|
15085
|
-
GraphqlService.ɵprov =
|
|
15100
|
+
GraphqlService.ɵprov = i0.ɵɵdefineInjectable({ factory: function GraphqlService_Factory() { return new GraphqlService(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2$3.Apollo), i0.ɵɵinject(i3$3.HttpLink), i0.ɵɵinject(NetworkService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(CryptoService), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(APP_GRAPHQL_TYPE_POLICIES, 8)); }, token: GraphqlService, providedIn: "root" });
|
|
15086
15101
|
GraphqlService.decorators = [
|
|
15087
15102
|
{ type: i0.Injectable, args: [{
|
|
15088
15103
|
providedIn: 'root'
|
|
@@ -15099,7 +15114,7 @@
|
|
|
15099
15114
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_GRAPHQL_TYPE_POLICIES,] }] }
|
|
15100
15115
|
]; };
|
|
15101
15116
|
|
|
15102
|
-
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
15117
|
+
var sha256$1 = require('hash.js/lib/hash/sha/256');
|
|
15103
15118
|
var BaseGraphqlServiceOptions = /** @class */ (function () {
|
|
15104
15119
|
function BaseGraphqlServiceOptions() {
|
|
15105
15120
|
}
|
|
@@ -15269,8 +15284,8 @@
|
|
|
15269
15284
|
};
|
|
15270
15285
|
/* -- protected methods -- */
|
|
15271
15286
|
BaseGraphqlService.prototype.computeMutableWatchQueryId = function (opts) {
|
|
15272
|
-
var queryName = opts.queryName || sha256().update(JSON.stringify(opts.query)).digest('hex').substring(0, 8);
|
|
15273
|
-
var variablesKey = opts.variables && sha256().update(JSON.stringify(opts.variables)).digest('hex').substring(0, 8) || '';
|
|
15287
|
+
var queryName = opts.queryName || sha256$1().update(JSON.stringify(opts.query)).digest('hex').substring(0, 8);
|
|
15288
|
+
var variablesKey = opts.variables && sha256$1().update(JSON.stringify(opts.variables)).digest('hex').substring(0, 8) || '';
|
|
15274
15289
|
return [queryName, opts.arrayFieldName, variablesKey].join('|');
|
|
15275
15290
|
};
|
|
15276
15291
|
BaseGraphqlService.prototype.findMutableWatchQueries = function (opts) {
|
|
@@ -15339,19 +15354,19 @@
|
|
|
15339
15354
|
/* ------------------------------------
|
|
15340
15355
|
* GraphQL queries
|
|
15341
15356
|
* ------------------------------------*/
|
|
15342
|
-
var Fragments
|
|
15343
|
-
account: core.gql(templateObject_1
|
|
15344
|
-
settings: core.gql(templateObject_2
|
|
15357
|
+
var Fragments = {
|
|
15358
|
+
account: core.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n fragment AccountFragment on AccountVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n settings {\n ...UserSettingsFragment\n }\n department {\n id\n label\n name\n __typename\n }\n __typename\n }"], ["\n fragment AccountFragment on AccountVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n settings {\n ...UserSettingsFragment\n }\n department {\n id\n label\n name\n __typename\n }\n __typename\n }"]))),
|
|
15359
|
+
settings: core.gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["fragment UserSettingsFragment on UserSettingsVO {\n id\n locale\n latLongFormat\n content\n nonce\n updateDate\n __typename\n }"], ["fragment UserSettingsFragment on UserSettingsVO {\n id\n locale\n latLongFormat\n content\n nonce\n updateDate\n __typename\n }"])))
|
|
15345
15360
|
};
|
|
15346
15361
|
// Load account query
|
|
15347
|
-
var LoadQuery
|
|
15362
|
+
var LoadQuery = core.gql(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n query Account {\n data: account {\n ...AccountFragment\n }\n }\n ", "\n ", "\n"], ["\n query Account {\n data: account {\n ...AccountFragment\n }\n }\n ", "\n ", "\n"])), Fragments.account, Fragments.settings);
|
|
15348
15363
|
// Check email query
|
|
15349
|
-
var IsEmailExistsQuery = core.gql(templateObject_4
|
|
15364
|
+
var IsEmailExistsQuery = core.gql(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n query IsEmailExists($email: String, $hash: String){\n isEmailExists(email: $email, hash: $hash)\n }\n"], ["\n query IsEmailExists($email: String, $hash: String){\n isEmailExists(email: $email, hash: $hash)\n }\n"])));
|
|
15350
15365
|
// Save (create or update) account mutation
|
|
15351
15366
|
var AccountMutations = {
|
|
15352
|
-
save: core.gql(templateObject_5
|
|
15353
|
-
create: core.gql(templateObject_6 || (templateObject_6 = __makeTemplateObject(["mutation CreateAccount($data:AccountVOInput){\n data: createAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""], ["mutation CreateAccount($data:AccountVOInput){\n data: createAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""])), Fragments
|
|
15354
|
-
saveSettings: core.gql(templateObject_7 || (templateObject_7 = __makeTemplateObject(["mutation SaveSettings($data:UserSettingsVOInput){\n data: saveSettings(settings: $data){\n ...UserSettingsFragment\n }\n }\n ", ""], ["mutation SaveSettings($data:UserSettingsVOInput){\n data: saveSettings(settings: $data){\n ...UserSettingsFragment\n }\n }\n ", ""])), Fragments
|
|
15367
|
+
save: core.gql(templateObject_5 || (templateObject_5 = __makeTemplateObject([" mutation SaveAccount($data:AccountVOInput){\n data: saveAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""], [" mutation SaveAccount($data:AccountVOInput){\n data: saveAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""])), Fragments.account, Fragments.settings),
|
|
15368
|
+
create: core.gql(templateObject_6 || (templateObject_6 = __makeTemplateObject(["mutation CreateAccount($data:AccountVOInput){\n data: createAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""], ["mutation CreateAccount($data:AccountVOInput){\n data: createAccount(account: $data){\n ...AccountFragment\n }\n }\n ", "\n ", ""])), Fragments.account, Fragments.settings),
|
|
15369
|
+
saveSettings: core.gql(templateObject_7 || (templateObject_7 = __makeTemplateObject(["mutation SaveSettings($data:UserSettingsVOInput){\n data: saveSettings(settings: $data){\n ...UserSettingsFragment\n }\n }\n ", ""], ["mutation SaveSettings($data:UserSettingsVOInput){\n data: saveSettings(settings: $data){\n ...UserSettingsFragment\n }\n }\n ", ""])), Fragments.settings)
|
|
15355
15370
|
};
|
|
15356
15371
|
// Sent confirmation email
|
|
15357
15372
|
var SendConfirmEmailMutation = core.gql(templateObject_8 || (templateObject_8 = __makeTemplateObject(["\n mutation sendAccountConfirmationEmail($email:String, $locale:String){\n sendAccountConfirmationEmail(email: $email, locale: $locale)\n }\n"], ["\n mutation sendAccountConfirmationEmail($email:String, $locale:String){\n sendAccountConfirmationEmail(email: $email, locale: $locale)\n }\n"])));
|
|
@@ -15713,7 +15728,7 @@
|
|
|
15713
15728
|
error_3 = _b.sent();
|
|
15714
15729
|
console.error(error_3);
|
|
15715
15730
|
this.resetData();
|
|
15716
|
-
throw { code: ErrorCodes
|
|
15731
|
+
throw { code: ErrorCodes.UNKNOWN_ERROR, message: 'ERROR.SCRYPT_ERROR' };
|
|
15717
15732
|
case 4:
|
|
15718
15733
|
// Store pubkey+keypair
|
|
15719
15734
|
this._cache.pubkey = Base58.encode(keypair.publicKey);
|
|
@@ -15749,7 +15764,7 @@
|
|
|
15749
15764
|
return [3 /*break*/, 18];
|
|
15750
15765
|
case 11:
|
|
15751
15766
|
err_1 = _b.sent();
|
|
15752
|
-
if (!(err_1 && +(err_1.code) === ErrorCodes
|
|
15767
|
+
if (!(err_1 && +(err_1.code) === ErrorCodes.LOAD_ACCOUNT_ERROR)) return [3 /*break*/, 17];
|
|
15753
15768
|
if (!(data.username.indexOf('@') !== -1)) return [3 /*break*/, 16];
|
|
15754
15769
|
isEmailExists = void 0;
|
|
15755
15770
|
_b.label = 12;
|
|
@@ -15765,12 +15780,12 @@
|
|
|
15765
15780
|
case 15:
|
|
15766
15781
|
// Email not exists (no account)
|
|
15767
15782
|
if (!isEmailExists) {
|
|
15768
|
-
throw { code: ErrorCodes
|
|
15783
|
+
throw { code: ErrorCodes.UNKNOWN_ACCOUNT_EMAIL, message: 'ERROR.UNKNOWN_ACCOUNT_EMAIL' };
|
|
15769
15784
|
}
|
|
15770
15785
|
_b.label = 16;
|
|
15771
15786
|
case 16:
|
|
15772
15787
|
// Email exists, so error = 'bad password'
|
|
15773
|
-
throw { code: ErrorCodes
|
|
15788
|
+
throw { code: ErrorCodes.BAD_PASSWORD, message: 'ERROR.BAD_PASSWORD' };
|
|
15774
15789
|
case 17: throw err_1; // resend the first error
|
|
15775
15790
|
case 18:
|
|
15776
15791
|
_b.trys.push([18, 20, , 21]);
|
|
@@ -15942,8 +15957,8 @@
|
|
|
15942
15957
|
_b.label = 3;
|
|
15943
15958
|
case 3: return [3 /*break*/, 6];
|
|
15944
15959
|
case 4: return [4 /*yield*/, this.graphql.query({
|
|
15945
|
-
query: LoadQuery
|
|
15946
|
-
error: { code: ErrorCodes
|
|
15960
|
+
query: LoadQuery,
|
|
15961
|
+
error: { code: ErrorCodes.LOAD_ACCOUNT_ERROR, message: 'ERROR.LOAD_ACCOUNT_ERROR' },
|
|
15947
15962
|
fetchPolicy: opts && opts.fetchPolicy || 'no-cache' || undefined
|
|
15948
15963
|
})];
|
|
15949
15964
|
case 5:
|
|
@@ -15981,7 +15996,7 @@
|
|
|
15981
15996
|
case 1:
|
|
15982
15997
|
isEmailExists = _b.sent();
|
|
15983
15998
|
if (isEmailExists) {
|
|
15984
|
-
throw { code: ErrorCodes
|
|
15999
|
+
throw { code: ErrorCodes.EMAIL_ALREADY_REGISTERED, message: 'ERROR.EMAIL_ALREADY_REGISTERED' };
|
|
15985
16000
|
}
|
|
15986
16001
|
return [2 /*return*/];
|
|
15987
16002
|
}
|
|
@@ -16031,7 +16046,7 @@
|
|
|
16031
16046
|
locale: locale
|
|
16032
16047
|
},
|
|
16033
16048
|
error: {
|
|
16034
|
-
code: ErrorCodes
|
|
16049
|
+
code: ErrorCodes.SENT_CONFIRMATION_EMAIL_FAILED,
|
|
16035
16050
|
message: 'ERROR.SENT_ACCOUNT_CONFIRMATION_EMAIL_FAILED'
|
|
16036
16051
|
}
|
|
16037
16052
|
})];
|
|
@@ -16054,7 +16069,7 @@
|
|
|
16054
16069
|
code: code
|
|
16055
16070
|
},
|
|
16056
16071
|
error: {
|
|
16057
|
-
code: ErrorCodes
|
|
16072
|
+
code: ErrorCodes.CONFIRM_EMAIL_FAILED,
|
|
16058
16073
|
message: 'ERROR.CONFIRM_ACCOUNT_EMAIL_FAILED'
|
|
16059
16074
|
}
|
|
16060
16075
|
})];
|
|
@@ -16077,7 +16092,7 @@
|
|
|
16077
16092
|
interval: 10
|
|
16078
16093
|
},
|
|
16079
16094
|
error: {
|
|
16080
|
-
code: ErrorCodes
|
|
16095
|
+
code: ErrorCodes.SUBSCRIBE_ACCOUNT_ERROR,
|
|
16081
16096
|
message: 'ERROR.ACCOUNT.SUBSCRIBE_ACCOUNT_ERROR'
|
|
16082
16097
|
}
|
|
16083
16098
|
}).subscribe({
|
|
@@ -16217,7 +16232,7 @@
|
|
|
16217
16232
|
throw error_6;
|
|
16218
16233
|
console.error(error_6);
|
|
16219
16234
|
throw {
|
|
16220
|
-
code: ErrorCodes
|
|
16235
|
+
code: ErrorCodes.LOAD_ACCOUNT_ERROR,
|
|
16221
16236
|
message: 'ERROR.LOAD_ACCOUNT_ERROR'
|
|
16222
16237
|
};
|
|
16223
16238
|
case 6: return [2 /*return*/];
|
|
@@ -16426,7 +16441,7 @@
|
|
|
16426
16441
|
case 1:
|
|
16427
16442
|
existingAccount = _b.sent();
|
|
16428
16443
|
if (!existingAccount || !existingAccount.updateDate) {
|
|
16429
|
-
throw { code: ErrorCodes
|
|
16444
|
+
throw { code: ErrorCodes.ACCOUNT_NOT_EXISTS, message: 'ERROR.ACCOUNT_NOT_EXISTS' };
|
|
16430
16445
|
}
|
|
16431
16446
|
this.copyIdAndUpdateDate(existingAccount, account);
|
|
16432
16447
|
_b.label = 2;
|
|
@@ -16438,7 +16453,7 @@
|
|
|
16438
16453
|
mutation: isNew ? AccountMutations.create : AccountMutations.save,
|
|
16439
16454
|
variables: { data: json },
|
|
16440
16455
|
error: {
|
|
16441
|
-
code: ErrorCodes
|
|
16456
|
+
code: ErrorCodes.SAVE_ACCOUNT_ERROR,
|
|
16442
16457
|
message: 'ERROR.SAVE_ACCOUNT_ERROR'
|
|
16443
16458
|
}
|
|
16444
16459
|
})];
|
|
@@ -16472,7 +16487,7 @@
|
|
|
16472
16487
|
mutation: AccountMutations.saveSettings,
|
|
16473
16488
|
variables: { data: json },
|
|
16474
16489
|
error: {
|
|
16475
|
-
code: ErrorCodes
|
|
16490
|
+
code: ErrorCodes.SAVE_SETTINGS_ERROR,
|
|
16476
16491
|
message: 'ERROR.SAVE_SETTINGS_ERROR'
|
|
16477
16492
|
}
|
|
16478
16493
|
})];
|
|
@@ -16503,7 +16518,7 @@
|
|
|
16503
16518
|
if (counter > 4) {
|
|
16504
16519
|
if (this._debug)
|
|
16505
16520
|
console.debug("[account] Failed to authentication on pod (after " + counter + " attempts)");
|
|
16506
|
-
throw { code: ErrorCodes
|
|
16521
|
+
throw { code: ErrorCodes.AUTH_SERVER_ERROR, message: 'ERROR.AUTH_SERVER_ERROR' };
|
|
16507
16522
|
}
|
|
16508
16523
|
if (!token) return [3 /*break*/, 2];
|
|
16509
16524
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16512,7 +16527,7 @@
|
|
|
16512
16527
|
token: token
|
|
16513
16528
|
},
|
|
16514
16529
|
error: {
|
|
16515
|
-
code: ErrorCodes
|
|
16530
|
+
code: ErrorCodes.UNAUTHORIZED,
|
|
16516
16531
|
message: 'ERROR.UNAUTHORIZED'
|
|
16517
16532
|
},
|
|
16518
16533
|
fetchPolicy: 'no-cache'
|
|
@@ -16529,7 +16544,7 @@
|
|
|
16529
16544
|
_b.label = 2;
|
|
16530
16545
|
case 2:
|
|
16531
16546
|
challengeError = {
|
|
16532
|
-
code: ErrorCodes
|
|
16547
|
+
code: ErrorCodes.AUTH_CHALLENGE_ERROR,
|
|
16533
16548
|
message: 'ERROR.AUTH_CHALLENGE_ERROR'
|
|
16534
16549
|
};
|
|
16535
16550
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16576,7 +16591,7 @@
|
|
|
16576
16591
|
};
|
|
16577
16592
|
return AccountService;
|
|
16578
16593
|
}(BaseGraphqlService));
|
|
16579
|
-
AccountService.ɵprov =
|
|
16594
|
+
AccountService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(i0.ɵɵinject(CryptoService), i0.ɵɵinject(NetworkService), i0.ɵɵinject(GraphqlService), i0.ɵɵinject(LocalSettingsService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(FileService), i0.ɵɵinject(ENVIRONMENT)); }, token: AccountService, providedIn: "root" });
|
|
16580
16595
|
AccountService.decorators = [
|
|
16581
16596
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
16582
16597
|
];
|
|
@@ -16589,7 +16604,7 @@
|
|
|
16589
16604
|
{ type: FileService },
|
|
16590
16605
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
16591
16606
|
]; };
|
|
16592
|
-
var templateObject_1
|
|
16607
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
|
16593
16608
|
|
|
16594
16609
|
var Software_1, Configuration_1;
|
|
16595
16610
|
// @dynamic
|
|
@@ -16841,13 +16856,13 @@
|
|
|
16841
16856
|
/* ------------------------------------
|
|
16842
16857
|
* GraphQL queries
|
|
16843
16858
|
* ------------------------------------*/
|
|
16844
|
-
var Fragments = {
|
|
16845
|
-
config: core.gql(templateObject_1$
|
|
16859
|
+
var Fragments$1 = {
|
|
16860
|
+
config: core.gql(templateObject_1$1 || (templateObject_1$1 = __makeTemplateObject(["\n fragment ConfigFragment on ConfigurationVO {\n id\n label\n name\n description\n comments\n properties\n smallLogo\n largeLogo\n backgroundImages\n partners {\n id\n label\n name\n logo\n siteUrl\n __typename\n }\n updateDate\n creationDate\n statusId\n __typename\n }\n "], ["\n fragment ConfigFragment on ConfigurationVO {\n id\n label\n name\n description\n comments\n properties\n smallLogo\n largeLogo\n backgroundImages\n partners {\n id\n label\n name\n logo\n siteUrl\n __typename\n }\n updateDate\n creationDate\n statusId\n __typename\n }\n "])))
|
|
16846
16861
|
};
|
|
16847
|
-
var LoadQuery = core.gql(templateObject_2$
|
|
16862
|
+
var LoadQuery$1 = core.gql(templateObject_2$1 || (templateObject_2$1 = __makeTemplateObject(["\nquery Configuration{\n data: configuration{\n ...ConfigFragment\n }\n}\n ", "\n"], ["\nquery Configuration{\n data: configuration{\n ...ConfigFragment\n }\n}\n ", "\n"])), Fragments$1.config);
|
|
16848
16863
|
// Save (create or update) account mutation
|
|
16849
|
-
var SaveMutation = core.gql(templateObject_3$
|
|
16850
|
-
var ClearCache = core.gql(templateObject_4$
|
|
16864
|
+
var SaveMutation = core.gql(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n mutation SaveConfiguration($data: ConfigurationVOInput){\n data: saveConfiguration(config: $data){\n ...ConfigFragment\n }\n }\n ", "\n"], ["\n mutation SaveConfiguration($data: ConfigurationVOInput){\n data: saveConfiguration(config: $data){\n ...ConfigFragment\n }\n }\n ", "\n"])), Fragments$1.config);
|
|
16865
|
+
var ClearCache = core.gql(templateObject_4$1 || (templateObject_4$1 = __makeTemplateObject(["\n query ClearCache($name: String) {\n clearCache(name: $name)\n }\n"], ["\n query ClearCache($name: String) {\n clearCache(name: $name)\n }\n"])));
|
|
16851
16866
|
var CacheStatistics = core.gql(templateObject_5$1 || (templateObject_5$1 = __makeTemplateObject(["\n query CacheStatistics {\n cacheStatistics\n }\n"], ["\n query CacheStatistics {\n cacheStatistics\n }\n"])));
|
|
16852
16867
|
var APP_CONFIG_OPTIONS = new i0.InjectionToken('defaultOptions');
|
|
16853
16868
|
var ConfigService = /** @class */ (function (_super) {
|
|
@@ -16906,12 +16921,12 @@
|
|
|
16906
16921
|
case 0:
|
|
16907
16922
|
now = Date.now();
|
|
16908
16923
|
console.debug('[config] Loading Pod configuration...');
|
|
16909
|
-
query = opts && opts.query || LoadQuery;
|
|
16924
|
+
query = opts && opts.query || LoadQuery$1;
|
|
16910
16925
|
variables = opts && opts.variables || undefined;
|
|
16911
16926
|
return [4 /*yield*/, this.graphql.query({
|
|
16912
16927
|
query: query,
|
|
16913
16928
|
variables: variables,
|
|
16914
|
-
error: { code: ErrorCodes
|
|
16929
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
16915
16930
|
fetchPolicy: opts && opts.fetchPolicy || undefined /*default*/
|
|
16916
16931
|
})];
|
|
16917
16932
|
case 1:
|
|
@@ -16950,7 +16965,7 @@
|
|
|
16950
16965
|
data: json
|
|
16951
16966
|
},
|
|
16952
16967
|
error: {
|
|
16953
|
-
code: ErrorCodes
|
|
16968
|
+
code: ErrorCodes.SAVE_CONFIG_ERROR,
|
|
16954
16969
|
message: 'ERROR.SAVE_CONFIG_ERROR'
|
|
16955
16970
|
}
|
|
16956
16971
|
})];
|
|
@@ -16985,7 +17000,7 @@
|
|
|
16985
17000
|
return [4 /*yield*/, this.graphql.query({
|
|
16986
17001
|
query: CacheStatistics,
|
|
16987
17002
|
variables: null,
|
|
16988
|
-
error: { code: ErrorCodes
|
|
17003
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
16989
17004
|
fetchPolicy: 'network-only'
|
|
16990
17005
|
})];
|
|
16991
17006
|
case 1:
|
|
@@ -17009,7 +17024,7 @@
|
|
|
17009
17024
|
return [4 /*yield*/, this.graphql.query({
|
|
17010
17025
|
query: ClearCache,
|
|
17011
17026
|
variables: variables,
|
|
17012
|
-
error: { code: ErrorCodes
|
|
17027
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17013
17028
|
fetchPolicy: 'network-only'
|
|
17014
17029
|
})];
|
|
17015
17030
|
case 1:
|
|
@@ -17209,7 +17224,7 @@
|
|
|
17209
17224
|
};
|
|
17210
17225
|
return ConfigService;
|
|
17211
17226
|
}(BaseGraphqlService));
|
|
17212
|
-
ConfigService.ɵprov =
|
|
17227
|
+
ConfigService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(GraphqlService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(NetworkService), i0.ɵɵinject(FileService), i0.ɵɵinject(i1$5.ToastController), i0.ɵɵinject(i1$2.TranslateService), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(APP_CONFIG_OPTIONS, 8)); }, token: ConfigService, providedIn: "root" });
|
|
17213
17228
|
ConfigService.decorators = [
|
|
17214
17229
|
{ type: i0.Injectable, args: [{
|
|
17215
17230
|
providedIn: 'root',
|
|
@@ -17227,9 +17242,9 @@
|
|
|
17227
17242
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] },
|
|
17228
17243
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_CONFIG_OPTIONS,] }] }
|
|
17229
17244
|
]; };
|
|
17230
|
-
var templateObject_1$
|
|
17245
|
+
var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1;
|
|
17231
17246
|
|
|
17232
|
-
var moment$
|
|
17247
|
+
var moment$4 = momentImported__namespace;
|
|
17233
17248
|
var PlatformService = /** @class */ (function (_super) {
|
|
17234
17249
|
__extends(PlatformService, _super);
|
|
17235
17250
|
function PlatformService(platform, cdkPlatform, toastController, translate, dateAdapter, entitiesStorage, settings, networkService, accountService, configService, cache, storage, audioProvider, environment, statusBar, keyboard, splashScreen, browser, downloader) {
|
|
@@ -17468,16 +17483,16 @@
|
|
|
17468
17483
|
}
|
|
17469
17484
|
// config moment lib
|
|
17470
17485
|
try {
|
|
17471
|
-
moment$
|
|
17486
|
+
moment$4.locale(event.lang);
|
|
17472
17487
|
console.debug('[platform] Use locale {' + event.lang + '}');
|
|
17473
17488
|
}
|
|
17474
17489
|
// If error, fallback to en
|
|
17475
17490
|
catch (err) {
|
|
17476
|
-
moment$
|
|
17491
|
+
moment$4.locale('en');
|
|
17477
17492
|
console.warn('[platform] Unknown local for moment lib. Using default [en]');
|
|
17478
17493
|
}
|
|
17479
17494
|
// Config date adapter
|
|
17480
|
-
_this.dateAdapter.setLocale(moment$
|
|
17495
|
+
_this.dateAdapter.setLocale(moment$4.locale());
|
|
17481
17496
|
}
|
|
17482
17497
|
});
|
|
17483
17498
|
this.settings.onChange.subscribe(function (data) {
|
|
@@ -17658,7 +17673,7 @@
|
|
|
17658
17673
|
};
|
|
17659
17674
|
return PlatformService;
|
|
17660
17675
|
}(StartableService));
|
|
17661
|
-
PlatformService.ɵprov =
|
|
17676
|
+
PlatformService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PlatformService_Factory() { return new PlatformService(i0.ɵɵinject(i1$5.Platform), i0.ɵɵinject(i2$4.Platform), i0.ɵɵinject(i1$5.ToastController), i0.ɵɵinject(i1$2.TranslateService), i0.ɵɵinject(i1$1.MomentDateAdapter), i0.ɵɵinject(EntitiesStorage), i0.ɵɵinject(LocalSettingsService), i0.ɵɵinject(NetworkService), i0.ɵɵinject(AccountService), i0.ɵɵinject(ConfigService), i0.ɵɵinject(i6.CacheService), i0.ɵɵinject(i3$2.Storage), i0.ɵɵinject(AudioProvider), i0.ɵɵinject(ENVIRONMENT), i0.ɵɵinject(i14.StatusBar, 8), i0.ɵɵinject(i15.Keyboard, 8), i0.ɵɵinject(i10.SplashScreen, 8), i0.ɵɵinject(i17.InAppBrowser, 8), i0.ɵɵinject(i18.Downloader, 8)); }, token: PlatformService, providedIn: "root" });
|
|
17662
17677
|
PlatformService.decorators = [
|
|
17663
17678
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17664
17679
|
];
|
|
@@ -17756,7 +17771,7 @@
|
|
|
17756
17771
|
};
|
|
17757
17772
|
return MatStepperI18n;
|
|
17758
17773
|
}(stepper.MatStepperIntl));
|
|
17759
|
-
MatStepperI18n.ɵprov =
|
|
17774
|
+
MatStepperI18n.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatStepperI18n_Factory() { return new MatStepperI18n(i0.ɵɵinject(i1$2.TranslateService)); }, token: MatStepperI18n, providedIn: "root" });
|
|
17760
17775
|
MatStepperI18n.decorators = [
|
|
17761
17776
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17762
17777
|
];
|
|
@@ -18958,7 +18973,7 @@
|
|
|
18958
18973
|
return 1;
|
|
18959
18974
|
}
|
|
18960
18975
|
}
|
|
18961
|
-
var ɵ0$
|
|
18976
|
+
var ɵ0$a = function (defaultStateSize) { return [
|
|
18962
18977
|
Math.round((rgbArrayMap.red[0] - 50) / defaultStateSize),
|
|
18963
18978
|
Math.round((255 - rgbArrayMap.red[1]) / defaultStateSize),
|
|
18964
18979
|
Math.round((255 - rgbArrayMap.red[2]) / defaultStateSize)
|
|
@@ -18966,7 +18981,7 @@
|
|
|
18966
18981
|
var SCALE_OPTIONS_DEFAULT = {
|
|
18967
18982
|
startColor: rgbArrayMap.red,
|
|
18968
18983
|
startStates: [0, 2, 3],
|
|
18969
|
-
startStepsFn: ɵ0$
|
|
18984
|
+
startStepsFn: ɵ0$a
|
|
18970
18985
|
};
|
|
18971
18986
|
/**
|
|
18972
18987
|
* Internal function, that create a colors scale, using iteration
|
|
@@ -19058,24 +19073,24 @@
|
|
|
19058
19073
|
return result;
|
|
19059
19074
|
}
|
|
19060
19075
|
|
|
19061
|
-
var EntityTestClass
|
|
19076
|
+
var EntityTestClass = /** @class */ (function () {
|
|
19062
19077
|
function EntityTestClass() {
|
|
19063
19078
|
}
|
|
19064
19079
|
return EntityTestClass;
|
|
19065
19080
|
}());
|
|
19066
|
-
var FAKE_ENTITIES
|
|
19081
|
+
var FAKE_ENTITIES = [
|
|
19067
19082
|
{ id: 1, label: 'AAA', name: 'Item A', description: 'Very long description A', comments: 'Very very long comments... again for A' },
|
|
19068
19083
|
{ id: 2, label: 'BBB', name: 'Item B', description: 'Very long description B', comments: 'Very very long comments... again for B' },
|
|
19069
19084
|
{ id: 3, label: 'CCC', name: 'Item C', description: 'Very long description C', comments: 'Very very long comments... again for C' }
|
|
19070
19085
|
];
|
|
19071
|
-
function deepCopy
|
|
19086
|
+
function deepCopy(values, size) {
|
|
19072
19087
|
if (isNil(size)) {
|
|
19073
|
-
return (values || FAKE_ENTITIES
|
|
19088
|
+
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
19074
19089
|
}
|
|
19075
19090
|
var result = [];
|
|
19076
19091
|
var i = 1;
|
|
19077
19092
|
while (result.length < size) {
|
|
19078
|
-
result = result.concat((values || FAKE_ENTITIES
|
|
19093
|
+
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
19079
19094
|
var name = entity.name + ' #' + i;
|
|
19080
19095
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
19081
19096
|
}));
|
|
@@ -19085,7 +19100,7 @@
|
|
|
19085
19100
|
var AutocompleteTestPage = /** @class */ (function () {
|
|
19086
19101
|
function AutocompleteTestPage(formBuilder) {
|
|
19087
19102
|
this.formBuilder = formBuilder;
|
|
19088
|
-
this._items = deepCopy
|
|
19103
|
+
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
19089
19104
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
19090
19105
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
19091
19106
|
this.memoryHide = false;
|
|
@@ -19130,7 +19145,7 @@
|
|
|
19130
19145
|
});
|
|
19131
19146
|
// From items
|
|
19132
19147
|
this.autocompleteFields.add('entity-items-large', {
|
|
19133
|
-
items: FAKE_ENTITIES
|
|
19148
|
+
items: FAKE_ENTITIES.slice(),
|
|
19134
19149
|
attributes: ['label', 'name', 'description', 'comments'],
|
|
19135
19150
|
displayWith: this.entityToString
|
|
19136
19151
|
});
|
|
@@ -19143,12 +19158,12 @@
|
|
|
19143
19158
|
var _this = this;
|
|
19144
19159
|
return __generator(this, function (_a) {
|
|
19145
19160
|
data = {
|
|
19146
|
-
entity: deepCopy
|
|
19161
|
+
entity: deepCopy(FAKE_ENTITIES)[0],
|
|
19147
19162
|
// This item is NOT in the items list => i should be displayed anyway
|
|
19148
19163
|
missingEntity: {
|
|
19149
19164
|
id: -1, label: '??', name: 'Missing item'
|
|
19150
19165
|
},
|
|
19151
|
-
disableEntity: deepCopy
|
|
19166
|
+
disableEntity: deepCopy(FAKE_ENTITIES)[2]
|
|
19152
19167
|
};
|
|
19153
19168
|
this.form.setValue(data);
|
|
19154
19169
|
// Load observables
|
|
@@ -19346,13 +19361,13 @@
|
|
|
19346
19361
|
{ type: Array, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_TESTING_PAGES,] }] }
|
|
19347
19362
|
]; };
|
|
19348
19363
|
|
|
19349
|
-
var moment$
|
|
19364
|
+
var moment$5 = momentImported__namespace;
|
|
19350
19365
|
var SwipeTestPage = /** @class */ (function () {
|
|
19351
19366
|
function SwipeTestPage(formBuilder, dateFormatPipe) {
|
|
19352
19367
|
this.formBuilder = formBuilder;
|
|
19353
19368
|
this.dateFormatPipe = dateFormatPipe;
|
|
19354
19369
|
this.$dates = new rxjs.BehaviorSubject(undefined);
|
|
19355
|
-
this._today = moment$
|
|
19370
|
+
this._today = moment$5().startOf('day');
|
|
19356
19371
|
this.form = formBuilder.group({
|
|
19357
19372
|
empty: [null, i1.Validators.required],
|
|
19358
19373
|
date: [null, i1.Validators.compose([i1.Validators.required, SharedValidators.validDate])],
|
|
@@ -19366,7 +19381,7 @@
|
|
|
19366
19381
|
var _this = this;
|
|
19367
19382
|
var dates = [];
|
|
19368
19383
|
for (var d = 0; d < 7; d++) {
|
|
19369
|
-
dates[d] = moment$
|
|
19384
|
+
dates[d] = moment$5(this._today).add(d - 3, 'day');
|
|
19370
19385
|
}
|
|
19371
19386
|
this.$dates.next(dates);
|
|
19372
19387
|
this.loadData();
|
|
@@ -19413,7 +19428,7 @@
|
|
|
19413
19428
|
{ type: DateFormatPipe }
|
|
19414
19429
|
]; };
|
|
19415
19430
|
|
|
19416
|
-
var moment = momentImported__namespace;
|
|
19431
|
+
var moment$6 = momentImported__namespace;
|
|
19417
19432
|
var DateTimeTestPage = /** @class */ (function () {
|
|
19418
19433
|
function DateTimeTestPage(platform, formBuilder, cd) {
|
|
19419
19434
|
this.platform = platform;
|
|
@@ -19449,7 +19464,7 @@
|
|
|
19449
19464
|
var now, data;
|
|
19450
19465
|
var _this = this;
|
|
19451
19466
|
return __generator(this, function (_a) {
|
|
19452
|
-
now = moment();
|
|
19467
|
+
now = moment$6();
|
|
19453
19468
|
data = {
|
|
19454
19469
|
empty: toDateISOString(now.clone().add(2, 'hours')),
|
|
19455
19470
|
enable: toDateISOString(now),
|
|
@@ -19514,12 +19529,12 @@
|
|
|
19514
19529
|
{ type: i0.ChangeDetectorRef }
|
|
19515
19530
|
]; };
|
|
19516
19531
|
|
|
19517
|
-
var EntityTestClass = /** @class */ (function () {
|
|
19532
|
+
var EntityTestClass$1 = /** @class */ (function () {
|
|
19518
19533
|
function EntityTestClass() {
|
|
19519
19534
|
}
|
|
19520
19535
|
return EntityTestClass;
|
|
19521
19536
|
}());
|
|
19522
|
-
var FAKE_ENTITIES = [
|
|
19537
|
+
var FAKE_ENTITIES$1 = [
|
|
19523
19538
|
{ id: 1, label: 'AAA', name: 'Item A' },
|
|
19524
19539
|
{ id: 2, label: 'BBB', name: 'Item B' },
|
|
19525
19540
|
{ id: 3, label: 'CCC', name: 'Item C' },
|
|
@@ -19528,14 +19543,14 @@
|
|
|
19528
19543
|
{ id: 6, label: 'FFF', name: 'Item F' },
|
|
19529
19544
|
{ id: 7, label: 'GGG', name: 'Item G' }
|
|
19530
19545
|
];
|
|
19531
|
-
function deepCopy(values, size) {
|
|
19546
|
+
function deepCopy$1(values, size) {
|
|
19532
19547
|
if (isNil(size)) {
|
|
19533
|
-
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
19548
|
+
return (values || FAKE_ENTITIES$1).map(function (entity) { return Object.assign({}, entity); });
|
|
19534
19549
|
}
|
|
19535
19550
|
var result = [];
|
|
19536
19551
|
var i = 1;
|
|
19537
19552
|
while (result.length < size) {
|
|
19538
|
-
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
19553
|
+
result = result.concat((values || FAKE_ENTITIES$1).map(function (entity) {
|
|
19539
19554
|
var name = entity.name + ' #' + i;
|
|
19540
19555
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
19541
19556
|
}));
|
|
@@ -19545,7 +19560,7 @@
|
|
|
19545
19560
|
var ChipsTestPage = /** @class */ (function () {
|
|
19546
19561
|
function ChipsTestPage(formBuilder) {
|
|
19547
19562
|
this.formBuilder = formBuilder;
|
|
19548
|
-
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
19563
|
+
this._items = deepCopy$1(FAKE_ENTITIES$1, 100);
|
|
19549
19564
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
19550
19565
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
19551
19566
|
this.form = formBuilder.group({
|
|
@@ -19588,7 +19603,7 @@
|
|
|
19588
19603
|
var items, data;
|
|
19589
19604
|
var _this = this;
|
|
19590
19605
|
return __generator(this, function (_a) {
|
|
19591
|
-
items = deepCopy(FAKE_ENTITIES);
|
|
19606
|
+
items = deepCopy$1(FAKE_ENTITIES$1);
|
|
19592
19607
|
data = {
|
|
19593
19608
|
entity: items.slice(0, 1),
|
|
19594
19609
|
entityInitial: items.slice(1, 2),
|
|
@@ -19680,7 +19695,7 @@
|
|
|
19680
19695
|
},] }
|
|
19681
19696
|
];
|
|
19682
19697
|
|
|
19683
|
-
var routes
|
|
19698
|
+
var routes = [
|
|
19684
19699
|
{
|
|
19685
19700
|
path: '',
|
|
19686
19701
|
pathMatch: 'full',
|
|
@@ -19735,7 +19750,7 @@
|
|
|
19735
19750
|
i1.ReactiveFormsModule,
|
|
19736
19751
|
SharedMaterialModule,
|
|
19737
19752
|
i1$2.TranslateModule.forChild(),
|
|
19738
|
-
i3.RouterModule.forChild(routes
|
|
19753
|
+
i3.RouterModule.forChild(routes)
|
|
19739
19754
|
],
|
|
19740
19755
|
declarations: [
|
|
19741
19756
|
MaterialTestingPage,
|
|
@@ -20940,7 +20955,7 @@
|
|
|
20940
20955
|
};
|
|
20941
20956
|
return UserSettingsValidatorService;
|
|
20942
20957
|
}(AppValidatorService));
|
|
20943
|
-
UserSettingsValidatorService.ɵprov =
|
|
20958
|
+
UserSettingsValidatorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserSettingsValidatorService_Factory() { return new UserSettingsValidatorService(i0.ɵɵinject(i1.FormBuilder)); }, token: UserSettingsValidatorService, providedIn: "root" });
|
|
20944
20959
|
UserSettingsValidatorService.decorators = [
|
|
20945
20960
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
20946
20961
|
];
|
|
@@ -20988,7 +21003,7 @@
|
|
|
20988
21003
|
};
|
|
20989
21004
|
return AccountValidatorService;
|
|
20990
21005
|
}(AppValidatorService));
|
|
20991
|
-
AccountValidatorService.ɵprov =
|
|
21006
|
+
AccountValidatorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AccountValidatorService_Factory() { return new AccountValidatorService(i0.ɵɵinject(i1.FormBuilder), i0.ɵɵinject(AccountService)); }, token: AccountValidatorService, providedIn: "root" });
|
|
20992
21007
|
AccountValidatorService.decorators = [
|
|
20993
21008
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
20994
21009
|
];
|
|
@@ -21619,7 +21634,7 @@
|
|
|
21619
21634
|
};
|
|
21620
21635
|
return LocalSettingsValidatorService;
|
|
21621
21636
|
}(AppValidatorService));
|
|
21622
|
-
LocalSettingsValidatorService.ɵprov =
|
|
21637
|
+
LocalSettingsValidatorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LocalSettingsValidatorService_Factory() { return new LocalSettingsValidatorService(i0.ɵɵinject(i1.FormBuilder), i0.ɵɵinject(NetworkService)); }, token: LocalSettingsValidatorService, providedIn: "root" });
|
|
21623
21638
|
LocalSettingsValidatorService.decorators = [
|
|
21624
21639
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
21625
21640
|
];
|
|
@@ -22399,7 +22414,7 @@
|
|
|
22399
22414
|
};
|
|
22400
22415
|
return IsOnFieldModePipe;
|
|
22401
22416
|
}());
|
|
22402
|
-
IsOnFieldModePipe.ɵprov =
|
|
22417
|
+
IsOnFieldModePipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsOnFieldModePipe_Factory() { return new IsOnFieldModePipe(); }, token: IsOnFieldModePipe, providedIn: "root" });
|
|
22403
22418
|
IsOnFieldModePipe.decorators = [
|
|
22404
22419
|
{ type: i0.Pipe, args: [{
|
|
22405
22420
|
name: 'isOnField'
|
|
@@ -22414,7 +22429,7 @@
|
|
|
22414
22429
|
};
|
|
22415
22430
|
return IsNotOnFieldModePipe;
|
|
22416
22431
|
}());
|
|
22417
|
-
IsNotOnFieldModePipe.ɵprov =
|
|
22432
|
+
IsNotOnFieldModePipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsNotOnFieldModePipe_Factory() { return new IsNotOnFieldModePipe(); }, token: IsNotOnFieldModePipe, providedIn: "root" });
|
|
22418
22433
|
IsNotOnFieldModePipe.decorators = [
|
|
22419
22434
|
{ type: i0.Pipe, args: [{
|
|
22420
22435
|
name: 'isNotOnField'
|
|
@@ -22432,7 +22447,7 @@
|
|
|
22432
22447
|
};
|
|
22433
22448
|
return PersonToStringPipe;
|
|
22434
22449
|
}());
|
|
22435
|
-
PersonToStringPipe.ɵprov =
|
|
22450
|
+
PersonToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function PersonToStringPipe_Factory() { return new PersonToStringPipe(); }, token: PersonToStringPipe, providedIn: "root" });
|
|
22436
22451
|
PersonToStringPipe.decorators = [
|
|
22437
22452
|
{ type: i0.Pipe, args: [{
|
|
22438
22453
|
name: 'personToString'
|
|
@@ -22896,7 +22911,7 @@
|
|
|
22896
22911
|
};
|
|
22897
22912
|
return IsLoginAccountPipe;
|
|
22898
22913
|
}());
|
|
22899
|
-
IsLoginAccountPipe.ɵprov =
|
|
22914
|
+
IsLoginAccountPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsLoginAccountPipe_Factory() { return new IsLoginAccountPipe(); }, token: IsLoginAccountPipe, providedIn: "root" });
|
|
22900
22915
|
IsLoginAccountPipe.decorators = [
|
|
22901
22916
|
{ type: i0.Pipe, args: [{
|
|
22902
22917
|
name: 'isLogin'
|
|
@@ -22911,7 +22926,7 @@
|
|
|
22911
22926
|
};
|
|
22912
22927
|
return AccountToStringPipe;
|
|
22913
22928
|
}());
|
|
22914
|
-
AccountToStringPipe.ɵprov =
|
|
22929
|
+
AccountToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function AccountToStringPipe_Factory() { return new AccountToStringPipe(); }, token: AccountToStringPipe, providedIn: "root" });
|
|
22915
22930
|
AccountToStringPipe.decorators = [
|
|
22916
22931
|
{ type: i0.Pipe, args: [{
|
|
22917
22932
|
name: 'accountToString'
|
|
@@ -22929,7 +22944,7 @@
|
|
|
22929
22944
|
};
|
|
22930
22945
|
return DepartmentToStringPipe;
|
|
22931
22946
|
}());
|
|
22932
|
-
DepartmentToStringPipe.ɵprov =
|
|
22947
|
+
DepartmentToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DepartmentToStringPipe_Factory() { return new DepartmentToStringPipe(); }, token: DepartmentToStringPipe, providedIn: "root" });
|
|
22933
22948
|
DepartmentToStringPipe.decorators = [
|
|
22934
22949
|
{ type: i0.Pipe, args: [{
|
|
22935
22950
|
name: 'departmentToString'
|
|
@@ -22964,7 +22979,7 @@
|
|
|
22964
22979
|
};
|
|
22965
22980
|
return MenuService;
|
|
22966
22981
|
}());
|
|
22967
|
-
MenuService.ɵprov =
|
|
22982
|
+
MenuService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(); }, token: MenuService, providedIn: "root" });
|
|
22968
22983
|
MenuService.decorators = [
|
|
22969
22984
|
{ type: i0.Injectable, args: [{
|
|
22970
22985
|
providedIn: 'root'
|
|
@@ -23578,7 +23593,7 @@
|
|
|
23578
23593
|
};
|
|
23579
23594
|
return AuthGuardService;
|
|
23580
23595
|
}());
|
|
23581
|
-
AuthGuardService.ɵprov =
|
|
23596
|
+
AuthGuardService.ɵprov = i0.ɵɵdefineInjectable({ factory: function AuthGuardService_Factory() { return new AuthGuardService(i0.ɵɵinject(AccountService), i0.ɵɵinject(i1$5.ModalController), i0.ɵɵinject(i3.Router), i0.ɵɵinject(ENVIRONMENT)); }, token: AuthGuardService, providedIn: "root" });
|
|
23582
23597
|
AuthGuardService.decorators = [
|
|
23583
23598
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
23584
23599
|
];
|
|
@@ -23623,7 +23638,7 @@
|
|
|
23623
23638
|
query: query,
|
|
23624
23639
|
variables: { id: id },
|
|
23625
23640
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23626
|
-
error: { code: ErrorCodes
|
|
23641
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23627
23642
|
})
|
|
23628
23643
|
.pipe(operators.map(function (_b) {
|
|
23629
23644
|
var data = _b.data;
|
|
@@ -23645,7 +23660,7 @@
|
|
|
23645
23660
|
query: query,
|
|
23646
23661
|
variables: { id: id },
|
|
23647
23662
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23648
|
-
error: { code: ErrorCodes
|
|
23663
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23649
23664
|
})];
|
|
23650
23665
|
case 1:
|
|
23651
23666
|
data = (_b.sent()).data;
|
|
@@ -23681,7 +23696,7 @@
|
|
|
23681
23696
|
totalFieldName: withTotal ? 'total' : undefined,
|
|
23682
23697
|
insertFilterFn: filter && filter.asFilterFn(),
|
|
23683
23698
|
variables: variables,
|
|
23684
|
-
error: { code: ErrorCodes
|
|
23699
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' },
|
|
23685
23700
|
fetchPolicy: opts && opts.fetchPolicy || undefined
|
|
23686
23701
|
})
|
|
23687
23702
|
.pipe(operators.map(function (_b) {
|
|
@@ -23723,7 +23738,7 @@
|
|
|
23723
23738
|
return [4 /*yield*/, this.graphql.query({
|
|
23724
23739
|
query: query,
|
|
23725
23740
|
variables: variables,
|
|
23726
|
-
error: { code: ErrorCodes
|
|
23741
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.LOAD_DATA_ERROR' },
|
|
23727
23742
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23728
23743
|
})];
|
|
23729
23744
|
case 1:
|
|
@@ -23771,7 +23786,7 @@
|
|
|
23771
23786
|
variables: {
|
|
23772
23787
|
filter: filter && filter.asPodObject()
|
|
23773
23788
|
},
|
|
23774
|
-
error: { code: ErrorCodes
|
|
23789
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.COUNT_DATA_ERROR' },
|
|
23775
23790
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23776
23791
|
})];
|
|
23777
23792
|
case 3:
|
|
@@ -23813,7 +23828,7 @@
|
|
|
23813
23828
|
variables: {
|
|
23814
23829
|
data: json
|
|
23815
23830
|
},
|
|
23816
|
-
error: { code: ErrorCodes
|
|
23831
|
+
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23817
23832
|
update: function (proxy, _b) {
|
|
23818
23833
|
var data = _b.data;
|
|
23819
23834
|
var savedEntities = data && data.data;
|
|
@@ -23880,7 +23895,7 @@
|
|
|
23880
23895
|
variables: {
|
|
23881
23896
|
data: json
|
|
23882
23897
|
},
|
|
23883
|
-
error: { code: ErrorCodes
|
|
23898
|
+
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23884
23899
|
update: function (cache, _b) {
|
|
23885
23900
|
var data = _b.data;
|
|
23886
23901
|
// Update entity
|
|
@@ -23938,7 +23953,7 @@
|
|
|
23938
23953
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
23939
23954
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
23940
23955
|
variables: { ids: ids },
|
|
23941
|
-
error: { code: ErrorCodes
|
|
23956
|
+
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
23942
23957
|
update: function (cache, res) {
|
|
23943
23958
|
// Remove from cache
|
|
23944
23959
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -23991,7 +24006,7 @@
|
|
|
23991
24006
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
23992
24007
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
23993
24008
|
variables: { id: id },
|
|
23994
|
-
error: { code: ErrorCodes
|
|
24009
|
+
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
23995
24010
|
update: function (proxy, res) {
|
|
23996
24011
|
// Remove from cache
|
|
23997
24012
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -24030,7 +24045,7 @@
|
|
|
24030
24045
|
query: opts && opts.query || this.subscriptions.listenChanges,
|
|
24031
24046
|
variables: variables,
|
|
24032
24047
|
error: {
|
|
24033
|
-
code: ErrorCodes
|
|
24048
|
+
code: ErrorCodes.SUBSCRIBE_DATA_ERROR,
|
|
24034
24049
|
message: 'ERROR.SUBSCRIBE_DATA_ERROR'
|
|
24035
24050
|
}
|
|
24036
24051
|
})
|
|
@@ -24253,7 +24268,7 @@
|
|
|
24253
24268
|
if (this._debug)
|
|
24254
24269
|
invalidRows.forEach(function (row) { return AppTableUtils.logRowErrors(row, "[table-datasource] " + _this._logTypeName + " row #" + row.id); });
|
|
24255
24270
|
// Stop with an error
|
|
24256
|
-
throw { code: ErrorCodes
|
|
24271
|
+
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
24257
24272
|
}
|
|
24258
24273
|
this._editingRowCount = 0;
|
|
24259
24274
|
data = void 0;
|
|
@@ -24994,7 +25009,7 @@
|
|
|
24994
25009
|
rxjs.merge(
|
|
24995
25010
|
// Listen sort events
|
|
24996
25011
|
this.sort && this.sort.sortChange
|
|
24997
|
-
.pipe(operators.mergeMap(function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_d) {
|
|
25012
|
+
.pipe(operators.filter(function () { return !_this.sort.disabled; }), operators.mergeMap(function () { return __awaiter(_this, void 0, void 0, function () { return __generator(this, function (_d) {
|
|
24998
25013
|
return [2 /*return*/, this.saveBeforeAction('sort')];
|
|
24999
25014
|
}); }); }), operators.filter(function (res) { return res === true; }),
|
|
25000
25015
|
// Save sort in settings
|
|
@@ -25015,7 +25030,9 @@
|
|
|
25015
25030
|
});
|
|
25016
25031
|
// If the user changes the sort order, reset back to the first page.
|
|
25017
25032
|
if (this.sort && this.paginator) {
|
|
25018
|
-
this.registerSubscription(this.sort.sortChange
|
|
25033
|
+
this.registerSubscription(this.sort.sortChange
|
|
25034
|
+
.pipe(operators.filter(function () { return !_this.sort.disabled; }))
|
|
25035
|
+
.subscribe(function () { return _this.paginator.pageIndex = 0; }));
|
|
25019
25036
|
}
|
|
25020
25037
|
};
|
|
25021
25038
|
AppTable.prototype.ngOnDestroy = function () {
|
|
@@ -25263,14 +25280,14 @@
|
|
|
25263
25280
|
case 0:
|
|
25264
25281
|
opts = Object.assign({ keepEditing: this.keepEditedRowOnSave }, opts);
|
|
25265
25282
|
if (this.readOnly) {
|
|
25266
|
-
throw { code: ErrorCodes
|
|
25283
|
+
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25267
25284
|
}
|
|
25268
25285
|
this.resetError();
|
|
25269
25286
|
// Keep edited row id (should be done BEFORE confirmEditCreate() )
|
|
25270
25287
|
this.previouslyEditedRowId = opts.keepEditing && ((_a = this.editedRow) === null || _a === void 0 ? void 0 : _a.editing) ? this.editedRow.id : undefined;
|
|
25271
25288
|
previouslyEditedData = isNotNil(this.previouslyEditedRowId) && this.editedRow.currentData || ((_b = this.singleSelectedRow) === null || _b === void 0 ? void 0 : _b.currentData);
|
|
25272
25289
|
if (!this.confirmEditCreate()) {
|
|
25273
|
-
throw { code: ErrorCodes
|
|
25290
|
+
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
25274
25291
|
}
|
|
25275
25292
|
// Mark as saving
|
|
25276
25293
|
this.markAsSaving();
|
|
@@ -25425,7 +25442,7 @@
|
|
|
25425
25442
|
switch (_d.label) {
|
|
25426
25443
|
case 0:
|
|
25427
25444
|
if (this.readOnly) {
|
|
25428
|
-
throw { code: ErrorCodes
|
|
25445
|
+
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25429
25446
|
}
|
|
25430
25447
|
if (event === null || event === void 0 ? void 0 : event.defaultPrevented)
|
|
25431
25448
|
return [2 /*return*/, 0]; // SKip
|
|
@@ -27270,7 +27287,7 @@
|
|
|
27270
27287
|
case 8:
|
|
27271
27288
|
data = _b.sent();
|
|
27272
27289
|
if (!data)
|
|
27273
|
-
throw { code: ErrorCodes
|
|
27290
|
+
throw { code: ErrorCodes.DATA_NOT_FOUND_ERROR, message: 'ERROR.DATA_NO_FOUND' };
|
|
27274
27291
|
this._usageMode = this.computeUsageMode(data);
|
|
27275
27292
|
return [4 /*yield*/, this.onEntityLoaded(data, opts)];
|
|
27276
27293
|
case 9:
|
|
@@ -28014,10 +28031,10 @@
|
|
|
28014
28031
|
exports.UserEventFilter = __decorate([
|
|
28015
28032
|
EntityClass({ typename: 'UserEventVO' })
|
|
28016
28033
|
], exports.UserEventFilter);
|
|
28017
|
-
var SaveQuery = core.gql(templateObject_1$
|
|
28018
|
-
var LoadAllQuery = core.gql(templateObject_2$
|
|
28019
|
-
var DeleteByIdsMutation = core.gql(templateObject_3$
|
|
28020
|
-
var LoadAllWithContentQuery = core.gql(templateObject_4$
|
|
28034
|
+
var SaveQuery = core.gql(templateObject_1$3 || (templateObject_1$3 = __makeTemplateObject(["\n mutation SaveUserEvent($data: UserEventVOInput){\n data: saveUserEvent(userEvent: $data){\n ...UserEventFragment\n }\n }\n ", "\n"], ["\n mutation SaveUserEvent($data: UserEventVOInput){\n data: saveUserEvent(userEvent: $data){\n ...UserEventFragment\n }\n }\n ", "\n"])), SocialFragments.userEvent);
|
|
28035
|
+
var LoadAllQuery = core.gql(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\n query UserEvents($filter: UserEventFilterVOInput, $page: PageInput){\n data: userEvents(filter: $filter, page: $page){\n ...LightUserEventFragment\n }\n }\n ", "\n"], ["\n query UserEvents($filter: UserEventFilterVOInput, $page: PageInput){\n data: userEvents(filter: $filter, page: $page){\n ...LightUserEventFragment\n }\n }\n ", "\n"])), SocialFragments.lightUserEvent);
|
|
28036
|
+
var DeleteByIdsMutation = core.gql(templateObject_3$2 || (templateObject_3$2 = __makeTemplateObject(["\n mutation DeleteUserEvents($ids:[Int]){\n deleteUserEvents(ids: $ids)\n }\n"], ["\n mutation DeleteUserEvents($ids:[Int]){\n deleteUserEvents(ids: $ids)\n }\n"])));
|
|
28037
|
+
var LoadAllWithContentQuery = core.gql(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n query UserEventsWithContent($filter: UserEventFilterVOInput, $page: PageInput){\n data: userEvents(filter: $filter, page: $page){\n ...UserEventFragment\n }\n }\n ", "\n"], ["\n query UserEventsWithContent($filter: UserEventFilterVOInput, $page: PageInput){\n data: userEvents(filter: $filter, page: $page){\n ...UserEventFragment\n }\n }\n ", "\n"])), SocialFragments.userEvent);
|
|
28021
28038
|
var UserEventService = /** @class */ (function (_super) {
|
|
28022
28039
|
__extends(UserEventService, _super);
|
|
28023
28040
|
function UserEventService(graphql, accountService, network, translate, toastController, environment) {
|
|
@@ -28338,7 +28355,7 @@
|
|
|
28338
28355
|
};
|
|
28339
28356
|
return UserEventService;
|
|
28340
28357
|
}(BaseGraphqlService));
|
|
28341
|
-
UserEventService.ɵprov =
|
|
28358
|
+
UserEventService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserEventService_Factory() { return new UserEventService(i0.ɵɵinject(GraphqlService), i0.ɵɵinject(AccountService), i0.ɵɵinject(NetworkService), i0.ɵɵinject(i1$2.TranslateService), i0.ɵɵinject(i1$5.ToastController), i0.ɵɵinject(ENVIRONMENT)); }, token: UserEventService, providedIn: "root" });
|
|
28342
28359
|
UserEventService.decorators = [
|
|
28343
28360
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28344
28361
|
];
|
|
@@ -28350,7 +28367,7 @@
|
|
|
28350
28367
|
{ type: i1$5.ToastController },
|
|
28351
28368
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
28352
28369
|
]; };
|
|
28353
|
-
var templateObject_1$
|
|
28370
|
+
var templateObject_1$3, templateObject_2$3, templateObject_3$2, templateObject_4$2;
|
|
28354
28371
|
|
|
28355
28372
|
var ICONS_MAP = {
|
|
28356
28373
|
DEBUG_DATA: { matIcon: 'bug_report' },
|
|
@@ -28613,16 +28630,16 @@
|
|
|
28613
28630
|
], exports.PersonFilter);
|
|
28614
28631
|
|
|
28615
28632
|
var PersonFragments = {
|
|
28616
|
-
person: core.gql(templateObject_1 || (templateObject_1 = __makeTemplateObject(["fragment PersonFragment on PersonVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n username\n usernameExtranet\n department {\n id\n label\n name\n logo\n __typename\n }\n __typename\n }"], ["fragment PersonFragment on PersonVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n username\n usernameExtranet\n department {\n id\n label\n name\n logo\n __typename\n }\n __typename\n }"])))
|
|
28633
|
+
person: core.gql(templateObject_1$4 || (templateObject_1$4 = __makeTemplateObject(["fragment PersonFragment on PersonVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n username\n usernameExtranet\n department {\n id\n label\n name\n logo\n __typename\n }\n __typename\n }"], ["fragment PersonFragment on PersonVO {\n id\n firstName\n lastName\n email\n pubkey\n avatar\n statusId\n updateDate\n creationDate\n profiles\n username\n usernameExtranet\n department {\n id\n label\n name\n logo\n __typename\n }\n __typename\n }"])))
|
|
28617
28634
|
};
|
|
28618
28635
|
// Load persons query
|
|
28619
28636
|
var PersonQueries = {
|
|
28620
|
-
loadAll: core.gql(templateObject_2 || (templateObject_2 = __makeTemplateObject(["\n query Persons($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n }\n ", ""], ["\n query Persons($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n }\n ", ""])), PersonFragments.person),
|
|
28621
|
-
loadAllWithTotal: core.gql(templateObject_3 || (templateObject_3 = __makeTemplateObject(["\n query PersonsWithTotal($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n total: personsCount(filter: $filter)\n }\n ", ""], ["\n query PersonsWithTotal($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n total: personsCount(filter: $filter)\n }\n ", ""])), PersonFragments.person)
|
|
28637
|
+
loadAll: core.gql(templateObject_2$4 || (templateObject_2$4 = __makeTemplateObject(["\n query Persons($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n }\n ", ""], ["\n query Persons($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n }\n ", ""])), PersonFragments.person),
|
|
28638
|
+
loadAllWithTotal: core.gql(templateObject_3$3 || (templateObject_3$3 = __makeTemplateObject(["\n query PersonsWithTotal($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n total: personsCount(filter: $filter)\n }\n ", ""], ["\n query PersonsWithTotal($offset: Int, $size: Int, $sortBy: String, $sortDirection: String, $filter: PersonFilterVOInput){\n data: persons(filter: $filter, offset: $offset, size: $size, sortBy: $sortBy, sortDirection: $sortDirection){\n ...PersonFragment\n }\n total: personsCount(filter: $filter)\n }\n ", ""])), PersonFragments.person)
|
|
28622
28639
|
};
|
|
28623
28640
|
var PersonMutations = {
|
|
28624
|
-
saveAll: core.gql(templateObject_4 || (templateObject_4 = __makeTemplateObject(["\n mutation savePersons($data:[PersonVOInput]){\n data: savePersons(persons: $data){\n ...PersonFragment\n }\n }\n ", ""], ["\n mutation savePersons($data:[PersonVOInput]){\n data: savePersons(persons: $data){\n ...PersonFragment\n }\n }\n ", ""])), PersonFragments.person),
|
|
28625
|
-
deleteAll: core.gql(templateObject_5 || (templateObject_5 = __makeTemplateObject(["\n mutation deletePersons($ids:[Int]){\n deletePersons(ids: $ids)\n }"], ["\n mutation deletePersons($ids:[Int]){\n deletePersons(ids: $ids)\n }"])))
|
|
28641
|
+
saveAll: core.gql(templateObject_4$3 || (templateObject_4$3 = __makeTemplateObject(["\n mutation savePersons($data:[PersonVOInput]){\n data: savePersons(persons: $data){\n ...PersonFragment\n }\n }\n ", ""], ["\n mutation savePersons($data:[PersonVOInput]){\n data: savePersons(persons: $data){\n ...PersonFragment\n }\n }\n ", ""])), PersonFragments.person),
|
|
28642
|
+
deleteAll: core.gql(templateObject_5$2 || (templateObject_5$2 = __makeTemplateObject(["\n mutation deletePersons($ids:[Int]){\n deletePersons(ids: $ids)\n }"], ["\n mutation deletePersons($ids:[Int]){\n deletePersons(ids: $ids)\n }"])))
|
|
28626
28643
|
};
|
|
28627
28644
|
var PersonService = /** @class */ (function (_super_1) {
|
|
28628
28645
|
__extends(PersonService, _super_1);
|
|
@@ -28746,7 +28763,7 @@
|
|
|
28746
28763
|
};
|
|
28747
28764
|
return PersonService;
|
|
28748
28765
|
}(BaseEntityService));
|
|
28749
|
-
PersonService.ɵprov =
|
|
28766
|
+
PersonService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PersonService_Factory() { return new PersonService(i0.ɵɵinject(GraphqlService), i0.ɵɵinject(PlatformService), i0.ɵɵinject(NetworkService), i0.ɵɵinject(EntitiesStorage)); }, token: PersonService, providedIn: "root" });
|
|
28750
28767
|
PersonService.decorators = [
|
|
28751
28768
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28752
28769
|
];
|
|
@@ -28756,7 +28773,7 @@
|
|
|
28756
28773
|
{ type: NetworkService },
|
|
28757
28774
|
{ type: EntitiesStorage }
|
|
28758
28775
|
]; };
|
|
28759
|
-
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
28776
|
+
var templateObject_1$4, templateObject_2$4, templateObject_3$3, templateObject_4$3, templateObject_5$2;
|
|
28760
28777
|
|
|
28761
28778
|
var PersonValidatorService = /** @class */ (function () {
|
|
28762
28779
|
function PersonValidatorService(formBuilder, accountValidatorService) {
|
|
@@ -28779,7 +28796,7 @@
|
|
|
28779
28796
|
};
|
|
28780
28797
|
return PersonValidatorService;
|
|
28781
28798
|
}());
|
|
28782
|
-
PersonValidatorService.ɵprov =
|
|
28799
|
+
PersonValidatorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function PersonValidatorService_Factory() { return new PersonValidatorService(i0.ɵɵinject(i1.FormBuilder), i0.ɵɵinject(AccountValidatorService)); }, token: PersonValidatorService, providedIn: "root" });
|
|
28783
28800
|
PersonValidatorService.decorators = [
|
|
28784
28801
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28785
28802
|
];
|
|
@@ -29002,16 +29019,16 @@
|
|
|
29002
29019
|
];
|
|
29003
29020
|
AdminModule.ctorParameters = function () { return []; };
|
|
29004
29021
|
|
|
29005
|
-
var ɵ0 = {
|
|
29022
|
+
var ɵ0$b = {
|
|
29006
29023
|
profile: 'ADMIN'
|
|
29007
29024
|
};
|
|
29008
|
-
var routes = [
|
|
29025
|
+
var routes$1 = [
|
|
29009
29026
|
{
|
|
29010
29027
|
path: 'users',
|
|
29011
29028
|
pathMatch: 'full',
|
|
29012
29029
|
component: UsersPage,
|
|
29013
29030
|
canActivate: [AuthGuardService],
|
|
29014
|
-
data: ɵ0
|
|
29031
|
+
data: ɵ0$b
|
|
29015
29032
|
}
|
|
29016
29033
|
];
|
|
29017
29034
|
var AdminRoutingModule = /** @class */ (function () {
|
|
@@ -29024,13 +29041,13 @@
|
|
|
29024
29041
|
imports: [
|
|
29025
29042
|
SharedRoutingModule,
|
|
29026
29043
|
AdminModule,
|
|
29027
|
-
i3.RouterModule.forChild(routes)
|
|
29044
|
+
i3.RouterModule.forChild(routes$1)
|
|
29028
29045
|
],
|
|
29029
29046
|
exports: [i3.RouterModule]
|
|
29030
29047
|
},] }
|
|
29031
29048
|
];
|
|
29032
29049
|
|
|
29033
|
-
var ErrorCodes = {
|
|
29050
|
+
var ErrorCodes$2 = {
|
|
29034
29051
|
LOAD_PERSONS_ERROR: 100,
|
|
29035
29052
|
SAVE_PERSONS_ERROR: 101,
|
|
29036
29053
|
DELETE_PERSONS_ERROR: 102,
|
|
@@ -29141,7 +29158,7 @@
|
|
|
29141
29158
|
exports.EntityStore = EntityStore;
|
|
29142
29159
|
exports.EntityUtils = EntityUtils;
|
|
29143
29160
|
exports.Environment = Environment;
|
|
29144
|
-
exports.ErrorCodes = ErrorCodes;
|
|
29161
|
+
exports.ErrorCodes = ErrorCodes$2;
|
|
29145
29162
|
exports.EvenPipe = EvenPipe;
|
|
29146
29163
|
exports.FileService = FileService;
|
|
29147
29164
|
exports.FileSizePipe = FileSizePipe;
|
|
@@ -29151,7 +29168,7 @@
|
|
|
29151
29168
|
exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
|
|
29152
29169
|
exports.FormErrorTranslator = FormErrorTranslator;
|
|
29153
29170
|
exports.FormFieldValuesHolder = FormFieldValuesHolder;
|
|
29154
|
-
exports.Fragments = Fragments;
|
|
29171
|
+
exports.Fragments = Fragments$1;
|
|
29155
29172
|
exports.GraphqlService = GraphqlService;
|
|
29156
29173
|
exports.HAMMER_PRESS_TIME = HAMMER_PRESS_TIME;
|
|
29157
29174
|
exports.HAMMER_TAP_TIME = HAMMER_TAP_TIME;
|
|
@@ -29204,6 +29221,7 @@
|
|
|
29204
29221
|
exports.ModalToolbarComponent = ModalToolbarComponent;
|
|
29205
29222
|
exports.NetworkService = NetworkService;
|
|
29206
29223
|
exports.NgInitDirective = NgInitDirective;
|
|
29224
|
+
exports.NgVarDirective = NgVarDirective;
|
|
29207
29225
|
exports.NotEmptyArrayPipe = NotEmptyArrayPipe;
|
|
29208
29226
|
exports.NumberFormatPipe = NumberFormatPipe;
|
|
29209
29227
|
exports.NumpadDirective = NumpadDirective;
|
|
@@ -29403,20 +29421,20 @@
|
|
|
29403
29421
|
exports.waitForTrue = waitForTrue;
|
|
29404
29422
|
exports.waitIdle = waitIdle;
|
|
29405
29423
|
exports.waitWhilePending = waitWhilePending;
|
|
29406
|
-
exports
|
|
29407
|
-
exports
|
|
29408
|
-
exports
|
|
29409
|
-
exports
|
|
29410
|
-
exports
|
|
29411
|
-
exports
|
|
29412
|
-
exports
|
|
29413
|
-
exports
|
|
29414
|
-
exports
|
|
29415
|
-
exports
|
|
29416
|
-
exports
|
|
29417
|
-
exports
|
|
29424
|
+
exports.ɵa = CustomReuseStrategy;
|
|
29425
|
+
exports.ɵb = MatNumpadDomService;
|
|
29426
|
+
exports.ɵc = SharedMatBadgeIconModule;
|
|
29427
|
+
exports.ɵd = MatBadgeIconDirective;
|
|
29428
|
+
exports.ɵe = isFocusableElement;
|
|
29429
|
+
exports.ɵf = MatBadgeIconTestPage;
|
|
29430
|
+
exports.ɵg = RegisterForm;
|
|
29431
|
+
exports.ɵh = AccountValidatorService;
|
|
29432
|
+
exports.ɵi = RegisterModal;
|
|
29433
|
+
exports.ɵj = UserSettingsValidatorService;
|
|
29434
|
+
exports.ɵk = LocalSettingsValidatorService;
|
|
29435
|
+
exports.ɵl = AppIconComponent;
|
|
29418
29436
|
|
|
29419
29437
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
29420
29438
|
|
|
29421
|
-
}));
|
|
29439
|
+
})));
|
|
29422
29440
|
//# sourceMappingURL=sumaris-net.ngx-components.umd.js.map
|