@sumaris-net/ngx-components 1.12.1 → 1.12.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 +297 -273
- 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 +5 -0
- package/esm2015/src/app/shared/files.js +1 -1
- package/fesm2015/sumaris-net.ngx-components.js +279 -264
- package/fesm2015/sumaris-net.ngx-components.js.map +1 -1
- package/package.json +1 -1
- package/src/app/shared/files.d.ts +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('@angular/cdk/text-field'), 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', '@angular/cdk/text-field', '@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
|
-
}(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, textField, ngxMaterialTable, collections, ngxJdenticon) { 'use strict';
|
|
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.ng.cdk.textField, 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, textField, 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,22 +15,45 @@
|
|
|
15
15
|
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
16
16
|
Object.defineProperty(n, k, d.get ? d : {
|
|
17
17
|
enumerable: true,
|
|
18
|
-
get: function () {
|
|
19
|
-
return e[k];
|
|
20
|
-
}
|
|
18
|
+
get: function () { return e[k]; }
|
|
21
19
|
});
|
|
22
20
|
}
|
|
23
21
|
});
|
|
24
22
|
}
|
|
25
|
-
n[
|
|
23
|
+
n["default"] = e;
|
|
26
24
|
return Object.freeze(n);
|
|
27
25
|
}
|
|
28
26
|
|
|
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);
|
|
29
34
|
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);
|
|
30
42
|
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);
|
|
31
49
|
var QueueLink__default = /*#__PURE__*/_interopDefaultLegacy(QueueLink);
|
|
32
50
|
var SerializingLink__default = /*#__PURE__*/_interopDefaultLegacy(SerializingLink);
|
|
33
51
|
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);
|
|
34
57
|
|
|
35
58
|
var ENVIRONMENT = new i0.InjectionToken('ENV');
|
|
36
59
|
var Environment = /** @class */ (function () {
|
|
@@ -1255,14 +1278,14 @@
|
|
|
1255
1278
|
};
|
|
1256
1279
|
return MatAutocompleteConfigHolder;
|
|
1257
1280
|
}());
|
|
1258
|
-
var noop = function (_) { };
|
|
1259
|
-
var ɵ0 = noop;
|
|
1281
|
+
var noop$8 = function (_) { };
|
|
1282
|
+
var ɵ0$c = noop$8;
|
|
1260
1283
|
var MatAutocompleteField = /** @class */ (function () {
|
|
1261
1284
|
function MatAutocompleteField(cd, formGroupDir) {
|
|
1262
1285
|
this.cd = cd;
|
|
1263
1286
|
this.formGroupDir = formGroupDir;
|
|
1264
|
-
this._onChangeCallback = noop;
|
|
1265
|
-
this._onTouchedCallback = noop;
|
|
1287
|
+
this._onChangeCallback = noop$8;
|
|
1288
|
+
this._onTouchedCallback = noop$8;
|
|
1266
1289
|
this.logPrefix = '[mat-autocomplete] ';
|
|
1267
1290
|
this.formControlName = null;
|
|
1268
1291
|
this.required = false;
|
|
@@ -2055,7 +2078,7 @@
|
|
|
2055
2078
|
};
|
|
2056
2079
|
return DateFormatPipe;
|
|
2057
2080
|
}());
|
|
2058
|
-
DateFormatPipe.ɵprov =
|
|
2081
|
+
DateFormatPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DateFormatPipe_Factory() { return new DateFormatPipe(i0__namespace.ɵɵinject(i1__namespace.MomentDateAdapter), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: DateFormatPipe, providedIn: "root" });
|
|
2059
2082
|
DateFormatPipe.decorators = [
|
|
2060
2083
|
{ type: i0.Pipe, args: [{
|
|
2061
2084
|
name: 'dateFormat'
|
|
@@ -2067,7 +2090,7 @@
|
|
|
2067
2090
|
{ type: i1$2.TranslateService }
|
|
2068
2091
|
]; };
|
|
2069
2092
|
|
|
2070
|
-
var moment = momentImported__namespace;
|
|
2093
|
+
var moment$6 = momentImported__namespace;
|
|
2071
2094
|
var DateDiffDurationPipe = /** @class */ (function () {
|
|
2072
2095
|
function DateDiffDurationPipe(dateAdapter, translate) {
|
|
2073
2096
|
var _this = this;
|
|
@@ -2084,10 +2107,10 @@
|
|
|
2084
2107
|
return this.format(startDate, endDate);
|
|
2085
2108
|
};
|
|
2086
2109
|
DateDiffDurationPipe.prototype.format = function (startDate, endDate) {
|
|
2087
|
-
var duration = moment.duration(endDate.diff(startDate));
|
|
2110
|
+
var duration = moment$6.duration(endDate.diff(startDate));
|
|
2088
2111
|
if (duration.asMinutes() < 0)
|
|
2089
2112
|
return '';
|
|
2090
|
-
var timeDuration = moment(0)
|
|
2113
|
+
var timeDuration = moment$6(0)
|
|
2091
2114
|
.hour(duration.hours())
|
|
2092
2115
|
.minute(duration.minutes());
|
|
2093
2116
|
var days = Math.floor(duration.asDays());
|
|
@@ -2095,7 +2118,7 @@
|
|
|
2095
2118
|
};
|
|
2096
2119
|
return DateDiffDurationPipe;
|
|
2097
2120
|
}());
|
|
2098
|
-
DateDiffDurationPipe.ɵprov =
|
|
2121
|
+
DateDiffDurationPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DateDiffDurationPipe_Factory() { return new DateDiffDurationPipe(i0__namespace.ɵɵinject(i1__namespace$2.DateAdapter), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: DateDiffDurationPipe, providedIn: "root" });
|
|
2099
2122
|
DateDiffDurationPipe.decorators = [
|
|
2100
2123
|
{ type: i0.Pipe, args: [{
|
|
2101
2124
|
name: 'dateDiffDuration'
|
|
@@ -2117,7 +2140,7 @@
|
|
|
2117
2140
|
};
|
|
2118
2141
|
return DateFromNowPipe;
|
|
2119
2142
|
}());
|
|
2120
|
-
DateFromNowPipe.ɵprov =
|
|
2143
|
+
DateFromNowPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DateFromNowPipe_Factory() { return new DateFromNowPipe(i0__namespace.ɵɵinject(i1__namespace.MomentDateAdapter)); }, token: DateFromNowPipe, providedIn: "root" });
|
|
2121
2144
|
DateFromNowPipe.decorators = [
|
|
2122
2145
|
{ type: i0.Pipe, args: [{
|
|
2123
2146
|
name: 'dateFromNow'
|
|
@@ -2186,7 +2209,7 @@
|
|
|
2186
2209
|
value *= -1;
|
|
2187
2210
|
}
|
|
2188
2211
|
}
|
|
2189
|
-
var degrees = roundFloat(value, opts.maxDecimals).toString();
|
|
2212
|
+
var degrees = roundFloat$1(value, opts.maxDecimals).toString();
|
|
2190
2213
|
// Add sign
|
|
2191
2214
|
var sign = negative ? '-' : '+';
|
|
2192
2215
|
if (opts.placeholderChar) {
|
|
@@ -2237,7 +2260,7 @@
|
|
|
2237
2260
|
}
|
|
2238
2261
|
var degrees = Math.trunc(value);
|
|
2239
2262
|
var minutes = Math.trunc((value - degrees) * 60);
|
|
2240
|
-
var seconds = roundFloat(((value - degrees) * 60 - minutes) * 60, opts.maxDecimals);
|
|
2263
|
+
var seconds = roundFloat$1(((value - degrees) * 60 - minutes) * 60, opts.maxDecimals);
|
|
2241
2264
|
while (seconds >= 60) {
|
|
2242
2265
|
seconds -= 60;
|
|
2243
2266
|
minutes += 1;
|
|
@@ -2305,7 +2328,7 @@
|
|
|
2305
2328
|
}
|
|
2306
2329
|
}
|
|
2307
2330
|
var degrees = Math.trunc(value);
|
|
2308
|
-
var minutes = roundFloat((value - degrees) * 60, opts.maxDecimals);
|
|
2331
|
+
var minutes = roundFloat$1((value - degrees) * 60, opts.maxDecimals);
|
|
2309
2332
|
while (minutes >= 60) {
|
|
2310
2333
|
minutes -= 60;
|
|
2311
2334
|
degrees += 1;
|
|
@@ -2356,15 +2379,15 @@
|
|
|
2356
2379
|
return NaN;
|
|
2357
2380
|
}
|
|
2358
2381
|
if (pattern === 'DD')
|
|
2359
|
-
return roundFloat(degrees, maxDecimals);
|
|
2382
|
+
return roundFloat$1(degrees, maxDecimals);
|
|
2360
2383
|
var minutes = (pattern === 'DDMMSS' || pattern === 'DDMM') && parts[1] && parseFloat(parts[1].replace(/,/g, '.')) || 0;
|
|
2361
2384
|
var seconds = (pattern === 'DDMMSS') && parts[2] && parseFloat(parts[2].replace(/,/g, '.')) || 0;
|
|
2362
2385
|
var direction = ((pattern === 'DDMMSS') && parts[3]) || ((pattern === 'DDMM') && parts[2]) || undefined;
|
|
2363
2386
|
var sign = (direction && (direction === 's' || direction === 'S' || direction === 'w' || direction === 'W')) ? -1 : 1;
|
|
2364
2387
|
degrees = sign * (degrees + minutes / 60 + seconds / (60 * 60));
|
|
2365
|
-
return roundFloat(degrees, maxDecimals);
|
|
2388
|
+
return roundFloat$1(degrees, maxDecimals);
|
|
2366
2389
|
}
|
|
2367
|
-
function roundFloat(input, maxDecimals) {
|
|
2390
|
+
function roundFloat$1(input, maxDecimals) {
|
|
2368
2391
|
if (maxDecimals > 0) {
|
|
2369
2392
|
var powDecimal = Math.pow(10, maxDecimals);
|
|
2370
2393
|
return Math.trunc(input * powDecimal + 0.5) / powDecimal;
|
|
@@ -2387,7 +2410,7 @@
|
|
|
2387
2410
|
};
|
|
2388
2411
|
return LatLongFormatPipe;
|
|
2389
2412
|
}());
|
|
2390
|
-
LatLongFormatPipe.ɵprov =
|
|
2413
|
+
LatLongFormatPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LatLongFormatPipe_Factory() { return new LatLongFormatPipe(); }, token: LatLongFormatPipe, providedIn: "root" });
|
|
2391
2414
|
LatLongFormatPipe.decorators = [
|
|
2392
2415
|
{ type: i0.Pipe, args: [{
|
|
2393
2416
|
name: 'latLongFormat'
|
|
@@ -2400,7 +2423,7 @@
|
|
|
2400
2423
|
}
|
|
2401
2424
|
return LatitudeFormatPipe;
|
|
2402
2425
|
}());
|
|
2403
|
-
LatitudeFormatPipe.ɵprov =
|
|
2426
|
+
LatitudeFormatPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LatitudeFormatPipe_Factory() { return new LatitudeFormatPipe(); }, token: LatitudeFormatPipe, providedIn: "root" });
|
|
2404
2427
|
LatitudeFormatPipe.decorators = [
|
|
2405
2428
|
{ type: i0.Pipe, args: [{
|
|
2406
2429
|
name: 'latitudeFormat'
|
|
@@ -2413,7 +2436,7 @@
|
|
|
2413
2436
|
}
|
|
2414
2437
|
return LongitudeFormatPipe;
|
|
2415
2438
|
}());
|
|
2416
|
-
LongitudeFormatPipe.ɵprov =
|
|
2439
|
+
LongitudeFormatPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LongitudeFormatPipe_Factory() { return new LongitudeFormatPipe(); }, token: LongitudeFormatPipe, providedIn: "root" });
|
|
2417
2440
|
LongitudeFormatPipe.decorators = [
|
|
2418
2441
|
{ type: i0.Pipe, args: [{
|
|
2419
2442
|
name: 'longitudeFormat'
|
|
@@ -2436,7 +2459,7 @@
|
|
|
2436
2459
|
};
|
|
2437
2460
|
return NumberFormatPipe;
|
|
2438
2461
|
}());
|
|
2439
|
-
NumberFormatPipe.ɵprov =
|
|
2462
|
+
NumberFormatPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function NumberFormatPipe_Factory() { return new NumberFormatPipe(); }, token: NumberFormatPipe, providedIn: "root" });
|
|
2440
2463
|
NumberFormatPipe.decorators = [
|
|
2441
2464
|
{ type: i0.Pipe, args: [{
|
|
2442
2465
|
name: 'numberFormat'
|
|
@@ -2479,7 +2502,7 @@
|
|
|
2479
2502
|
};
|
|
2480
2503
|
return HighlightPipe;
|
|
2481
2504
|
}());
|
|
2482
|
-
HighlightPipe.ɵprov =
|
|
2505
|
+
HighlightPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function HighlightPipe_Factory() { return new HighlightPipe(); }, token: HighlightPipe, providedIn: "root" });
|
|
2483
2506
|
HighlightPipe.decorators = [
|
|
2484
2507
|
{ type: i0.Pipe, args: [{
|
|
2485
2508
|
name: 'highlight'
|
|
@@ -2547,7 +2570,7 @@
|
|
|
2547
2570
|
{ type: i0.Pipe, args: [{ name: 'fileSize' },] }
|
|
2548
2571
|
];
|
|
2549
2572
|
|
|
2550
|
-
var moment$
|
|
2573
|
+
var moment$5 = momentImported__namespace;
|
|
2551
2574
|
var DATE_UNIX_TIMESTAMP = 'X';
|
|
2552
2575
|
var DATE_UNIX_MS_TIMESTAMP = 'x';
|
|
2553
2576
|
var DateUtils = /** @class */ (function () {
|
|
@@ -2590,32 +2613,32 @@
|
|
|
2590
2613
|
if (!value || momentImported.isMoment(value))
|
|
2591
2614
|
return value;
|
|
2592
2615
|
// Parse the input value, as a ISO date time
|
|
2593
|
-
var date = moment$
|
|
2616
|
+
var date = moment$5(value, DATE_ISO_PATTERN);
|
|
2594
2617
|
if (date.isValid())
|
|
2595
2618
|
return date;
|
|
2596
2619
|
// Not valid: trying to convert from unix timestamp
|
|
2597
2620
|
if (typeof value === 'string') {
|
|
2598
2621
|
console.warn('Wrong date format - Trying to convert from local time: ' + value);
|
|
2599
2622
|
if (value.length === 10) {
|
|
2600
|
-
return moment$
|
|
2623
|
+
return moment$5(value, DATE_UNIX_TIMESTAMP);
|
|
2601
2624
|
}
|
|
2602
2625
|
else if (value.length === 13) {
|
|
2603
|
-
return moment$
|
|
2626
|
+
return moment$5(value, DATE_UNIX_MS_TIMESTAMP);
|
|
2604
2627
|
}
|
|
2605
2628
|
}
|
|
2606
2629
|
console.warn('Unable to parse date: ' + value);
|
|
2607
2630
|
return undefined;
|
|
2608
2631
|
}
|
|
2609
2632
|
function fromUnixTimestamp(timeInSec) {
|
|
2610
|
-
return moment$
|
|
2633
|
+
return moment$5(timeInSec, DATE_UNIX_TIMESTAMP);
|
|
2611
2634
|
}
|
|
2612
2635
|
function fromUnixMsTimestamp(timeInMs) {
|
|
2613
|
-
return moment$
|
|
2636
|
+
return moment$5(timeInMs, DATE_UNIX_MS_TIMESTAMP);
|
|
2614
2637
|
}
|
|
2615
2638
|
function toDuration(value, unit) {
|
|
2616
2639
|
if (!value)
|
|
2617
2640
|
return undefined;
|
|
2618
|
-
var duration = moment$
|
|
2641
|
+
var duration = moment$5.duration(value, unit);
|
|
2619
2642
|
// fix 990+ ms
|
|
2620
2643
|
if (duration.milliseconds() >= 990) {
|
|
2621
2644
|
duration.add(1000 - duration.milliseconds(), 'ms');
|
|
@@ -2645,7 +2668,7 @@
|
|
|
2645
2668
|
};
|
|
2646
2669
|
return DurationPipe;
|
|
2647
2670
|
}());
|
|
2648
|
-
DurationPipe.ɵprov =
|
|
2671
|
+
DurationPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DurationPipe_Factory() { return new DurationPipe(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: DurationPipe, providedIn: "root" });
|
|
2649
2672
|
DurationPipe.decorators = [
|
|
2650
2673
|
{ type: i0.Pipe, args: [{
|
|
2651
2674
|
name: 'duration'
|
|
@@ -2669,7 +2692,7 @@
|
|
|
2669
2692
|
};
|
|
2670
2693
|
return MathAbsPipe;
|
|
2671
2694
|
}());
|
|
2672
|
-
MathAbsPipe.ɵprov =
|
|
2695
|
+
MathAbsPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MathAbsPipe_Factory() { return new MathAbsPipe(); }, token: MathAbsPipe, providedIn: "root" });
|
|
2673
2696
|
MathAbsPipe.decorators = [
|
|
2674
2697
|
{ type: i0.Pipe, args: [{
|
|
2675
2698
|
name: 'mathAbs'
|
|
@@ -2684,7 +2707,7 @@
|
|
|
2684
2707
|
};
|
|
2685
2708
|
return EvenPipe;
|
|
2686
2709
|
}());
|
|
2687
|
-
EvenPipe.ɵprov =
|
|
2710
|
+
EvenPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function EvenPipe_Factory() { return new EvenPipe(); }, token: EvenPipe, providedIn: "root" });
|
|
2688
2711
|
EvenPipe.decorators = [
|
|
2689
2712
|
{ type: i0.Pipe, args: [{
|
|
2690
2713
|
name: 'even'
|
|
@@ -2699,7 +2722,7 @@
|
|
|
2699
2722
|
};
|
|
2700
2723
|
return OddPipe;
|
|
2701
2724
|
}());
|
|
2702
|
-
OddPipe.ɵprov =
|
|
2725
|
+
OddPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function OddPipe_Factory() { return new OddPipe(); }, token: OddPipe, providedIn: "root" });
|
|
2703
2726
|
OddPipe.decorators = [
|
|
2704
2727
|
{ type: i0.Pipe, args: [{
|
|
2705
2728
|
name: 'odd'
|
|
@@ -2831,7 +2854,7 @@
|
|
|
2831
2854
|
};
|
|
2832
2855
|
return MapGetPipe;
|
|
2833
2856
|
}());
|
|
2834
|
-
MapGetPipe.ɵprov =
|
|
2857
|
+
MapGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MapGetPipe_Factory() { return new MapGetPipe(); }, token: MapGetPipe, providedIn: "root" });
|
|
2835
2858
|
MapGetPipe.decorators = [
|
|
2836
2859
|
{ type: i0.Pipe, args: [{
|
|
2837
2860
|
name: 'mapGet'
|
|
@@ -2848,7 +2871,7 @@
|
|
|
2848
2871
|
};
|
|
2849
2872
|
return MapKeysPipe;
|
|
2850
2873
|
}());
|
|
2851
|
-
MapKeysPipe.ɵprov =
|
|
2874
|
+
MapKeysPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MapKeysPipe_Factory() { return new MapKeysPipe(); }, token: MapKeysPipe, providedIn: "root" });
|
|
2852
2875
|
MapKeysPipe.decorators = [
|
|
2853
2876
|
{ type: i0.Pipe, args: [{
|
|
2854
2877
|
name: 'mapKeys'
|
|
@@ -2865,7 +2888,7 @@
|
|
|
2865
2888
|
};
|
|
2866
2889
|
return MapValuesPipe;
|
|
2867
2890
|
}());
|
|
2868
|
-
MapValuesPipe.ɵprov =
|
|
2891
|
+
MapValuesPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MapValuesPipe_Factory() { return new MapValuesPipe(); }, token: MapValuesPipe, providedIn: "root" });
|
|
2869
2892
|
MapValuesPipe.decorators = [
|
|
2870
2893
|
{ type: i0.Pipe, args: [{
|
|
2871
2894
|
name: 'mapValues'
|
|
@@ -2881,7 +2904,7 @@
|
|
|
2881
2904
|
};
|
|
2882
2905
|
return IsNotNilOrBlankPipe;
|
|
2883
2906
|
}());
|
|
2884
|
-
IsNotNilOrBlankPipe.ɵprov =
|
|
2907
|
+
IsNotNilOrBlankPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IsNotNilOrBlankPipe_Factory() { return new IsNotNilOrBlankPipe(); }, token: IsNotNilOrBlankPipe, providedIn: "root" });
|
|
2885
2908
|
IsNotNilOrBlankPipe.decorators = [
|
|
2886
2909
|
{ type: i0.Pipe, args: [{
|
|
2887
2910
|
name: 'isNotNilOrBlank'
|
|
@@ -2896,7 +2919,7 @@
|
|
|
2896
2919
|
};
|
|
2897
2920
|
return IsNilOrBlankPipe;
|
|
2898
2921
|
}());
|
|
2899
|
-
IsNilOrBlankPipe.ɵprov =
|
|
2922
|
+
IsNilOrBlankPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IsNilOrBlankPipe_Factory() { return new IsNilOrBlankPipe(); }, token: IsNilOrBlankPipe, providedIn: "root" });
|
|
2900
2923
|
IsNilOrBlankPipe.decorators = [
|
|
2901
2924
|
{ type: i0.Pipe, args: [{
|
|
2902
2925
|
name: 'isNilOrBlank'
|
|
@@ -2911,7 +2934,7 @@
|
|
|
2911
2934
|
};
|
|
2912
2935
|
return ToStringPipe;
|
|
2913
2936
|
}());
|
|
2914
|
-
ToStringPipe.ɵprov =
|
|
2937
|
+
ToStringPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ToStringPipe_Factory() { return new ToStringPipe(); }, token: ToStringPipe, providedIn: "root" });
|
|
2915
2938
|
ToStringPipe.decorators = [
|
|
2916
2939
|
{ type: i0.Pipe, args: [{
|
|
2917
2940
|
name: 'toString'
|
|
@@ -2926,7 +2949,7 @@
|
|
|
2926
2949
|
};
|
|
2927
2950
|
return StrLengthPipe;
|
|
2928
2951
|
}());
|
|
2929
|
-
StrLengthPipe.ɵprov =
|
|
2952
|
+
StrLengthPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function StrLengthPipe_Factory() { return new StrLengthPipe(); }, token: StrLengthPipe, providedIn: "root" });
|
|
2930
2953
|
StrLengthPipe.decorators = [
|
|
2931
2954
|
{ type: i0.Pipe, args: [{
|
|
2932
2955
|
name: 'strLength'
|
|
@@ -3017,7 +3040,7 @@
|
|
|
3017
3040
|
};
|
|
3018
3041
|
return TranslateContextService;
|
|
3019
3042
|
}());
|
|
3020
|
-
TranslateContextService.ɵprov =
|
|
3043
|
+
TranslateContextService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function TranslateContextService_Factory() { return new TranslateContextService(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: TranslateContextService, providedIn: "root" });
|
|
3021
3044
|
TranslateContextService.decorators = [
|
|
3022
3045
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
3023
3046
|
];
|
|
@@ -3074,7 +3097,7 @@
|
|
|
3074
3097
|
};
|
|
3075
3098
|
return PropertyGetPipe;
|
|
3076
3099
|
}());
|
|
3077
|
-
PropertyGetPipe.ɵprov =
|
|
3100
|
+
PropertyGetPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PropertyGetPipe_Factory() { return new PropertyGetPipe(); }, token: PropertyGetPipe, providedIn: "root" });
|
|
3078
3101
|
PropertyGetPipe.decorators = [
|
|
3079
3102
|
{ type: i0.Pipe, args: [{
|
|
3080
3103
|
name: 'propertyGet'
|
|
@@ -3100,7 +3123,7 @@
|
|
|
3100
3123
|
ngInit: [{ type: i0.Output }]
|
|
3101
3124
|
};
|
|
3102
3125
|
|
|
3103
|
-
var moment$
|
|
3126
|
+
var moment$4 = momentImported__namespace;
|
|
3104
3127
|
// @dynamic
|
|
3105
3128
|
var SharedValidators = /** @class */ (function () {
|
|
3106
3129
|
function SharedValidators() {
|
|
@@ -3119,7 +3142,7 @@
|
|
|
3119
3142
|
};
|
|
3120
3143
|
SharedValidators.validDate = function (control) {
|
|
3121
3144
|
var value = control.value;
|
|
3122
|
-
var date = !value || moment$
|
|
3145
|
+
var date = !value || moment$4.isMoment(value) ? value : moment$4(control.value, DATE_ISO_PATTERN);
|
|
3123
3146
|
if (date && (!date.isValid() || date.year() < 1970)) {
|
|
3124
3147
|
return { validDate: true };
|
|
3125
3148
|
}
|
|
@@ -4286,7 +4309,7 @@
|
|
|
4286
4309
|
};
|
|
4287
4310
|
return FormErrorTranslator;
|
|
4288
4311
|
}());
|
|
4289
|
-
FormErrorTranslator.ɵprov =
|
|
4312
|
+
FormErrorTranslator.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FormErrorTranslator_Factory() { return new FormErrorTranslator(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService), i0__namespace.ɵɵinject(APP_FORM_ERROR_I18N_KEYS, 8)); }, token: FormErrorTranslator, providedIn: "root" });
|
|
4290
4313
|
FormErrorTranslator.decorators = [
|
|
4291
4314
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
4292
4315
|
];
|
|
@@ -4477,7 +4500,7 @@
|
|
|
4477
4500
|
}
|
|
4478
4501
|
return false;
|
|
4479
4502
|
};
|
|
4480
|
-
var ɵ0$
|
|
4503
|
+
var ɵ0$b = isIpad;
|
|
4481
4504
|
var isIOS = function (win) { return testUserAgent(win, /iPhone|iPod/i) || isIpad(win); };
|
|
4482
4505
|
var isAndroid = function (win) { return testUserAgent(win, /android|sink/i); };
|
|
4483
4506
|
var isCordova = function (win) { return !!(win['cordova'] || win['phonegap'] || win['PhoneGap']); };
|
|
@@ -4726,9 +4749,9 @@
|
|
|
4726
4749
|
var hour = parseInt(durationParts[0] || '0');
|
|
4727
4750
|
var minute = parseInt(durationParts[1] || '0');
|
|
4728
4751
|
var value = hour + (minute + 0.5) / 60;
|
|
4729
|
-
return roundFloat
|
|
4752
|
+
return roundFloat(value, maxDecimals);
|
|
4730
4753
|
}
|
|
4731
|
-
function roundFloat
|
|
4754
|
+
function roundFloat(input, maxDecimals) {
|
|
4732
4755
|
if (maxDecimals > 0) {
|
|
4733
4756
|
var powDecimal = Math.pow(10, maxDecimals);
|
|
4734
4757
|
return Math.trunc(input * powDecimal + 0.5) / powDecimal;
|
|
@@ -4752,9 +4775,9 @@
|
|
|
4752
4775
|
DD: [/[+-]/, /\d/, /\d/, /\d/, '.', /\d/, /\d/, /\d/, /\d/, /\d/, /\d/, /\d/, '°']
|
|
4753
4776
|
}
|
|
4754
4777
|
};
|
|
4755
|
-
var noop$
|
|
4778
|
+
var noop$7 = function () {
|
|
4756
4779
|
};
|
|
4757
|
-
var ɵ0$
|
|
4780
|
+
var ɵ0$a = noop$7;
|
|
4758
4781
|
var MatLatLongField = /** @class */ (function () {
|
|
4759
4782
|
function MatLatLongField(platform, translate, formBuilder, cd, formGroupDir) {
|
|
4760
4783
|
this.platform = platform;
|
|
@@ -4762,8 +4785,8 @@
|
|
|
4762
4785
|
this.formBuilder = formBuilder;
|
|
4763
4786
|
this.cd = cd;
|
|
4764
4787
|
this.formGroupDir = formGroupDir;
|
|
4765
|
-
this._onChangeCallback = noop$
|
|
4766
|
-
this._onTouchedCallback = noop$
|
|
4788
|
+
this._onChangeCallback = noop$7;
|
|
4789
|
+
this._onTouchedCallback = noop$7;
|
|
4767
4790
|
this._subscription = new rxjs.Subscription();
|
|
4768
4791
|
this.disabling = false;
|
|
4769
4792
|
this.writing = false;
|
|
@@ -5115,14 +5138,14 @@
|
|
|
5115
5138
|
},] }
|
|
5116
5139
|
];
|
|
5117
5140
|
|
|
5118
|
-
var DEFAULT_VALUE_ACCESSOR = {
|
|
5141
|
+
var DEFAULT_VALUE_ACCESSOR$5 = {
|
|
5119
5142
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5120
5143
|
useExisting: i0.forwardRef(function () { return MatDate; }),
|
|
5121
5144
|
multi: true
|
|
5122
5145
|
};
|
|
5123
|
-
var DAY_MASK = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5124
|
-
var noop$
|
|
5125
|
-
var ɵ0$
|
|
5146
|
+
var DAY_MASK$2 = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5147
|
+
var noop$6 = function () { };
|
|
5148
|
+
var ɵ0$9 = noop$6;
|
|
5126
5149
|
var MatDate = /** @class */ (function () {
|
|
5127
5150
|
function MatDate(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5128
5151
|
this.dateAdapter = dateAdapter;
|
|
@@ -5131,12 +5154,12 @@
|
|
|
5131
5154
|
this.cd = cd;
|
|
5132
5155
|
this.keyboard = keyboard;
|
|
5133
5156
|
this.formGroupDir = formGroupDir;
|
|
5134
|
-
this._onChangeCallback = noop$
|
|
5135
|
-
this._onTouchedCallback = noop$
|
|
5157
|
+
this._onChangeCallback = noop$6;
|
|
5158
|
+
this._onTouchedCallback = noop$6;
|
|
5136
5159
|
this._subscription = new rxjs.Subscription();
|
|
5137
5160
|
this.writing = true;
|
|
5138
5161
|
this.disabling = false;
|
|
5139
|
-
this.dayMask = DAY_MASK;
|
|
5162
|
+
this.dayMask = DAY_MASK$2;
|
|
5140
5163
|
this.disabled = false;
|
|
5141
5164
|
this.floatLabel = 'auto';
|
|
5142
5165
|
this.readonly = false;
|
|
@@ -5405,7 +5428,7 @@
|
|
|
5405
5428
|
selector: 'mat-date-field',
|
|
5406
5429
|
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",
|
|
5407
5430
|
providers: [
|
|
5408
|
-
DEFAULT_VALUE_ACCESSOR,
|
|
5431
|
+
DEFAULT_VALUE_ACCESSOR$5,
|
|
5409
5432
|
],
|
|
5410
5433
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5411
5434
|
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%}"]
|
|
@@ -5438,17 +5461,17 @@
|
|
|
5438
5461
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5439
5462
|
};
|
|
5440
5463
|
|
|
5441
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5464
|
+
var DEFAULT_VALUE_ACCESSOR$4 = {
|
|
5442
5465
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5443
5466
|
useExisting: i0.forwardRef(function () { return MatDateTime; }),
|
|
5444
5467
|
multi: true
|
|
5445
5468
|
};
|
|
5446
5469
|
var DAY_MASK$1 = [/\d/, /\d/, '/', /\d/, /\d/, '/', /\d/, /\d/, /\d/, /\d/];
|
|
5447
5470
|
var HOUR_REGEXP = /^[012][0-9][:][012345][0-9]$/;
|
|
5448
|
-
var HOUR_MASK = [/[012]/, /\d/, ':', /[012345]/, /\d/];
|
|
5449
|
-
var noop$
|
|
5471
|
+
var HOUR_MASK$1 = [/[012]/, /\d/, ':', /[012345]/, /\d/];
|
|
5472
|
+
var noop$5 = function () {
|
|
5450
5473
|
};
|
|
5451
|
-
var ɵ0$
|
|
5474
|
+
var ɵ0$8 = noop$5;
|
|
5452
5475
|
var MatDateTime = /** @class */ (function () {
|
|
5453
5476
|
function MatDateTime(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5454
5477
|
this.platform = platform;
|
|
@@ -5458,14 +5481,14 @@
|
|
|
5458
5481
|
this.cd = cd;
|
|
5459
5482
|
this.keyboard = keyboard;
|
|
5460
5483
|
this.formGroupDir = formGroupDir;
|
|
5461
|
-
this._onChangeCallback = noop$
|
|
5462
|
-
this._onTouchedCallback = noop$
|
|
5484
|
+
this._onChangeCallback = noop$5;
|
|
5485
|
+
this._onTouchedCallback = noop$5;
|
|
5463
5486
|
this._subscription = new rxjs.Subscription();
|
|
5464
5487
|
this.writing = true;
|
|
5465
5488
|
this.disabling = false;
|
|
5466
5489
|
this._readonly = false;
|
|
5467
5490
|
this.dayMask = DAY_MASK$1;
|
|
5468
|
-
this.hourMask = HOUR_MASK;
|
|
5491
|
+
this.hourMask = HOUR_MASK$1;
|
|
5469
5492
|
this.floatLabel = 'auto';
|
|
5470
5493
|
this.compact = false;
|
|
5471
5494
|
this.placeholderChar = DEFAULT_PLACEHOLDER_CHAR;
|
|
@@ -5822,7 +5845,7 @@
|
|
|
5822
5845
|
selector: 'mat-date-time-field',
|
|
5823
5846
|
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",
|
|
5824
5847
|
providers: [
|
|
5825
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
5848
|
+
DEFAULT_VALUE_ACCESSOR$4,
|
|
5826
5849
|
],
|
|
5827
5850
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
5828
5851
|
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%}"]
|
|
@@ -5856,15 +5879,15 @@
|
|
|
5856
5879
|
matInputs: [{ type: i0.ViewChildren, args: ['matInput',] }]
|
|
5857
5880
|
};
|
|
5858
5881
|
|
|
5859
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
5882
|
+
var DEFAULT_VALUE_ACCESSOR$3 = {
|
|
5860
5883
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
5861
5884
|
useExisting: i0.forwardRef(function () { return MatDateShort; }),
|
|
5862
5885
|
multi: true
|
|
5863
5886
|
};
|
|
5864
|
-
var DAY_MASK
|
|
5887
|
+
var DAY_MASK = [/\d/, /\d/, /\d/, /\d/];
|
|
5865
5888
|
var noop$4 = function () {
|
|
5866
5889
|
};
|
|
5867
|
-
var ɵ0$
|
|
5890
|
+
var ɵ0$7 = noop$4;
|
|
5868
5891
|
var MatDateShort = /** @class */ (function () {
|
|
5869
5892
|
function MatDateShort(platform, dateAdapter, translate, formBuilder, cd, keyboard, formGroupDir) {
|
|
5870
5893
|
this.dateAdapter = dateAdapter;
|
|
@@ -5877,7 +5900,7 @@
|
|
|
5877
5900
|
this._onTouchedCallback = noop$4;
|
|
5878
5901
|
this.writing = true;
|
|
5879
5902
|
this.disabling = false;
|
|
5880
|
-
this.dayMask = DAY_MASK
|
|
5903
|
+
this.dayMask = DAY_MASK;
|
|
5881
5904
|
this.disabled = false;
|
|
5882
5905
|
this.floatLabel = 'auto';
|
|
5883
5906
|
this.readonly = false;
|
|
@@ -6154,7 +6177,7 @@
|
|
|
6154
6177
|
selector: 'mat-date-short-field',
|
|
6155
6178
|
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",
|
|
6156
6179
|
providers: [
|
|
6157
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6180
|
+
DEFAULT_VALUE_ACCESSOR$3,
|
|
6158
6181
|
],
|
|
6159
6182
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6160
6183
|
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%}"]
|
|
@@ -6225,16 +6248,16 @@
|
|
|
6225
6248
|
},] }
|
|
6226
6249
|
];
|
|
6227
6250
|
|
|
6228
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6251
|
+
var DEFAULT_VALUE_ACCESSOR$2 = {
|
|
6229
6252
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6230
6253
|
useExisting: i0.forwardRef(function () { return MatDuration; }),
|
|
6231
6254
|
multi: true
|
|
6232
6255
|
};
|
|
6233
6256
|
var HOUR_TIME_PATTERN = /[0-9]\d\d:[0-5]\d/;
|
|
6234
|
-
var HOUR_MASK
|
|
6235
|
-
var noop$
|
|
6257
|
+
var HOUR_MASK = [/\d/, /\d/, /\d/, ':', /[0-5]/, /\d/];
|
|
6258
|
+
var noop$3 = function () {
|
|
6236
6259
|
};
|
|
6237
|
-
var ɵ0$6 = noop$
|
|
6260
|
+
var ɵ0$6 = noop$3;
|
|
6238
6261
|
var MatDuration = /** @class */ (function () {
|
|
6239
6262
|
function MatDuration(platform, dateAdapter, translate, formBuilder, cd, formGroupDir) {
|
|
6240
6263
|
this.dateAdapter = dateAdapter;
|
|
@@ -6243,11 +6266,11 @@
|
|
|
6243
6266
|
this.cd = cd;
|
|
6244
6267
|
this.formGroupDir = formGroupDir;
|
|
6245
6268
|
this._subscription = new rxjs.Subscription();
|
|
6246
|
-
this._onChangeCallback = noop$
|
|
6247
|
-
this._onTouchedCallback = noop$
|
|
6269
|
+
this._onChangeCallback = noop$3;
|
|
6270
|
+
this._onTouchedCallback = noop$3;
|
|
6248
6271
|
this.writing = true;
|
|
6249
6272
|
this.disabling = false;
|
|
6250
|
-
this.hourMask = HOUR_MASK
|
|
6273
|
+
this.hourMask = HOUR_MASK;
|
|
6251
6274
|
this.disabled = false;
|
|
6252
6275
|
this.floatLabel = 'auto';
|
|
6253
6276
|
this.readonly = false;
|
|
@@ -6440,7 +6463,7 @@
|
|
|
6440
6463
|
selector: 'mat-duration-field',
|
|
6441
6464
|
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",
|
|
6442
6465
|
providers: [
|
|
6443
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6466
|
+
DEFAULT_VALUE_ACCESSOR$2,
|
|
6444
6467
|
],
|
|
6445
6468
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6446
6469
|
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%}"]
|
|
@@ -6500,22 +6523,22 @@
|
|
|
6500
6523
|
},] }
|
|
6501
6524
|
];
|
|
6502
6525
|
|
|
6503
|
-
var DEFAULT_VALUE_ACCESSOR$
|
|
6526
|
+
var DEFAULT_VALUE_ACCESSOR$1 = {
|
|
6504
6527
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
6505
6528
|
useExisting: i0.forwardRef(function () { return MatBooleanField; }),
|
|
6506
6529
|
multi: true
|
|
6507
6530
|
};
|
|
6508
|
-
var noop$
|
|
6531
|
+
var noop$2 = function () {
|
|
6509
6532
|
};
|
|
6510
|
-
var ɵ0$
|
|
6533
|
+
var ɵ0$5 = noop$2;
|
|
6511
6534
|
var MatBooleanField = /** @class */ (function () {
|
|
6512
6535
|
function MatBooleanField(translate, formBuilder, cd, formGroupDir) {
|
|
6513
6536
|
this.translate = translate;
|
|
6514
6537
|
this.formBuilder = formBuilder;
|
|
6515
6538
|
this.cd = cd;
|
|
6516
6539
|
this.formGroupDir = formGroupDir;
|
|
6517
|
-
this._onChangeCallback = noop$
|
|
6518
|
-
this._onTouchedCallback = noop$
|
|
6540
|
+
this._onChangeCallback = noop$2;
|
|
6541
|
+
this._onTouchedCallback = noop$2;
|
|
6519
6542
|
this._writing = false;
|
|
6520
6543
|
this.showRadio = false;
|
|
6521
6544
|
this.disabled = false;
|
|
@@ -6690,7 +6713,7 @@
|
|
|
6690
6713
|
selector: 'mat-boolean-field',
|
|
6691
6714
|
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",
|
|
6692
6715
|
providers: [
|
|
6693
|
-
DEFAULT_VALUE_ACCESSOR$
|
|
6716
|
+
DEFAULT_VALUE_ACCESSOR$1
|
|
6694
6717
|
],
|
|
6695
6718
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
6696
6719
|
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}"]
|
|
@@ -6777,6 +6800,7 @@
|
|
|
6777
6800
|
return MatNumpadEvent;
|
|
6778
6801
|
}(KeyboardEvent));
|
|
6779
6802
|
|
|
6803
|
+
exports.AnimationState = void 0;
|
|
6780
6804
|
(function (AnimationState) {
|
|
6781
6805
|
AnimationState["ENTER"] = "enter";
|
|
6782
6806
|
AnimationState["ENTER_INPUT"] = "enter-input";
|
|
@@ -6944,7 +6968,7 @@
|
|
|
6944
6968
|
};
|
|
6945
6969
|
return MatNumpadDomService;
|
|
6946
6970
|
}());
|
|
6947
|
-
MatNumpadDomService.ɵprov =
|
|
6971
|
+
MatNumpadDomService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MatNumpadDomService_Factory() { return new MatNumpadDomService(i0__namespace.ɵɵinject(i0__namespace.ComponentFactoryResolver), i0__namespace.ɵɵinject(i0__namespace.ApplicationRef), i0__namespace.ɵɵinject(i0__namespace.INJECTOR), i0__namespace.ɵɵinject(i1__namespace$3.DOCUMENT, 8)); }, token: MatNumpadDomService, providedIn: "root" });
|
|
6948
6972
|
MatNumpadDomService.decorators = [
|
|
6949
6973
|
{ type: i0.Injectable, args: [{
|
|
6950
6974
|
providedIn: 'root'
|
|
@@ -7350,7 +7374,7 @@
|
|
|
7350
7374
|
},] }
|
|
7351
7375
|
];
|
|
7352
7376
|
|
|
7353
|
-
var DEFAULT_VALUE_ACCESSOR
|
|
7377
|
+
var DEFAULT_VALUE_ACCESSOR = {
|
|
7354
7378
|
provide: i1.NG_VALUE_ACCESSOR,
|
|
7355
7379
|
useExisting: i0.forwardRef(function () { return MatSwipeField; }),
|
|
7356
7380
|
multi: true
|
|
@@ -7670,7 +7694,7 @@
|
|
|
7670
7694
|
{ type: i0.Component, args: [{
|
|
7671
7695
|
selector: 'mat-swipe-field',
|
|
7672
7696
|
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",
|
|
7673
|
-
providers: [DEFAULT_VALUE_ACCESSOR
|
|
7697
|
+
providers: [DEFAULT_VALUE_ACCESSOR],
|
|
7674
7698
|
changeDetection: i0.ChangeDetectionStrategy.OnPush,
|
|
7675
7699
|
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}"]
|
|
7676
7700
|
},] }
|
|
@@ -7731,14 +7755,14 @@
|
|
|
7731
7755
|
},] }
|
|
7732
7756
|
];
|
|
7733
7757
|
|
|
7734
|
-
var noop$
|
|
7735
|
-
var ɵ0$
|
|
7758
|
+
var noop$1 = function () { };
|
|
7759
|
+
var ɵ0$4 = noop$1;
|
|
7736
7760
|
var MatChipsField = /** @class */ (function () {
|
|
7737
7761
|
function MatChipsField(cd, formGroupDir) {
|
|
7738
7762
|
this.cd = cd;
|
|
7739
7763
|
this.formGroupDir = formGroupDir;
|
|
7740
|
-
this._onChangeCallback = noop$
|
|
7741
|
-
this._onTouchedCallback = noop$
|
|
7764
|
+
this._onChangeCallback = noop$1;
|
|
7765
|
+
this._onTouchedCallback = noop$1;
|
|
7742
7766
|
this.logPrefix = '[mat-chips] ';
|
|
7743
7767
|
this.formControlName = null;
|
|
7744
7768
|
this.required = false;
|
|
@@ -8706,7 +8730,7 @@
|
|
|
8706
8730
|
};
|
|
8707
8731
|
return ProgressBarService;
|
|
8708
8732
|
}());
|
|
8709
|
-
ProgressBarService.ɵprov =
|
|
8733
|
+
ProgressBarService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ProgressBarService_Factory() { return new ProgressBarService(); }, token: ProgressBarService, providedIn: "root" });
|
|
8710
8734
|
ProgressBarService.decorators = [
|
|
8711
8735
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8712
8736
|
];
|
|
@@ -8753,7 +8777,7 @@
|
|
|
8753
8777
|
};
|
|
8754
8778
|
return AppGestureConfig;
|
|
8755
8779
|
}(i1$6.HammerGestureConfig));
|
|
8756
|
-
AppGestureConfig.ɵprov =
|
|
8780
|
+
AppGestureConfig.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AppGestureConfig_Factory() { return new AppGestureConfig(); }, token: AppGestureConfig, providedIn: "root" });
|
|
8757
8781
|
AppGestureConfig.decorators = [
|
|
8758
8782
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
8759
8783
|
];
|
|
@@ -9020,7 +9044,7 @@
|
|
|
9020
9044
|
};
|
|
9021
9045
|
return MatPaginatorI18n;
|
|
9022
9046
|
}(paginator.MatPaginatorIntl));
|
|
9023
|
-
MatPaginatorI18n.ɵprov =
|
|
9047
|
+
MatPaginatorI18n.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MatPaginatorI18n_Factory() { return new MatPaginatorI18n(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: MatPaginatorI18n, providedIn: "root" });
|
|
9024
9048
|
MatPaginatorI18n.decorators = [
|
|
9025
9049
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9026
9050
|
];
|
|
@@ -9112,17 +9136,17 @@
|
|
|
9112
9136
|
return rgbArrayToHex(rgb.map(function (v) { return 255 - v; }));
|
|
9113
9137
|
}
|
|
9114
9138
|
|
|
9115
|
-
var noop
|
|
9139
|
+
var noop = function () {
|
|
9116
9140
|
};
|
|
9117
|
-
var ɵ0$
|
|
9141
|
+
var ɵ0$3 = noop;
|
|
9118
9142
|
var AppFormField = /** @class */ (function () {
|
|
9119
9143
|
function AppFormField(translate, cd, injector, formGroupDir) {
|
|
9120
9144
|
this.translate = translate;
|
|
9121
9145
|
this.cd = cd;
|
|
9122
9146
|
this.injector = injector;
|
|
9123
9147
|
this.formGroupDir = formGroupDir;
|
|
9124
|
-
this._onChangeCallback = noop
|
|
9125
|
-
this._onTouchedCallback = noop
|
|
9148
|
+
this._onChangeCallback = noop;
|
|
9149
|
+
this._onTouchedCallback = noop;
|
|
9126
9150
|
this.readonly = false;
|
|
9127
9151
|
this.compact = false;
|
|
9128
9152
|
this.floatLabel = 'auto';
|
|
@@ -9680,7 +9704,7 @@
|
|
|
9680
9704
|
};
|
|
9681
9705
|
return AudioProvider;
|
|
9682
9706
|
}(StartableService));
|
|
9683
|
-
AudioProvider.ɵprov =
|
|
9707
|
+
AudioProvider.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AudioProvider_Factory() { return new AudioProvider(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i2__namespace.NativeAudio, 8), i0__namespace.ɵɵinject(i3__namespace.Vibration, 8), i0__namespace.ɵɵinject(i4__namespace.AudioManagement, 8)); }, token: AudioProvider, providedIn: "root" });
|
|
9684
9708
|
AudioProvider.decorators = [
|
|
9685
9709
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
9686
9710
|
];
|
|
@@ -9780,7 +9804,7 @@
|
|
|
9780
9804
|
};
|
|
9781
9805
|
return Hotkeys;
|
|
9782
9806
|
}());
|
|
9783
|
-
Hotkeys.ɵprov =
|
|
9807
|
+
Hotkeys.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function Hotkeys_Factory() { return new Hotkeys(i0__namespace.ɵɵinject(i1__namespace$5.EventManager), i0__namespace.ɵɵinject(i2__namespace$1.MatDialog), i0__namespace.ɵɵinject(i1__namespace$3.DOCUMENT), i0__namespace.ɵɵinject(i1__namespace$4.ModalController)); }, token: Hotkeys, providedIn: "root" });
|
|
9784
9808
|
Hotkeys.decorators = [
|
|
9785
9809
|
{ type: i0.Injectable, args: [{
|
|
9786
9810
|
providedIn: 'root'
|
|
@@ -9984,7 +10008,7 @@
|
|
|
9984
10008
|
return Base64ImageReader;
|
|
9985
10009
|
}());
|
|
9986
10010
|
|
|
9987
|
-
var uuidv4 = uuidv4Imported__namespace;
|
|
10011
|
+
var uuidv4$1 = uuidv4Imported__namespace;
|
|
9988
10012
|
var FileService = /** @class */ (function () {
|
|
9989
10013
|
function FileService(platform,
|
|
9990
10014
|
//private transfer: FileTransfer,
|
|
@@ -10030,7 +10054,7 @@
|
|
|
10030
10054
|
lastSlashIndex = source.lastIndexOf('/');
|
|
10031
10055
|
if (lastSlashIndex === -1)
|
|
10032
10056
|
throw new Error('Invalid URL: ' + source);
|
|
10033
|
-
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4();
|
|
10057
|
+
fileName = lastSlashIndex < (source.length - 1) && source.substring(lastSlashIndex + 1) || uuidv4$1();
|
|
10034
10058
|
if (!(responseType === 'file' && this.canUseFileSystem)) return [3 /*break*/, 4];
|
|
10035
10059
|
console.warn("WARN: [file] Fetching image {" + source + "} in local file...");
|
|
10036
10060
|
targetFilePath = this._imageDirectory + fileName;
|
|
@@ -10093,7 +10117,7 @@
|
|
|
10093
10117
|
};
|
|
10094
10118
|
return FileService;
|
|
10095
10119
|
}());
|
|
10096
|
-
FileService.ɵprov =
|
|
10120
|
+
FileService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function FileService_Factory() { return new FileService(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i2__namespace$2.HttpClient), i0__namespace.ɵɵinject(ENVIRONMENT)); }, token: FileService, providedIn: "root" });
|
|
10097
10121
|
FileService.decorators = [
|
|
10098
10122
|
{ type: i0.Injectable, args: [{
|
|
10099
10123
|
providedIn: 'root',
|
|
@@ -10260,7 +10284,7 @@
|
|
|
10260
10284
|
Base58.alphabet = '123456789ABCDEFGHJKLMNPQRSTUVWXYZabcdefghijkmnopqrstuvwxyz';
|
|
10261
10285
|
|
|
10262
10286
|
var scrypt = require('scrypt-async');
|
|
10263
|
-
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
10287
|
+
var sha256$1 = require('hash.js/lib/hash/sha/256');
|
|
10264
10288
|
var sha512 = require('hash.js/lib/hash/sha/512');
|
|
10265
10289
|
var nacl = {
|
|
10266
10290
|
sign: tweetnacl.sign,
|
|
@@ -10366,7 +10390,7 @@
|
|
|
10366
10390
|
* Hash (using SHA256) a message
|
|
10367
10391
|
*/
|
|
10368
10392
|
CryptoService.prototype.sha256 = function (message) {
|
|
10369
|
-
return sha256().update(message).digest('hex');
|
|
10393
|
+
return sha256$1().update(message).digest('hex');
|
|
10370
10394
|
};
|
|
10371
10395
|
/**
|
|
10372
10396
|
* Hash (using SHA512) a message
|
|
@@ -10380,7 +10404,7 @@
|
|
|
10380
10404
|
};
|
|
10381
10405
|
return CryptoService;
|
|
10382
10406
|
}());
|
|
10383
|
-
CryptoService.ɵprov =
|
|
10407
|
+
CryptoService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function CryptoService_Factory() { return new CryptoService(); }, token: CryptoService, providedIn: "root" });
|
|
10384
10408
|
CryptoService.decorators = [
|
|
10385
10409
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
10386
10410
|
];
|
|
@@ -11824,7 +11848,7 @@
|
|
|
11824
11848
|
};
|
|
11825
11849
|
return LocalSettingsService;
|
|
11826
11850
|
}(StartableService));
|
|
11827
|
-
LocalSettingsService.ɵprov =
|
|
11851
|
+
LocalSettingsService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LocalSettingsService_Factory() { return new LocalSettingsService(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService), i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(APP_LOCAL_SETTINGS, 8), i0__namespace.ɵɵinject(APP_LOCAL_SETTINGS_OPTIONS, 8)); }, token: LocalSettingsService, providedIn: "root" });
|
|
11828
11852
|
LocalSettingsService.decorators = [
|
|
11829
11853
|
{ type: i0.Injectable, args: [{
|
|
11830
11854
|
providedIn: 'root',
|
|
@@ -12627,7 +12651,7 @@
|
|
|
12627
12651
|
};
|
|
12628
12652
|
return NetworkService;
|
|
12629
12653
|
}(StartableService));
|
|
12630
|
-
NetworkService.ɵprov =
|
|
12654
|
+
NetworkService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function NetworkService_Factory() { return new NetworkService(i0__namespace.ɵɵinject(i1__namespace$3.DOCUMENT), i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i1__namespace$4.ModalController), i0__namespace.ɵɵinject(CryptoService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(LocalSettingsService), i0__namespace.ɵɵinject(i6__namespace.CacheService), i0__namespace.ɵɵinject(i2__namespace$2.HttpClient), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(i9__namespace.Network, 8), i0__namespace.ɵɵinject(i10__namespace.SplashScreen, 8), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService, 8), i0__namespace.ɵɵinject(i1__namespace$4.ToastController, 8)); }, token: NetworkService, providedIn: "root" });
|
|
12631
12655
|
NetworkService.decorators = [
|
|
12632
12656
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
12633
12657
|
];
|
|
@@ -12647,7 +12671,7 @@
|
|
|
12647
12671
|
{ type: i1$5.ToastController, decorators: [{ type: i0.Optional }] }
|
|
12648
12672
|
]; };
|
|
12649
12673
|
|
|
12650
|
-
var ErrorCodes = {
|
|
12674
|
+
var ErrorCodes$2 = {
|
|
12651
12675
|
UNKNOWN_ERROR: 0,
|
|
12652
12676
|
LOAD_ACCOUNT_ERROR: 1,
|
|
12653
12677
|
BAD_PASSWORD: 2,
|
|
@@ -13064,7 +13088,7 @@
|
|
|
13064
13088
|
case 13:
|
|
13065
13089
|
err_1 = _b.sent();
|
|
13066
13090
|
console.error(err_1);
|
|
13067
|
-
throw { code: ErrorCodes.ENTITY_STORAGE_MIGRATION_FAILED, message: 'ERROR.ENTITY_STORAGE_MIGRATION_FAILED', details: err_1 };
|
|
13091
|
+
throw { code: ErrorCodes$2.ENTITY_STORAGE_MIGRATION_FAILED, message: 'ERROR.ENTITY_STORAGE_MIGRATION_FAILED', details: err_1 };
|
|
13068
13092
|
case 14:
|
|
13069
13093
|
// Emit update event
|
|
13070
13094
|
if (!opts || opts.emitEvent !== false) {
|
|
@@ -13841,7 +13865,7 @@
|
|
|
13841
13865
|
}(StartableService));
|
|
13842
13866
|
EntitiesStorage.TRASH_PREFIX = 'Trash#';
|
|
13843
13867
|
EntitiesStorage.REMOTE_PREFIX = 'Remote#';
|
|
13844
|
-
EntitiesStorage.ɵprov =
|
|
13868
|
+
EntitiesStorage.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function EntitiesStorage_Factory() { return new EntitiesStorage(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(ProgressBarService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(APP_LOCAL_STORAGE_TYPE_POLICIES, 8)); }, token: EntitiesStorage, providedIn: "root" });
|
|
13845
13869
|
EntitiesStorage.decorators = [
|
|
13846
13870
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
13847
13871
|
];
|
|
@@ -13997,10 +14021,10 @@
|
|
|
13997
14021
|
function referentialsToString(values, properties, separator) {
|
|
13998
14022
|
return (values || []).map(function (v) { return referentialToString(v, properties); }).join(separator || ', ');
|
|
13999
14023
|
}
|
|
14000
|
-
var ɵ0$
|
|
14024
|
+
var ɵ0$2 = StatusIds.ENABLE, ɵ1 = StatusIds.DISABLE, ɵ2 = StatusIds.TEMPORARY;
|
|
14001
14025
|
var StatusList = Object.freeze([
|
|
14002
14026
|
{
|
|
14003
|
-
id: ɵ0$
|
|
14027
|
+
id: ɵ0$2,
|
|
14004
14028
|
icon: 'checkmark',
|
|
14005
14029
|
label: 'REFERENTIAL.STATUS_ENUM.ENABLE'
|
|
14006
14030
|
},
|
|
@@ -14303,7 +14327,7 @@
|
|
|
14303
14327
|
(data.lastName || '')) || '';
|
|
14304
14328
|
}
|
|
14305
14329
|
|
|
14306
|
-
var uuidv4
|
|
14330
|
+
var uuidv4 = uuidv4Imported__namespace;
|
|
14307
14331
|
var _global = typeof global !== 'undefined' ? global : (typeof window !== 'undefined' ? window : {});
|
|
14308
14332
|
var NativeWebSocket = _global.WebSocket || _global.MozWebSocket;
|
|
14309
14333
|
/**
|
|
@@ -14347,7 +14371,7 @@
|
|
|
14347
14371
|
// Skip if not tracked
|
|
14348
14372
|
if (!context || !context.tracked)
|
|
14349
14373
|
return forward(operation);
|
|
14350
|
-
var id = context.serializationKey || uuidv4
|
|
14374
|
+
var id = context.serializationKey || uuidv4();
|
|
14351
14375
|
console.debug("[apollo-tracker-link] Watching tracked query {" + operation.operationName + "#" + id + "}");
|
|
14352
14376
|
// Clean context, before calling JSON.stringify (remove unused attributes)
|
|
14353
14377
|
var cleanContext = Object.assign(Object.assign({}, context), { optimisticResponse: null, cache: null });
|
|
@@ -14978,14 +15002,14 @@
|
|
|
14978
15002
|
mutationLinks = void 0;
|
|
14979
15003
|
// Add queue to store tracked queries, when offline
|
|
14980
15004
|
if (enableTrackMutationQueries) {
|
|
14981
|
-
serializingLink = new SerializingLink__default[
|
|
15005
|
+
serializingLink = new SerializingLink__default["default"]();
|
|
14982
15006
|
trackerLink = createTrackerLink({
|
|
14983
15007
|
storage: storage,
|
|
14984
15008
|
onNetworkStatusChange: this._networkStatusChanged$,
|
|
14985
15009
|
debounce: 1000,
|
|
14986
15010
|
debug: true
|
|
14987
15011
|
});
|
|
14988
|
-
queueLink_1 = new QueueLink__default[
|
|
15012
|
+
queueLink_1 = new QueueLink__default["default"]();
|
|
14989
15013
|
this.registerSubscription(this._networkStatusChanged$
|
|
14990
15014
|
.subscribe(function (type) {
|
|
14991
15015
|
// Network is offline: start buffering into queue
|
|
@@ -15000,7 +15024,7 @@
|
|
|
15000
15024
|
}
|
|
15001
15025
|
}));
|
|
15002
15026
|
mutationLinks = [
|
|
15003
|
-
loggerLink__default[
|
|
15027
|
+
loggerLink__default["default"],
|
|
15004
15028
|
queueLink_1,
|
|
15005
15029
|
trackerLink,
|
|
15006
15030
|
queueLink_1,
|
|
@@ -15107,7 +15131,7 @@
|
|
|
15107
15131
|
(err.networkError && ((err.networkError.error && this.toAppError(err.networkError.error))
|
|
15108
15132
|
|| this.toAppError(err.networkError)
|
|
15109
15133
|
|| (err.networkError.error && this.createAppErrorByCode(err.networkError.error.status))
|
|
15110
|
-
|| this.createAppErrorByCode(ErrorCodes.UNKNOWN_NETWORK_ERROR)))
|
|
15134
|
+
|| this.createAppErrorByCode(ErrorCodes$2.UNKNOWN_NETWORK_ERROR)))
|
|
15111
15135
|
// If graphQL: try to convert the first error found
|
|
15112
15136
|
|| (err.graphQLErrors && err.graphQLErrors.length && this.toAppError(err.graphQLErrors[0]))
|
|
15113
15137
|
|| this.toAppError(err)
|
|
@@ -15115,7 +15139,7 @@
|
|
|
15115
15139
|
|| (err.graphQLErrors && err.graphQLErrors[0])
|
|
15116
15140
|
|| err;
|
|
15117
15141
|
console.error('[graphql] ' + (error && error.message || error), error.stack || '');
|
|
15118
|
-
if (error && error.code === ErrorCodes.UNKNOWN_NETWORK_ERROR && err.networkError && err.networkError.message) {
|
|
15142
|
+
if (error && error.code === ErrorCodes$2.UNKNOWN_NETWORK_ERROR && err.networkError && err.networkError.message) {
|
|
15119
15143
|
console.error('[graphql] original error: ' + err.networkError.message);
|
|
15120
15144
|
this.onNetworkError.next(error);
|
|
15121
15145
|
}
|
|
@@ -15151,7 +15175,7 @@
|
|
|
15151
15175
|
return 'ERROR.UNAUTHORIZED';
|
|
15152
15176
|
case ServerErrorCodes.FORBIDDEN:
|
|
15153
15177
|
return 'ERROR.FORBIDDEN';
|
|
15154
|
-
case ErrorCodes.UNKNOWN_NETWORK_ERROR:
|
|
15178
|
+
case ErrorCodes$2.UNKNOWN_NETWORK_ERROR:
|
|
15155
15179
|
return 'ERROR.UNKNOWN_NETWORK_ERROR';
|
|
15156
15180
|
case ServerErrorCodes.BAD_UPDATE_DATE:
|
|
15157
15181
|
return 'ERROR.BAD_UPDATE_DATE';
|
|
@@ -15183,7 +15207,7 @@
|
|
|
15183
15207
|
};
|
|
15184
15208
|
return GraphqlService;
|
|
15185
15209
|
}(StartableService));
|
|
15186
|
-
GraphqlService.ɵprov =
|
|
15210
|
+
GraphqlService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function GraphqlService_Factory() { return new GraphqlService(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i2__namespace$3.Apollo), i0__namespace.ɵɵinject(i3__namespace$2.HttpLink), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(CryptoService), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(APP_GRAPHQL_TYPE_POLICIES, 8)); }, token: GraphqlService, providedIn: "root" });
|
|
15187
15211
|
GraphqlService.decorators = [
|
|
15188
15212
|
{ type: i0.Injectable, args: [{
|
|
15189
15213
|
providedIn: 'root'
|
|
@@ -15200,7 +15224,7 @@
|
|
|
15200
15224
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_GRAPHQL_TYPE_POLICIES,] }] }
|
|
15201
15225
|
]; };
|
|
15202
15226
|
|
|
15203
|
-
var sha256
|
|
15227
|
+
var sha256 = require('hash.js/lib/hash/sha/256');
|
|
15204
15228
|
var BaseGraphqlServiceOptions = /** @class */ (function () {
|
|
15205
15229
|
function BaseGraphqlServiceOptions() {
|
|
15206
15230
|
}
|
|
@@ -15370,8 +15394,8 @@
|
|
|
15370
15394
|
};
|
|
15371
15395
|
/* -- protected methods -- */
|
|
15372
15396
|
BaseGraphqlService.prototype.computeMutableWatchQueryId = function (opts) {
|
|
15373
|
-
var queryName = opts.queryName || sha256
|
|
15374
|
-
var variablesKey = opts.variables && sha256
|
|
15397
|
+
var queryName = opts.queryName || sha256().update(JSON.stringify(opts.query)).digest('hex').substring(0, 8);
|
|
15398
|
+
var variablesKey = opts.variables && sha256().update(JSON.stringify(opts.variables)).digest('hex').substring(0, 8) || '';
|
|
15375
15399
|
return [queryName, opts.arrayFieldName, variablesKey].join('|');
|
|
15376
15400
|
};
|
|
15377
15401
|
BaseGraphqlService.prototype.findMutableWatchQueries = function (opts) {
|
|
@@ -15440,19 +15464,19 @@
|
|
|
15440
15464
|
/* ------------------------------------
|
|
15441
15465
|
* GraphQL queries
|
|
15442
15466
|
* ------------------------------------*/
|
|
15443
|
-
var Fragments = {
|
|
15444
|
-
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 }"]))),
|
|
15445
|
-
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 }"])))
|
|
15467
|
+
var Fragments$1 = {
|
|
15468
|
+
account: core.gql(templateObject_1$4 || (templateObject_1$4 = __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 }"]))),
|
|
15469
|
+
settings: core.gql(templateObject_2$4 || (templateObject_2$4 = __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 }"])))
|
|
15446
15470
|
};
|
|
15447
15471
|
// Load account query
|
|
15448
|
-
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);
|
|
15472
|
+
var LoadQuery$1 = core.gql(templateObject_3$3 || (templateObject_3$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$1.account, Fragments$1.settings);
|
|
15449
15473
|
// Check email query
|
|
15450
|
-
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"])));
|
|
15474
|
+
var IsEmailExistsQuery = core.gql(templateObject_4$3 || (templateObject_4$3 = __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"])));
|
|
15451
15475
|
// Save (create or update) account mutation
|
|
15452
15476
|
var AccountMutations = {
|
|
15453
|
-
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),
|
|
15454
|
-
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),
|
|
15455
|
-
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)
|
|
15477
|
+
save: core.gql(templateObject_5$2 || (templateObject_5$2 = __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$1.account, Fragments$1.settings),
|
|
15478
|
+
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$1.account, Fragments$1.settings),
|
|
15479
|
+
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$1.settings)
|
|
15456
15480
|
};
|
|
15457
15481
|
// Sent confirmation email
|
|
15458
15482
|
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"])));
|
|
@@ -15822,7 +15846,7 @@
|
|
|
15822
15846
|
error_3 = _b.sent();
|
|
15823
15847
|
console.error(error_3);
|
|
15824
15848
|
this.resetData();
|
|
15825
|
-
throw { code: ErrorCodes.UNKNOWN_ERROR, message: 'ERROR.SCRYPT_ERROR' };
|
|
15849
|
+
throw { code: ErrorCodes$2.UNKNOWN_ERROR, message: 'ERROR.SCRYPT_ERROR' };
|
|
15826
15850
|
case 4:
|
|
15827
15851
|
// Store pubkey+keypair
|
|
15828
15852
|
this._cache.pubkey = Base58.encode(keypair.publicKey);
|
|
@@ -15858,7 +15882,7 @@
|
|
|
15858
15882
|
return [3 /*break*/, 18];
|
|
15859
15883
|
case 11:
|
|
15860
15884
|
err_1 = _b.sent();
|
|
15861
|
-
if (!(err_1 && +(err_1.code) === ErrorCodes.LOAD_ACCOUNT_ERROR)) return [3 /*break*/, 17];
|
|
15885
|
+
if (!(err_1 && +(err_1.code) === ErrorCodes$2.LOAD_ACCOUNT_ERROR)) return [3 /*break*/, 17];
|
|
15862
15886
|
if (!(data.username.indexOf('@') !== -1)) return [3 /*break*/, 16];
|
|
15863
15887
|
isEmailExists = void 0;
|
|
15864
15888
|
_b.label = 12;
|
|
@@ -15874,12 +15898,12 @@
|
|
|
15874
15898
|
case 15:
|
|
15875
15899
|
// Email not exists (no account)
|
|
15876
15900
|
if (!isEmailExists) {
|
|
15877
|
-
throw { code: ErrorCodes.UNKNOWN_ACCOUNT_EMAIL, message: 'ERROR.UNKNOWN_ACCOUNT_EMAIL' };
|
|
15901
|
+
throw { code: ErrorCodes$2.UNKNOWN_ACCOUNT_EMAIL, message: 'ERROR.UNKNOWN_ACCOUNT_EMAIL' };
|
|
15878
15902
|
}
|
|
15879
15903
|
_b.label = 16;
|
|
15880
15904
|
case 16:
|
|
15881
15905
|
// Email exists, so error = 'bad password'
|
|
15882
|
-
throw { code: ErrorCodes.BAD_PASSWORD, message: 'ERROR.BAD_PASSWORD' };
|
|
15906
|
+
throw { code: ErrorCodes$2.BAD_PASSWORD, message: 'ERROR.BAD_PASSWORD' };
|
|
15883
15907
|
case 17: throw err_1; // resend the first error
|
|
15884
15908
|
case 18:
|
|
15885
15909
|
_b.trys.push([18, 20, , 21]);
|
|
@@ -16075,8 +16099,8 @@
|
|
|
16075
16099
|
_b.label = 3;
|
|
16076
16100
|
case 3: return [3 /*break*/, 6];
|
|
16077
16101
|
case 4: return [4 /*yield*/, this.graphql.query({
|
|
16078
|
-
query: LoadQuery,
|
|
16079
|
-
error: { code: ErrorCodes.LOAD_ACCOUNT_ERROR, message: 'ERROR.LOAD_ACCOUNT_ERROR' },
|
|
16102
|
+
query: LoadQuery$1,
|
|
16103
|
+
error: { code: ErrorCodes$2.LOAD_ACCOUNT_ERROR, message: 'ERROR.LOAD_ACCOUNT_ERROR' },
|
|
16080
16104
|
fetchPolicy: opts && opts.fetchPolicy || 'no-cache' || undefined
|
|
16081
16105
|
})];
|
|
16082
16106
|
case 5:
|
|
@@ -16114,7 +16138,7 @@
|
|
|
16114
16138
|
case 1:
|
|
16115
16139
|
isEmailExists = _b.sent();
|
|
16116
16140
|
if (isEmailExists) {
|
|
16117
|
-
throw { code: ErrorCodes.EMAIL_ALREADY_REGISTERED, message: 'ERROR.EMAIL_ALREADY_REGISTERED' };
|
|
16141
|
+
throw { code: ErrorCodes$2.EMAIL_ALREADY_REGISTERED, message: 'ERROR.EMAIL_ALREADY_REGISTERED' };
|
|
16118
16142
|
}
|
|
16119
16143
|
return [2 /*return*/];
|
|
16120
16144
|
}
|
|
@@ -16164,7 +16188,7 @@
|
|
|
16164
16188
|
locale: locale
|
|
16165
16189
|
},
|
|
16166
16190
|
error: {
|
|
16167
|
-
code: ErrorCodes.SENT_CONFIRMATION_EMAIL_FAILED,
|
|
16191
|
+
code: ErrorCodes$2.SENT_CONFIRMATION_EMAIL_FAILED,
|
|
16168
16192
|
message: 'ERROR.SENT_ACCOUNT_CONFIRMATION_EMAIL_FAILED'
|
|
16169
16193
|
}
|
|
16170
16194
|
})];
|
|
@@ -16187,7 +16211,7 @@
|
|
|
16187
16211
|
code: code
|
|
16188
16212
|
},
|
|
16189
16213
|
error: {
|
|
16190
|
-
code: ErrorCodes.CONFIRM_EMAIL_FAILED,
|
|
16214
|
+
code: ErrorCodes$2.CONFIRM_EMAIL_FAILED,
|
|
16191
16215
|
message: 'ERROR.CONFIRM_ACCOUNT_EMAIL_FAILED'
|
|
16192
16216
|
}
|
|
16193
16217
|
})];
|
|
@@ -16287,7 +16311,7 @@
|
|
|
16287
16311
|
throw error_7;
|
|
16288
16312
|
console.error(error_7);
|
|
16289
16313
|
throw {
|
|
16290
|
-
code: ErrorCodes.LOAD_ACCOUNT_ERROR,
|
|
16314
|
+
code: ErrorCodes$2.LOAD_ACCOUNT_ERROR,
|
|
16291
16315
|
message: 'ERROR.LOAD_ACCOUNT_ERROR'
|
|
16292
16316
|
};
|
|
16293
16317
|
case 6: return [2 /*return*/];
|
|
@@ -16498,7 +16522,7 @@
|
|
|
16498
16522
|
case 1:
|
|
16499
16523
|
existingAccount = _b.sent();
|
|
16500
16524
|
if (!existingAccount || !existingAccount.updateDate) {
|
|
16501
|
-
throw { code: ErrorCodes.ACCOUNT_NOT_EXISTS, message: 'ERROR.ACCOUNT_NOT_EXISTS' };
|
|
16525
|
+
throw { code: ErrorCodes$2.ACCOUNT_NOT_EXISTS, message: 'ERROR.ACCOUNT_NOT_EXISTS' };
|
|
16502
16526
|
}
|
|
16503
16527
|
this.copyIdAndUpdateDate(existingAccount, account);
|
|
16504
16528
|
_b.label = 2;
|
|
@@ -16510,7 +16534,7 @@
|
|
|
16510
16534
|
mutation: isNew ? AccountMutations.create : AccountMutations.save,
|
|
16511
16535
|
variables: { data: json },
|
|
16512
16536
|
error: {
|
|
16513
|
-
code: ErrorCodes.SAVE_ACCOUNT_ERROR,
|
|
16537
|
+
code: ErrorCodes$2.SAVE_ACCOUNT_ERROR,
|
|
16514
16538
|
message: 'ERROR.SAVE_ACCOUNT_ERROR'
|
|
16515
16539
|
}
|
|
16516
16540
|
})];
|
|
@@ -16544,7 +16568,7 @@
|
|
|
16544
16568
|
mutation: AccountMutations.saveSettings,
|
|
16545
16569
|
variables: { data: json },
|
|
16546
16570
|
error: {
|
|
16547
|
-
code: ErrorCodes.SAVE_SETTINGS_ERROR,
|
|
16571
|
+
code: ErrorCodes$2.SAVE_SETTINGS_ERROR,
|
|
16548
16572
|
message: 'ERROR.SAVE_SETTINGS_ERROR'
|
|
16549
16573
|
}
|
|
16550
16574
|
})];
|
|
@@ -16575,7 +16599,7 @@
|
|
|
16575
16599
|
if (counter > 4) {
|
|
16576
16600
|
if (this._debug)
|
|
16577
16601
|
console.debug("[account] Failed to authentication on pod (after " + counter + " attempts)");
|
|
16578
|
-
throw { code: ErrorCodes.AUTH_SERVER_ERROR, message: 'ERROR.AUTH_SERVER_ERROR' };
|
|
16602
|
+
throw { code: ErrorCodes$2.AUTH_SERVER_ERROR, message: 'ERROR.AUTH_SERVER_ERROR' };
|
|
16579
16603
|
}
|
|
16580
16604
|
if (!token) return [3 /*break*/, 2];
|
|
16581
16605
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16584,7 +16608,7 @@
|
|
|
16584
16608
|
token: token
|
|
16585
16609
|
},
|
|
16586
16610
|
error: {
|
|
16587
|
-
code: ErrorCodes.UNAUTHORIZED,
|
|
16611
|
+
code: ErrorCodes$2.UNAUTHORIZED,
|
|
16588
16612
|
message: 'ERROR.UNAUTHORIZED'
|
|
16589
16613
|
},
|
|
16590
16614
|
fetchPolicy: 'no-cache'
|
|
@@ -16601,7 +16625,7 @@
|
|
|
16601
16625
|
_b.label = 2;
|
|
16602
16626
|
case 2:
|
|
16603
16627
|
challengeError = {
|
|
16604
|
-
code: ErrorCodes.AUTH_CHALLENGE_ERROR,
|
|
16628
|
+
code: ErrorCodes$2.AUTH_CHALLENGE_ERROR,
|
|
16605
16629
|
message: 'ERROR.AUTH_CHALLENGE_ERROR'
|
|
16606
16630
|
};
|
|
16607
16631
|
return [4 /*yield*/, this.graphql.query({
|
|
@@ -16688,7 +16712,7 @@
|
|
|
16688
16712
|
query: AccountSubscriptions.listenChanges,
|
|
16689
16713
|
variables: variables,
|
|
16690
16714
|
error: {
|
|
16691
|
-
code: ErrorCodes.SUBSCRIBE_ACCOUNT_ERROR,
|
|
16715
|
+
code: ErrorCodes$2.SUBSCRIBE_ACCOUNT_ERROR,
|
|
16692
16716
|
message: 'ERROR.ACCOUNT.SUBSCRIBE_ERROR'
|
|
16693
16717
|
}
|
|
16694
16718
|
}).pipe(operators.map(function (_b) {
|
|
@@ -16721,7 +16745,7 @@
|
|
|
16721
16745
|
};
|
|
16722
16746
|
return AccountService;
|
|
16723
16747
|
}(BaseGraphqlService));
|
|
16724
|
-
AccountService.ɵprov =
|
|
16748
|
+
AccountService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AccountService_Factory() { return new AccountService(i0__namespace.ɵɵinject(CryptoService), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(GraphqlService), i0__namespace.ɵɵinject(LocalSettingsService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(FileService), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService, 8), i0__namespace.ɵɵinject(i1__namespace$4.ToastController, 8), i0__namespace.ɵɵinject(ENVIRONMENT)); }, token: AccountService, providedIn: "root" });
|
|
16725
16749
|
AccountService.decorators = [
|
|
16726
16750
|
{ type: i0.Injectable, args: [{ providedIn: 'root', deps: [ENVIRONMENT] },] }
|
|
16727
16751
|
];
|
|
@@ -16736,7 +16760,7 @@
|
|
|
16736
16760
|
{ type: i1$5.ToastController, decorators: [{ type: i0.Optional }] },
|
|
16737
16761
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
16738
16762
|
]; };
|
|
16739
|
-
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;
|
|
16763
|
+
var templateObject_1$4, templateObject_2$4, templateObject_3$3, templateObject_4$3, templateObject_5$2, templateObject_6, templateObject_7, templateObject_8, templateObject_9, templateObject_10, templateObject_11, templateObject_12;
|
|
16740
16764
|
|
|
16741
16765
|
var Software_1, Configuration_1;
|
|
16742
16766
|
// @dynamic
|
|
@@ -16988,13 +17012,13 @@
|
|
|
16988
17012
|
/* ------------------------------------
|
|
16989
17013
|
* GraphQL queries
|
|
16990
17014
|
* ------------------------------------*/
|
|
16991
|
-
var Fragments
|
|
16992
|
-
config: core.gql(templateObject_1$
|
|
17015
|
+
var Fragments = {
|
|
17016
|
+
config: core.gql(templateObject_1$3 || (templateObject_1$3 = __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 "])))
|
|
16993
17017
|
};
|
|
16994
|
-
var LoadQuery
|
|
17018
|
+
var LoadQuery = core.gql(templateObject_2$3 || (templateObject_2$3 = __makeTemplateObject(["\nquery Configuration{\n data: configuration{\n ...ConfigFragment\n }\n}\n ", "\n"], ["\nquery Configuration{\n data: configuration{\n ...ConfigFragment\n }\n}\n ", "\n"])), Fragments.config);
|
|
16995
17019
|
// Save (create or update) account mutation
|
|
16996
|
-
var SaveMutation = core.gql(templateObject_3$
|
|
16997
|
-
var ClearCache = core.gql(templateObject_4$
|
|
17020
|
+
var SaveMutation = core.gql(templateObject_3$2 || (templateObject_3$2 = __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.config);
|
|
17021
|
+
var ClearCache = core.gql(templateObject_4$2 || (templateObject_4$2 = __makeTemplateObject(["\n query ClearCache($name: String) {\n clearCache(name: $name)\n }\n"], ["\n query ClearCache($name: String) {\n clearCache(name: $name)\n }\n"])));
|
|
16998
17022
|
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"])));
|
|
16999
17023
|
var APP_CONFIG_OPTIONS = new i0.InjectionToken('defaultOptions');
|
|
17000
17024
|
var ConfigService = /** @class */ (function (_super) {
|
|
@@ -17054,12 +17078,12 @@
|
|
|
17054
17078
|
case 0:
|
|
17055
17079
|
now = Date.now();
|
|
17056
17080
|
console.debug('[config] Loading Pod configuration...');
|
|
17057
|
-
query = opts && opts.query || LoadQuery
|
|
17081
|
+
query = opts && opts.query || LoadQuery;
|
|
17058
17082
|
variables = opts && opts.variables || undefined;
|
|
17059
17083
|
return [4 /*yield*/, this.graphql.query({
|
|
17060
17084
|
query: query,
|
|
17061
17085
|
variables: variables,
|
|
17062
|
-
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17086
|
+
error: { code: ErrorCodes$2.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17063
17087
|
fetchPolicy: opts && opts.fetchPolicy || undefined /*default*/
|
|
17064
17088
|
})];
|
|
17065
17089
|
case 1:
|
|
@@ -17101,7 +17125,7 @@
|
|
|
17101
17125
|
data: json
|
|
17102
17126
|
},
|
|
17103
17127
|
error: {
|
|
17104
|
-
code: ErrorCodes.SAVE_CONFIG_ERROR,
|
|
17128
|
+
code: ErrorCodes$2.SAVE_CONFIG_ERROR,
|
|
17105
17129
|
message: 'ERROR.SAVE_CONFIG_ERROR'
|
|
17106
17130
|
}
|
|
17107
17131
|
})];
|
|
@@ -17136,7 +17160,7 @@
|
|
|
17136
17160
|
return [4 /*yield*/, this.graphql.query({
|
|
17137
17161
|
query: CacheStatistics,
|
|
17138
17162
|
variables: null,
|
|
17139
|
-
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17163
|
+
error: { code: ErrorCodes$2.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17140
17164
|
fetchPolicy: 'network-only'
|
|
17141
17165
|
})];
|
|
17142
17166
|
case 1:
|
|
@@ -17160,7 +17184,7 @@
|
|
|
17160
17184
|
return [4 /*yield*/, this.graphql.query({
|
|
17161
17185
|
query: ClearCache,
|
|
17162
17186
|
variables: variables,
|
|
17163
|
-
error: { code: ErrorCodes.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17187
|
+
error: { code: ErrorCodes$2.LOAD_CONFIG_ERROR, message: 'ERROR.LOAD_CONFIG_ERROR' },
|
|
17164
17188
|
fetchPolicy: 'network-only'
|
|
17165
17189
|
})];
|
|
17166
17190
|
case 1:
|
|
@@ -17360,7 +17384,7 @@
|
|
|
17360
17384
|
};
|
|
17361
17385
|
return ConfigService;
|
|
17362
17386
|
}(BaseGraphqlService));
|
|
17363
|
-
ConfigService.ɵprov =
|
|
17387
|
+
ConfigService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function ConfigService_Factory() { return new ConfigService(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(GraphqlService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(FileService), i0__namespace.ɵɵinject(i1__namespace$4.ToastController), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService), i0__namespace.ɵɵinject(AccountService), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(APP_CONFIG_OPTIONS, 8)); }, token: ConfigService, providedIn: "root" });
|
|
17364
17388
|
ConfigService.decorators = [
|
|
17365
17389
|
{ type: i0.Injectable, args: [{
|
|
17366
17390
|
providedIn: 'root',
|
|
@@ -17379,9 +17403,9 @@
|
|
|
17379
17403
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] },
|
|
17380
17404
|
{ type: undefined, decorators: [{ type: i0.Optional }, { type: i0.Inject, args: [APP_CONFIG_OPTIONS,] }] }
|
|
17381
17405
|
]; };
|
|
17382
|
-
var templateObject_1$
|
|
17406
|
+
var templateObject_1$3, templateObject_2$3, templateObject_3$2, templateObject_4$2, templateObject_5$1;
|
|
17383
17407
|
|
|
17384
|
-
var moment$
|
|
17408
|
+
var moment$2 = momentImported__namespace;
|
|
17385
17409
|
var PlatformService = /** @class */ (function (_super) {
|
|
17386
17410
|
__extends(PlatformService, _super);
|
|
17387
17411
|
function PlatformService(platform, cdkPlatform, toastController, translate, dateAdapter, entitiesStorage, settings, networkService, accountService, configService, cache, storage, audioProvider, environment, statusBar, keyboard, splashScreen, browser, downloader) {
|
|
@@ -17623,16 +17647,16 @@
|
|
|
17623
17647
|
}
|
|
17624
17648
|
// config moment lib
|
|
17625
17649
|
try {
|
|
17626
|
-
moment$
|
|
17650
|
+
moment$2.locale(event.lang);
|
|
17627
17651
|
console.debug('[platform] Use locale {' + event.lang + '}');
|
|
17628
17652
|
}
|
|
17629
17653
|
// If error, fallback to en
|
|
17630
17654
|
catch (err) {
|
|
17631
|
-
moment$
|
|
17655
|
+
moment$2.locale('en');
|
|
17632
17656
|
console.warn('[platform] Unknown local for moment lib. Using default [en]');
|
|
17633
17657
|
}
|
|
17634
17658
|
// Config date adapter
|
|
17635
|
-
_this.dateAdapter.setLocale(moment$
|
|
17659
|
+
_this.dateAdapter.setLocale(moment$2.locale());
|
|
17636
17660
|
}
|
|
17637
17661
|
});
|
|
17638
17662
|
this.settings.onChange.subscribe(function (data) {
|
|
@@ -17812,7 +17836,7 @@
|
|
|
17812
17836
|
};
|
|
17813
17837
|
return PlatformService;
|
|
17814
17838
|
}(StartableService));
|
|
17815
|
-
PlatformService.ɵprov =
|
|
17839
|
+
PlatformService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PlatformService_Factory() { return new PlatformService(i0__namespace.ɵɵinject(i1__namespace$4.Platform), i0__namespace.ɵɵinject(i2__namespace$4.Platform), i0__namespace.ɵɵinject(i1__namespace$4.ToastController), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService), i0__namespace.ɵɵinject(i1__namespace.MomentDateAdapter), i0__namespace.ɵɵinject(EntitiesStorage), i0__namespace.ɵɵinject(LocalSettingsService), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(AccountService), i0__namespace.ɵɵinject(ConfigService), i0__namespace.ɵɵinject(i6__namespace.CacheService), i0__namespace.ɵɵinject(i3__namespace$1.Storage), i0__namespace.ɵɵinject(AudioProvider), i0__namespace.ɵɵinject(ENVIRONMENT), i0__namespace.ɵɵinject(i14__namespace.StatusBar, 8), i0__namespace.ɵɵinject(i15__namespace.Keyboard, 8), i0__namespace.ɵɵinject(i10__namespace.SplashScreen, 8), i0__namespace.ɵɵinject(i17__namespace.InAppBrowser, 8), i0__namespace.ɵɵinject(i18__namespace.Downloader, 8)); }, token: PlatformService, providedIn: "root" });
|
|
17816
17840
|
PlatformService.decorators = [
|
|
17817
17841
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17818
17842
|
];
|
|
@@ -17910,7 +17934,7 @@
|
|
|
17910
17934
|
};
|
|
17911
17935
|
return MatStepperI18n;
|
|
17912
17936
|
}(stepper.MatStepperIntl));
|
|
17913
|
-
MatStepperI18n.ɵprov =
|
|
17937
|
+
MatStepperI18n.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MatStepperI18n_Factory() { return new MatStepperI18n(i0__namespace.ɵɵinject(i1__namespace$1.TranslateService)); }, token: MatStepperI18n, providedIn: "root" });
|
|
17914
17938
|
MatStepperI18n.decorators = [
|
|
17915
17939
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
17916
17940
|
];
|
|
@@ -20098,7 +20122,7 @@
|
|
|
20098
20122
|
return 1;
|
|
20099
20123
|
}
|
|
20100
20124
|
}
|
|
20101
|
-
var ɵ0$
|
|
20125
|
+
var ɵ0$1 = function (defaultStateSize) { return [
|
|
20102
20126
|
Math.round((rgbArrayMap.red[0] - 50) / defaultStateSize),
|
|
20103
20127
|
Math.round((255 - rgbArrayMap.red[1]) / defaultStateSize),
|
|
20104
20128
|
Math.round((255 - rgbArrayMap.red[2]) / defaultStateSize)
|
|
@@ -20106,7 +20130,7 @@
|
|
|
20106
20130
|
var SCALE_OPTIONS_DEFAULT = {
|
|
20107
20131
|
startColor: rgbArrayMap.red,
|
|
20108
20132
|
startStates: [0, 2, 3],
|
|
20109
|
-
startStepsFn: ɵ0$
|
|
20133
|
+
startStepsFn: ɵ0$1
|
|
20110
20134
|
};
|
|
20111
20135
|
/**
|
|
20112
20136
|
* Internal function, that create a colors scale, using iteration
|
|
@@ -21037,7 +21061,7 @@
|
|
|
21037
21061
|
};
|
|
21038
21062
|
return UserSettingsValidatorService;
|
|
21039
21063
|
}(AppValidatorService));
|
|
21040
|
-
UserSettingsValidatorService.ɵprov =
|
|
21064
|
+
UserSettingsValidatorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function UserSettingsValidatorService_Factory() { return new UserSettingsValidatorService(i0__namespace.ɵɵinject(i1__namespace$6.FormBuilder)); }, token: UserSettingsValidatorService, providedIn: "root" });
|
|
21041
21065
|
UserSettingsValidatorService.decorators = [
|
|
21042
21066
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
21043
21067
|
];
|
|
@@ -21085,7 +21109,7 @@
|
|
|
21085
21109
|
};
|
|
21086
21110
|
return AccountValidatorService;
|
|
21087
21111
|
}(AppValidatorService));
|
|
21088
|
-
AccountValidatorService.ɵprov =
|
|
21112
|
+
AccountValidatorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AccountValidatorService_Factory() { return new AccountValidatorService(i0__namespace.ɵɵinject(i1__namespace$6.FormBuilder), i0__namespace.ɵɵinject(AccountService)); }, token: AccountValidatorService, providedIn: "root" });
|
|
21089
21113
|
AccountValidatorService.decorators = [
|
|
21090
21114
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
21091
21115
|
];
|
|
@@ -21716,7 +21740,7 @@
|
|
|
21716
21740
|
};
|
|
21717
21741
|
return LocalSettingsValidatorService;
|
|
21718
21742
|
}(AppValidatorService));
|
|
21719
|
-
LocalSettingsValidatorService.ɵprov =
|
|
21743
|
+
LocalSettingsValidatorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function LocalSettingsValidatorService_Factory() { return new LocalSettingsValidatorService(i0__namespace.ɵɵinject(i1__namespace$6.FormBuilder), i0__namespace.ɵɵinject(NetworkService)); }, token: LocalSettingsValidatorService, providedIn: "root" });
|
|
21720
21744
|
LocalSettingsValidatorService.decorators = [
|
|
21721
21745
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
21722
21746
|
];
|
|
@@ -22496,7 +22520,7 @@
|
|
|
22496
22520
|
};
|
|
22497
22521
|
return IsOnFieldModePipe;
|
|
22498
22522
|
}());
|
|
22499
|
-
IsOnFieldModePipe.ɵprov =
|
|
22523
|
+
IsOnFieldModePipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IsOnFieldModePipe_Factory() { return new IsOnFieldModePipe(); }, token: IsOnFieldModePipe, providedIn: "root" });
|
|
22500
22524
|
IsOnFieldModePipe.decorators = [
|
|
22501
22525
|
{ type: i0.Pipe, args: [{
|
|
22502
22526
|
name: 'isOnField'
|
|
@@ -22511,7 +22535,7 @@
|
|
|
22511
22535
|
};
|
|
22512
22536
|
return IsNotOnFieldModePipe;
|
|
22513
22537
|
}());
|
|
22514
|
-
IsNotOnFieldModePipe.ɵprov =
|
|
22538
|
+
IsNotOnFieldModePipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IsNotOnFieldModePipe_Factory() { return new IsNotOnFieldModePipe(); }, token: IsNotOnFieldModePipe, providedIn: "root" });
|
|
22515
22539
|
IsNotOnFieldModePipe.decorators = [
|
|
22516
22540
|
{ type: i0.Pipe, args: [{
|
|
22517
22541
|
name: 'isNotOnField'
|
|
@@ -22529,7 +22553,7 @@
|
|
|
22529
22553
|
};
|
|
22530
22554
|
return PersonToStringPipe;
|
|
22531
22555
|
}());
|
|
22532
|
-
PersonToStringPipe.ɵprov =
|
|
22556
|
+
PersonToStringPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PersonToStringPipe_Factory() { return new PersonToStringPipe(); }, token: PersonToStringPipe, providedIn: "root" });
|
|
22533
22557
|
PersonToStringPipe.decorators = [
|
|
22534
22558
|
{ type: i0.Pipe, args: [{
|
|
22535
22559
|
name: 'personToString'
|
|
@@ -22993,7 +23017,7 @@
|
|
|
22993
23017
|
};
|
|
22994
23018
|
return IsLoginAccountPipe;
|
|
22995
23019
|
}());
|
|
22996
|
-
IsLoginAccountPipe.ɵprov =
|
|
23020
|
+
IsLoginAccountPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function IsLoginAccountPipe_Factory() { return new IsLoginAccountPipe(); }, token: IsLoginAccountPipe, providedIn: "root" });
|
|
22997
23021
|
IsLoginAccountPipe.decorators = [
|
|
22998
23022
|
{ type: i0.Pipe, args: [{
|
|
22999
23023
|
name: 'isLogin'
|
|
@@ -23008,7 +23032,7 @@
|
|
|
23008
23032
|
};
|
|
23009
23033
|
return AccountToStringPipe;
|
|
23010
23034
|
}());
|
|
23011
|
-
AccountToStringPipe.ɵprov =
|
|
23035
|
+
AccountToStringPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AccountToStringPipe_Factory() { return new AccountToStringPipe(); }, token: AccountToStringPipe, providedIn: "root" });
|
|
23012
23036
|
AccountToStringPipe.decorators = [
|
|
23013
23037
|
{ type: i0.Pipe, args: [{
|
|
23014
23038
|
name: 'accountToString'
|
|
@@ -23026,7 +23050,7 @@
|
|
|
23026
23050
|
};
|
|
23027
23051
|
return DepartmentToStringPipe;
|
|
23028
23052
|
}());
|
|
23029
|
-
DepartmentToStringPipe.ɵprov =
|
|
23053
|
+
DepartmentToStringPipe.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function DepartmentToStringPipe_Factory() { return new DepartmentToStringPipe(); }, token: DepartmentToStringPipe, providedIn: "root" });
|
|
23030
23054
|
DepartmentToStringPipe.decorators = [
|
|
23031
23055
|
{ type: i0.Pipe, args: [{
|
|
23032
23056
|
name: 'departmentToString'
|
|
@@ -23132,7 +23156,7 @@
|
|
|
23132
23156
|
};
|
|
23133
23157
|
return MenuService;
|
|
23134
23158
|
}());
|
|
23135
|
-
MenuService.ɵprov =
|
|
23159
|
+
MenuService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function MenuService_Factory() { return new MenuService(); }, token: MenuService, providedIn: "root" });
|
|
23136
23160
|
MenuService.decorators = [
|
|
23137
23161
|
{ type: i0.Injectable, args: [{
|
|
23138
23162
|
providedIn: 'root'
|
|
@@ -23683,7 +23707,7 @@
|
|
|
23683
23707
|
};
|
|
23684
23708
|
return AuthGuardService;
|
|
23685
23709
|
}());
|
|
23686
|
-
AuthGuardService.ɵprov =
|
|
23710
|
+
AuthGuardService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function AuthGuardService_Factory() { return new AuthGuardService(i0__namespace.ɵɵinject(AccountService), i0__namespace.ɵɵinject(i1__namespace$4.ModalController), i0__namespace.ɵɵinject(i3__namespace$3.Router), i0__namespace.ɵɵinject(ENVIRONMENT)); }, token: AuthGuardService, providedIn: "root" });
|
|
23687
23711
|
AuthGuardService.decorators = [
|
|
23688
23712
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
23689
23713
|
];
|
|
@@ -23728,7 +23752,7 @@
|
|
|
23728
23752
|
query: query,
|
|
23729
23753
|
variables: { id: id },
|
|
23730
23754
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23731
|
-
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23755
|
+
error: { code: ErrorCodes$2.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23732
23756
|
})
|
|
23733
23757
|
.pipe(operators.map(function (_b) {
|
|
23734
23758
|
var data = _b.data;
|
|
@@ -23750,7 +23774,7 @@
|
|
|
23750
23774
|
query: query,
|
|
23751
23775
|
variables: { id: id },
|
|
23752
23776
|
fetchPolicy: opts && opts.fetchPolicy || undefined,
|
|
23753
|
-
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23777
|
+
error: { code: ErrorCodes$2.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' }
|
|
23754
23778
|
})];
|
|
23755
23779
|
case 1:
|
|
23756
23780
|
data = (_b.sent()).data;
|
|
@@ -23786,7 +23810,7 @@
|
|
|
23786
23810
|
totalFieldName: withTotal ? 'total' : undefined,
|
|
23787
23811
|
insertFilterFn: filter && filter.asFilterFn(),
|
|
23788
23812
|
variables: variables,
|
|
23789
|
-
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' },
|
|
23813
|
+
error: { code: ErrorCodes$2.LOAD_DATA_ERROR, message: 'REFERENTIAL.ERROR.LOAD_DATA_ERROR' },
|
|
23790
23814
|
fetchPolicy: opts && opts.fetchPolicy || undefined
|
|
23791
23815
|
})
|
|
23792
23816
|
.pipe(operators.map(function (_b) {
|
|
@@ -23828,7 +23852,7 @@
|
|
|
23828
23852
|
return [4 /*yield*/, this.graphql.query({
|
|
23829
23853
|
query: query,
|
|
23830
23854
|
variables: variables,
|
|
23831
|
-
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.LOAD_DATA_ERROR' },
|
|
23855
|
+
error: { code: ErrorCodes$2.LOAD_DATA_ERROR, message: 'ERROR.LOAD_DATA_ERROR' },
|
|
23832
23856
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23833
23857
|
})];
|
|
23834
23858
|
case 1:
|
|
@@ -23876,7 +23900,7 @@
|
|
|
23876
23900
|
variables: {
|
|
23877
23901
|
filter: filter && filter.asPodObject()
|
|
23878
23902
|
},
|
|
23879
|
-
error: { code: ErrorCodes.LOAD_DATA_ERROR, message: 'ERROR.COUNT_DATA_ERROR' },
|
|
23903
|
+
error: { code: ErrorCodes$2.LOAD_DATA_ERROR, message: 'ERROR.COUNT_DATA_ERROR' },
|
|
23880
23904
|
fetchPolicy: opts && opts.fetchPolicy || 'network-only'
|
|
23881
23905
|
})];
|
|
23882
23906
|
case 3:
|
|
@@ -23921,7 +23945,7 @@
|
|
|
23921
23945
|
variables: {
|
|
23922
23946
|
data: json
|
|
23923
23947
|
},
|
|
23924
|
-
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23948
|
+
error: { code: ErrorCodes$2.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23925
23949
|
update: function (proxy, _b) {
|
|
23926
23950
|
var data = _b.data;
|
|
23927
23951
|
var savedEntities = data && data.data;
|
|
@@ -23988,7 +24012,7 @@
|
|
|
23988
24012
|
variables: {
|
|
23989
24013
|
data: json
|
|
23990
24014
|
},
|
|
23991
|
-
error: { code: ErrorCodes.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
24015
|
+
error: { code: ErrorCodes$2.SAVE_DATA_ERROR, message: 'ERROR.SAVE_DATA_ERROR' },
|
|
23992
24016
|
update: function (cache, _b) {
|
|
23993
24017
|
var data = _b.data;
|
|
23994
24018
|
// Update entity
|
|
@@ -24046,7 +24070,7 @@
|
|
|
24046
24070
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
24047
24071
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
24048
24072
|
variables: { ids: ids },
|
|
24049
|
-
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
24073
|
+
error: { code: ErrorCodes$2.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
24050
24074
|
update: function (cache, res) {
|
|
24051
24075
|
// Remove from cache
|
|
24052
24076
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -24099,7 +24123,7 @@
|
|
|
24099
24123
|
refetchQueries: this.getRefetchQueriesForMutation(opts),
|
|
24100
24124
|
awaitRefetchQueries: opts && opts.awaitRefetchQueries,
|
|
24101
24125
|
variables: { id: id },
|
|
24102
|
-
error: { code: ErrorCodes.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
24126
|
+
error: { code: ErrorCodes$2.DELETE_DATA_ERROR, message: 'ERROR.DELETE_DATA_ERROR' },
|
|
24103
24127
|
update: function (proxy, res) {
|
|
24104
24128
|
// Remove from cache
|
|
24105
24129
|
if (_this.watchQueriesUpdatePolicy === 'update-cache') {
|
|
@@ -24138,7 +24162,7 @@
|
|
|
24138
24162
|
query: opts && opts.query || this.subscriptions.listenChanges,
|
|
24139
24163
|
variables: variables,
|
|
24140
24164
|
error: {
|
|
24141
|
-
code: ErrorCodes.SUBSCRIBE_DATA_ERROR,
|
|
24165
|
+
code: ErrorCodes$2.SUBSCRIBE_DATA_ERROR,
|
|
24142
24166
|
message: 'ERROR.SUBSCRIBE_DATA_ERROR'
|
|
24143
24167
|
}
|
|
24144
24168
|
})
|
|
@@ -24361,7 +24385,7 @@
|
|
|
24361
24385
|
if (this._debug)
|
|
24362
24386
|
invalidRows.forEach(function (row) { return AppTableUtils.logRowErrors(row, "[table-datasource] " + _this._logTypeName + " row #" + row.id); });
|
|
24363
24387
|
// Stop with an error
|
|
24364
|
-
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
24388
|
+
throw { code: ErrorCodes$2.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
24365
24389
|
}
|
|
24366
24390
|
this._editingRowCount = 0;
|
|
24367
24391
|
data = void 0;
|
|
@@ -25375,14 +25399,14 @@
|
|
|
25375
25399
|
case 0:
|
|
25376
25400
|
opts = Object.assign({ keepEditing: this.keepEditedRowOnSave }, opts);
|
|
25377
25401
|
if (this.readOnly) {
|
|
25378
|
-
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25402
|
+
throw { code: ErrorCodes$2.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25379
25403
|
}
|
|
25380
25404
|
this.resetError();
|
|
25381
25405
|
// Keep edited row id (should be done BEFORE confirmEditCreate() )
|
|
25382
25406
|
this.previouslyEditedRowId = opts.keepEditing ? ((((_a = this.editedRow) === null || _a === void 0 ? void 0 : _a.editing) ? this.editedRow.id : undefined) || ((_b = this.singleSelectedRow) === null || _b === void 0 ? void 0 : _b.id)) : undefined;
|
|
25383
25407
|
previouslyEditedData = opts.keepEditing ? (isNotNil(this.previouslyEditedRowId) && ((_c = this.editedRow) === null || _c === void 0 ? void 0 : _c.currentData) || ((_d = this.singleSelectedRow) === null || _d === void 0 ? void 0 : _d.currentData)) : undefined;
|
|
25384
25408
|
if (!this.confirmEditCreate()) {
|
|
25385
|
-
throw { code: ErrorCodes.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
25409
|
+
throw { code: ErrorCodes$2.TABLE_INVALID_ROW_ERROR, message: 'ERROR.TABLE_INVALID_ROW_ERROR' };
|
|
25386
25410
|
}
|
|
25387
25411
|
// Mark as saving
|
|
25388
25412
|
this.markAsSaving();
|
|
@@ -25537,7 +25561,7 @@
|
|
|
25537
25561
|
switch (_e.label) {
|
|
25538
25562
|
case 0:
|
|
25539
25563
|
if (this.readOnly) {
|
|
25540
|
-
throw { code: ErrorCodes.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25564
|
+
throw { code: ErrorCodes$2.TABLE_READ_ONLY, message: 'ERROR.TABLE_READ_ONLY' };
|
|
25541
25565
|
}
|
|
25542
25566
|
if (event === null || event === void 0 ? void 0 : event.defaultPrevented)
|
|
25543
25567
|
return [2 /*return*/, 0]; // SKip
|
|
@@ -27384,7 +27408,7 @@
|
|
|
27384
27408
|
case 8:
|
|
27385
27409
|
data = _c.sent();
|
|
27386
27410
|
if (!data)
|
|
27387
|
-
throw { code: ErrorCodes.DATA_NOT_FOUND_ERROR, message: 'ERROR.DATA_NO_FOUND' };
|
|
27411
|
+
throw { code: ErrorCodes$2.DATA_NOT_FOUND_ERROR, message: 'ERROR.DATA_NO_FOUND' };
|
|
27388
27412
|
this._usageMode = this.computeUsageMode(data);
|
|
27389
27413
|
return [4 /*yield*/, this.onEntityLoaded(data, opts)];
|
|
27390
27414
|
case 9:
|
|
@@ -28161,10 +28185,10 @@
|
|
|
28161
28185
|
exports.UserEventFilter = __decorate([
|
|
28162
28186
|
EntityClass({ typename: 'UserEventVO' })
|
|
28163
28187
|
], exports.UserEventFilter);
|
|
28164
|
-
var SaveQuery = core.gql(templateObject_1$
|
|
28165
|
-
var LoadAllQuery = core.gql(templateObject_2$
|
|
28166
|
-
var DeleteByIdsMutation = core.gql(templateObject_3$
|
|
28167
|
-
var LoadAllWithContentQuery = core.gql(templateObject_4$
|
|
28188
|
+
var SaveQuery = core.gql(templateObject_1$1 || (templateObject_1$1 = __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);
|
|
28189
|
+
var LoadAllQuery = core.gql(templateObject_2$1 || (templateObject_2$1 = __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);
|
|
28190
|
+
var DeleteByIdsMutation = core.gql(templateObject_3$1 || (templateObject_3$1 = __makeTemplateObject(["\n mutation DeleteUserEvents($ids:[Int]){\n deleteUserEvents(ids: $ids)\n }\n"], ["\n mutation DeleteUserEvents($ids:[Int]){\n deleteUserEvents(ids: $ids)\n }\n"])));
|
|
28191
|
+
var LoadAllWithContentQuery = core.gql(templateObject_4$1 || (templateObject_4$1 = __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);
|
|
28168
28192
|
var UserEventService = /** @class */ (function (_super) {
|
|
28169
28193
|
__extends(UserEventService, _super);
|
|
28170
28194
|
function UserEventService(graphql, accountService, network, translate, toastController, environment) {
|
|
@@ -28485,7 +28509,7 @@
|
|
|
28485
28509
|
};
|
|
28486
28510
|
return UserEventService;
|
|
28487
28511
|
}(BaseGraphqlService));
|
|
28488
|
-
UserEventService.ɵprov =
|
|
28512
|
+
UserEventService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function UserEventService_Factory() { return new UserEventService(i0__namespace.ɵɵinject(GraphqlService), i0__namespace.ɵɵinject(AccountService), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(i1__namespace$1.TranslateService), i0__namespace.ɵɵinject(i1__namespace$4.ToastController), i0__namespace.ɵɵinject(ENVIRONMENT)); }, token: UserEventService, providedIn: "root" });
|
|
28489
28513
|
UserEventService.decorators = [
|
|
28490
28514
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28491
28515
|
];
|
|
@@ -28497,7 +28521,7 @@
|
|
|
28497
28521
|
{ type: i1$5.ToastController },
|
|
28498
28522
|
{ type: undefined, decorators: [{ type: i0.Inject, args: [ENVIRONMENT,] }] }
|
|
28499
28523
|
]; };
|
|
28500
|
-
var templateObject_1$
|
|
28524
|
+
var templateObject_1$1, templateObject_2$1, templateObject_3$1, templateObject_4$1;
|
|
28501
28525
|
|
|
28502
28526
|
var ICONS_MAP = {
|
|
28503
28527
|
DEBUG_DATA: { matIcon: 'bug_report' },
|
|
@@ -28759,16 +28783,16 @@
|
|
|
28759
28783
|
], exports.PersonFilter);
|
|
28760
28784
|
|
|
28761
28785
|
var PersonFragments = {
|
|
28762
|
-
person: core.gql(templateObject_1
|
|
28786
|
+
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 }"])))
|
|
28763
28787
|
};
|
|
28764
28788
|
// Load persons query
|
|
28765
28789
|
var PersonQueries = {
|
|
28766
|
-
loadAll: core.gql(templateObject_2
|
|
28767
|
-
loadAllWithTotal: core.gql(templateObject_3
|
|
28790
|
+
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),
|
|
28791
|
+
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)
|
|
28768
28792
|
};
|
|
28769
28793
|
var PersonMutations = {
|
|
28770
|
-
saveAll: core.gql(templateObject_4
|
|
28771
|
-
deleteAll: core.gql(templateObject_5
|
|
28794
|
+
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),
|
|
28795
|
+
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 }"])))
|
|
28772
28796
|
};
|
|
28773
28797
|
var PersonService = /** @class */ (function (_super_1) {
|
|
28774
28798
|
__extends(PersonService, _super_1);
|
|
@@ -28892,7 +28916,7 @@
|
|
|
28892
28916
|
};
|
|
28893
28917
|
return PersonService;
|
|
28894
28918
|
}(BaseEntityService));
|
|
28895
|
-
PersonService.ɵprov =
|
|
28919
|
+
PersonService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PersonService_Factory() { return new PersonService(i0__namespace.ɵɵinject(GraphqlService), i0__namespace.ɵɵinject(PlatformService), i0__namespace.ɵɵinject(NetworkService), i0__namespace.ɵɵinject(EntitiesStorage)); }, token: PersonService, providedIn: "root" });
|
|
28896
28920
|
PersonService.decorators = [
|
|
28897
28921
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28898
28922
|
];
|
|
@@ -28902,7 +28926,7 @@
|
|
|
28902
28926
|
{ type: NetworkService },
|
|
28903
28927
|
{ type: EntitiesStorage }
|
|
28904
28928
|
]; };
|
|
28905
|
-
var templateObject_1
|
|
28929
|
+
var templateObject_1, templateObject_2, templateObject_3, templateObject_4, templateObject_5;
|
|
28906
28930
|
|
|
28907
28931
|
var PersonValidatorService = /** @class */ (function () {
|
|
28908
28932
|
function PersonValidatorService(formBuilder, accountValidatorService) {
|
|
@@ -28925,7 +28949,7 @@
|
|
|
28925
28949
|
};
|
|
28926
28950
|
return PersonValidatorService;
|
|
28927
28951
|
}());
|
|
28928
|
-
PersonValidatorService.ɵprov =
|
|
28952
|
+
PersonValidatorService.ɵprov = i0__namespace.ɵɵdefineInjectable({ factory: function PersonValidatorService_Factory() { return new PersonValidatorService(i0__namespace.ɵɵinject(i1__namespace$6.FormBuilder), i0__namespace.ɵɵinject(AccountValidatorService)); }, token: PersonValidatorService, providedIn: "root" });
|
|
28929
28953
|
PersonValidatorService.decorators = [
|
|
28930
28954
|
{ type: i0.Injectable, args: [{ providedIn: 'root' },] }
|
|
28931
28955
|
];
|
|
@@ -29136,16 +29160,16 @@
|
|
|
29136
29160
|
];
|
|
29137
29161
|
AdminModule.ctorParameters = function () { return []; };
|
|
29138
29162
|
|
|
29139
|
-
var ɵ0
|
|
29163
|
+
var ɵ0 = {
|
|
29140
29164
|
profile: 'ADMIN'
|
|
29141
29165
|
};
|
|
29142
|
-
var routes = [
|
|
29166
|
+
var routes$5 = [
|
|
29143
29167
|
{
|
|
29144
29168
|
path: 'users',
|
|
29145
29169
|
pathMatch: 'full',
|
|
29146
29170
|
component: UsersPage,
|
|
29147
29171
|
canActivate: [AuthGuardService],
|
|
29148
|
-
data: ɵ0
|
|
29172
|
+
data: ɵ0
|
|
29149
29173
|
}
|
|
29150
29174
|
];
|
|
29151
29175
|
var AdminRoutingModule = /** @class */ (function () {
|
|
@@ -29158,36 +29182,36 @@
|
|
|
29158
29182
|
imports: [
|
|
29159
29183
|
SharedRoutingModule,
|
|
29160
29184
|
AdminModule,
|
|
29161
|
-
i3.RouterModule.forChild(routes)
|
|
29185
|
+
i3.RouterModule.forChild(routes$5)
|
|
29162
29186
|
],
|
|
29163
29187
|
exports: [i3.RouterModule]
|
|
29164
29188
|
},] }
|
|
29165
29189
|
];
|
|
29166
29190
|
|
|
29167
|
-
var ErrorCodes
|
|
29191
|
+
var ErrorCodes = {
|
|
29168
29192
|
LOAD_PERSONS_ERROR: 100,
|
|
29169
29193
|
SAVE_PERSONS_ERROR: 101,
|
|
29170
29194
|
DELETE_PERSONS_ERROR: 102,
|
|
29171
29195
|
};
|
|
29172
29196
|
|
|
29173
|
-
var EntityTestClass = /** @class */ (function () {
|
|
29197
|
+
var EntityTestClass$1 = /** @class */ (function () {
|
|
29174
29198
|
function EntityTestClass() {
|
|
29175
29199
|
}
|
|
29176
29200
|
return EntityTestClass;
|
|
29177
29201
|
}());
|
|
29178
|
-
var FAKE_ENTITIES = [
|
|
29202
|
+
var FAKE_ENTITIES$1 = [
|
|
29179
29203
|
{ id: 1, label: 'AAA', name: 'Item A', description: 'Very long description A', comments: 'Very very long comments... again for A' },
|
|
29180
29204
|
{ id: 2, label: 'BBB', name: 'Item B', description: 'Very long description B', comments: 'Very very long comments... again for B' },
|
|
29181
29205
|
{ id: 3, label: 'CCC', name: 'Item C', description: 'Very long description C', comments: 'Very very long comments... again for C' }
|
|
29182
29206
|
];
|
|
29183
|
-
function deepCopy(values, size) {
|
|
29207
|
+
function deepCopy$1(values, size) {
|
|
29184
29208
|
if (isNil(size)) {
|
|
29185
|
-
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
29209
|
+
return (values || FAKE_ENTITIES$1).map(function (entity) { return Object.assign({}, entity); });
|
|
29186
29210
|
}
|
|
29187
29211
|
var result = [];
|
|
29188
29212
|
var i = 1;
|
|
29189
29213
|
while (result.length < size) {
|
|
29190
|
-
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
29214
|
+
result = result.concat((values || FAKE_ENTITIES$1).map(function (entity) {
|
|
29191
29215
|
var name = entity.name + ' #' + i;
|
|
29192
29216
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
29193
29217
|
}));
|
|
@@ -29197,7 +29221,7 @@
|
|
|
29197
29221
|
var AutocompleteTestPage = /** @class */ (function () {
|
|
29198
29222
|
function AutocompleteTestPage(formBuilder) {
|
|
29199
29223
|
this.formBuilder = formBuilder;
|
|
29200
|
-
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
29224
|
+
this._items = deepCopy$1(FAKE_ENTITIES$1, 100);
|
|
29201
29225
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
29202
29226
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
29203
29227
|
this.memoryHide = false;
|
|
@@ -29242,7 +29266,7 @@
|
|
|
29242
29266
|
});
|
|
29243
29267
|
// From items
|
|
29244
29268
|
this.autocompleteFields.add('entity-items-large', {
|
|
29245
|
-
items: FAKE_ENTITIES.slice(),
|
|
29269
|
+
items: FAKE_ENTITIES$1.slice(),
|
|
29246
29270
|
attributes: ['label', 'name', 'description', 'comments'],
|
|
29247
29271
|
displayWith: this.entityToString
|
|
29248
29272
|
});
|
|
@@ -29255,12 +29279,12 @@
|
|
|
29255
29279
|
var _this = this;
|
|
29256
29280
|
return __generator(this, function (_a) {
|
|
29257
29281
|
data = {
|
|
29258
|
-
entity: deepCopy(FAKE_ENTITIES)[0],
|
|
29282
|
+
entity: deepCopy$1(FAKE_ENTITIES$1)[0],
|
|
29259
29283
|
// This item is NOT in the items list => i should be displayed anyway
|
|
29260
29284
|
missingEntity: {
|
|
29261
29285
|
id: -1, label: '??', name: 'Missing item'
|
|
29262
29286
|
},
|
|
29263
|
-
disableEntity: deepCopy(FAKE_ENTITIES)[2]
|
|
29287
|
+
disableEntity: deepCopy$1(FAKE_ENTITIES$1)[2]
|
|
29264
29288
|
};
|
|
29265
29289
|
this.form.setValue(data);
|
|
29266
29290
|
// Load observables
|
|
@@ -29425,13 +29449,13 @@
|
|
|
29425
29449
|
{ type: i1.FormBuilder }
|
|
29426
29450
|
]; };
|
|
29427
29451
|
|
|
29428
|
-
var moment$
|
|
29452
|
+
var moment$1 = momentImported__namespace;
|
|
29429
29453
|
var SwipeTestPage = /** @class */ (function () {
|
|
29430
29454
|
function SwipeTestPage(formBuilder, dateFormatPipe) {
|
|
29431
29455
|
this.formBuilder = formBuilder;
|
|
29432
29456
|
this.dateFormatPipe = dateFormatPipe;
|
|
29433
29457
|
this.$dates = new rxjs.BehaviorSubject(undefined);
|
|
29434
|
-
this._today = moment$
|
|
29458
|
+
this._today = moment$1().startOf('day');
|
|
29435
29459
|
this.form = formBuilder.group({
|
|
29436
29460
|
empty: [null, i1.Validators.required],
|
|
29437
29461
|
date: [null, i1.Validators.compose([i1.Validators.required, SharedValidators.validDate])],
|
|
@@ -29445,7 +29469,7 @@
|
|
|
29445
29469
|
var _this = this;
|
|
29446
29470
|
var dates = [];
|
|
29447
29471
|
for (var d = 0; d < 7; d++) {
|
|
29448
|
-
dates[d] = moment$
|
|
29472
|
+
dates[d] = moment$1(this._today).add(d - 3, 'day');
|
|
29449
29473
|
}
|
|
29450
29474
|
this.$dates.next(dates);
|
|
29451
29475
|
this.loadData();
|
|
@@ -29492,7 +29516,7 @@
|
|
|
29492
29516
|
{ type: DateFormatPipe }
|
|
29493
29517
|
]; };
|
|
29494
29518
|
|
|
29495
|
-
var moment
|
|
29519
|
+
var moment = momentImported__namespace;
|
|
29496
29520
|
var DateTimeTestPage = /** @class */ (function () {
|
|
29497
29521
|
function DateTimeTestPage(platform, formBuilder, cd) {
|
|
29498
29522
|
this.platform = platform;
|
|
@@ -29528,7 +29552,7 @@
|
|
|
29528
29552
|
var now, data;
|
|
29529
29553
|
var _this = this;
|
|
29530
29554
|
return __generator(this, function (_a) {
|
|
29531
|
-
now = moment
|
|
29555
|
+
now = moment();
|
|
29532
29556
|
data = {
|
|
29533
29557
|
empty: toDateISOString(now.clone().add(2, 'hours')),
|
|
29534
29558
|
enable: toDateISOString(now),
|
|
@@ -29593,12 +29617,12 @@
|
|
|
29593
29617
|
{ type: i0.ChangeDetectorRef }
|
|
29594
29618
|
]; };
|
|
29595
29619
|
|
|
29596
|
-
var EntityTestClass
|
|
29620
|
+
var EntityTestClass = /** @class */ (function () {
|
|
29597
29621
|
function EntityTestClass() {
|
|
29598
29622
|
}
|
|
29599
29623
|
return EntityTestClass;
|
|
29600
29624
|
}());
|
|
29601
|
-
var FAKE_ENTITIES
|
|
29625
|
+
var FAKE_ENTITIES = [
|
|
29602
29626
|
{ id: 1, label: 'AAA', name: 'Item A' },
|
|
29603
29627
|
{ id: 2, label: 'BBB', name: 'Item B' },
|
|
29604
29628
|
{ id: 3, label: 'CCC', name: 'Item C' },
|
|
@@ -29607,14 +29631,14 @@
|
|
|
29607
29631
|
{ id: 6, label: 'FFF', name: 'Item F' },
|
|
29608
29632
|
{ id: 7, label: 'GGG', name: 'Item G' }
|
|
29609
29633
|
];
|
|
29610
|
-
function deepCopy
|
|
29634
|
+
function deepCopy(values, size) {
|
|
29611
29635
|
if (isNil(size)) {
|
|
29612
|
-
return (values || FAKE_ENTITIES
|
|
29636
|
+
return (values || FAKE_ENTITIES).map(function (entity) { return Object.assign({}, entity); });
|
|
29613
29637
|
}
|
|
29614
29638
|
var result = [];
|
|
29615
29639
|
var i = 1;
|
|
29616
29640
|
while (result.length < size) {
|
|
29617
|
-
result = result.concat((values || FAKE_ENTITIES
|
|
29641
|
+
result = result.concat((values || FAKE_ENTITIES).map(function (entity) {
|
|
29618
29642
|
var name = entity.name + ' #' + i;
|
|
29619
29643
|
return Object.assign(Object.assign({}, entity), { id: i++, name: name });
|
|
29620
29644
|
}));
|
|
@@ -29624,7 +29648,7 @@
|
|
|
29624
29648
|
var ChipsTestPage = /** @class */ (function () {
|
|
29625
29649
|
function ChipsTestPage(formBuilder) {
|
|
29626
29650
|
this.formBuilder = formBuilder;
|
|
29627
|
-
this._items = deepCopy
|
|
29651
|
+
this._items = deepCopy(FAKE_ENTITIES, 100);
|
|
29628
29652
|
this._$items = new rxjs.BehaviorSubject(undefined);
|
|
29629
29653
|
this.autocompleteFields = new MatAutocompleteConfigHolder();
|
|
29630
29654
|
this.form = formBuilder.group({
|
|
@@ -29667,7 +29691,7 @@
|
|
|
29667
29691
|
var items, data;
|
|
29668
29692
|
var _this = this;
|
|
29669
29693
|
return __generator(this, function (_a) {
|
|
29670
|
-
items = deepCopy
|
|
29694
|
+
items = deepCopy(FAKE_ENTITIES);
|
|
29671
29695
|
data = {
|
|
29672
29696
|
entity: items.slice(0, 1),
|
|
29673
29697
|
entityInitial: items.slice(1, 2),
|
|
@@ -29815,7 +29839,7 @@
|
|
|
29815
29839
|
{ label: 'Shared directives', divider: true },
|
|
29816
29840
|
{ label: 'Badge icon directive', page: '/testing/shared/badge-icon' }
|
|
29817
29841
|
];
|
|
29818
|
-
var routes$
|
|
29842
|
+
var routes$4 = [
|
|
29819
29843
|
{
|
|
29820
29844
|
path: '',
|
|
29821
29845
|
pathMatch: 'full',
|
|
@@ -29870,7 +29894,7 @@
|
|
|
29870
29894
|
i1.ReactiveFormsModule,
|
|
29871
29895
|
SharedMaterialModule,
|
|
29872
29896
|
i1$2.TranslateModule.forChild(),
|
|
29873
|
-
i3.RouterModule.forChild(routes$
|
|
29897
|
+
i3.RouterModule.forChild(routes$4)
|
|
29874
29898
|
],
|
|
29875
29899
|
declarations: [
|
|
29876
29900
|
DateTimeTestPage,
|
|
@@ -29930,7 +29954,7 @@
|
|
|
29930
29954
|
{ type: i1$2.TranslateService }
|
|
29931
29955
|
]; };
|
|
29932
29956
|
|
|
29933
|
-
var routes$
|
|
29957
|
+
var routes$3 = [
|
|
29934
29958
|
{
|
|
29935
29959
|
path: 'toast',
|
|
29936
29960
|
pathMatch: 'full',
|
|
@@ -29948,7 +29972,7 @@
|
|
|
29948
29972
|
i1$4.CommonModule,
|
|
29949
29973
|
i1$5.IonicModule,
|
|
29950
29974
|
i1$2.TranslateModule.forChild(),
|
|
29951
|
-
i3.RouterModule.forChild(routes$
|
|
29975
|
+
i3.RouterModule.forChild(routes$3)
|
|
29952
29976
|
],
|
|
29953
29977
|
declarations: [
|
|
29954
29978
|
ToastTestingPage
|
|
@@ -30028,7 +30052,7 @@
|
|
|
30028
30052
|
{ type: i1$5.PopoverController }
|
|
30029
30053
|
]; };
|
|
30030
30054
|
|
|
30031
|
-
var routes$
|
|
30055
|
+
var routes$2 = [
|
|
30032
30056
|
{
|
|
30033
30057
|
path: 'upload-file',
|
|
30034
30058
|
pathMatch: 'full',
|
|
@@ -30046,7 +30070,7 @@
|
|
|
30046
30070
|
i1$4.CommonModule,
|
|
30047
30071
|
i1$5.IonicModule,
|
|
30048
30072
|
i1$2.TranslateModule.forChild(),
|
|
30049
|
-
i3.RouterModule.forChild(routes$
|
|
30073
|
+
i3.RouterModule.forChild(routes$2)
|
|
30050
30074
|
],
|
|
30051
30075
|
declarations: [
|
|
30052
30076
|
UploadFileTestingPage
|
|
@@ -30470,7 +30494,7 @@
|
|
|
30470
30494
|
{ type: i1$5.PopoverController }
|
|
30471
30495
|
]; };
|
|
30472
30496
|
|
|
30473
|
-
var routes$
|
|
30497
|
+
var routes$1 = [
|
|
30474
30498
|
{
|
|
30475
30499
|
path: 'text-popover',
|
|
30476
30500
|
pathMatch: 'full',
|
|
@@ -30488,7 +30512,7 @@
|
|
|
30488
30512
|
i1$4.CommonModule,
|
|
30489
30513
|
i1$5.IonicModule,
|
|
30490
30514
|
i1$2.TranslateModule.forChild(),
|
|
30491
|
-
i3.RouterModule.forChild(routes$
|
|
30515
|
+
i3.RouterModule.forChild(routes$1)
|
|
30492
30516
|
],
|
|
30493
30517
|
declarations: [
|
|
30494
30518
|
TextPopoverTestingPage
|
|
@@ -30505,7 +30529,7 @@
|
|
|
30505
30529
|
{ label: 'Table', page: '/testing/core/table' },
|
|
30506
30530
|
{ label: 'Text popover', page: '/testing/core/text-popover' }
|
|
30507
30531
|
];
|
|
30508
|
-
var routes
|
|
30532
|
+
var routes = [
|
|
30509
30533
|
{
|
|
30510
30534
|
path: '',
|
|
30511
30535
|
pathMatch: 'full',
|
|
@@ -30532,7 +30556,7 @@
|
|
|
30532
30556
|
imports: [
|
|
30533
30557
|
i1$4.CommonModule,
|
|
30534
30558
|
i1$2.TranslateModule.forChild(),
|
|
30535
|
-
i3.RouterModule.forChild(routes
|
|
30559
|
+
i3.RouterModule.forChild(routes),
|
|
30536
30560
|
// Sub modules
|
|
30537
30561
|
TableTestingModule,
|
|
30538
30562
|
TextPopoverTestingModule
|
|
@@ -30654,7 +30678,7 @@
|
|
|
30654
30678
|
exports.EntityStore = EntityStore;
|
|
30655
30679
|
exports.EntityUtils = EntityUtils;
|
|
30656
30680
|
exports.Environment = Environment;
|
|
30657
|
-
exports.ErrorCodes = ErrorCodes
|
|
30681
|
+
exports.ErrorCodes = ErrorCodes;
|
|
30658
30682
|
exports.EvenPipe = EvenPipe;
|
|
30659
30683
|
exports.FileResponse = FileResponse;
|
|
30660
30684
|
exports.FileService = FileService;
|
|
@@ -30666,7 +30690,7 @@
|
|
|
30666
30690
|
exports.FormErrorTranslatePipe = FormErrorTranslatePipe;
|
|
30667
30691
|
exports.FormErrorTranslator = FormErrorTranslator;
|
|
30668
30692
|
exports.FormFieldValuesHolder = FormFieldValuesHolder;
|
|
30669
|
-
exports.Fragments = Fragments
|
|
30693
|
+
exports.Fragments = Fragments;
|
|
30670
30694
|
exports.GraphqlService = GraphqlService;
|
|
30671
30695
|
exports.HAMMER_PRESS_TIME = HAMMER_PRESS_TIME;
|
|
30672
30696
|
exports.HAMMER_TAP_TIME = HAMMER_TAP_TIME;
|
|
@@ -30944,22 +30968,22 @@
|
|
|
30944
30968
|
exports.waitForTrue = waitForTrue;
|
|
30945
30969
|
exports.waitIdle = waitIdle;
|
|
30946
30970
|
exports.waitWhilePending = waitWhilePending;
|
|
30947
|
-
exports
|
|
30948
|
-
exports
|
|
30949
|
-
exports
|
|
30950
|
-
exports
|
|
30951
|
-
exports
|
|
30952
|
-
exports
|
|
30953
|
-
exports
|
|
30954
|
-
exports
|
|
30955
|
-
exports
|
|
30956
|
-
exports
|
|
30957
|
-
exports
|
|
30958
|
-
exports
|
|
30959
|
-
exports
|
|
30960
|
-
exports
|
|
30971
|
+
exports["ɵ0"] = ɵ0$b;
|
|
30972
|
+
exports["ɵa"] = CustomReuseStrategy;
|
|
30973
|
+
exports["ɵb"] = MatNumpadDomService;
|
|
30974
|
+
exports["ɵc"] = isFocusableElement;
|
|
30975
|
+
exports["ɵd"] = RegisterForm;
|
|
30976
|
+
exports["ɵe"] = AccountValidatorService;
|
|
30977
|
+
exports["ɵf"] = RegisterModal;
|
|
30978
|
+
exports["ɵg"] = UserSettingsValidatorService;
|
|
30979
|
+
exports["ɵh"] = LocalSettingsValidatorService;
|
|
30980
|
+
exports["ɵi"] = AppIconComponent;
|
|
30981
|
+
exports["ɵj"] = NumpadTestPage;
|
|
30982
|
+
exports["ɵk"] = MatBadgeIconTestPage;
|
|
30983
|
+
exports["ɵl"] = ToastTestingModule;
|
|
30984
|
+
exports["ɵm"] = ToastTestingPage;
|
|
30961
30985
|
|
|
30962
30986
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
30963
30987
|
|
|
30964
|
-
}))
|
|
30988
|
+
}));
|
|
30965
30989
|
//# sourceMappingURL=sumaris-net.ngx-components.umd.js.map
|