@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
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as i0 from '@angular/core';
|
|
2
|
-
import { Injectable, Pipe, NgModule, APP_INITIALIZER, Injector, Inject, Optional, SkipSelf, Component, Input, ViewEncapsulation, Directive, ElementRef
|
|
2
|
+
import { Injectable, Pipe, NgModule, APP_INITIALIZER, Injector, Inject, Optional, SkipSelf, Component, Input, ViewEncapsulation, Directive, ElementRef } from '@angular/core';
|
|
3
3
|
import { ActivatedRoute, Router, NavigationEnd, NavigationStart, NavigationCancel, NavigationError } from '@angular/router';
|
|
4
4
|
import * as i1$3 from '@angular/common/http';
|
|
5
5
|
import { HttpResponse, HttpClient } from '@angular/common/http';
|
|
@@ -37,7 +37,7 @@ import { FroalaEditorModule, FroalaViewModule } from 'angular-froala-wysiwyg';
|
|
|
37
37
|
Version:
|
|
38
38
|
1.0
|
|
39
39
|
|
|
40
|
-
Copyright (c) 2016-
|
|
40
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
41
41
|
</file>
|
|
42
42
|
*/
|
|
43
43
|
const ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
@@ -80,7 +80,7 @@ const Urls = {
|
|
|
80
80
|
Version:
|
|
81
81
|
1.0
|
|
82
82
|
|
|
83
|
-
Copyright (c) 2016-
|
|
83
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
84
84
|
</file>
|
|
85
85
|
*/
|
|
86
86
|
class BaseGoService {
|
|
@@ -116,7 +116,7 @@ BaseGoService.ctorParameters = () => [
|
|
|
116
116
|
Version:
|
|
117
117
|
1.0
|
|
118
118
|
|
|
119
|
-
Copyright (c) 2016-
|
|
119
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
120
120
|
</file>
|
|
121
121
|
*/
|
|
122
122
|
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
@@ -140,7 +140,7 @@ function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
|
140
140
|
Version:
|
|
141
141
|
1.0
|
|
142
142
|
|
|
143
|
-
Copyright (c) 2016-
|
|
143
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
144
144
|
</file>
|
|
145
145
|
*/
|
|
146
146
|
class LoadingService extends BehaviorSubject {
|
|
@@ -205,7 +205,7 @@ LoadingService.ctorParameters = () => [];
|
|
|
205
205
|
Version:
|
|
206
206
|
1.0
|
|
207
207
|
|
|
208
|
-
Copyright (c) 2016-
|
|
208
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
209
209
|
</file>
|
|
210
210
|
*/
|
|
211
211
|
class LoggingService {
|
|
@@ -240,7 +240,7 @@ LoggingService.ctorParameters = () => [];
|
|
|
240
240
|
Version:
|
|
241
241
|
1.0
|
|
242
242
|
|
|
243
|
-
Copyright (c) 2016-
|
|
243
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
244
244
|
</file>
|
|
245
245
|
*/
|
|
246
246
|
class AnatolyHttpInterceptor {
|
|
@@ -340,7 +340,7 @@ AnatolyHttpInterceptor.ctorParameters = () => [
|
|
|
340
340
|
Version:
|
|
341
341
|
1.0
|
|
342
342
|
|
|
343
|
-
Copyright (c) 2016-
|
|
343
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
344
344
|
</file>
|
|
345
345
|
*/
|
|
346
346
|
class Convert {
|
|
@@ -367,7 +367,7 @@ class Convert {
|
|
|
367
367
|
Version:
|
|
368
368
|
1.0
|
|
369
369
|
|
|
370
|
-
Copyright (c) 2016-
|
|
370
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
371
371
|
</file>
|
|
372
372
|
*/
|
|
373
373
|
class LocalizationService {
|
|
@@ -542,7 +542,7 @@ LocalizationService.ctorParameters = () => [
|
|
|
542
542
|
Version:
|
|
543
543
|
1.0
|
|
544
544
|
|
|
545
|
-
Copyright (c) 2016-
|
|
545
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
546
546
|
</file>
|
|
547
547
|
*/
|
|
548
548
|
class LocalizePipe {
|
|
@@ -616,7 +616,7 @@ LocalizePipe.ctorParameters = () => [
|
|
|
616
616
|
Version:
|
|
617
617
|
1.0
|
|
618
618
|
|
|
619
|
-
Copyright (c) 2016-
|
|
619
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
620
620
|
</file>
|
|
621
621
|
*/
|
|
622
622
|
function customTranslateLoaderFactory(http) {
|
|
@@ -685,7 +685,7 @@ LocalizationSettingsModule.ctorParameters = () => [
|
|
|
685
685
|
Version:
|
|
686
686
|
1.0
|
|
687
687
|
|
|
688
|
-
Copyright (c) 2016-
|
|
688
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
689
689
|
</file>
|
|
690
690
|
*/
|
|
691
691
|
class LocalizationModule {
|
|
@@ -721,7 +721,7 @@ LocalizationModule.decorators = [
|
|
|
721
721
|
Version:
|
|
722
722
|
1.0
|
|
723
723
|
|
|
724
|
-
Copyright (c) 2016-
|
|
724
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
725
725
|
</file>
|
|
726
726
|
*/
|
|
727
727
|
class GlobalErrorHandler {
|
|
@@ -757,7 +757,7 @@ GlobalErrorHandler.ctorParameters = () => [
|
|
|
757
757
|
Version:
|
|
758
758
|
1.0
|
|
759
759
|
|
|
760
|
-
Copyright (c) 2016-
|
|
760
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
761
761
|
</file>
|
|
762
762
|
*/
|
|
763
763
|
class L10nUtils {
|
|
@@ -799,7 +799,7 @@ class L10nUtils {
|
|
|
799
799
|
Version:
|
|
800
800
|
1.0
|
|
801
801
|
|
|
802
|
-
Copyright (c) 2016-
|
|
802
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
803
803
|
</file>
|
|
804
804
|
*/
|
|
805
805
|
class Alerts {
|
|
@@ -906,7 +906,7 @@ class Alerts {
|
|
|
906
906
|
Version:
|
|
907
907
|
1.0
|
|
908
908
|
|
|
909
|
-
Copyright (c) 2016-
|
|
909
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
910
910
|
</file>
|
|
911
911
|
*/
|
|
912
912
|
|
|
@@ -925,7 +925,7 @@ class Alerts {
|
|
|
925
925
|
Version:
|
|
926
926
|
1.0
|
|
927
927
|
|
|
928
|
-
Copyright (c) 2016-
|
|
928
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
929
929
|
</file>
|
|
930
930
|
*/
|
|
931
931
|
class Guid {
|
|
@@ -949,7 +949,7 @@ class Guid {
|
|
|
949
949
|
Version:
|
|
950
950
|
1.0
|
|
951
951
|
|
|
952
|
-
Copyright (c) 2016-
|
|
952
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
953
953
|
</file>
|
|
954
954
|
*/
|
|
955
955
|
// SignalR
|
|
@@ -1169,7 +1169,7 @@ NotificationService.ctorParameters = () => [
|
|
|
1169
1169
|
Version:
|
|
1170
1170
|
1.0
|
|
1171
1171
|
|
|
1172
|
-
Copyright (c) 2016-
|
|
1172
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1173
1173
|
</file>
|
|
1174
1174
|
*/
|
|
1175
1175
|
class BaseApiService {
|
|
@@ -1252,7 +1252,7 @@ BaseApiService.ctorParameters = () => [
|
|
|
1252
1252
|
Version:
|
|
1253
1253
|
1.0
|
|
1254
1254
|
|
|
1255
|
-
Copyright (c) 2016-
|
|
1255
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1256
1256
|
</file>
|
|
1257
1257
|
*/
|
|
1258
1258
|
class AppContextService extends BaseApiService {
|
|
@@ -1320,7 +1320,7 @@ AppContextService.ctorParameters = () => [
|
|
|
1320
1320
|
Version:
|
|
1321
1321
|
1.0
|
|
1322
1322
|
|
|
1323
|
-
Copyright (c) 2016-
|
|
1323
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1324
1324
|
</file>
|
|
1325
1325
|
*/
|
|
1326
1326
|
class IdleService {
|
|
@@ -1389,7 +1389,7 @@ IdleService.decorators = [
|
|
|
1389
1389
|
Version:
|
|
1390
1390
|
1.0
|
|
1391
1391
|
|
|
1392
|
-
Copyright (c) 2016-
|
|
1392
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1393
1393
|
</file>
|
|
1394
1394
|
*/
|
|
1395
1395
|
class WebStorageService {
|
|
@@ -1453,7 +1453,7 @@ SessionStorageService.ctorParameters = () => [];
|
|
|
1453
1453
|
Version:
|
|
1454
1454
|
1.0
|
|
1455
1455
|
|
|
1456
|
-
Copyright (c) 2016-
|
|
1456
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1457
1457
|
</file>
|
|
1458
1458
|
*/
|
|
1459
1459
|
class DigitalMarketingService {
|
|
@@ -1520,7 +1520,7 @@ DigitalMarketingService.ctorParameters = () => [
|
|
|
1520
1520
|
Version:
|
|
1521
1521
|
1.0
|
|
1522
1522
|
|
|
1523
|
-
Copyright (c) 2016-
|
|
1523
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1524
1524
|
</file>
|
|
1525
1525
|
*/
|
|
1526
1526
|
class GoogleAnalyticsService {
|
|
@@ -1599,7 +1599,7 @@ AnatolyCoreModule.ctorParameters = () => [
|
|
|
1599
1599
|
Version:
|
|
1600
1600
|
1.0
|
|
1601
1601
|
|
|
1602
|
-
Copyright (c) 2016-
|
|
1602
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1603
1603
|
</file>
|
|
1604
1604
|
*/
|
|
1605
1605
|
class Subs {
|
|
@@ -1633,7 +1633,7 @@ class Subs {
|
|
|
1633
1633
|
Version:
|
|
1634
1634
|
1.0
|
|
1635
1635
|
|
|
1636
|
-
Copyright (c) 2016-
|
|
1636
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1637
1637
|
</file>
|
|
1638
1638
|
*/
|
|
1639
1639
|
class Utils {
|
|
@@ -1692,7 +1692,7 @@ class Utils {
|
|
|
1692
1692
|
Version:
|
|
1693
1693
|
1.0
|
|
1694
1694
|
|
|
1695
|
-
Copyright (c) 2016-
|
|
1695
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1696
1696
|
</file>
|
|
1697
1697
|
*/
|
|
1698
1698
|
class BaseGridReadService extends BehaviorSubject {
|
|
@@ -1748,7 +1748,7 @@ BaseGridReadService.ctorParameters = () => [
|
|
|
1748
1748
|
Version:
|
|
1749
1749
|
1.0
|
|
1750
1750
|
|
|
1751
|
-
Copyright (c) 2016-
|
|
1751
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1752
1752
|
</file>
|
|
1753
1753
|
*/
|
|
1754
1754
|
class BaseGridEditService extends BaseGridReadService {
|
|
@@ -1819,7 +1819,7 @@ BaseGridEditService.ctorParameters = () => [
|
|
|
1819
1819
|
Version:
|
|
1820
1820
|
1.0
|
|
1821
1821
|
|
|
1822
|
-
Copyright (c) 2016-
|
|
1822
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1823
1823
|
</file>
|
|
1824
1824
|
*/
|
|
1825
1825
|
const consts = {
|
|
@@ -1843,7 +1843,7 @@ const consts = {
|
|
|
1843
1843
|
Version:
|
|
1844
1844
|
1.0
|
|
1845
1845
|
|
|
1846
|
-
Copyright (c) 2016-
|
|
1846
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1847
1847
|
</file>
|
|
1848
1848
|
*/
|
|
1849
1849
|
class NotificationsApiService extends BaseApiService {
|
|
@@ -1881,7 +1881,7 @@ NotificationsApiService.ctorParameters = () => [
|
|
|
1881
1881
|
Version:
|
|
1882
1882
|
1.0
|
|
1883
1883
|
|
|
1884
|
-
Copyright (c) 2016-
|
|
1884
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1885
1885
|
</file>
|
|
1886
1886
|
*/
|
|
1887
1887
|
class BillingApiService extends BaseApiService {
|
|
@@ -1940,7 +1940,7 @@ BillingApiService.ctorParameters = () => [
|
|
|
1940
1940
|
Version:
|
|
1941
1941
|
1.0
|
|
1942
1942
|
|
|
1943
|
-
Copyright (c) 2016-
|
|
1943
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1944
1944
|
</file>
|
|
1945
1945
|
*/
|
|
1946
1946
|
class AnatolyDataModule {
|
|
@@ -1977,7 +1977,7 @@ AnatolyDataModule.ctorParameters = () => [
|
|
|
1977
1977
|
Version:
|
|
1978
1978
|
1.0
|
|
1979
1979
|
|
|
1980
|
-
Copyright (c) 2016-
|
|
1980
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1981
1981
|
</file>
|
|
1982
1982
|
*/
|
|
1983
1983
|
class BuyAccessButtonComponent {
|
|
@@ -2045,7 +2045,7 @@ BuyAccessButtonComponent.propDecorators = {
|
|
|
2045
2045
|
Version:
|
|
2046
2046
|
1.0
|
|
2047
2047
|
|
|
2048
|
-
Copyright (c) 2016-
|
|
2048
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2049
2049
|
</file>
|
|
2050
2050
|
*/
|
|
2051
2051
|
class SubscribePlanButtonComponent {
|
|
@@ -2104,7 +2104,7 @@ SubscribePlanButtonComponent.propDecorators = {
|
|
|
2104
2104
|
Version:
|
|
2105
2105
|
1.0
|
|
2106
2106
|
|
|
2107
|
-
Copyright (c) 2016-
|
|
2107
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2108
2108
|
</file>
|
|
2109
2109
|
*/
|
|
2110
2110
|
// Services
|
|
@@ -2154,7 +2154,7 @@ UpgradePlanButtonComponent.propDecorators = {
|
|
|
2154
2154
|
Version:
|
|
2155
2155
|
1.0
|
|
2156
2156
|
|
|
2157
|
-
Copyright (c) 2016-
|
|
2157
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2158
2158
|
</file>
|
|
2159
2159
|
*/
|
|
2160
2160
|
class ContentHeaderComponent {
|
|
@@ -2189,7 +2189,7 @@ ContentHeaderComponent.propDecorators = {
|
|
|
2189
2189
|
Version:
|
|
2190
2190
|
1.0
|
|
2191
2191
|
|
|
2192
|
-
Copyright (c) 2016-
|
|
2192
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2193
2193
|
</file>
|
|
2194
2194
|
*/
|
|
2195
2195
|
const DefaultEditorOptions = {
|
|
@@ -2278,7 +2278,7 @@ const DefaultEditorOptions = {
|
|
|
2278
2278
|
Version:
|
|
2279
2279
|
1.0
|
|
2280
2280
|
|
|
2281
|
-
Copyright (c) 2016-
|
|
2281
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2282
2282
|
</file>
|
|
2283
2283
|
*/
|
|
2284
2284
|
class BaseComponent {
|
|
@@ -2316,7 +2316,7 @@ BaseComponent.decorators = [
|
|
|
2316
2316
|
Version:
|
|
2317
2317
|
1.0
|
|
2318
2318
|
|
|
2319
|
-
Copyright (c) 2016-
|
|
2319
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2320
2320
|
</file>
|
|
2321
2321
|
*/
|
|
2322
2322
|
class BaseEditComponent extends BaseComponent {
|
|
@@ -2452,7 +2452,7 @@ BaseEditComponent.propDecorators = {
|
|
|
2452
2452
|
Version:
|
|
2453
2453
|
1.0
|
|
2454
2454
|
|
|
2455
|
-
Copyright (c) 2016-
|
|
2455
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2456
2456
|
</file>
|
|
2457
2457
|
*/
|
|
2458
2458
|
class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
@@ -2529,7 +2529,9 @@ class BaseHtmlEditorComponent extends BaseEditComponent {
|
|
|
2529
2529
|
}
|
|
2530
2530
|
}
|
|
2531
2531
|
BaseHtmlEditorComponent.decorators = [
|
|
2532
|
-
{ type:
|
|
2532
|
+
{ type: Component, args: [{
|
|
2533
|
+
template: ""
|
|
2534
|
+
},] }
|
|
2533
2535
|
];
|
|
2534
2536
|
BaseHtmlEditorComponent.ctorParameters = () => [];
|
|
2535
2537
|
BaseHtmlEditorComponent.propDecorators = {
|
|
@@ -2552,7 +2554,7 @@ BaseHtmlEditorComponent.propDecorators = {
|
|
|
2552
2554
|
Version:
|
|
2553
2555
|
1.0
|
|
2554
2556
|
|
|
2555
|
-
Copyright (c) 2016-
|
|
2557
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2556
2558
|
</file>
|
|
2557
2559
|
*/
|
|
2558
2560
|
class FormsHtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2592,7 +2594,7 @@ FormsHtmlEditorComponent.propDecorators = {
|
|
|
2592
2594
|
Version:
|
|
2593
2595
|
1.0
|
|
2594
2596
|
|
|
2595
|
-
Copyright (c) 2016-
|
|
2597
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2596
2598
|
</file>
|
|
2597
2599
|
*/
|
|
2598
2600
|
class HtmlEditorComponent extends BaseHtmlEditorComponent {
|
|
@@ -2639,7 +2641,7 @@ HtmlEditorComponent.ctorParameters = () => [];
|
|
|
2639
2641
|
Version:
|
|
2640
2642
|
1.0
|
|
2641
2643
|
|
|
2642
|
-
Copyright (c) 2016-
|
|
2644
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2643
2645
|
</file>
|
|
2644
2646
|
*/
|
|
2645
2647
|
class SignInButtonComponent {
|
|
@@ -2671,7 +2673,7 @@ SignInButtonComponent.propDecorators = {
|
|
|
2671
2673
|
Version:
|
|
2672
2674
|
1.0
|
|
2673
2675
|
|
|
2674
|
-
Copyright (c) 2016-
|
|
2676
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2675
2677
|
</file>
|
|
2676
2678
|
*/
|
|
2677
2679
|
class SignOutButtonComponent {
|
|
@@ -2703,7 +2705,7 @@ SignOutButtonComponent.propDecorators = {
|
|
|
2703
2705
|
Version:
|
|
2704
2706
|
1.0
|
|
2705
2707
|
|
|
2706
|
-
Copyright (c) 2016-
|
|
2708
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2707
2709
|
</file>
|
|
2708
2710
|
*/
|
|
2709
2711
|
class SignUpButtonComponent {
|
|
@@ -2733,7 +2735,7 @@ SignUpButtonComponent.propDecorators = {
|
|
|
2733
2735
|
Version:
|
|
2734
2736
|
1.0
|
|
2735
2737
|
|
|
2736
|
-
Copyright (c) 2016-
|
|
2738
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2737
2739
|
</file>
|
|
2738
2740
|
*/
|
|
2739
2741
|
class LoadingComponent {
|
|
@@ -2778,7 +2780,7 @@ LoadingComponent.ctorParameters = () => [
|
|
|
2778
2780
|
Version:
|
|
2779
2781
|
1.0
|
|
2780
2782
|
|
|
2781
|
-
Copyright (c) 2016-
|
|
2783
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2782
2784
|
</file>
|
|
2783
2785
|
*/
|
|
2784
2786
|
const SpinnerSpinKit = {
|
|
@@ -2847,7 +2849,7 @@ SpinnerComponent.propDecorators = {
|
|
|
2847
2849
|
Version:
|
|
2848
2850
|
1.0
|
|
2849
2851
|
|
|
2850
|
-
Copyright (c) 2016-
|
|
2852
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2851
2853
|
</file>
|
|
2852
2854
|
*/
|
|
2853
2855
|
class NativeElementDirective {
|
|
@@ -2885,7 +2887,7 @@ NativeElementDirective.ctorParameters = () => [
|
|
|
2885
2887
|
Version:
|
|
2886
2888
|
1.0
|
|
2887
2889
|
|
|
2888
|
-
Copyright (c) 2016-
|
|
2890
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2889
2891
|
</file>
|
|
2890
2892
|
*/
|
|
2891
2893
|
class ReplaceTextPipe {
|
|
@@ -2919,7 +2921,7 @@ ReplaceTextPipe.decorators = [
|
|
|
2919
2921
|
Version:
|
|
2920
2922
|
1.0
|
|
2921
2923
|
|
|
2922
|
-
Copyright (c) 2016-
|
|
2924
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2923
2925
|
</file>
|
|
2924
2926
|
*/
|
|
2925
2927
|
class FileSizePipe {
|
|
@@ -2958,7 +2960,7 @@ FileSizePipe.decorators = [
|
|
|
2958
2960
|
Version:
|
|
2959
2961
|
1.0
|
|
2960
2962
|
|
|
2961
|
-
Copyright (c) 2016-
|
|
2963
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2962
2964
|
</file>
|
|
2963
2965
|
*/
|
|
2964
2966
|
class SafeHtmlPipe {
|
|
@@ -2991,7 +2993,7 @@ SafeHtmlPipe.ctorParameters = () => [
|
|
|
2991
2993
|
Version:
|
|
2992
2994
|
1.0
|
|
2993
2995
|
|
|
2994
|
-
Copyright (c) 2016-
|
|
2996
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2995
2997
|
</file>
|
|
2996
2998
|
*/
|
|
2997
2999
|
class ValidationSummaryComponent extends BaseEditComponent {
|
|
@@ -3000,16 +3002,16 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
3000
3002
|
}
|
|
3001
3003
|
getFormValidationMessages() {
|
|
3002
3004
|
let messages = [];
|
|
3003
|
-
Object.keys(this.formGroup.controls).forEach(k => {
|
|
3005
|
+
Object.keys(this.formGroup.controls).forEach((k) => {
|
|
3004
3006
|
var control = this.formGroup.controls[k];
|
|
3005
3007
|
if (control.controls != null) {
|
|
3006
|
-
Object.keys(control.controls).forEach(k => {
|
|
3008
|
+
Object.keys(control.controls).forEach((k) => {
|
|
3007
3009
|
var child = control.controls[k];
|
|
3008
|
-
this.getValidationMessages(child, this.getControlName(child, k)).forEach(m => messages.push(m));
|
|
3010
|
+
this.getValidationMessages(child, this.getControlName(child, k)).forEach((m) => messages.push(m));
|
|
3009
3011
|
});
|
|
3010
3012
|
}
|
|
3011
3013
|
else {
|
|
3012
|
-
this.getValidationMessages(control, this.getControlName(control, k)).forEach(m => messages.push(m));
|
|
3014
|
+
this.getValidationMessages(control, this.getControlName(control, k)).forEach((m) => messages.push(m));
|
|
3013
3015
|
}
|
|
3014
3016
|
});
|
|
3015
3017
|
return messages;
|
|
@@ -3021,22 +3023,22 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
3021
3023
|
for (let errorName in state.errors) {
|
|
3022
3024
|
if (state.errors.hasOwnProperty(errorName)) {
|
|
3023
3025
|
switch (errorName) {
|
|
3024
|
-
case
|
|
3026
|
+
case "required":
|
|
3025
3027
|
messages.push(`${thing} is required`);
|
|
3026
3028
|
break;
|
|
3027
|
-
case
|
|
3029
|
+
case "minlength":
|
|
3028
3030
|
messages.push(`${thing} must be at least ${state.errors["minlength"].requiredLength} characters`);
|
|
3029
3031
|
break;
|
|
3030
|
-
case
|
|
3032
|
+
case "pattern":
|
|
3031
3033
|
messages.push(`${thing} contains illegal characters`);
|
|
3032
3034
|
break;
|
|
3033
|
-
case
|
|
3035
|
+
case "format":
|
|
3034
3036
|
messages.push(`${thing} format mismatch`);
|
|
3035
3037
|
break;
|
|
3036
|
-
case
|
|
3038
|
+
case "maxlength":
|
|
3037
3039
|
messages.push(`${thing} must have maximum ${state.errors["maxlength"].requiredLength} characters`);
|
|
3038
3040
|
break;
|
|
3039
|
-
case
|
|
3041
|
+
case "specialcharacters":
|
|
3040
3042
|
messages.push(`${thing} contains special characters`);
|
|
3041
3043
|
break;
|
|
3042
3044
|
}
|
|
@@ -3046,10 +3048,10 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
3046
3048
|
return messages;
|
|
3047
3049
|
}
|
|
3048
3050
|
/**
|
|
3049
|
-
|
|
3050
|
-
|
|
3051
|
-
|
|
3052
|
-
|
|
3051
|
+
* Get Control Name
|
|
3052
|
+
* @param control
|
|
3053
|
+
* @param thingName
|
|
3054
|
+
*/
|
|
3053
3055
|
getControlName(control, thingName) {
|
|
3054
3056
|
let value = this.getControlTitle(control);
|
|
3055
3057
|
return value ? value : thingName;
|
|
@@ -3077,21 +3079,24 @@ class ValidationSummaryComponent extends BaseEditComponent {
|
|
|
3077
3079
|
// For Kendo time and date picker element title is assigned to the 4th child control.
|
|
3078
3080
|
case "KENDO-TIMEPICKER":
|
|
3079
3081
|
case "KENDO-DATEPICKER":
|
|
3080
|
-
title =
|
|
3082
|
+
title =
|
|
3083
|
+
(_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");
|
|
3081
3084
|
break;
|
|
3082
3085
|
// For Kendo numaric element title is assigned to the 2nd child control.
|
|
3083
3086
|
case "KENDO-NUMERICTEXTBOX":
|
|
3084
|
-
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute(
|
|
3087
|
+
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute("title");
|
|
3085
3088
|
break;
|
|
3086
3089
|
default:
|
|
3087
|
-
title = nativeElement.getAttribute(
|
|
3090
|
+
title = nativeElement.getAttribute("title");
|
|
3088
3091
|
break;
|
|
3089
3092
|
}
|
|
3090
3093
|
return title;
|
|
3091
3094
|
}
|
|
3092
3095
|
}
|
|
3093
3096
|
ValidationSummaryComponent.decorators = [
|
|
3094
|
-
{ type:
|
|
3097
|
+
{ type: Component, args: [{
|
|
3098
|
+
template: ""
|
|
3099
|
+
},] }
|
|
3095
3100
|
];
|
|
3096
3101
|
ValidationSummaryComponent.ctorParameters = () => [];
|
|
3097
3102
|
|
|
@@ -3110,7 +3115,7 @@ ValidationSummaryComponent.ctorParameters = () => [];
|
|
|
3110
3115
|
Version:
|
|
3111
3116
|
1.0
|
|
3112
3117
|
|
|
3113
|
-
Copyright (c) 2016-
|
|
3118
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3114
3119
|
</file>
|
|
3115
3120
|
*/
|
|
3116
3121
|
class FormValidationSummaryComponent extends ValidationSummaryComponent {
|
|
@@ -3171,7 +3176,7 @@ FormValidationSummaryComponent.propDecorators = {
|
|
|
3171
3176
|
Version:
|
|
3172
3177
|
1.0
|
|
3173
3178
|
|
|
3174
|
-
Copyright (c) 2016-
|
|
3179
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3175
3180
|
</file>
|
|
3176
3181
|
*/
|
|
3177
3182
|
class ItemValidationSummaryComponent extends ValidationSummaryComponent {
|
|
@@ -3206,7 +3211,7 @@ ItemValidationSummaryComponent.propDecorators = {
|
|
|
3206
3211
|
Version:
|
|
3207
3212
|
1.0
|
|
3208
3213
|
|
|
3209
|
-
Copyright (c) 2016-
|
|
3214
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3210
3215
|
</file>
|
|
3211
3216
|
*/
|
|
3212
3217
|
const FroalaEditorModuleWithProviders = FroalaEditorModule.forRoot();
|
|
@@ -3229,17 +3234,20 @@ AnatolyUIModule.decorators = [
|
|
|
3229
3234
|
SignInButtonComponent,
|
|
3230
3235
|
SignUpButtonComponent,
|
|
3231
3236
|
SignOutButtonComponent,
|
|
3232
|
-
FormValidationSummaryComponent,
|
|
3233
|
-
ItemValidationSummaryComponent,
|
|
3234
|
-
HtmlEditorComponent,
|
|
3235
|
-
FormsHtmlEditorComponent,
|
|
3236
3237
|
ContentHeaderComponent,
|
|
3237
3238
|
SpinnerComponent,
|
|
3238
3239
|
LoadingComponent,
|
|
3239
3240
|
NativeElementDirective,
|
|
3241
|
+
//Editor
|
|
3242
|
+
HtmlEditorComponent,
|
|
3243
|
+
FormsHtmlEditorComponent,
|
|
3244
|
+
//Validation
|
|
3245
|
+
FormValidationSummaryComponent,
|
|
3246
|
+
ItemValidationSummaryComponent,
|
|
3247
|
+
//Pipe
|
|
3240
3248
|
SafeHtmlPipe,
|
|
3241
3249
|
ReplaceTextPipe,
|
|
3242
|
-
FileSizePipe
|
|
3250
|
+
FileSizePipe,
|
|
3243
3251
|
],
|
|
3244
3252
|
declarations: [
|
|
3245
3253
|
SubscribePlanButtonComponent,
|
|
@@ -3248,19 +3256,21 @@ AnatolyUIModule.decorators = [
|
|
|
3248
3256
|
SignInButtonComponent,
|
|
3249
3257
|
SignUpButtonComponent,
|
|
3250
3258
|
SignOutButtonComponent,
|
|
3251
|
-
FormValidationSummaryComponent,
|
|
3252
|
-
ItemValidationSummaryComponent,
|
|
3253
|
-
HtmlEditorComponent,
|
|
3254
|
-
FormsHtmlEditorComponent,
|
|
3255
3259
|
ContentHeaderComponent,
|
|
3256
3260
|
SpinnerComponent,
|
|
3257
3261
|
LoadingComponent,
|
|
3258
3262
|
NativeElementDirective,
|
|
3263
|
+
//Editor
|
|
3264
|
+
HtmlEditorComponent,
|
|
3265
|
+
FormsHtmlEditorComponent,
|
|
3266
|
+
//Validation
|
|
3267
|
+
FormValidationSummaryComponent,
|
|
3268
|
+
ItemValidationSummaryComponent,
|
|
3269
|
+
//Pipe
|
|
3259
3270
|
SafeHtmlPipe,
|
|
3260
3271
|
ReplaceTextPipe,
|
|
3261
|
-
FileSizePipe
|
|
3262
|
-
]
|
|
3263
|
-
schemas: [CUSTOM_ELEMENTS_SCHEMA]
|
|
3272
|
+
FileSizePipe,
|
|
3273
|
+
]
|
|
3264
3274
|
},] }
|
|
3265
3275
|
];
|
|
3266
3276
|
|