@sumaris-net/ngx-components 1.6.18 → 1.7.2
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 +312 -295
- 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 +6 -6
- package/fesm2015/sumaris-net.ngx-components.js +299 -279
- 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,11 +4735,8 @@
|
|
|
4720
4735
|
this.pattern = 'DDMM';
|
|
4721
4736
|
this.mask = MASKS[this.type][this.pattern];
|
|
4722
4737
|
}
|
|
4723
|
-
if (isNil(this.maxDecimals)) {
|
|
4724
|
-
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4725
|
-
}
|
|
4726
4738
|
// Remove max decimals in the DDMMSS format
|
|
4727
|
-
|
|
4739
|
+
if (this.pattern === 'DD') {
|
|
4728
4740
|
console.warn("Invalid attribute 'maxDecimals' - Must be '0' when using the 'DDMMSS' pattern.");
|
|
4729
4741
|
this.maxDecimals = 7;
|
|
4730
4742
|
}
|
|
@@ -4732,12 +4744,15 @@
|
|
|
4732
4744
|
console.warn("Invalid attribute 'maxDecimals' - Must be '0' when using the 'DDMMSS' pattern.");
|
|
4733
4745
|
this.maxDecimals = 0;
|
|
4734
4746
|
}
|
|
4747
|
+
else if (isNil(this.maxDecimals)) {
|
|
4748
|
+
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4749
|
+
}
|
|
4735
4750
|
else if (this.maxDecimals < 0) {
|
|
4736
4751
|
console.error('Invalid attribute \'maxDecimals\'. Must a positive value.');
|
|
4737
4752
|
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4738
4753
|
}
|
|
4739
4754
|
else if (this.maxDecimals !== DEFAULT_MAX_DECIMALS) {
|
|
4740
|
-
console.warn("Invalid attribute 'maxDecimals' - Expected value: " + DEFAULT_MAX_DECIMALS + ". Other value not implemented.");
|
|
4755
|
+
console.warn("Invalid attribute 'maxDecimals' - Expected value: " + DEFAULT_MAX_DECIMALS + " but get: " + this.maxDecimals + ". Other value not implemented.");
|
|
4741
4756
|
this.maxDecimals = DEFAULT_MAX_DECIMALS;
|
|
4742
4757
|
}
|
|
4743
4758
|
this.showSignControl = this.pattern !== 'DD';
|
|
@@ -5030,14 +5045,14 @@
|
|
|
5030
5045
|
},] }
|
|
5031
5046
|
];
|
|
5032
5047
|
|
|
5033
|
-
var DEFAULT_VALUE_ACCESSOR
|
|
5048
|
+
var DEFAULT_VALUE_ACCESSOR = {
|
|
5034
5049
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5035
5050
|
useExisting: i0.forwardRef(function () { return MatDate; }),
|
|
5036
5051
|
multi: true
|
|
5037
5052
|
};
|
|
5038
|
-
var DAY_MASK
|
|
5039
|
-
var noop$
|
|
5040
|
-
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;
|
|
5041
5056
|
var MatDate = /** @class */ (function () {
|
|
5042
5057
|
function MatDate(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5043
5058
|
this.dateAdapter = dateAdapter;
|
|
@@ -5046,12 +5061,12 @@
|
|
|
5046
5061
|
this.cd = cd;
|
|
5047
5062
|
this.keyboard = keyboard;
|
|
5048
5063
|
this.formGroupDir = formGroupDir;
|
|
5049
|
-
this._onChangeCallback = noop$
|
|
5050
|
-
this._onTouchedCallback = noop$
|
|
5064
|
+
this._onChangeCallback = noop$2;
|
|
5065
|
+
this._onTouchedCallback = noop$2;
|
|
5051
5066
|
this._subscription = new rxjs.Subscription();
|
|
5052
5067
|
this.writing = true;
|
|
5053
5068
|
this.disabling = false;
|
|
5054
|
-
this.dayMask = DAY_MASK
|
|
5069
|
+
this.dayMask = DAY_MASK;
|
|
5055
5070
|
this.disabled = false;
|
|
5056
5071
|
this.floatLabel = 'auto';
|
|
5057
5072
|
this.readonly = false;
|
|
@@ -5320,7 +5335,7 @@
|
|
|
5320
5335
|
selector: 'mat-date-field',
|
|
5321
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",
|
|
5322
5337
|
providers: [
|
|
5323
|
-
DEFAULT_VALUE_ACCESSOR
|
|
5338
|
+
DEFAULT_VALUE_ACCESSOR,
|
|
5324
5339
|
],
|
|
5325
5340
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5326
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%}"]
|
|
@@ -5353,17 +5368,17 @@
|
|
|
5353
5368
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5354
5369
|
};
|
|
5355
5370
|
|
|
5356
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5371
|
+
var DEFAULT_VALUE_ACCESSOR$1 = {
|
|
5357
5372
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5358
5373
|
useExisting: i0.forwardRef(function () { return MatDateTime; }),
|
|
5359
5374
|
multi: true
|
|
5360
5375
|
};
|
|
5361
5376
|
var DAY_MASK$1 = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5362
5377
|
var HOUR_REGEXP = /^[012][0-9][:][012345][0-9]$/;
|
|
5363
|
-
var HOUR_MASK
|
|
5364
|
-
var noop$
|
|
5378
|
+
var HOUR_MASK = [/[012]/, /\d/, ':', /[012345]/, /\d/];
|
|
5379
|
+
var noop$3 = function () {
|
|
5365
5380
|
};
|
|
5366
|
-
var ɵ0$
|
|
5381
|
+
var ɵ0$3 = noop$3;
|
|
5367
5382
|
var MatDateTime = /** @class */ (function () {
|
|
5368
5383
|
function MatDateTime(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5369
5384
|
this.platform = platform;
|
|
@@ -5373,14 +5388,14 @@
|
|
|
5373
5388
|
this.cd = cd;
|
|
5374
5389
|
this.keyboard = keyboard;
|
|
5375
5390
|
this.formGroupDir = formGroupDir;
|
|
5376
|
-
this._onChangeCallback = noop$
|
|
5377
|
-
this._onTouchedCallback = noop$
|
|
5391
|
+
this._onChangeCallback = noop$3;
|
|
5392
|
+
this._onTouchedCallback = noop$3;
|
|
5378
5393
|
this._subscription = new rxjs.Subscription();
|
|
5379
5394
|
this.writing = true;
|
|
5380
5395
|
this.disabling = false;
|
|
5381
5396
|
this._readonly = false;
|
|
5382
5397
|
this.dayMask = DAY_MASK$1;
|
|
5383
|
-
this.hourMask = HOUR_MASK
|
|
5398
|
+
this.hourMask = HOUR_MASK;
|
|
5384
5399
|
this.floatLabel = 'auto';
|
|
5385
5400
|
this.compact = false;
|
|
5386
5401
|
this.placeholderChar = DEFAULT_PLACEHOLDER_CHAR;
|
|
@@ -5737,7 +5752,7 @@
|
|
|
5737
5752
|
selector: 'mat-date-time-field',
|
|
5738
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",
|
|
5739
5754
|
providers: [
|
|
5740
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
5755
|
+
DEFAULT_VALUE_ACCESSOR$1,
|
|
5741
5756
|
],
|
|
5742
5757
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5743
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%}"]
|
|
@@ -5771,15 +5786,15 @@
|
|
|
5771
5786
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5772
5787
|
};
|
|
5773
5788
|
|
|
5774
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5789
|
+
var DEFAULT_VALUE_ACCESSOR$2 = {
|
|
5775
5790
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5776
5791
|
useExisting: i0.forwardRef(function () { return MatDateShort; }),
|
|
5777
5792
|
multi: true
|
|
5778
5793
|
};
|
|
5779
|
-
var DAY_MASK = [/\d/, /\d/, /\d/, /\d/];
|
|
5794
|
+
var DAY_MASK$2 = [/\d/, /\d/, /\d/, /\d/];
|
|
5780
5795
|
var noop$4 = function () {
|
|
5781
5796
|
};
|
|
5782
|
-
var ɵ0$
|
|
5797
|
+
var ɵ0$4 = noop$4;
|
|
5783
5798
|
var MatDateShort = /** @class */ (function () {
|
|
5784
5799
|
function MatDateShort(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5785
5800
|
this.dateAdapter = dateAdapter;
|
|
@@ -5792,7 +5807,7 @@
|
|
|
5792
5807
|
this._onTouchedCallback = noop$4;
|
|
5793
5808
|
this.writing = true;
|
|
5794
5809
|
this.disabling = false;
|
|
5795
|
-
this.dayMask = DAY_MASK;
|
|
5810
|
+
this.dayMask = DAY_MASK$2;
|
|
5796
5811
|
this.disabled = false;
|
|
5797
5812
|
this.floatLabel = 'auto';
|
|
5798
5813
|
this.readonly = false;
|
|
@@ -6069,7 +6084,7 @@
|
|
|
6069
6084
|
selector: 'mat-date-short-field',
|
|
6070
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",
|
|
6071
6086
|
providers: [
|
|
6072
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6087
|
+
DEFAULT_VALUE_ACCESSOR$2,
|
|
6073
6088
|
],
|
|
6074
6089
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6075
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%}"]
|
|
@@ -6140,16 +6155,16 @@
|
|
|
6140
6155
|
},] }
|
|
6141
6156
|
];
|
|
6142
6157
|
|
|
6143
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6158
|
+
var DEFAULT_VALUE_ACCESSOR$3 = {
|
|
6144
6159
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6145
6160
|
useExisting: i0.forwardRef(function () { return MatDuration; }),
|
|
6146
6161
|
multi: true
|
|
6147
6162
|
};
|
|
6148
6163
|
var HOUR_TIME_PATTERN = /[0-9]\d\d:[0-5]\d/;
|
|
6149
|
-
var HOUR_MASK = [/\d/, /\d/, /\d/, ':', /[0-5]/, /\d/];
|
|
6150
|
-
var noop$
|
|
6164
|
+
var HOUR_MASK$1 = [/\d/, /\d/, /\d/, ':', /[0-5]/, /\d/];
|
|
6165
|
+
var noop$5 = function () {
|
|
6151
6166
|
};
|
|
6152
|
-
var ɵ0$
|
|
6167
|
+
var ɵ0$5 = noop$5;
|
|
6153
6168
|
var MatDuration = /** @class */ (function () {
|
|
6154
6169
|
function MatDuration(platform, dateAdapter, translate, formBuilder, cd, formGroupDir) {
|
|
6155
6170
|
this.dateAdapter = dateAdapter;
|
|
@@ -6158,11 +6173,11 @@
|
|
|
6158
6173
|
this.cd = cd;
|
|
6159
6174
|
this.formGroupDir = formGroupDir;
|
|
6160
6175
|
this._subscription = new rxjs.Subscription();
|
|
6161
|
-
this._onChangeCallback = noop$
|
|
6162
|
-
this._onTouchedCallback = noop$
|
|
6176
|
+
this._onChangeCallback = noop$5;
|
|
6177
|
+
this._onTouchedCallback = noop$5;
|
|
6163
6178
|
this.writing = true;
|
|
6164
6179
|
this.disabling = false;
|
|
6165
|
-
this.hourMask = HOUR_MASK;
|
|
6180
|
+
this.hourMask = HOUR_MASK$1;
|
|
6166
6181
|
this.disabled = false;
|
|
6167
6182
|
this.floatLabel = 'auto';
|
|
6168
6183
|
this.readonly = false;
|
|
@@ -6355,7 +6370,7 @@
|
|
|
6355
6370
|
selector: 'mat-duration-field',
|
|
6356
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",
|
|
6357
6372
|
providers: [
|
|
6358
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6373
|
+
DEFAULT_VALUE_ACCESSOR$3,
|
|
6359
6374
|
],
|
|
6360
6375
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6361
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%}"]
|
|
@@ -6415,22 +6430,22 @@
|
|
|
6415
6430
|
},] }
|
|
6416
6431
|
];
|
|
6417
6432
|
|
|
6418
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6433
|
+
var DEFAULT_VALUE_ACCESSOR$4 = {
|
|
6419
6434
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6420
6435
|
useExisting: i0.forwardRef(function () { return MatBooleanField; }),
|
|
6421
6436
|
multi: true
|
|
6422
6437
|
};
|
|
6423
|
-
var noop$
|
|
6438
|
+
var noop$6 = function () {
|
|
6424
6439
|
};
|
|
6425
|
-
var ɵ0$
|
|
6440
|
+
var ɵ0$6 = noop$6;
|
|
6426
6441
|
var MatBooleanField = /** @class */ (function () {
|
|
6427
6442
|
function MatBooleanField(translate, formBuilder, cd, formGroupDir) {
|
|
6428
6443
|
this.translate = translate;
|
|
6429
6444
|
this.formBuilder = formBuilder;
|
|
6430
6445
|
this.cd = cd;
|
|
6431
6446
|
this.formGroupDir = formGroupDir;
|
|
6432
|
-
this._onChangeCallback = noop$
|
|
6433
|
-
this._onTouchedCallback = noop$
|
|
6447
|
+
this._onChangeCallback = noop$6;
|
|
6448
|
+
this._onTouchedCallback = noop$6;
|
|
6434
6449
|
this._writing = false;
|
|
6435
6450
|
this.showRadio = false;
|
|
6436
6451
|
this.disabled = false;
|
|
@@ -6605,7 +6620,7 @@
|
|
|
6605
6620
|
selector: 'mat-boolean-field',
|
|
6606
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",
|
|
6607
6622
|
providers: [
|
|
6608
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6623
|
+
DEFAULT_VALUE_ACCESSOR$4
|
|
6609
6624
|
],
|
|
6610
6625
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6611
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}"]
|
|
@@ -6692,7 +6707,6 @@
|
|
|
6692
6707
|
return MatNumpadEvent;
|
|
6693
6708
|
}(KeyboardEvent));
|
|
6694
6709
|
|
|
6695
|
-
exports.AnimationState = void 0;
|
|
6696
6710
|
(function (AnimationState) {
|
|
6697
6711
|
AnimationState["ENTER"] = "enter";
|
|
6698
6712
|
AnimationState["ENTER_INPUT"] = "enter-input";
|
|
@@ -6860,7 +6874,7 @@
|
|
|
6860
6874
|
};
|
|
6861
6875
|
return MatNumpadDomService;
|
|
6862
6876
|
}());
|
|
6863
|
-
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" });
|
|
6864
6878
|
MatNumpadDomService.decorators = [
|
|
6865
6879
|
{ type: i0.Injectable, args: [{
|
|
6866
6880
|
providedIn: 'root'
|
|
@@ -7266,7 +7280,7 @@
|
|
|
7266
7280
|
},] }
|
|
7267
7281
|
];
|
|
7268
7282
|
|
|
7269
|
-
var DEFAULT_VALUE_ACCESSOR = {
|
|
7283
|
+
var DEFAULT_VALUE_ACCESSOR$5 = {
|
|
7270
7284
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
7271
7285
|
useExisting: i0.forwardRef(function () { return MatSwipeField; }),
|
|
7272
7286
|
multi: true
|
|
@@ -7586,7 +7600,7 @@
|
|
|
7586
7600
|
{ type: i0.Component, args: [{
|
|
7587
7601
|
selector: 'mat-swipe-field',
|
|
7588
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",
|
|
7589
|
-
providers: [DEFAULT_VALUE_ACCESSOR],
|
|
7603
|
+
providers: [DEFAULT_VALUE_ACCESSOR$5],
|
|
7590
7604
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7591
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}"]
|
|
7592
7606
|
},] }
|
|
@@ -7647,14 +7661,14 @@
|
|
|
7647
7661
|
},] }
|
|
7648
7662
|
];
|
|
7649
7663
|
|
|
7650
|
-
var noop$
|
|
7651
|
-
var ɵ0$
|
|
7664
|
+
var noop$7 = function () { };
|
|
7665
|
+
var ɵ0$7 = noop$7;
|
|
7652
7666
|
var MatChipsField = /** @class */ (function () {
|
|
7653
7667
|
function MatChipsField(cd, formGroupDir) {
|
|
7654
7668
|
this.cd = cd;
|
|
7655
7669
|
this.formGroupDir = formGroupDir;
|
|
7656
|
-
this._onChangeCallback = noop$
|
|
7657
|
-
this._onTouchedCallback = noop$
|
|
7670
|
+
this._onChangeCallback = noop$7;
|
|
7671
|
+
this._onTouchedCallback = noop$7;
|
|
7658
7672
|
this.logPrefix = '[mat-chips] ';
|
|
7659
7673
|
this.formControlName = null;
|
|
7660
7674
|
this.required = false;
|
|
@@ -8622,7 +8636,7 @@
|
|
|
8622
8636
|
};
|
|
8623
8637
|
return ProgressBarService;
|
|
8624
8638
|
}());
|
|
8625
|
-
ProgressBarService.ɵprov =
|
|
8639
|
+
ProgressBarService.ɵprov = i0.ɵɵdefineInjectable({ factory: function ProgressBarService_Factory() { return new ProgressBarService(); }, token: ProgressBarService, providedIn: "root" });
|
|
8626
8640
|
ProgressBarService.decorators = [
|
|
8627
8641
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8628
8642
|
];
|
|
@@ -8669,7 +8683,7 @@
|
|
|
8669
8683
|
};
|
|
8670
8684
|
return AppGestureConfig;
|
|
8671
8685
|
}(i1$6.HammerGestureConfig));
|
|
8672
|
-
AppGestureConfig.ɵprov =
|
|
8686
|
+
AppGestureConfig.ɵprov = i0.ɵɵdefineInjectable({ factory: function AppGestureConfig_Factory() { return new AppGestureConfig(); }, token: AppGestureConfig, providedIn: "root" });
|
|
8673
8687
|
AppGestureConfig.decorators = [
|
|
8674
8688
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8675
8689
|
];
|
|
@@ -8936,7 +8950,7 @@
|
|
|
8936
8950
|
};
|
|
8937
8951
|
return MatPaginatorI18n;
|
|
8938
8952
|
}(paginator.MatPaginatorIntl));
|
|
8939
|
-
MatPaginatorI18n.ɵprov =
|
|
8953
|
+
MatPaginatorI18n.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatPaginatorI18n_Factory() { return new MatPaginatorI18n(i0.ɵɵinject(i1$2.TranslateService)); }, token: MatPaginatorI18n, providedIn: "root" });
|
|
8940
8954
|
MatPaginatorI18n.decorators = [
|
|
8941
8955
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8942
8956
|
];
|
|
@@ -9028,17 +9042,17 @@
|
|
|
9028
9042
|
return rgbArrayToHex(rgb.map(function (v) { return 255 - v; }));
|
|
9029
9043
|
}
|
|
9030
9044
|
|
|
9031
|
-
var noop = function () {
|
|
9045
|
+
var noop$8 = function () {
|
|
9032
9046
|
};
|
|
9033
|
-
var ɵ0$
|
|
9047
|
+
var ɵ0$8 = noop$8;
|
|
9034
9048
|
var AppFormField = /** @class */ (function () {
|
|
9035
9049
|
function AppFormField(translate, cd, injector, formGroupDir) {
|
|
9036
9050
|
this.translate = translate;
|
|
9037
9051
|
this.cd = cd;
|
|
9038
9052
|
this.injector = injector;
|
|
9039
9053
|
this.formGroupDir = formGroupDir;
|
|
9040
|
-
this._onChangeCallback = noop;
|
|
9041
|
-
this._onTouchedCallback = noop;
|
|
9054
|
+
this._onChangeCallback = noop$8;
|
|
9055
|
+
this._onTouchedCallback = noop$8;
|
|
9042
9056
|
this.readonly = false;
|
|
9043
9057
|
this.compact = false;
|
|
9044
9058
|
this.floatLabel = 'auto';
|
|
@@ -9593,7 +9607,7 @@
|
|
|
9593
9607
|
};
|
|
9594
9608
|
return AudioProvider;
|
|
9595
9609
|
}(StartableService));
|
|
9596
|
-
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" });
|
|
9597
9611
|
AudioProvider.decorators = [
|
|
9598
9612
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9599
9613
|
];
|
|
@@ -9693,7 +9707,7 @@
|
|
|
9693
9707
|
};
|
|
9694
9708
|
return Hotkeys;
|
|
9695
9709
|
}());
|
|
9696
|
-
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" });
|
|
9697
9711
|
Hotkeys.decorators = [
|
|
9698
9712
|
{ type: i0.Injectable, args: [{
|
|
9699
9713
|
providedIn: 'root'
|
|
@@ -9897,7 +9911,7 @@
|
|
|
9897
9911
|
return Base64ImageReader;
|
|
9898
9912
|
}());
|
|
9899
9913
|
|
|
9900
|
-
var uuidv4
|
|
9914
|
+
var uuidv4 = uuidv4Imported__namespace;
|
|
9901
9915
|
var FileService = /** @class */ (function () {
|
|
9902
9916
|
function FileService(platform,
|
|
9903
9917
|
//private transfer: FileTransfer,
|
|
@@ -9943,7 +9957,7 @@
|
|
|
9943
9957
|
lastSlashIndex = source.lastIndexOf('/');
|
|
9944
9958
|
if (lastSlashIndex === -1)
|
|
9945
9959
|
throw new Error('Invalid URL: ' + source);
|
|
9946
|
-
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4
|
|
9960
|
+
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4();
|
|
9947
9961
|
if (!(responseType === 'file' && this.canUseFileSystem)) return [3 /*break*/, 4];
|
|
9948
9962
|
console.warn("WARN: [file] Fetching image {" + source + "} in local file...");
|
|
9949
9963
|
targetFilePath = this._imageDirectory + fileName;
|
|
@@ -10006,7 +10020,7 @@
|
|
|
10006
10020
|
};
|
|
10007
10021
|
return FileService;
|
|
10008
10022
|
}());
|
|
10009
|
-
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" });
|
|
10010
10024
|
FileService.decorators = [
|
|
10011
10025
|
{ type: i0.Injectable, args: [{
|
|
10012
10026
|
providedIn: 'root',
|
|
@@ -10173,7 +10187,7 @@
|
|
|
10173
10187
|
Base58.alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
|
|
10174
10188
|
|
|
10175
10189
|
var scrypt = require('scrypt-async');
|
|
10176
|
-
var sha256
|
|
10190
|
+
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
10177
10191
|
var sha512 = require('hash.js/lib/hash/sha/512');
|
|
10178
10192
|
var nacl = {
|
|
10179
10193
|
sign: tweetnacl.sign,
|
|
@@ -10279,7 +10293,7 @@
|
|
|
10279
10293
|
* Hash (using SHA256) a message
|
|
10280
10294
|
*/
|
|
10281
10295
|
CryptoService.prototype.sha256 = function (message) {
|
|
10282
|
-
return sha256
|
|
10296
|
+
return sha256().update(message).digest('hex');
|
|
10283
10297
|
};
|
|
10284
10298
|
/**
|
|
10285
10299
|
* Hash (using SHA512) a message
|
|
@@ -10293,7 +10307,7 @@
|
|
|
10293
10307
|
};
|
|
10294
10308
|
return CryptoService;
|
|
10295
10309
|
}());
|
|
10296
|
-
CryptoService.ɵprov =
|
|
10310
|
+
CryptoService.ɵprov = i0.ɵɵdefineInjectable({ factory: function CryptoService_Factory() { return new CryptoService(); }, token: CryptoService, providedIn: "root" });
|
|
10297
10311
|
CryptoService.decorators = [
|
|
10298
10312
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
10299
10313
|
];
|
|
@@ -11722,7 +11736,7 @@
|
|
|
11722
11736
|
};
|
|
11723
11737
|
return LocalSettingsService;
|
|
11724
11738
|
}(StartableService));
|
|
11725
|
-
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" });
|
|
11726
11740
|
LocalSettingsService.decorators = [
|
|
11727
11741
|
{ type: i0.Injectable, args: [{
|
|
11728
11742
|
providedIn: 'root',
|
|
@@ -12525,7 +12539,7 @@
|
|
|
12525
12539
|
};
|
|
12526
12540
|
return NetworkService;
|
|
12527
12541
|
}(StartableService));
|
|
12528
|
-
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" });
|
|
12529
12543
|
NetworkService.decorators = [
|
|
12530
12544
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
12531
12545
|
];
|
|
@@ -12545,7 +12559,7 @@
|
|
|
12545
12559
|
{ type: i1$5.ToastController, decorators: [{ type: i0.Optional }] }
|
|
12546
12560
|
]; };
|
|
12547
12561
|
|
|
12548
|
-
var ErrorCodes
|
|
12562
|
+
var ErrorCodes = {
|
|
12549
12563
|
UNKNOWN_ERROR: 0,
|
|
12550
12564
|
LOAD_ACCOUNT_ERROR: 1,
|
|
12551
12565
|
BAD_PASSWORD: 2,
|
|
@@ -12962,7 +12976,7 @@
|
|
|
12962
12976
|
case 13:
|
|
12963
12977
|
err_1 = _b.sent();
|
|
12964
12978
|
console.error(err_1);
|
|
12965
|
-
throw { code: ErrorCodes
|
|
12979
|
+
throw { code: ErrorCodes.ENTITY_STORAGE_MIGRATION_FAILED, message: 'ERROR.ENTITY_STORAGE_MIGRATION_FAILED', details: err_1 };
|
|
12966
12980
|
case 14:
|
|
12967
12981
|
// Emit update event
|
|
12968
12982
|
if (!opts || opts.emitEvent !== false) {
|
|
@@ -13739,7 +13753,7 @@
|
|
|
13739
13753
|
}(StartableService));
|
|
13740
13754
|
EntitiesStorage.TRASH_PREFIX = 'Trash#';
|
|
13741
13755
|
EntitiesStorage.REMOTE_PREFIX = 'Remote#';
|
|
13742
|
-
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" });
|
|
13743
13757
|
EntitiesStorage.decorators = [
|
|
13744
13758
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
13745
13759
|
];
|
|
@@ -13895,10 +13909,10 @@
|
|
|
13895
13909
|
function referentialsToString(values, properties, separator) {
|
|
13896
13910
|
return (values || []).map(function (v) { return referentialToString(v, properties); }).join(separator || ', ');
|
|
13897
13911
|
}
|
|
13898
|
-
var ɵ0$
|
|
13912
|
+
var ɵ0$9 = StatusIds.ENABLE, ɵ1 = StatusIds.DISABLE, ɵ2 = StatusIds.TEMPORARY;
|
|
13899
13913
|
var StatusList = Object.freeze([
|
|
13900
13914
|
{
|
|
13901
|
-
id: ɵ0$
|
|
13915
|
+
id: ɵ0$9,
|
|
13902
13916
|
icon: 'checkmark',
|
|
13903
13917
|
label: 'REFERENTIAL.STATUS_ENUM.ENABLE'
|
|
13904
13918
|
},
|
|
@@ -14201,7 +14215,7 @@
|
|
|
14201
14215
|
(data.lastName || '')) || '';
|
|
14202
14216
|
}
|
|
14203
14217
|
|
|
14204
|
-
var uuidv4 = uuidv4Imported__namespace;
|
|
14218
|
+
var uuidv4$1 = uuidv4Imported__namespace;
|
|
14205
14219
|
var _global = typeof global !== 'undefined' ? global : (typeof window !== 'undefined' ? window : {});
|
|
14206
14220
|
var NativeWebSocket = _global.WebSocket || _global.MozWebSocket;
|
|
14207
14221
|
/**
|
|
@@ -14245,7 +14259,7 @@
|
|
|
14245
14259
|
// Skip if not tracked
|
|
14246
14260
|
if (!context || !context.tracked)
|
|
14247
14261
|
return forward(operation);
|
|
14248
|
-
var id = context.serializationKey || uuidv4();
|
|
14262
|
+
var id = context.serializationKey || uuidv4$1();
|
|
14249
14263
|
console.debug("[apollo-tracker-link] Watching tracked query {" + operation.operationName + "#" + id + "}");
|
|
14250
14264
|
// Clean context, before calling JSON.stringify (remove unused attributes)
|
|
14251
14265
|
var cleanContext = Object.assign(Object.assign({}, context), { optimisticResponse: null, cache: null });
|
|
@@ -14878,14 +14892,14 @@
|
|
|
14878
14892
|
mutationLinks = void 0;
|
|
14879
14893
|
// Add queue to store tracked queries, when offline
|
|
14880
14894
|
if (enableTrackMutationQueries) {
|
|
14881
|
-
serializingLink = new SerializingLink__default[
|
|
14895
|
+
serializingLink = new SerializingLink__default['default']();
|
|
14882
14896
|
trackerLink = createTrackerLink({
|
|
14883
14897
|
storage: storage,
|
|
14884
14898
|
onNetworkStatusChange: this._networkStatusChanged$,
|
|
14885
14899
|
debounce: 1000,
|
|
14886
14900
|
debug: true
|
|
14887
14901
|
});
|
|
14888
|
-
queueLink_1 = new QueueLink__default[
|
|
14902
|
+
queueLink_1 = new QueueLink__default['default']();
|
|
14889
14903
|
this.registerSubscription(this._networkStatusChanged$
|
|
14890
14904
|
.subscribe(function (type) {
|
|
14891
14905
|
// Network is offline: start buffering into queue
|
|
@@ -14900,7 +14914,7 @@
|
|
|
14900
14914
|
}
|
|
14901
14915
|
}));
|
|
14902
14916
|
mutationLinks = [
|
|
14903
|
-
loggerLink__default[
|
|
14917
|
+
loggerLink__default['default'],
|
|
14904
14918
|
queueLink_1,
|
|
14905
14919
|
trackerLink,
|
|
14906
14920
|
queueLink_1,
|
|
@@ -15007,7 +15021,7 @@
|
|
|
15007
15021
|
(err.networkError && ((err.networkError.error && this.toAppError(err.networkError.error))
|
|
15008
15022
|
|| this.toAppError(err.networkError)
|
|
15009
15023
|
|| (err.networkError.error && this.createAppErrorByCode(err.networkError.error.status))
|
|
15010
|
-
|| this.createAppErrorByCode(ErrorCodes
|
|
15024
|
+
|| this.createAppErrorByCode(ErrorCodes.UNKNOWN_NETWORK_ERROR)))
|
|
15011
15025
|
// If graphQL: try to convert the first error found
|
|
15012
15026
|
|| (err.graphQLErrors && err.graphQLErrors.length && this.toAppError(err.graphQLErrors[0]))
|
|
15013
15027
|
|| this.toAppError(err)
|
|
@@ -15015,7 +15029,7 @@
|
|
|
15015
15029
|
|| (err.graphQLErrors && err.graphQLErrors[0])
|
|
15016
15030
|
|| err;
|
|
15017
15031
|
console.error('[graphql] ' + (error && error.message || error), error.stack || '');
|
|
15018
|
-
if (error && error.code === ErrorCodes
|
|
15032
|
+
if (error && error.code === ErrorCodes.UNKNOWN_NETWORK_ERROR && err.networkError && err.networkError.message) {
|
|
15019
15033
|
console.error('[graphql] original error: ' + err.networkError.message);
|
|
15020
15034
|
this.onNetworkError.next(error);
|
|
15021
15035
|
}
|
|
@@ -15051,7 +15065,7 @@
|
|
|
15051
15065
|
return 'ERROR.UNAUTHORIZED';
|
|
15052
15066
|
case ServerErrorCodes.FORBIDDEN:
|
|
15053
15067
|
return 'ERROR.FORBIDDEN';
|
|
15054
|
-
case ErrorCodes
|
|
15068
|
+
case ErrorCodes.UNKNOWN_NETWORK_ERROR:
|
|
15055
15069
|
return 'ERROR.UNKNOWN_NETWORK_ERROR';
|
|
15056
15070
|
case ServerErrorCodes.BAD_UPDATE_DATE:
|
|
15057
15071
|
return 'ERROR.BAD_UPDATE_DATE';
|
|
@@ -15083,7 +15097,7 @@
|
|
|
15083
15097
|
};
|
|
15084
15098
|
return GraphqlService;
|
|
15085
15099
|
}(StartableService));
|
|
15086
|
-
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" });
|
|
15087
15101
|
GraphqlService.decorators = [
|
|
15088
15102
|
{ type: i0.Injectable, args: [{
|
|
15089
15103
|
providedIn: 'root'
|
|
@@ -15100,7 +15114,7 @@
|
|
|
15100
15114
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_GRAPHQL_TYPE_POLICIES,] }] }
|
|
15101
15115
|
]; };
|
|
15102
15116
|
|
|
15103
|
-
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
15117
|
+
var sha256$1 = require('hash.js/lib/hash/sha/256');
|
|
15104
15118
|
var BaseGraphqlServiceOptions = /** @class */ (function () {
|
|
15105
15119
|
function BaseGraphqlServiceOptions() {
|
|
15106
15120
|
}
|
|
@@ -15270,8 +15284,8 @@
|
|
|
15270
15284
|
};
|
|
15271
15285
|
/* -- protected methods -- */
|
|
15272
15286
|
BaseGraphqlService.prototype.computeMutableWatchQueryId = function (opts) {
|
|
15273
|
-
var queryName = opts.queryName || sha256().update(JSON.stringify(opts.query)).digest('hex').substring(0, 8);
|
|
15274
|
-
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) || '';
|
|
15275
15289
|
return [queryName, opts.arrayFieldName, variablesKey].join('|');
|
|
15276
15290
|
};
|
|
15277
15291
|
BaseGraphqlService.prototype.findMutableWatchQueries = function (opts) {
|
|
@@ -15340,19 +15354,19 @@
|
|
|
15340
15354
|
/* ------------------------------------
|
|
15341
15355
|
* GraphQL queries
|
|
15342
15356
|
* ------------------------------------*/
|
|
15343
|
-
var Fragments
|
|
15344
|
-
account: core.gql(templateObject_1
|
|
15345
|
-
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 }"])))
|
|
15346
15360
|
};
|
|
15347
15361
|
// Load account query
|
|
15348
|
-
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);
|
|
15349
15363
|
// Check email query
|
|
15350
|
-
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"])));
|
|
15351
15365
|
// Save (create or update) account mutation
|
|
15352
15366
|
var AccountMutations = {
|
|
15353
|
-
save: core.gql(templateObject_5
|
|
15354
|
-
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
|
|
15355
|
-
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)
|
|
15356
15370
|
};
|
|
15357
15371
|
// Sent confirmation email
|
|
15358
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"])));
|
|
@@ -15714,7 +15728,7 @@
|
|
|
15714
15728
|
error_3 = _b.sent();
|
|
15715
15729
|
console.error(error_3);
|
|
15716
15730
|
this.resetData();
|
|
15717
|
-
throw { code: ErrorCodes
|
|
15731
|
+
throw { code: ErrorCodes.UNKNOWN_ERROR, message: 'ERROR.SCRYPT_ERROR' };
|
|
15718
15732
|
case 4:
|
|
15719
15733
|
// Store pubkey+keypair
|
|
15720
15734
|
this._cache.pubkey = Base58.encode(keypair.publicKey);
|
|
@@ -15750,7 +15764,7 @@
|
|
|
15750
15764
|
return [3 /*break*/, 18];
|
|
15751
15765
|
case 11:
|
|
15752
15766
|
err_1 = _b.sent();
|
|
15753
|
-
if (!(err_1 && +(err_1.code) === ErrorCodes
|
|
15767
|
+
if (!(err_1 && +(err_1.code) === ErrorCodes.LOAD_ACCOUNT_ERROR)) return [3 /*break*/, 17];
|
|
15754
15768
|
if (!(data.username.indexOf('@') !== -1)) return [3 /*break*/, 16];
|
|
15755
15769
|
isEmailExists = void 0;
|
|
15756
15770
|
_b.label = 12;
|
|
@@ -15766,12 +15780,12 @@
|
|
|
15766
15780
|
case 15:
|
|
15767
15781
|
// Email not exists (no account)
|
|
15768
15782
|
if (!isEmailExists) {
|
|
15769
|
-
throw { code: ErrorCodes
|
|
15783
|
+
throw { code: ErrorCodes.UNKNOWN_ACCOUNT_EMAIL, message: 'ERROR.UNKNOWN_ACCOUNT_EMAIL' };
|
|
15770
15784
|
}
|
|
15771
15785
|
_b.label = 16;
|
|
15772
15786
|
case 16:
|
|
15773
15787
|
// Email exists, so error = 'bad password'
|
|
15774
|
-
throw { code: ErrorCodes
|
|
15788
|
+
throw { code: ErrorCodes.BAD_PASSWORD, message: 'ERROR.BAD_PASSWORD' };
|
|
15775
15789
|
case 17: throw err_1; // resend the first error
|
|
15776
15790
|
case 18:
|
|
15777
15791
|
_b.trys.push([18, 20, , 21]);
|
|
@@ -15943,8 +15957,8 @@
|
|
|
15943
15957
|
_b.label = 3;
|
|
15944
15958
|
case 3: return [3 /*break*/, 6];
|
|
15945
15959
|
case 4: return [4 /*yield*/, this.graphql.query({
|
|
15946
|
-
query: LoadQuery
|
|
15947
|
-
error: { code: ErrorCodes
|
|
15960
|
+
query: LoadQuery,
|
|
15961
|
+
error: { code: ErrorCodes.LOAD_ACCOUNT_ERROR, message: 'ERROR.LOAD_ACCOUNT_ERROR' },
|
|
15948
15962
|
fetchPolicy: opts && opts.fetchPolicy || 'no-cache' || undefined
|
|
15949
15963
|
})];
|
|
15950
15964
|
case 5:
|
|
@@ -15982,7 +15996,7 @@
|
|
|
15982
15996
|
case 1:
|
|
15983
15997
|
isEmailExists = _b.sent();
|
|
15984
15998
|
if (isEmailExists) {
|
|
15985
|
-
throw { code: ErrorCodes
|
|
15999
|
+
throw { code: ErrorCodes.EMAIL_ALREADY_REGISTERED, message: 'ERROR.EMAIL_ALREADY_REGISTERED' };
|
|
15986
16000
|
}
|
|
15987
16001
|
return [2 /*return*/];
|
|
15988
16002
|
}
|
|
@@ -16032,7 +16046,7 @@
|
|
|
16032
16046
|
locale: locale
|
|
16033
16047
|
},
|
|
16034
16048
|
error: {
|
|
16035
|
-
code: ErrorCodes
|
|
16049
|
+
code: ErrorCodes.SENT_CONFIRMATION_EMAIL_FAILED,
|
|
16036
16050
|
message: 'ERROR.SENT_ACCOUNT_CONFIRMATION_EMAIL_FAILED'
|
|
16037
16051
|
}
|
|
16038
16052
|
})];
|
|
@@ -16055,7 +16069,7 @@
|
|
|
16055
16069
|
code: code
|
|
16056
16070
|
},
|
|
16057
16071
|
error: {
|
|
16058
|
-
code: ErrorCodes
|
|
16072
|
+
code: ErrorCodes.CONFIRM_EMAIL_FAILED,
|
|
16059
16073
|
message: 'ERROR.CONFIRM_ACCOUNT_EMAIL_FAILED'
|
|
16060
16074
|
}
|
|
16061
16075
|
})];
|
|
@@ -16078,7 +16092,7 @@
|
|
|
16078
16092
|
interval: 10
|
|
16079
16093
|
},
|
|
16080
16094
|
error: {
|
|
16081
|
-
code: ErrorCodes
|
|
16095
|
+
code: ErrorCodes.SUBSCRIBE_ACCOUNT_ERROR,
|
|
16082
16096
|
message: 'ERROR.ACCOUNT.SUBSCRIBE_ACCOUNT_ERROR'
|
|
16083
16097
|
}
|
|
16084
16098
|
}).subscribe({
|
|
@@ -16218,7 +16232,7 @@
|
|
|
16218
16232
|
throw error_6;
|
|
16219
16233
|
console.error(error_6);
|
|
16220
16234
|
throw {
|
|
16221
|
-
code: ErrorCodes
|
|
16235
|
+
code: ErrorCodes.LOAD_ACCOUNT_ERROR,
|
|
16222
16236
|
message: 'ERROR.LOAD_ACCOUNT_ERROR'
|
|
16223
16237
|
};
|
|
16224
16238
|
case 6: return [2 /*return*/];
|
|
@@ -16427,7 +16441,7 @@
|
|
|
16427
16441
|
case 1:
|
|
16428
16442
|
existingAccount = _b.sent();
|
|
16429
16443
|
if (!existingAccount || !existingAccount.updateDate) {
|
|
16430
|
-
throw { code: ErrorCodes
|
|
16444
|
+
throw { code: ErrorCodes.ACCOUNT_NOT_EXISTS, message: 'ERROR.ACCOUNT_NOT_EXISTS' };
|
|
16431
16445
|
}
|
|
16432
16446
|
this.copyIdAndUpdateDate(existingAccount, account);
|
|
16433
16447
|
_b.label = 2;
|
|
@@ -16439,7 +16453,7 @@
|
|
|
16439
16453
|
mutation: isNew ? AccountMutations.create : AccountMutations.save,
|
|
16440
16454
|
variables: { data: json },
|
|
16441
16455
|
error: {
|
|
16442
|
-
code: ErrorCodes
|
|
16456
|
+
code: ErrorCodes.SAVE_ACCOUNT_ERROR,
|
|
16443
16457
|
message: 'ERROR.SAVE_ACCOUNT_ERROR'
|
|
16444
16458
|
}
|
|
16445
16459
|
})];
|
|
@@ -16473,7 +16487,7 @@
|
|
|
16473
16487
|
mutation: AccountMutations.saveSettings,
|
|
16474
16488
|
variables: { data: json },
|
|
16475
16489
|
error: {
|
|
16476
|
-
code: ErrorCodes
|
|
16490
|
+
code: ErrorCodes.SAVE_SETTINGS_ERROR,
|
|
16477
16491
|
message: 'ERROR.SAVE_SETTINGS_ERROR'
|
|
16478
16492
|
}
|
|
16479
16493
|
})];
|
|
@@ -16504,7 +16518,7 @@
|
|
|
16504
16518
|
if (counter > 4) {
|
|
16505
16519
|
if (this._debug)
|
|
16506
16520
|
console.debug("[account] Failed to authentication on pod (after " + counter + " attempts)");
|
|
16507
|
-
throw { code: ErrorCodes
|
|
16521
|
+
throw { code: ErrorCodes.AUTH_SERVER_ERROR, message: 'ERROR.AUTH_SERVER_ERROR' };
|
|
16508
16522
|
}
|
|
16509
16523
|
if (!token) return [3 /*break*/, 2];
|
|
16510
16524
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16513,7 +16527,7 @@
|
|
|
16513
16527
|
token: token
|
|
16514
16528
|
},
|
|
16515
16529
|
error: {
|
|
16516
|
-
code: ErrorCodes
|
|
16530
|
+
code: ErrorCodes.UNAUTHORIZED,
|
|
16517
16531
|
message: 'ERROR.UNAUTHORIZED'
|
|
16518
16532
|
},
|
|
16519
16533
|
fetchPolicy: 'no-cache'
|
|
@@ -16530,7 +16544,7 @@
|
|
|
16530
16544
|
_b.label = 2;
|
|
16531
16545
|
case 2:
|
|
16532
16546
|
challengeError = {
|
|
16533
|
-
code: ErrorCodes
|
|
16547
|
+
code: ErrorCodes.AUTH_CHALLENGE_ERROR,
|
|
16534
16548
|
message: 'ERROR.AUTH_CHALLENGE_ERROR'
|
|
16535
16549
|
};
|
|
16536
16550
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16577,7 +16591,7 @@
|
|
|
16577
16591
|
};
|
|
16578
16592
|
return AccountService;
|
|
16579
16593
|
}(BaseGraphqlService));
|
|
16580
|
-
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" });
|
|
16581
16595
|
AccountService.decorators = [
|
|
16582
16596
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
16583
16597
|
];
|
|
@@ -16590,7 +16604,7 @@
|
|
|
16590
16604
|
{ type: FileService },
|
|
16591
16605
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
16592
16606
|
]; };
|
|
16593
|
-
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;
|
|
16594
16608
|
|
|
16595
16609
|
var Software_1, Configuration_1;
|
|
16596
16610
|
// @dynamic
|
|
@@ -16842,13 +16856,13 @@
|
|
|
16842
16856
|
/* ------------------------------------
|
|
16843
16857
|
* GraphQL queries
|
|
16844
16858
|
* ------------------------------------*/
|
|
16845
|
-
var Fragments = {
|
|
16846
|
-
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 "])))
|
|
16847
16861
|
};
|
|
16848
|
-
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);
|
|
16849
16863
|
// Save (create or update) account mutation
|
|
16850
|
-
var SaveMutation = core.gql(templateObject_3$
|
|
16851
|
-
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"])));
|
|
16852
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"])));
|
|
16853
16867
|
var APP_CONFIG_OPTIONS = new i0.InjectionToken('defaultOptions');
|
|
16854
16868
|
var ConfigService = /** @class */ (function (_super) {
|
|
@@ -16907,12 +16921,12 @@
|
|
|
16907
16921
|
case 0:
|
|
16908
16922
|
now = Date.now();
|
|
16909
16923
|
console.debug('[config] Loading Pod configuration...');
|
|
16910
|
-
query = opts && opts.query || LoadQuery;
|
|
16924
|
+
query = opts && opts.query || LoadQuery$1;
|
|
16911
16925
|
variables = opts && opts.variables || undefined;
|
|
16912
16926
|
return [4 /*yield*/, this.graphql.query({
|
|
16913
16927
|
query: query,
|
|
16914
16928
|
variables: variables,
|
|
16915
|
-
error: { code: ErrorCodes
|
|
16929
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
16916
16930
|
fetchPolicy: opts && opts.fetchPolicy || undefined /*default*/
|
|
16917
16931
|
})];
|
|
16918
16932
|
case 1:
|
|
@@ -16951,7 +16965,7 @@
|
|
|
16951
16965
|
data: json
|
|
16952
16966
|
},
|
|
16953
16967
|
error: {
|
|
16954
|
-
code: ErrorCodes
|
|
16968
|
+
code: ErrorCodes.SAVE_CONFIG_ERROR,
|
|
16955
16969
|
message: 'ERROR.SAVE_CONFIG_ERROR'
|
|
16956
16970
|
}
|
|
16957
16971
|
})];
|
|
@@ -16986,7 +17000,7 @@
|
|
|
16986
17000
|
return [4 /*yield*/, this.graphql.query({
|
|
16987
17001
|
query: CacheStatistics,
|
|
16988
17002
|
variables: null,
|
|
16989
|
-
error: { code: ErrorCodes
|
|
17003
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
16990
17004
|
fetchPolicy: 'network-only'
|
|
16991
17005
|
})];
|
|
16992
17006
|
case 1:
|
|
@@ -17010,7 +17024,7 @@
|
|
|
17010
17024
|
return [4 /*yield*/, this.graphql.query({
|
|
17011
17025
|
query: ClearCache,
|
|
17012
17026
|
variables: variables,
|
|
17013
|
-
error: { code: ErrorCodes
|
|
17027
|
+
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17014
17028
|
fetchPolicy: 'network-only'
|
|
17015
17029
|
})];
|
|
17016
17030
|
case 1:
|
|
@@ -17210,7 +17224,7 @@
|
|
|
17210
17224
|
};
|
|
17211
17225
|
return ConfigService;
|
|
17212
17226
|
}(BaseGraphqlService));
|
|
17213
|
-
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" });
|
|
17214
17228
|
ConfigService.decorators = [
|
|
17215
17229
|
{ type: i0.Injectable, args: [{
|
|
17216
17230
|
providedIn: 'root',
|
|
@@ -17228,9 +17242,9 @@
|
|
|
17228
17242
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] },
|
|
17229
17243
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_CONFIG_OPTIONS,] }] }
|
|
17230
17244
|
]; };
|
|
17231
|
-
var templateObject_1$
|
|
17245
|
+
var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1, templateObject_5$1;
|
|
17232
17246
|
|
|
17233
|
-
var moment$
|
|
17247
|
+
var moment$4 = momentImported__namespace;
|
|
17234
17248
|
var PlatformService = /** @class */ (function (_super) {
|
|
17235
17249
|
__extends(PlatformService, _super);
|
|
17236
17250
|
function PlatformService(platform, cdkPlatform, toastController, translate, dateAdapter, entitiesStorage, settings, networkService, accountService, configService, cache, storage, audioProvider, environment, statusBar, keyboard, splashScreen, browser, downloader) {
|
|
@@ -17469,16 +17483,16 @@
|
|
|
17469
17483
|
}
|
|
17470
17484
|
// config moment lib
|
|
17471
17485
|
try {
|
|
17472
|
-
moment$
|
|
17486
|
+
moment$4.locale(event.lang);
|
|
17473
17487
|
console.debug('[platform] Use locale {' + event.lang + '}');
|
|
17474
17488
|
}
|
|
17475
17489
|
// If error, fallback to en
|
|
17476
17490
|
catch (err) {
|
|
17477
|
-
moment$
|
|
17491
|
+
moment$4.locale('en');
|
|
17478
17492
|
console.warn('[platform] Unknown local for moment lib. Using default [en]');
|
|
17479
17493
|
}
|
|
17480
17494
|
// Config date adapter
|
|
17481
|
-
_this.dateAdapter.setLocale(moment$
|
|
17495
|
+
_this.dateAdapter.setLocale(moment$4.locale());
|
|
17482
17496
|
}
|
|
17483
17497
|
});
|
|
17484
17498
|
this.settings.onChange.subscribe(function (data) {
|
|
@@ -17659,7 +17673,7 @@
|
|
|
17659
17673
|
};
|
|
17660
17674
|
return PlatformService;
|
|
17661
17675
|
}(StartableService));
|
|
17662
|
-
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" });
|
|
17663
17677
|
PlatformService.decorators = [
|
|
17664
17678
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17665
17679
|
];
|
|
@@ -17757,7 +17771,7 @@
|
|
|
17757
17771
|
};
|
|
17758
17772
|
return MatStepperI18n;
|
|
17759
17773
|
}(stepper.MatStepperIntl));
|
|
17760
|
-
MatStepperI18n.ɵprov =
|
|
17774
|
+
MatStepperI18n.ɵprov = i0.ɵɵdefineInjectable({ factory: function MatStepperI18n_Factory() { return new MatStepperI18n(i0.ɵɵinject(i1$2.TranslateService)); }, token: MatStepperI18n, providedIn: "root" });
|
|
17761
17775
|
MatStepperI18n.decorators = [
|
|
17762
17776
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17763
17777
|
];
|
|
@@ -18959,7 +18973,7 @@
|
|
|
18959
18973
|
return 1;
|
|
18960
18974
|
}
|
|
18961
18975
|
}
|
|
18962
|
-
var ɵ0$
|
|
18976
|
+
var ɵ0$a = function (defaultStateSize) { return [
|
|
18963
18977
|
Math.round((rgbArrayMap.red[0] - 50) / defaultStateSize),
|
|
18964
18978
|
Math.round((255 - rgbArrayMap.red[1]) / defaultStateSize),
|
|
18965
18979
|
Math.round((255 - rgbArrayMap.red[2]) / defaultStateSize)
|
|
@@ -18967,7 +18981,7 @@
|
|
|
18967
18981
|
var SCALE_OPTIONS_DEFAULT = {
|
|
18968
18982
|
startColor: rgbArrayMap.red,
|
|
18969
18983
|
startStates: [0, 2, 3],
|
|
18970
|
-
startStepsFn: ɵ0$
|
|
18984
|
+
startStepsFn: ɵ0$a
|
|
18971
18985
|
};
|
|
18972
18986
|
/**
|
|
18973
18987
|
* Internal function, that create a colors scale, using iteration
|
|
@@ -19059,24 +19073,24 @@
|
|
|
19059
19073
|
return result;
|
|
19060
19074
|
}
|
|
19061
19075
|
|
|
19062
|
-
var EntityTestClass
|
|
19076
|
+
var EntityTestClass = /** @class */ (function () {
|
|
19063
19077
|
function EntityTestClass() {
|
|
19064
19078
|
}
|
|
19065
19079
|
return EntityTestClass;
|
|
19066
19080
|
}());
|
|
19067
|
-
var FAKE_ENTITIES
|
|
19081
|
+
var FAKE_ENTITIES = [
|
|
19068
19082
|
{ id: 1, label: 'AAA', name: 'Item A', description: 'Very long description A', comments: 'Very very long comments... again for A' },
|
|
19069
19083
|
{ id: 2, label: 'BBB', name: 'Item B', description: 'Very long description B', comments: 'Very very long comments... again for B' },
|
|
19070
19084
|
{ id: 3, label: 'CCC', name: 'Item C', description: 'Very long description C', comments: 'Very very long comments... again for C' }
|
|
19071
19085
|
];
|
|
19072
|
-
function deepCopy
|
|
19086
|
+
function deepCopy(values, size) {
|
|
19073
19087
|
if (isNil(size)) {
|
|
19074
|
-
return (values || FAKE_ENTITIES
|
|
19088
|
+
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
19075
19089
|
}
|
|
19076
19090
|
var result = [];
|
|
19077
19091
|
var i = 1;
|
|
19078
19092
|
while (result.length < size) {
|
|
19079
|
-
result = result.concat((values || FAKE_ENTITIES
|
|
19093
|
+
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
19080
19094
|
var name = entity.name + ' #' + i;
|
|
19081
19095
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
19082
19096
|
}));
|
|
@@ -19086,7 +19100,7 @@
|
|
|
19086
19100
|
var AutocompleteTestPage = /** @class */ (function () {
|
|
19087
19101
|
function AutocompleteTestPage(formBuilder) {
|
|
19088
19102
|
this.formBuilder = formBuilder;
|
|
19089
|
-
this._items = deepCopy
|
|
19103
|
+
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
19090
19104
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
19091
19105
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
19092
19106
|
this.memoryHide = false;
|
|
@@ -19131,7 +19145,7 @@
|
|
|
19131
19145
|
});
|
|
19132
19146
|
// From items
|
|
19133
19147
|
this.autocompleteFields.add('entity-items-large', {
|
|
19134
|
-
items: FAKE_ENTITIES
|
|
19148
|
+
items: FAKE_ENTITIES.slice(),
|
|
19135
19149
|
attributes: ['label', 'name', 'description', 'comments'],
|
|
19136
19150
|
displayWith: this.entityToString
|
|
19137
19151
|
});
|
|
@@ -19144,12 +19158,12 @@
|
|
|
19144
19158
|
var _this = this;
|
|
19145
19159
|
return __generator(this, function (_a) {
|
|
19146
19160
|
data = {
|
|
19147
|
-
entity: deepCopy
|
|
19161
|
+
entity: deepCopy(FAKE_ENTITIES)[0],
|
|
19148
19162
|
// This item is NOT in the items list => i should be displayed anyway
|
|
19149
19163
|
missingEntity: {
|
|
19150
19164
|
id: -1, label: '??', name: 'Missing item'
|
|
19151
19165
|
},
|
|
19152
|
-
disableEntity: deepCopy
|
|
19166
|
+
disableEntity: deepCopy(FAKE_ENTITIES)[2]
|
|
19153
19167
|
};
|
|
19154
19168
|
this.form.setValue(data);
|
|
19155
19169
|
// Load observables
|
|
@@ -19347,13 +19361,13 @@
|
|
|
19347
19361
|
{ type: Array, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_TESTING_PAGES,] }] }
|
|
19348
19362
|
]; };
|
|
19349
19363
|
|
|
19350
|
-
var moment$
|
|
19364
|
+
var moment$5 = momentImported__namespace;
|
|
19351
19365
|
var SwipeTestPage = /** @class */ (function () {
|
|
19352
19366
|
function SwipeTestPage(formBuilder, dateFormatPipe) {
|
|
19353
19367
|
this.formBuilder = formBuilder;
|
|
19354
19368
|
this.dateFormatPipe = dateFormatPipe;
|
|
19355
19369
|
this.$dates = new rxjs.BehaviorSubject(undefined);
|
|
19356
|
-
this._today = moment$
|
|
19370
|
+
this._today = moment$5().startOf('day');
|
|
19357
19371
|
this.form = formBuilder.group({
|
|
19358
19372
|
empty: [null, i1.Validators.required],
|
|
19359
19373
|
date: [null, i1.Validators.compose([i1.Validators.required, SharedValidators.validDate])],
|
|
@@ -19367,7 +19381,7 @@
|
|
|
19367
19381
|
var _this = this;
|
|
19368
19382
|
var dates = [];
|
|
19369
19383
|
for (var d = 0; d < 7; d++) {
|
|
19370
|
-
dates[d] = moment$
|
|
19384
|
+
dates[d] = moment$5(this._today).add(d - 3, 'day');
|
|
19371
19385
|
}
|
|
19372
19386
|
this.$dates.next(dates);
|
|
19373
19387
|
this.loadData();
|
|
@@ -19414,7 +19428,7 @@
|
|
|
19414
19428
|
{ type: DateFormatPipe }
|
|
19415
19429
|
]; };
|
|
19416
19430
|
|
|
19417
|
-
var moment = momentImported__namespace;
|
|
19431
|
+
var moment$6 = momentImported__namespace;
|
|
19418
19432
|
var DateTimeTestPage = /** @class */ (function () {
|
|
19419
19433
|
function DateTimeTestPage(platform, formBuilder, cd) {
|
|
19420
19434
|
this.platform = platform;
|
|
@@ -19450,7 +19464,7 @@
|
|
|
19450
19464
|
var now, data;
|
|
19451
19465
|
var _this = this;
|
|
19452
19466
|
return __generator(this, function (_a) {
|
|
19453
|
-
now = moment();
|
|
19467
|
+
now = moment$6();
|
|
19454
19468
|
data = {
|
|
19455
19469
|
empty: toDateISOString(now.clone().add(2, 'hours')),
|
|
19456
19470
|
enable: toDateISOString(now),
|
|
@@ -19515,12 +19529,12 @@
|
|
|
19515
19529
|
{ type: i0.ChangeDetectorRef }
|
|
19516
19530
|
]; };
|
|
19517
19531
|
|
|
19518
|
-
var EntityTestClass = /** @class */ (function () {
|
|
19532
|
+
var EntityTestClass$1 = /** @class */ (function () {
|
|
19519
19533
|
function EntityTestClass() {
|
|
19520
19534
|
}
|
|
19521
19535
|
return EntityTestClass;
|
|
19522
19536
|
}());
|
|
19523
|
-
var FAKE_ENTITIES = [
|
|
19537
|
+
var FAKE_ENTITIES$1 = [
|
|
19524
19538
|
{ id: 1, label: 'AAA', name: 'Item A' },
|
|
19525
19539
|
{ id: 2, label: 'BBB', name: 'Item B' },
|
|
19526
19540
|
{ id: 3, label: 'CCC', name: 'Item C' },
|
|
@@ -19529,14 +19543,14 @@
|
|
|
19529
19543
|
{ id: 6, label: 'FFF', name: 'Item F' },
|
|
19530
19544
|
{ id: 7, label: 'GGG', name: 'Item G' }
|
|
19531
19545
|
];
|
|
19532
|
-
function deepCopy(values, size) {
|
|
19546
|
+
function deepCopy$1(values, size) {
|
|
19533
19547
|
if (isNil(size)) {
|
|
19534
|
-
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
19548
|
+
return (values || FAKE_ENTITIES$1).map(function (entity) { return Object.assign({}, entity); });
|
|
19535
19549
|
}
|
|
19536
19550
|
var result = [];
|
|
19537
19551
|
var i = 1;
|
|
19538
19552
|
while (result.length < size) {
|
|
19539
|
-
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
19553
|
+
result = result.concat((values || FAKE_ENTITIES$1).map(function (entity) {
|
|
19540
19554
|
var name = entity.name + ' #' + i;
|
|
19541
19555
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
19542
19556
|
}));
|
|
@@ -19546,7 +19560,7 @@
|
|
|
19546
19560
|
var ChipsTestPage = /** @class */ (function () {
|
|
19547
19561
|
function ChipsTestPage(formBuilder) {
|
|
19548
19562
|
this.formBuilder = formBuilder;
|
|
19549
|
-
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
19563
|
+
this._items = deepCopy$1(FAKE_ENTITIES$1, 100);
|
|
19550
19564
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
19551
19565
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
19552
19566
|
this.form = formBuilder.group({
|
|
@@ -19589,7 +19603,7 @@
|
|
|
19589
19603
|
var items, data;
|
|
19590
19604
|
var _this = this;
|
|
19591
19605
|
return __generator(this, function (_a) {
|
|
19592
|
-
items = deepCopy(FAKE_ENTITIES);
|
|
19606
|
+
items = deepCopy$1(FAKE_ENTITIES$1);
|
|
19593
19607
|
data = {
|
|
19594
19608
|
entity: items.slice(0, 1),
|
|
19595
19609
|
entityInitial: items.slice(1, 2),
|
|
@@ -19681,7 +19695,7 @@
|
|
|
19681
19695
|
},] }
|
|
19682
19696
|
];
|
|
19683
19697
|
|
|
19684
|
-
var routes
|
|
19698
|
+
var routes = [
|
|
19685
19699
|
{
|
|
19686
19700
|
path: '',
|
|
19687
19701
|
pathMatch: 'full',
|
|
@@ -19736,7 +19750,7 @@
|
|
|
19736
19750
|
i1.ReactiveFormsModule,
|
|
19737
19751
|
SharedMaterialModule,
|
|
19738
19752
|
i1$2.TranslateModule.forChild(),
|
|
19739
|
-
i3.RouterModule.forChild(routes
|
|
19753
|
+
i3.RouterModule.forChild(routes)
|
|
19740
19754
|
],
|
|
19741
19755
|
declarations: [
|
|
19742
19756
|
MaterialTestingPage,
|
|
@@ -20941,7 +20955,7 @@
|
|
|
20941
20955
|
};
|
|
20942
20956
|
return UserSettingsValidatorService;
|
|
20943
20957
|
}(AppValidatorService));
|
|
20944
|
-
UserSettingsValidatorService.ɵprov =
|
|
20958
|
+
UserSettingsValidatorService.ɵprov = i0.ɵɵdefineInjectable({ factory: function UserSettingsValidatorService_Factory() { return new UserSettingsValidatorService(i0.ɵɵinject(i1.FormBuilder)); }, token: UserSettingsValidatorService, providedIn: "root" });
|
|
20945
20959
|
UserSettingsValidatorService.decorators = [
|
|
20946
20960
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
20947
20961
|
];
|
|
@@ -20989,7 +21003,7 @@
|
|
|
20989
21003
|
};
|
|
20990
21004
|
return AccountValidatorService;
|
|
20991
21005
|
}(AppValidatorService));
|
|
20992
|
-
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" });
|
|
20993
21007
|
AccountValidatorService.decorators = [
|
|
20994
21008
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
20995
21009
|
];
|
|
@@ -21620,7 +21634,7 @@
|
|
|
21620
21634
|
};
|
|
21621
21635
|
return LocalSettingsValidatorService;
|
|
21622
21636
|
}(AppValidatorService));
|
|
21623
|
-
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" });
|
|
21624
21638
|
LocalSettingsValidatorService.decorators = [
|
|
21625
21639
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
21626
21640
|
];
|
|
@@ -22400,7 +22414,7 @@
|
|
|
22400
22414
|
};
|
|
22401
22415
|
return IsOnFieldModePipe;
|
|
22402
22416
|
}());
|
|
22403
|
-
IsOnFieldModePipe.ɵprov =
|
|
22417
|
+
IsOnFieldModePipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsOnFieldModePipe_Factory() { return new IsOnFieldModePipe(); }, token: IsOnFieldModePipe, providedIn: "root" });
|
|
22404
22418
|
IsOnFieldModePipe.decorators = [
|
|
22405
22419
|
{ type: i0.Pipe, args: [{
|
|
22406
22420
|
name: 'isOnField'
|
|
@@ -22415,7 +22429,7 @@
|
|
|
22415
22429
|
};
|
|
22416
22430
|
return IsNotOnFieldModePipe;
|
|
22417
22431
|
}());
|
|
22418
|
-
IsNotOnFieldModePipe.ɵprov =
|
|
22432
|
+
IsNotOnFieldModePipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsNotOnFieldModePipe_Factory() { return new IsNotOnFieldModePipe(); }, token: IsNotOnFieldModePipe, providedIn: "root" });
|
|
22419
22433
|
IsNotOnFieldModePipe.decorators = [
|
|
22420
22434
|
{ type: i0.Pipe, args: [{
|
|
22421
22435
|
name: 'isNotOnField'
|
|
@@ -22433,7 +22447,7 @@
|
|
|
22433
22447
|
};
|
|
22434
22448
|
return PersonToStringPipe;
|
|
22435
22449
|
}());
|
|
22436
|
-
PersonToStringPipe.ɵprov =
|
|
22450
|
+
PersonToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function PersonToStringPipe_Factory() { return new PersonToStringPipe(); }, token: PersonToStringPipe, providedIn: "root" });
|
|
22437
22451
|
PersonToStringPipe.decorators = [
|
|
22438
22452
|
{ type: i0.Pipe, args: [{
|
|
22439
22453
|
name: 'personToString'
|
|
@@ -22897,7 +22911,7 @@
|
|
|
22897
22911
|
};
|
|
22898
22912
|
return IsLoginAccountPipe;
|
|
22899
22913
|
}());
|
|
22900
|
-
IsLoginAccountPipe.ɵprov =
|
|
22914
|
+
IsLoginAccountPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function IsLoginAccountPipe_Factory() { return new IsLoginAccountPipe(); }, token: IsLoginAccountPipe, providedIn: "root" });
|
|
22901
22915
|
IsLoginAccountPipe.decorators = [
|
|
22902
22916
|
{ type: i0.Pipe, args: [{
|
|
22903
22917
|
name: 'isLogin'
|
|
@@ -22912,7 +22926,7 @@
|
|
|
22912
22926
|
};
|
|
22913
22927
|
return AccountToStringPipe;
|
|
22914
22928
|
}());
|
|
22915
|
-
AccountToStringPipe.ɵprov =
|
|
22929
|
+
AccountToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function AccountToStringPipe_Factory() { return new AccountToStringPipe(); }, token: AccountToStringPipe, providedIn: "root" });
|
|
22916
22930
|
AccountToStringPipe.decorators = [
|
|
22917
22931
|
{ type: i0.Pipe, args: [{
|
|
22918
22932
|
name: 'accountToString'
|
|
@@ -22930,7 +22944,7 @@
|
|
|
22930
22944
|
};
|
|
22931
22945
|
return DepartmentToStringPipe;
|
|
22932
22946
|
}());
|
|
22933
|
-
DepartmentToStringPipe.ɵprov =
|
|
22947
|
+
DepartmentToStringPipe.ɵprov = i0.ɵɵdefineInjectable({ factory: function DepartmentToStringPipe_Factory() { return new DepartmentToStringPipe(); }, token: DepartmentToStringPipe, providedIn: "root" });
|
|
22934
22948
|
DepartmentToStringPipe.decorators = [
|
|
22935
22949
|
{ type: i0.Pipe, args: [{
|
|
22936
22950
|
name: 'departmentToString'
|
|
@@ -22965,7 +22979,7 @@
|
|
|
22965
22979
|
};
|
|
22966
22980
|
return MenuService;
|
|
22967
22981
|
}());
|
|
22968
|
-
MenuService.ɵprov =
|
|
22982
|
+
MenuService.ɵprov = i0.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(); }, token: MenuService, providedIn: "root" });
|
|
22969
22983
|
MenuService.decorators = [
|
|
22970
22984
|
{ type: i0.Injectable, args: [{
|
|
22971
22985
|
providedIn: 'root'
|
|
@@ -23579,7 +23593,7 @@
|
|
|
23579
23593
|
};
|
|
23580
23594
|
return AuthGuardService;
|
|
23581
23595
|
}());
|
|
23582
|
-
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" });
|
|
23583
23597
|
AuthGuardService.decorators = [
|
|
23584
23598
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
23585
23599
|
];
|
|
@@ -23624,7 +23638,7 @@
|
|
|
23624
23638
|
query: query,
|
|
23625
23639
|
variables: { id: id },
|
|
23626
23640
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23627
|
-
error: { code: ErrorCodes
|
|
23641
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23628
23642
|
})
|
|
23629
23643
|
.pipe(operators.map(function (_b) {
|
|
23630
23644
|
var data = _b.data;
|
|
@@ -23646,7 +23660,7 @@
|
|
|
23646
23660
|
query: query,
|
|
23647
23661
|
variables: { id: id },
|
|
23648
23662
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23649
|
-
error: { code: ErrorCodes
|
|
23663
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23650
23664
|
})];
|
|
23651
23665
|
case 1:
|
|
23652
23666
|
data = (_b.sent()).data;
|
|
@@ -23682,7 +23696,7 @@
|
|
|
23682
23696
|
totalFieldName: withTotal ? 'total' : undefined,
|
|
23683
23697
|
insertFilterFn: filter && filter.asFilterFn(),
|
|
23684
23698
|
variables: variables,
|
|
23685
|
-
error: { code: ErrorCodes
|
|
23699
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' },
|
|
23686
23700
|
fetchPolicy: opts && opts.fetchPolicy || undefined
|
|
23687
23701
|
})
|
|
23688
23702
|
.pipe(operators.map(function (_b) {
|
|
@@ -23724,7 +23738,7 @@
|
|
|
23724
23738
|
return [4 /*yield*/, this.graphql.query({
|
|
23725
23739
|
query: query,
|
|
23726
23740
|
variables: variables,
|
|
23727
|
-
error: { code: ErrorCodes
|
|
23741
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.LOAD_DATA_ERROR' },
|
|
23728
23742
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23729
23743
|
})];
|
|
23730
23744
|
case 1:
|
|
@@ -23772,7 +23786,7 @@
|
|
|
23772
23786
|
variables: {
|
|
23773
23787
|
filter: filter && filter.asPodObject()
|
|
23774
23788
|
},
|
|
23775
|
-
error: { code: ErrorCodes
|
|
23789
|
+
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.COUNT_DATA_ERROR' },
|
|
23776
23790
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23777
23791
|
})];
|
|
23778
23792
|
case 3:
|
|
@@ -23814,7 +23828,7 @@
|
|
|
23814
23828
|
variables: {
|
|
23815
23829
|
data: json
|
|
23816
23830
|
},
|
|
23817
|
-
error: { code: ErrorCodes
|
|
23831
|
+
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23818
23832
|
update: function (proxy, _b) {
|
|
23819
23833
|
var data = _b.data;
|
|
23820
23834
|
var savedEntities = data && data.data;
|
|
@@ -23881,7 +23895,7 @@
|
|
|
23881
23895
|
variables: {
|
|
23882
23896
|
data: json
|
|
23883
23897
|
},
|
|
23884
|
-
error: { code: ErrorCodes
|
|
23898
|
+
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23885
23899
|
update: function (cache, _b) {
|
|
23886
23900
|
var data = _b.data;
|
|
23887
23901
|
// Update entity
|
|
@@ -23939,7 +23953,7 @@
|
|
|
23939
23953
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
23940
23954
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
23941
23955
|
variables: { ids: ids },
|
|
23942
|
-
error: { code: ErrorCodes
|
|
23956
|
+
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
23943
23957
|
update: function (cache, res) {
|
|
23944
23958
|
// Remove from cache
|
|
23945
23959
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -23992,7 +24006,7 @@
|
|
|
23992
24006
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
23993
24007
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
23994
24008
|
variables: { id: id },
|
|
23995
|
-
error: { code: ErrorCodes
|
|
24009
|
+
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
23996
24010
|
update: function (proxy, res) {
|
|
23997
24011
|
// Remove from cache
|
|
23998
24012
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -24031,7 +24045,7 @@
|
|
|
24031
24045
|
query: opts && opts.query || this.subscriptions.listenChanges,
|
|
24032
24046
|
variables: variables,
|
|
24033
24047
|
error: {
|
|
24034
|
-
code: ErrorCodes
|
|
24048
|
+
code: ErrorCodes.SUBSCRIBE_DATA_ERROR,
|
|
24035
24049
|
message: 'ERROR.SUBSCRIBE_DATA_ERROR'
|
|
24036
24050
|
}
|
|
24037
24051
|
})
|
|
@@ -24254,7 +24268,7 @@
|
|
|
24254
24268
|
if (this._debug)
|
|
24255
24269
|
invalidRows.forEach(function (row) { return AppTableUtils.logRowErrors(row, "[table-datasource] " + _this._logTypeName + " row #" + row.id); });
|
|
24256
24270
|
// Stop with an error
|
|
24257
|
-
throw { code: ErrorCodes
|
|
24271
|
+
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
24258
24272
|
}
|
|
24259
24273
|
this._editingRowCount = 0;
|
|
24260
24274
|
data = void 0;
|
|
@@ -24995,7 +25009,7 @@
|
|
|
24995
25009
|
rxjs.merge(
|
|
24996
25010
|
// Listen sort events
|
|
24997
25011
|
this.sort && this.sort.sortChange
|
|
24998
|
-
.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) {
|
|
24999
25013
|
return [2 /*return*/, this.saveBeforeAction('sort')];
|
|
25000
25014
|
}); }); }), operators.filter(function (res) { return res === true; }),
|
|
25001
25015
|
// Save sort in settings
|
|
@@ -25016,7 +25030,9 @@
|
|
|
25016
25030
|
});
|
|
25017
25031
|
// If the user changes the sort order, reset back to the first page.
|
|
25018
25032
|
if (this.sort && this.paginator) {
|
|
25019
|
-
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; }));
|
|
25020
25036
|
}
|
|
25021
25037
|
};
|
|
25022
25038
|
AppTable.prototype.ngOnDestroy = function () {
|
|
@@ -25264,14 +25280,14 @@
|
|
|
25264
25280
|
case 0:
|
|
25265
25281
|
opts = Object.assign({ keepEditing: this.keepEditedRowOnSave }, opts);
|
|
25266
25282
|
if (this.readOnly) {
|
|
25267
|
-
throw { code: ErrorCodes
|
|
25283
|
+
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25268
25284
|
}
|
|
25269
25285
|
this.resetError();
|
|
25270
25286
|
// Keep edited row id (should be done BEFORE confirmEditCreate() )
|
|
25271
25287
|
this.previouslyEditedRowId = opts.keepEditing && ((_a = this.editedRow) === null || _a === void 0 ? void 0 : _a.editing) ? this.editedRow.id : undefined;
|
|
25272
25288
|
previouslyEditedData = isNotNil(this.previouslyEditedRowId) && this.editedRow.currentData || ((_b = this.singleSelectedRow) === null || _b === void 0 ? void 0 : _b.currentData);
|
|
25273
25289
|
if (!this.confirmEditCreate()) {
|
|
25274
|
-
throw { code: ErrorCodes
|
|
25290
|
+
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
25275
25291
|
}
|
|
25276
25292
|
// Mark as saving
|
|
25277
25293
|
this.markAsSaving();
|
|
@@ -25426,7 +25442,7 @@
|
|
|
25426
25442
|
switch (_d.label) {
|
|
25427
25443
|
case 0:
|
|
25428
25444
|
if (this.readOnly) {
|
|
25429
|
-
throw { code: ErrorCodes
|
|
25445
|
+
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25430
25446
|
}
|
|
25431
25447
|
if (event === null || event === void 0 ? void 0 : event.defaultPrevented)
|
|
25432
25448
|
return [2 /*return*/, 0]; // SKip
|
|
@@ -27271,7 +27287,7 @@
|
|
|
27271
27287
|
case 8:
|
|
27272
27288
|
data = _b.sent();
|
|
27273
27289
|
if (!data)
|
|
27274
|
-
throw { code: ErrorCodes
|
|
27290
|
+
throw { code: ErrorCodes.DATA_NOT_FOUND_ERROR, message: 'ERROR.DATA_NO_FOUND' };
|
|
27275
27291
|
this._usageMode = this.computeUsageMode(data);
|
|
27276
27292
|
return [4 /*yield*/, this.onEntityLoaded(data, opts)];
|
|
27277
27293
|
case 9:
|
|
@@ -28015,10 +28031,10 @@
|
|
|
28015
28031
|
exports.UserEventFilter = __decorate([
|
|
28016
28032
|
EntityClass({ typename: 'UserEventVO' })
|
|
28017
28033
|
], exports.UserEventFilter);
|
|
28018
|
-
var SaveQuery = core.gql(templateObject_1$
|
|
28019
|
-
var LoadAllQuery = core.gql(templateObject_2$
|
|
28020
|
-
var DeleteByIdsMutation = core.gql(templateObject_3$
|
|
28021
|
-
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);
|
|
28022
28038
|
var UserEventService = /** @class */ (function (_super) {
|
|
28023
28039
|
__extends(UserEventService, _super);
|
|
28024
28040
|
function UserEventService(graphql, accountService, network, translate, toastController, environment) {
|
|
@@ -28339,7 +28355,7 @@
|
|
|
28339
28355
|
};
|
|
28340
28356
|
return UserEventService;
|
|
28341
28357
|
}(BaseGraphqlService));
|
|
28342
|
-
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" });
|
|
28343
28359
|
UserEventService.decorators = [
|
|
28344
28360
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28345
28361
|
];
|
|
@@ -28351,7 +28367,7 @@
|
|
|
28351
28367
|
{ type: i1$5.ToastController },
|
|
28352
28368
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
28353
28369
|
]; };
|
|
28354
|
-
var templateObject_1$
|
|
28370
|
+
var templateObject_1$3, templateObject_2$3, templateObject_3$2, templateObject_4$2;
|
|
28355
28371
|
|
|
28356
28372
|
var ICONS_MAP = {
|
|
28357
28373
|
DEBUG_DATA: { matIcon: 'bug_report' },
|
|
@@ -28614,16 +28630,16 @@
|
|
|
28614
28630
|
], exports.PersonFilter);
|
|
28615
28631
|
|
|
28616
28632
|
var PersonFragments = {
|
|
28617
|
-
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 }"])))
|
|
28618
28634
|
};
|
|
28619
28635
|
// Load persons query
|
|
28620
28636
|
var PersonQueries = {
|
|
28621
|
-
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),
|
|
28622
|
-
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)
|
|
28623
28639
|
};
|
|
28624
28640
|
var PersonMutations = {
|
|
28625
|
-
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),
|
|
28626
|
-
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 }"])))
|
|
28627
28643
|
};
|
|
28628
28644
|
var PersonService = /** @class */ (function (_super_1) {
|
|
28629
28645
|
__extends(PersonService, _super_1);
|
|
@@ -28747,7 +28763,7 @@
|
|
|
28747
28763
|
};
|
|
28748
28764
|
return PersonService;
|
|
28749
28765
|
}(BaseEntityService));
|
|
28750
|
-
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" });
|
|
28751
28767
|
PersonService.decorators = [
|
|
28752
28768
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28753
28769
|
];
|
|
@@ -28757,7 +28773,7 @@
|
|
|
28757
28773
|
{ type: NetworkService },
|
|
28758
28774
|
{ type: EntitiesStorage }
|
|
28759
28775
|
]; };
|
|
28760
|
-
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;
|
|
28761
28777
|
|
|
28762
28778
|
var PersonValidatorService = /** @class */ (function () {
|
|
28763
28779
|
function PersonValidatorService(formBuilder, accountValidatorService) {
|
|
@@ -28780,7 +28796,7 @@
|
|
|
28780
28796
|
};
|
|
28781
28797
|
return PersonValidatorService;
|
|
28782
28798
|
}());
|
|
28783
|
-
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" });
|
|
28784
28800
|
PersonValidatorService.decorators = [
|
|
28785
28801
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28786
28802
|
];
|
|
@@ -29003,16 +29019,16 @@
|
|
|
29003
29019
|
];
|
|
29004
29020
|
AdminModule.ctorParameters = function () { return []; };
|
|
29005
29021
|
|
|
29006
|
-
var ɵ0 = {
|
|
29022
|
+
var ɵ0$b = {
|
|
29007
29023
|
profile: 'ADMIN'
|
|
29008
29024
|
};
|
|
29009
|
-
var routes = [
|
|
29025
|
+
var routes$1 = [
|
|
29010
29026
|
{
|
|
29011
29027
|
path: 'users',
|
|
29012
29028
|
pathMatch: 'full',
|
|
29013
29029
|
component: UsersPage,
|
|
29014
29030
|
canActivate: [AuthGuardService],
|
|
29015
|
-
data: ɵ0
|
|
29031
|
+
data: ɵ0$b
|
|
29016
29032
|
}
|
|
29017
29033
|
];
|
|
29018
29034
|
var AdminRoutingModule = /** @class */ (function () {
|
|
@@ -29025,13 +29041,13 @@
|
|
|
29025
29041
|
imports: [
|
|
29026
29042
|
SharedRoutingModule,
|
|
29027
29043
|
AdminModule,
|
|
29028
|
-
i3.RouterModule.forChild(routes)
|
|
29044
|
+
i3.RouterModule.forChild(routes$1)
|
|
29029
29045
|
],
|
|
29030
29046
|
exports: [i3.RouterModule]
|
|
29031
29047
|
},] }
|
|
29032
29048
|
];
|
|
29033
29049
|
|
|
29034
|
-
var ErrorCodes = {
|
|
29050
|
+
var ErrorCodes$2 = {
|
|
29035
29051
|
LOAD_PERSONS_ERROR: 100,
|
|
29036
29052
|
SAVE_PERSONS_ERROR: 101,
|
|
29037
29053
|
DELETE_PERSONS_ERROR: 102,
|
|
@@ -29142,7 +29158,7 @@
|
|
|
29142
29158
|
exports.EntityStore = EntityStore;
|
|
29143
29159
|
exports.EntityUtils = EntityUtils;
|
|
29144
29160
|
exports.Environment = Environment;
|
|
29145
|
-
exports.ErrorCodes = ErrorCodes;
|
|
29161
|
+
exports.ErrorCodes = ErrorCodes$2;
|
|
29146
29162
|
exports.EvenPipe = EvenPipe;
|
|
29147
29163
|
exports.FileService = FileService;
|
|
29148
29164
|
exports.FileSizePipe = FileSizePipe;
|
|
@@ -29152,7 +29168,7 @@
|
|
|
29152
29168
|
exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
|
|
29153
29169
|
exports.FormErrorTranslator = FormErrorTranslator;
|
|
29154
29170
|
exports.FormFieldValuesHolder = FormFieldValuesHolder;
|
|
29155
|
-
exports.Fragments = Fragments;
|
|
29171
|
+
exports.Fragments = Fragments$1;
|
|
29156
29172
|
exports.GraphqlService = GraphqlService;
|
|
29157
29173
|
exports.HAMMER_PRESS_TIME = HAMMER_PRESS_TIME;
|
|
29158
29174
|
exports.HAMMER_TAP_TIME = HAMMER_TAP_TIME;
|
|
@@ -29205,6 +29221,7 @@
|
|
|
29205
29221
|
exports.ModalToolbarComponent = ModalToolbarComponent;
|
|
29206
29222
|
exports.NetworkService = NetworkService;
|
|
29207
29223
|
exports.NgInitDirective = NgInitDirective;
|
|
29224
|
+
exports.NgVarDirective = NgVarDirective;
|
|
29208
29225
|
exports.NotEmptyArrayPipe = NotEmptyArrayPipe;
|
|
29209
29226
|
exports.NumberFormatPipe = NumberFormatPipe;
|
|
29210
29227
|
exports.NumpadDirective = NumpadDirective;
|
|
@@ -29404,20 +29421,20 @@
|
|
|
29404
29421
|
exports.waitForTrue = waitForTrue;
|
|
29405
29422
|
exports.waitIdle = waitIdle;
|
|
29406
29423
|
exports.waitWhilePending = waitWhilePending;
|
|
29407
|
-
exports
|
|
29408
|
-
exports
|
|
29409
|
-
exports
|
|
29410
|
-
exports
|
|
29411
|
-
exports
|
|
29412
|
-
exports
|
|
29413
|
-
exports
|
|
29414
|
-
exports
|
|
29415
|
-
exports
|
|
29416
|
-
exports
|
|
29417
|
-
exports
|
|
29418
|
-
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;
|
|
29419
29436
|
|
|
29420
29437
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
29421
29438
|
|
|
29422
|
-
}));
|
|
29439
|
+
})));
|
|
29423
29440
|
//# sourceMappingURL=sumaris-net.ngx-components.umd.js.map
|