@osovitny/anatoly 2.0.51 → 2.0.53
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/osovitny-anatoly.umd.js +92 -90
- package/bundles/osovitny-anatoly.umd.js.map +1 -1
- package/esm2015/lib/core/consts/settings.js +2 -2
- package/esm2015/lib/core/convert.js +2 -2
- package/esm2015/lib/core/go/base-go.service.js +2 -2
- package/esm2015/lib/core/guards/once-import.guard.js +2 -2
- package/esm2015/lib/core/guid.js +2 -2
- package/esm2015/lib/core/interceptors/httpInterceptor.js +2 -2
- package/esm2015/lib/core/localization/localization.module.js +2 -2
- package/esm2015/lib/core/localization/localization.service.js +2 -2
- package/esm2015/lib/core/localization/localizationSettings.module.js +2 -2
- package/esm2015/lib/core/localization/localize.pipe.js +2 -2
- package/esm2015/lib/core/localization/utils.js +2 -2
- package/esm2015/lib/core/logging/globalErrorHandler.js +2 -2
- package/esm2015/lib/core/logging/logging.service.js +2 -2
- package/esm2015/lib/core/notifications/alerts.js +2 -2
- package/esm2015/lib/core/notifications/interfaces/notification.js +2 -2
- package/esm2015/lib/core/notifications/services/notification-service.js +2 -2
- package/esm2015/lib/core/services/appcontext.service.js +2 -2
- package/esm2015/lib/core/services/dm.service.js +2 -2
- package/esm2015/lib/core/services/google-analytics.service.js +2 -2
- package/esm2015/lib/core/services/idle.service.js +2 -2
- package/esm2015/lib/core/services/loading.service.js +2 -2
- package/esm2015/lib/core/services/web-storage.service.js +2 -2
- package/esm2015/lib/core/subs.js +2 -2
- package/esm2015/lib/core/utils.js +2 -2
- package/esm2015/lib/data/base/base-api.service.js +2 -2
- package/esm2015/lib/data/base/grid/base-grid-edit.service.js +2 -2
- package/esm2015/lib/data/base/grid/base-grid-read.service.js +2 -2
- package/esm2015/lib/data/consts.js +2 -2
- package/esm2015/lib/data/data.module.js +2 -2
- package/esm2015/lib/data/services/billing-api.service.js +2 -2
- package/esm2015/lib/data/services/notifications/notifications-api-service.js +2 -2
- package/esm2015/lib/ui/components/base-edit.component.js +2 -2
- package/esm2015/lib/ui/components/base.component.js +2 -2
- package/esm2015/lib/ui/components/billing/buyaccess-button.component.js +2 -2
- package/esm2015/lib/ui/components/billing/subscribe-plan-button.component.js +2 -2
- package/esm2015/lib/ui/components/billing/upgrade-plan-button.component.js +2 -2
- package/esm2015/lib/ui/components/content-header/content-header.component.js +2 -2
- package/esm2015/lib/ui/components/html-editor/base-html-editor.component.js +7 -5
- package/esm2015/lib/ui/components/html-editor/forms-html-editor.component.js +2 -2
- package/esm2015/lib/ui/components/html-editor/html-editor.component.js +2 -2
- package/esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js +2 -2
- package/esm2015/lib/ui/components/identity/signin-button.component.js +2 -2
- package/esm2015/lib/ui/components/identity/signout-button.component.js +2 -2
- package/esm2015/lib/ui/components/identity/signup-button.component.js +2 -2
- package/esm2015/lib/ui/components/loading/loading.component.js +2 -2
- package/esm2015/lib/ui/components/spinner/spinner.component.js +2 -2
- package/esm2015/lib/ui/directives/native-element.directive.js +2 -2
- package/esm2015/lib/ui/pipes/filesize.pipe.js +2 -2
- package/esm2015/lib/ui/pipes/replace-text.pipe.js +2 -2
- package/esm2015/lib/ui/pipes/safeHtml.pipe.js +2 -2
- package/esm2015/lib/ui/ui.module.js +44 -37
- package/esm2015/lib/ui/validation/form-validation-summary.component.js +2 -2
- package/esm2015/lib/ui/validation/item-validation-summary.component.js +2 -2
- package/esm2015/lib/ui/validation/validation-summary.component.js +24 -21
- package/fesm2015/osovitny-anatoly.js +96 -86
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/ui/ui.module.d.ts +1 -1
- package/lib/ui/validation/validation-summary.component.d.ts +4 -4
- package/osovitny-anatoly.metadata.json +1 -1
- package/package.json +4 -4
- package/assets/styles/alerts.less +0 -182
- package/assets/styles/spinner.less +0 -64
- package/assets/styles/toastr.less +0 -192
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('@angular/core'), require('@angular/router'), require('@angular/common/http'), require('rxjs/operators'), require('rxjs'), require('@ngx-translate/core'), require('date-fns'), require('date-fns-tz'), require('date-fns/locale/en-US'), require('@angular/common'), require('@ngx-translate/http-loader'), require('sweetalert2'), require('ngx-toastr'), require('uuid'), require('@angular/platform-browser'), require('@angular/forms'), require('angular-froala-wysiwyg')) :
|
|
3
3
|
typeof define === 'function' && define.amd ? define('@osovitny/anatoly', ['exports', '@angular/core', '@angular/router', '@angular/common/http', 'rxjs/operators', 'rxjs', '@ngx-translate/core', 'date-fns', 'date-fns-tz', 'date-fns/locale/en-US', '@angular/common', '@ngx-translate/http-loader', 'sweetalert2', 'ngx-toastr', 'uuid', '@angular/platform-browser', '@angular/forms', 'angular-froala-wysiwyg'], factory) :
|
|
4
4
|
(global = typeof globalThis !== 'undefined' ? globalThis : global || self, factory((global.osovitny = global.osovitny || {}, global.osovitny.anatoly = {}), global.ng.core, global.ng.router, global.ng.common.http, global.rxjs.operators, global.rxjs, global.i1$1, global.dateFns, global.dateFnsTz, global.enUS, global.ng.common, global.httpLoader, global.Swal, global.i1$2, global.uuid, global.ng.platformBrowser, global.ng.forms, global.angularFroalaWysiwyg));
|
|
5
|
-
}(this, (function (exports, i0, router, i1, operators, rxjs, i1$1, dateFns, dateFnsTz, enUS, i2, httpLoader, Swal, i1$2, uuid, i1$3, forms, angularFroalaWysiwyg) { 'use strict';
|
|
5
|
+
})(this, (function (exports, i0, router, i1, operators, rxjs, i1$1, dateFns, dateFnsTz, enUS, i2, httpLoader, Swal, i1$2, uuid, i1$3, forms, angularFroalaWysiwyg) { 'use strict';
|
|
6
6
|
|
|
7
7
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
8
8
|
|
|
@@ -15,14 +15,12 @@
|
|
|
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
|
|
|
@@ -50,7 +48,7 @@
|
|
|
50
48
|
Version:
|
|
51
49
|
1.0
|
|
52
50
|
|
|
53
|
-
Copyright (c) 2016-
|
|
51
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
54
52
|
</file>
|
|
55
53
|
*/
|
|
56
54
|
var ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
@@ -93,7 +91,7 @@
|
|
|
93
91
|
Version:
|
|
94
92
|
1.0
|
|
95
93
|
|
|
96
|
-
Copyright (c) 2016-
|
|
94
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
97
95
|
</file>
|
|
98
96
|
*/
|
|
99
97
|
var BaseGoService = /** @class */ (function () {
|
|
@@ -130,7 +128,7 @@
|
|
|
130
128
|
Version:
|
|
131
129
|
1.0
|
|
132
130
|
|
|
133
|
-
Copyright (c) 2016-
|
|
131
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
134
132
|
</file>
|
|
135
133
|
*/
|
|
136
134
|
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
@@ -365,16 +363,10 @@
|
|
|
365
363
|
r[k] = a[j];
|
|
366
364
|
return r;
|
|
367
365
|
}
|
|
368
|
-
function __spreadArray(to, from
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
if (!ar)
|
|
373
|
-
ar = Array.prototype.slice.call(from, 0, i);
|
|
374
|
-
ar[i] = from[i];
|
|
375
|
-
}
|
|
376
|
-
}
|
|
377
|
-
return to.concat(ar || from);
|
|
366
|
+
function __spreadArray(to, from) {
|
|
367
|
+
for (var i = 0, il = from.length, j = to.length; i < il; i++, j++)
|
|
368
|
+
to[j] = from[i];
|
|
369
|
+
return to;
|
|
378
370
|
}
|
|
379
371
|
function __await(v) {
|
|
380
372
|
return this instanceof __await ? (this.v = v, this) : new __await(v);
|
|
@@ -524,7 +516,7 @@
|
|
|
524
516
|
Version:
|
|
525
517
|
1.0
|
|
526
518
|
|
|
527
|
-
Copyright (c) 2016-
|
|
519
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
528
520
|
</file>
|
|
529
521
|
*/
|
|
530
522
|
var LoggingService = /** @class */ (function () {
|
|
@@ -676,7 +668,7 @@
|
|
|
676
668
|
Version:
|
|
677
669
|
1.0
|
|
678
670
|
|
|
679
|
-
Copyright (c) 2016-
|
|
671
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
680
672
|
</file>
|
|
681
673
|
*/
|
|
682
674
|
var Convert = /** @class */ (function () {
|
|
@@ -706,7 +698,7 @@
|
|
|
706
698
|
Version:
|
|
707
699
|
1.0
|
|
708
700
|
|
|
709
|
-
Copyright (c) 2016-
|
|
701
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
710
702
|
</file>
|
|
711
703
|
*/
|
|
712
704
|
var LocalizationService = /** @class */ (function () {
|
|
@@ -724,7 +716,7 @@
|
|
|
724
716
|
;
|
|
725
717
|
LocalizationService.prototype.configureTranslationSettings = function (translate) {
|
|
726
718
|
var languageToSet = 'en';
|
|
727
|
-
this.dateFnsLocale = { locale: enUS__default[
|
|
719
|
+
this.dateFnsLocale = { locale: enUS__default["default"] };
|
|
728
720
|
translate.setDefaultLang(languageToSet);
|
|
729
721
|
return languageToSet;
|
|
730
722
|
};
|
|
@@ -735,10 +727,10 @@
|
|
|
735
727
|
var dfnLocale;
|
|
736
728
|
switch (this.getBrowserLanguage()) {
|
|
737
729
|
case 'en':
|
|
738
|
-
dfnLocale = { locale: enUS__default[
|
|
730
|
+
dfnLocale = { locale: enUS__default["default"] };
|
|
739
731
|
break;
|
|
740
732
|
default:
|
|
741
|
-
dfnLocale = { locale: enUS__default[
|
|
733
|
+
dfnLocale = { locale: enUS__default["default"] };
|
|
742
734
|
}
|
|
743
735
|
return dfnLocale;
|
|
744
736
|
};
|
|
@@ -882,7 +874,7 @@
|
|
|
882
874
|
Version:
|
|
883
875
|
1.0
|
|
884
876
|
|
|
885
|
-
Copyright (c) 2016-
|
|
877
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
886
878
|
</file>
|
|
887
879
|
*/
|
|
888
880
|
var LocalizePipe = /** @class */ (function () {
|
|
@@ -957,7 +949,7 @@
|
|
|
957
949
|
Version:
|
|
958
950
|
1.0
|
|
959
951
|
|
|
960
|
-
Copyright (c) 2016-
|
|
952
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
961
953
|
</file>
|
|
962
954
|
*/
|
|
963
955
|
function customTranslateLoaderFactory(http) {
|
|
@@ -1027,7 +1019,7 @@
|
|
|
1027
1019
|
Version:
|
|
1028
1020
|
1.0
|
|
1029
1021
|
|
|
1030
|
-
Copyright (c) 2016-
|
|
1022
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1031
1023
|
</file>
|
|
1032
1024
|
*/
|
|
1033
1025
|
var LocalizationModule = /** @class */ (function () {
|
|
@@ -1066,7 +1058,7 @@
|
|
|
1066
1058
|
Version:
|
|
1067
1059
|
1.0
|
|
1068
1060
|
|
|
1069
|
-
Copyright (c) 2016-
|
|
1061
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1070
1062
|
</file>
|
|
1071
1063
|
*/
|
|
1072
1064
|
var GlobalErrorHandler = /** @class */ (function () {
|
|
@@ -1103,7 +1095,7 @@
|
|
|
1103
1095
|
Version:
|
|
1104
1096
|
1.0
|
|
1105
1097
|
|
|
1106
|
-
Copyright (c) 2016-
|
|
1098
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1107
1099
|
</file>
|
|
1108
1100
|
*/
|
|
1109
1101
|
var L10nUtils = /** @class */ (function () {
|
|
@@ -1152,7 +1144,7 @@
|
|
|
1152
1144
|
Version:
|
|
1153
1145
|
1.0
|
|
1154
1146
|
|
|
1155
|
-
Copyright (c) 2016-
|
|
1147
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1156
1148
|
</file>
|
|
1157
1149
|
*/
|
|
1158
1150
|
var Alerts = /** @class */ (function () {
|
|
@@ -1161,7 +1153,7 @@
|
|
|
1161
1153
|
Alerts.success = function (text, params, title, successAction) {
|
|
1162
1154
|
text = L10nUtils.getLocalizedValue(text, params, 'OperationSuccessFull');
|
|
1163
1155
|
title = L10nUtils.getLocalizedValue(title, null, 'Success');
|
|
1164
|
-
Swal__default[
|
|
1156
|
+
Swal__default["default"].fire({
|
|
1165
1157
|
text: text,
|
|
1166
1158
|
title: title,
|
|
1167
1159
|
icon: 'success',
|
|
@@ -1176,7 +1168,7 @@
|
|
|
1176
1168
|
Alerts.info = function (text, params, title) {
|
|
1177
1169
|
text = L10nUtils.getLocalizedValue(text, params);
|
|
1178
1170
|
title = L10nUtils.getLocalizedValue(title, null, 'Info');
|
|
1179
|
-
Swal__default[
|
|
1171
|
+
Swal__default["default"].fire({
|
|
1180
1172
|
text: text,
|
|
1181
1173
|
title: title,
|
|
1182
1174
|
icon: 'info',
|
|
@@ -1186,7 +1178,7 @@
|
|
|
1186
1178
|
Alerts.warning = function (text, params, title) {
|
|
1187
1179
|
text = L10nUtils.getLocalizedValue(text, params);
|
|
1188
1180
|
title = L10nUtils.getLocalizedValue(title, null, 'Warning');
|
|
1189
|
-
Swal__default[
|
|
1181
|
+
Swal__default["default"].fire({
|
|
1190
1182
|
text: text,
|
|
1191
1183
|
title: title,
|
|
1192
1184
|
icon: 'warning',
|
|
@@ -1196,7 +1188,7 @@
|
|
|
1196
1188
|
Alerts.error = function (text, params, title) {
|
|
1197
1189
|
text = L10nUtils.getLocalizedValue(text, params, 'ErrorOccured');
|
|
1198
1190
|
title = L10nUtils.getLocalizedValue(title, null, 'Error');
|
|
1199
|
-
Swal__default[
|
|
1191
|
+
Swal__default["default"].fire({
|
|
1200
1192
|
text: text,
|
|
1201
1193
|
title: title,
|
|
1202
1194
|
icon: 'error',
|
|
@@ -1206,7 +1198,7 @@
|
|
|
1206
1198
|
Alerts.cancel = function (text, params, title) {
|
|
1207
1199
|
text = L10nUtils.getLocalizedValue(text, params, 'OperationCancelled');
|
|
1208
1200
|
title = L10nUtils.getLocalizedValue(title, null, 'Cancelled');
|
|
1209
|
-
Swal__default[
|
|
1201
|
+
Swal__default["default"].fire({
|
|
1210
1202
|
text: text,
|
|
1211
1203
|
title: title,
|
|
1212
1204
|
icon: 'info'
|
|
@@ -1221,7 +1213,7 @@
|
|
|
1221
1213
|
title = L10nUtils.getLocalizedValue(title, null, 'AreYouSure');
|
|
1222
1214
|
confirmButtonText = L10nUtils.getLocalizedValue(confirmButtonText, null, 'AreYouSure-ConfirmButtonText');
|
|
1223
1215
|
cancelButtonText = L10nUtils.getLocalizedValue(cancelButtonText, null, 'AreYouSure-CancelButtonText');
|
|
1224
|
-
Swal__default[
|
|
1216
|
+
Swal__default["default"].fire({
|
|
1225
1217
|
text: text,
|
|
1226
1218
|
title: title,
|
|
1227
1219
|
icon: 'warning',
|
|
@@ -1236,7 +1228,7 @@
|
|
|
1236
1228
|
}
|
|
1237
1229
|
}
|
|
1238
1230
|
// result.dismiss can be 'cancel', 'overlay', 'close', and 'timer'
|
|
1239
|
-
else if (result.dismiss == Swal__default[
|
|
1231
|
+
else if (result.dismiss == Swal__default["default"].DismissReason.cancel || result.dismiss == Swal__default["default"].DismissReason.close) {
|
|
1240
1232
|
if (cancelAction) {
|
|
1241
1233
|
cancelAction();
|
|
1242
1234
|
}
|
|
@@ -1262,7 +1254,7 @@
|
|
|
1262
1254
|
Version:
|
|
1263
1255
|
1.0
|
|
1264
1256
|
|
|
1265
|
-
Copyright (c) 2016-
|
|
1257
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1266
1258
|
</file>
|
|
1267
1259
|
*/
|
|
1268
1260
|
var Guid = /** @class */ (function () {
|
|
@@ -1501,7 +1493,7 @@
|
|
|
1501
1493
|
Version:
|
|
1502
1494
|
1.0
|
|
1503
1495
|
|
|
1504
|
-
Copyright (c) 2016-
|
|
1496
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1505
1497
|
</file>
|
|
1506
1498
|
*/
|
|
1507
1499
|
var BaseApiService = /** @class */ (function () {
|
|
@@ -1639,7 +1631,7 @@
|
|
|
1639
1631
|
Version:
|
|
1640
1632
|
1.0
|
|
1641
1633
|
|
|
1642
|
-
Copyright (c) 2016-
|
|
1634
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1643
1635
|
</file>
|
|
1644
1636
|
*/
|
|
1645
1637
|
var IdleService = /** @class */ (function () {
|
|
@@ -1762,7 +1754,7 @@
|
|
|
1762
1754
|
Version:
|
|
1763
1755
|
1.0
|
|
1764
1756
|
|
|
1765
|
-
Copyright (c) 2016-
|
|
1757
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1766
1758
|
</file>
|
|
1767
1759
|
*/
|
|
1768
1760
|
var DigitalMarketingService = /** @class */ (function () {
|
|
@@ -1831,7 +1823,7 @@
|
|
|
1831
1823
|
Version:
|
|
1832
1824
|
1.0
|
|
1833
1825
|
|
|
1834
|
-
Copyright (c) 2016-
|
|
1826
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1835
1827
|
</file>
|
|
1836
1828
|
*/
|
|
1837
1829
|
var GoogleAnalyticsService = /** @class */ (function () {
|
|
@@ -1912,7 +1904,7 @@
|
|
|
1912
1904
|
Version:
|
|
1913
1905
|
1.0
|
|
1914
1906
|
|
|
1915
|
-
Copyright (c) 2016-
|
|
1907
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1916
1908
|
</file>
|
|
1917
1909
|
*/
|
|
1918
1910
|
var Subs = /** @class */ (function () {
|
|
@@ -1955,7 +1947,7 @@
|
|
|
1955
1947
|
Version:
|
|
1956
1948
|
1.0
|
|
1957
1949
|
|
|
1958
|
-
Copyright (c) 2016-
|
|
1950
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1959
1951
|
</file>
|
|
1960
1952
|
*/
|
|
1961
1953
|
var Utils = /** @class */ (function () {
|
|
@@ -2117,7 +2109,7 @@
|
|
|
2117
2109
|
Version:
|
|
2118
2110
|
1.0
|
|
2119
2111
|
|
|
2120
|
-
Copyright (c) 2016-
|
|
2112
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2121
2113
|
</file>
|
|
2122
2114
|
*/
|
|
2123
2115
|
var consts = {
|
|
@@ -2208,7 +2200,7 @@
|
|
|
2208
2200
|
Version:
|
|
2209
2201
|
1.0
|
|
2210
2202
|
|
|
2211
|
-
Copyright (c) 2016-
|
|
2203
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2212
2204
|
</file>
|
|
2213
2205
|
*/
|
|
2214
2206
|
var AnatolyDataModule = /** @class */ (function () {
|
|
@@ -2246,7 +2238,7 @@
|
|
|
2246
2238
|
Version:
|
|
2247
2239
|
1.0
|
|
2248
2240
|
|
|
2249
|
-
Copyright (c) 2016-
|
|
2241
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2250
2242
|
</file>
|
|
2251
2243
|
*/
|
|
2252
2244
|
var BuyAccessButtonComponent = /** @class */ (function () {
|
|
@@ -2316,7 +2308,7 @@
|
|
|
2316
2308
|
Version:
|
|
2317
2309
|
1.0
|
|
2318
2310
|
|
|
2319
|
-
Copyright (c) 2016-
|
|
2311
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2320
2312
|
</file>
|
|
2321
2313
|
*/
|
|
2322
2314
|
var SubscribePlanButtonComponent = /** @class */ (function () {
|
|
@@ -2377,7 +2369,7 @@
|
|
|
2377
2369
|
Version:
|
|
2378
2370
|
1.0
|
|
2379
2371
|
|
|
2380
|
-
Copyright (c) 2016-
|
|
2372
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2381
2373
|
</file>
|
|
2382
2374
|
*/
|
|
2383
2375
|
// Services
|
|
@@ -2428,7 +2420,7 @@
|
|
|
2428
2420
|
Version:
|
|
2429
2421
|
1.0
|
|
2430
2422
|
|
|
2431
|
-
Copyright (c) 2016-
|
|
2423
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2432
2424
|
</file>
|
|
2433
2425
|
*/
|
|
2434
2426
|
var ContentHeaderComponent = /** @class */ (function () {
|
|
@@ -2466,7 +2458,7 @@
|
|
|
2466
2458
|
Version:
|
|
2467
2459
|
1.0
|
|
2468
2460
|
|
|
2469
|
-
Copyright (c) 2016-
|
|
2461
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2470
2462
|
</file>
|
|
2471
2463
|
*/
|
|
2472
2464
|
var DefaultEditorOptions = {
|
|
@@ -2555,7 +2547,7 @@
|
|
|
2555
2547
|
Version:
|
|
2556
2548
|
1.0
|
|
2557
2549
|
|
|
2558
|
-
Copyright (c) 2016-
|
|
2550
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2559
2551
|
</file>
|
|
2560
2552
|
*/
|
|
2561
2553
|
var BaseComponent = /** @class */ (function () {
|
|
@@ -2791,7 +2783,9 @@
|
|
|
2791
2783
|
return BaseHtmlEditorComponent;
|
|
2792
2784
|
}(BaseEditComponent));
|
|
2793
2785
|
BaseHtmlEditorComponent.decorators = [
|
|
2794
|
-
{ type: i0.
|
|
2786
|
+
{ type: i0.Component, args: [{
|
|
2787
|
+
template: ""
|
|
2788
|
+
},] }
|
|
2795
2789
|
];
|
|
2796
2790
|
BaseHtmlEditorComponent.ctorParameters = function () { return []; };
|
|
2797
2791
|
BaseHtmlEditorComponent.propDecorators = {
|
|
@@ -2870,7 +2864,7 @@
|
|
|
2870
2864
|
Version:
|
|
2871
2865
|
1.0
|
|
2872
2866
|
|
|
2873
|
-
Copyright (c) 2016-
|
|
2867
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2874
2868
|
</file>
|
|
2875
2869
|
*/
|
|
2876
2870
|
var SignInButtonComponent = /** @class */ (function () {
|
|
@@ -2904,7 +2898,7 @@
|
|
|
2904
2898
|
Version:
|
|
2905
2899
|
1.0
|
|
2906
2900
|
|
|
2907
|
-
Copyright (c) 2016-
|
|
2901
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2908
2902
|
</file>
|
|
2909
2903
|
*/
|
|
2910
2904
|
var SignOutButtonComponent = /** @class */ (function () {
|
|
@@ -2938,7 +2932,7 @@
|
|
|
2938
2932
|
Version:
|
|
2939
2933
|
1.0
|
|
2940
2934
|
|
|
2941
|
-
Copyright (c) 2016-
|
|
2935
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2942
2936
|
</file>
|
|
2943
2937
|
*/
|
|
2944
2938
|
var SignUpButtonComponent = /** @class */ (function () {
|
|
@@ -2971,7 +2965,7 @@
|
|
|
2971
2965
|
Version:
|
|
2972
2966
|
1.0
|
|
2973
2967
|
|
|
2974
|
-
Copyright (c) 2016-
|
|
2968
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2975
2969
|
</file>
|
|
2976
2970
|
*/
|
|
2977
2971
|
var LoadingComponent = /** @class */ (function () {
|
|
@@ -3018,7 +3012,7 @@
|
|
|
3018
3012
|
Version:
|
|
3019
3013
|
1.0
|
|
3020
3014
|
|
|
3021
|
-
Copyright (c) 2016-
|
|
3015
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3022
3016
|
</file>
|
|
3023
3017
|
*/
|
|
3024
3018
|
var SpinnerSpinKit = {
|
|
@@ -3089,7 +3083,7 @@
|
|
|
3089
3083
|
Version:
|
|
3090
3084
|
1.0
|
|
3091
3085
|
|
|
3092
|
-
Copyright (c) 2016-
|
|
3086
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3093
3087
|
</file>
|
|
3094
3088
|
*/
|
|
3095
3089
|
var NativeElementDirective = /** @class */ (function () {
|
|
@@ -3128,7 +3122,7 @@
|
|
|
3128
3122
|
Version:
|
|
3129
3123
|
1.0
|
|
3130
3124
|
|
|
3131
|
-
Copyright (c) 2016-
|
|
3125
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3132
3126
|
</file>
|
|
3133
3127
|
*/
|
|
3134
3128
|
var ReplaceTextPipe = /** @class */ (function () {
|
|
@@ -3165,7 +3159,7 @@
|
|
|
3165
3159
|
Version:
|
|
3166
3160
|
1.0
|
|
3167
3161
|
|
|
3168
|
-
Copyright (c) 2016-
|
|
3162
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3169
3163
|
</file>
|
|
3170
3164
|
*/
|
|
3171
3165
|
var FileSizePipe = /** @class */ (function () {
|
|
@@ -3207,7 +3201,7 @@
|
|
|
3207
3201
|
Version:
|
|
3208
3202
|
1.0
|
|
3209
3203
|
|
|
3210
|
-
Copyright (c) 2016-
|
|
3204
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3211
3205
|
</file>
|
|
3212
3206
|
*/
|
|
3213
3207
|
var SafeHtmlPipe = /** @class */ (function () {
|
|
@@ -3255,22 +3249,22 @@
|
|
|
3255
3249
|
for (var errorName in state.errors) {
|
|
3256
3250
|
if (state.errors.hasOwnProperty(errorName)) {
|
|
3257
3251
|
switch (errorName) {
|
|
3258
|
-
case
|
|
3252
|
+
case "required":
|
|
3259
3253
|
messages.push(thing + " is required");
|
|
3260
3254
|
break;
|
|
3261
|
-
case
|
|
3255
|
+
case "minlength":
|
|
3262
3256
|
messages.push(thing + " must be at least " + state.errors["minlength"].requiredLength + " characters");
|
|
3263
3257
|
break;
|
|
3264
|
-
case
|
|
3258
|
+
case "pattern":
|
|
3265
3259
|
messages.push(thing + " contains illegal characters");
|
|
3266
3260
|
break;
|
|
3267
|
-
case
|
|
3261
|
+
case "format":
|
|
3268
3262
|
messages.push(thing + " format mismatch");
|
|
3269
3263
|
break;
|
|
3270
|
-
case
|
|
3264
|
+
case "maxlength":
|
|
3271
3265
|
messages.push(thing + " must have maximum " + state.errors["maxlength"].requiredLength + " characters");
|
|
3272
3266
|
break;
|
|
3273
|
-
case
|
|
3267
|
+
case "specialcharacters":
|
|
3274
3268
|
messages.push(thing + " contains special characters");
|
|
3275
3269
|
break;
|
|
3276
3270
|
}
|
|
@@ -3280,10 +3274,10 @@
|
|
|
3280
3274
|
return messages;
|
|
3281
3275
|
};
|
|
3282
3276
|
/**
|
|
3283
|
-
|
|
3284
|
-
|
|
3285
|
-
|
|
3286
|
-
|
|
3277
|
+
* Get Control Name
|
|
3278
|
+
* @param control
|
|
3279
|
+
* @param thingName
|
|
3280
|
+
*/
|
|
3287
3281
|
ValidationSummaryComponent.prototype.getControlName = function (control, thingName) {
|
|
3288
3282
|
var value = this.getControlTitle(control);
|
|
3289
3283
|
return value ? value : thingName;
|
|
@@ -3311,14 +3305,15 @@
|
|
|
3311
3305
|
// For Kendo time and date picker element title is assigned to the 4th child control.
|
|
3312
3306
|
case "KENDO-TIMEPICKER":
|
|
3313
3307
|
case "KENDO-DATEPICKER":
|
|
3314
|
-
title =
|
|
3308
|
+
title =
|
|
3309
|
+
(_d = (_c = (_b = (_a = nativeElement.children[0]) === null || _a === void 0 ? void 0 : _a.children[0]) === null || _b === void 0 ? void 0 : _b.children[0]) === null || _c === void 0 ? void 0 : _c.children[0]) === null || _d === void 0 ? void 0 : _d.getAttribute("title");
|
|
3315
3310
|
break;
|
|
3316
3311
|
// For Kendo numaric element title is assigned to the 2nd child control.
|
|
3317
3312
|
case "KENDO-NUMERICTEXTBOX":
|
|
3318
|
-
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute(
|
|
3313
|
+
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute("title");
|
|
3319
3314
|
break;
|
|
3320
3315
|
default:
|
|
3321
|
-
title = nativeElement.getAttribute(
|
|
3316
|
+
title = nativeElement.getAttribute("title");
|
|
3322
3317
|
break;
|
|
3323
3318
|
}
|
|
3324
3319
|
return title;
|
|
@@ -3326,7 +3321,9 @@
|
|
|
3326
3321
|
return ValidationSummaryComponent;
|
|
3327
3322
|
}(BaseEditComponent));
|
|
3328
3323
|
ValidationSummaryComponent.decorators = [
|
|
3329
|
-
{ type: i0.
|
|
3324
|
+
{ type: i0.Component, args: [{
|
|
3325
|
+
template: ""
|
|
3326
|
+
},] }
|
|
3330
3327
|
];
|
|
3331
3328
|
ValidationSummaryComponent.ctorParameters = function () { return []; };
|
|
3332
3329
|
|
|
@@ -3410,7 +3407,7 @@
|
|
|
3410
3407
|
Version:
|
|
3411
3408
|
1.0
|
|
3412
3409
|
|
|
3413
|
-
Copyright (c) 2016-
|
|
3410
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3414
3411
|
</file>
|
|
3415
3412
|
*/
|
|
3416
3413
|
var FroalaEditorModuleWithProviders = angularFroalaWysiwyg.FroalaEditorModule.forRoot();
|
|
@@ -3436,17 +3433,20 @@
|
|
|
3436
3433
|
SignInButtonComponent,
|
|
3437
3434
|
SignUpButtonComponent,
|
|
3438
3435
|
SignOutButtonComponent,
|
|
3439
|
-
FormValidationSummaryComponent,
|
|
3440
|
-
ItemValidationSummaryComponent,
|
|
3441
|
-
HtmlEditorComponent,
|
|
3442
|
-
FormsHtmlEditorComponent,
|
|
3443
3436
|
ContentHeaderComponent,
|
|
3444
3437
|
SpinnerComponent,
|
|
3445
3438
|
LoadingComponent,
|
|
3446
3439
|
NativeElementDirective,
|
|
3440
|
+
//Editor
|
|
3441
|
+
HtmlEditorComponent,
|
|
3442
|
+
FormsHtmlEditorComponent,
|
|
3443
|
+
//Validation
|
|
3444
|
+
FormValidationSummaryComponent,
|
|
3445
|
+
ItemValidationSummaryComponent,
|
|
3446
|
+
//Pipe
|
|
3447
3447
|
SafeHtmlPipe,
|
|
3448
3448
|
ReplaceTextPipe,
|
|
3449
|
-
FileSizePipe
|
|
3449
|
+
FileSizePipe,
|
|
3450
3450
|
],
|
|
3451
3451
|
declarations: [
|
|
3452
3452
|
SubscribePlanButtonComponent,
|
|
@@ -3455,19 +3455,21 @@
|
|
|
3455
3455
|
SignInButtonComponent,
|
|
3456
3456
|
SignUpButtonComponent,
|
|
3457
3457
|
SignOutButtonComponent,
|
|
3458
|
-
FormValidationSummaryComponent,
|
|
3459
|
-
ItemValidationSummaryComponent,
|
|
3460
|
-
HtmlEditorComponent,
|
|
3461
|
-
FormsHtmlEditorComponent,
|
|
3462
3458
|
ContentHeaderComponent,
|
|
3463
3459
|
SpinnerComponent,
|
|
3464
3460
|
LoadingComponent,
|
|
3465
3461
|
NativeElementDirective,
|
|
3462
|
+
//Editor
|
|
3463
|
+
HtmlEditorComponent,
|
|
3464
|
+
FormsHtmlEditorComponent,
|
|
3465
|
+
//Validation
|
|
3466
|
+
FormValidationSummaryComponent,
|
|
3467
|
+
ItemValidationSummaryComponent,
|
|
3468
|
+
//Pipe
|
|
3466
3469
|
SafeHtmlPipe,
|
|
3467
3470
|
ReplaceTextPipe,
|
|
3468
|
-
FileSizePipe
|
|
3469
|
-
]
|
|
3470
|
-
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA]
|
|
3471
|
+
FileSizePipe,
|
|
3472
|
+
]
|
|
3471
3473
|
},] }
|
|
3472
3474
|
];
|
|
3473
3475
|
|
|
@@ -3542,5 +3544,5 @@
|
|
|
3542
3544
|
|
|
3543
3545
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
3544
3546
|
|
|
3545
|
-
}))
|
|
3547
|
+
}));
|
|
3546
3548
|
//# sourceMappingURL=osovitny-anatoly.umd.js.map
|