@osovitny/anatoly 2.0.49 → 2.0.52
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 +97 -83
- 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 +23 -21
- package/esm2015/lib/ui/components/base.component.js +8 -6
- 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 +119 -105
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/ui/components/base-edit.component.d.ts +4 -4
- package/lib/ui/components/base.component.d.ts +2 -2
- 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 +1 -1
- package/assets/styles/alerts.less +0 -182
- package/assets/styles/spinner.less +0 -64
- package/assets/styles/toastr.less +0 -192
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
Version:
|
|
51
51
|
1.0
|
|
52
52
|
|
|
53
|
-
Copyright (c) 2016-
|
|
53
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
54
54
|
</file>
|
|
55
55
|
*/
|
|
56
56
|
var ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
@@ -93,7 +93,7 @@
|
|
|
93
93
|
Version:
|
|
94
94
|
1.0
|
|
95
95
|
|
|
96
|
-
Copyright (c) 2016-
|
|
96
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
97
97
|
</file>
|
|
98
98
|
*/
|
|
99
99
|
var BaseGoService = /** @class */ (function () {
|
|
@@ -130,7 +130,7 @@
|
|
|
130
130
|
Version:
|
|
131
131
|
1.0
|
|
132
132
|
|
|
133
|
-
Copyright (c) 2016-
|
|
133
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
134
134
|
</file>
|
|
135
135
|
*/
|
|
136
136
|
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
@@ -524,7 +524,7 @@
|
|
|
524
524
|
Version:
|
|
525
525
|
1.0
|
|
526
526
|
|
|
527
|
-
Copyright (c) 2016-
|
|
527
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
528
528
|
</file>
|
|
529
529
|
*/
|
|
530
530
|
var LoggingService = /** @class */ (function () {
|
|
@@ -676,7 +676,7 @@
|
|
|
676
676
|
Version:
|
|
677
677
|
1.0
|
|
678
678
|
|
|
679
|
-
Copyright (c) 2016-
|
|
679
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
680
680
|
</file>
|
|
681
681
|
*/
|
|
682
682
|
var Convert = /** @class */ (function () {
|
|
@@ -706,7 +706,7 @@
|
|
|
706
706
|
Version:
|
|
707
707
|
1.0
|
|
708
708
|
|
|
709
|
-
Copyright (c) 2016-
|
|
709
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
710
710
|
</file>
|
|
711
711
|
*/
|
|
712
712
|
var LocalizationService = /** @class */ (function () {
|
|
@@ -882,7 +882,7 @@
|
|
|
882
882
|
Version:
|
|
883
883
|
1.0
|
|
884
884
|
|
|
885
|
-
Copyright (c) 2016-
|
|
885
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
886
886
|
</file>
|
|
887
887
|
*/
|
|
888
888
|
var LocalizePipe = /** @class */ (function () {
|
|
@@ -957,7 +957,7 @@
|
|
|
957
957
|
Version:
|
|
958
958
|
1.0
|
|
959
959
|
|
|
960
|
-
Copyright (c) 2016-
|
|
960
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
961
961
|
</file>
|
|
962
962
|
*/
|
|
963
963
|
function customTranslateLoaderFactory(http) {
|
|
@@ -1027,7 +1027,7 @@
|
|
|
1027
1027
|
Version:
|
|
1028
1028
|
1.0
|
|
1029
1029
|
|
|
1030
|
-
Copyright (c) 2016-
|
|
1030
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1031
1031
|
</file>
|
|
1032
1032
|
*/
|
|
1033
1033
|
var LocalizationModule = /** @class */ (function () {
|
|
@@ -1066,7 +1066,7 @@
|
|
|
1066
1066
|
Version:
|
|
1067
1067
|
1.0
|
|
1068
1068
|
|
|
1069
|
-
Copyright (c) 2016-
|
|
1069
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1070
1070
|
</file>
|
|
1071
1071
|
*/
|
|
1072
1072
|
var GlobalErrorHandler = /** @class */ (function () {
|
|
@@ -1103,7 +1103,7 @@
|
|
|
1103
1103
|
Version:
|
|
1104
1104
|
1.0
|
|
1105
1105
|
|
|
1106
|
-
Copyright (c) 2016-
|
|
1106
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1107
1107
|
</file>
|
|
1108
1108
|
*/
|
|
1109
1109
|
var L10nUtils = /** @class */ (function () {
|
|
@@ -1152,7 +1152,7 @@
|
|
|
1152
1152
|
Version:
|
|
1153
1153
|
1.0
|
|
1154
1154
|
|
|
1155
|
-
Copyright (c) 2016-
|
|
1155
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1156
1156
|
</file>
|
|
1157
1157
|
*/
|
|
1158
1158
|
var Alerts = /** @class */ (function () {
|
|
@@ -1262,7 +1262,7 @@
|
|
|
1262
1262
|
Version:
|
|
1263
1263
|
1.0
|
|
1264
1264
|
|
|
1265
|
-
Copyright (c) 2016-
|
|
1265
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1266
1266
|
</file>
|
|
1267
1267
|
*/
|
|
1268
1268
|
var Guid = /** @class */ (function () {
|
|
@@ -1501,7 +1501,7 @@
|
|
|
1501
1501
|
Version:
|
|
1502
1502
|
1.0
|
|
1503
1503
|
|
|
1504
|
-
Copyright (c) 2016-
|
|
1504
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1505
1505
|
</file>
|
|
1506
1506
|
*/
|
|
1507
1507
|
var BaseApiService = /** @class */ (function () {
|
|
@@ -1639,7 +1639,7 @@
|
|
|
1639
1639
|
Version:
|
|
1640
1640
|
1.0
|
|
1641
1641
|
|
|
1642
|
-
Copyright (c) 2016-
|
|
1642
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1643
1643
|
</file>
|
|
1644
1644
|
*/
|
|
1645
1645
|
var IdleService = /** @class */ (function () {
|
|
@@ -1762,7 +1762,7 @@
|
|
|
1762
1762
|
Version:
|
|
1763
1763
|
1.0
|
|
1764
1764
|
|
|
1765
|
-
Copyright (c) 2016-
|
|
1765
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1766
1766
|
</file>
|
|
1767
1767
|
*/
|
|
1768
1768
|
var DigitalMarketingService = /** @class */ (function () {
|
|
@@ -1831,7 +1831,7 @@
|
|
|
1831
1831
|
Version:
|
|
1832
1832
|
1.0
|
|
1833
1833
|
|
|
1834
|
-
Copyright (c) 2016-
|
|
1834
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1835
1835
|
</file>
|
|
1836
1836
|
*/
|
|
1837
1837
|
var GoogleAnalyticsService = /** @class */ (function () {
|
|
@@ -1912,7 +1912,7 @@
|
|
|
1912
1912
|
Version:
|
|
1913
1913
|
1.0
|
|
1914
1914
|
|
|
1915
|
-
Copyright (c) 2016-
|
|
1915
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1916
1916
|
</file>
|
|
1917
1917
|
*/
|
|
1918
1918
|
var Subs = /** @class */ (function () {
|
|
@@ -1955,7 +1955,7 @@
|
|
|
1955
1955
|
Version:
|
|
1956
1956
|
1.0
|
|
1957
1957
|
|
|
1958
|
-
Copyright (c) 2016-
|
|
1958
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
1959
1959
|
</file>
|
|
1960
1960
|
*/
|
|
1961
1961
|
var Utils = /** @class */ (function () {
|
|
@@ -2117,7 +2117,7 @@
|
|
|
2117
2117
|
Version:
|
|
2118
2118
|
1.0
|
|
2119
2119
|
|
|
2120
|
-
Copyright (c) 2016-
|
|
2120
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2121
2121
|
</file>
|
|
2122
2122
|
*/
|
|
2123
2123
|
var consts = {
|
|
@@ -2208,7 +2208,7 @@
|
|
|
2208
2208
|
Version:
|
|
2209
2209
|
1.0
|
|
2210
2210
|
|
|
2211
|
-
Copyright (c) 2016-
|
|
2211
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2212
2212
|
</file>
|
|
2213
2213
|
*/
|
|
2214
2214
|
var AnatolyDataModule = /** @class */ (function () {
|
|
@@ -2246,7 +2246,7 @@
|
|
|
2246
2246
|
Version:
|
|
2247
2247
|
1.0
|
|
2248
2248
|
|
|
2249
|
-
Copyright (c) 2016-
|
|
2249
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2250
2250
|
</file>
|
|
2251
2251
|
*/
|
|
2252
2252
|
var BuyAccessButtonComponent = /** @class */ (function () {
|
|
@@ -2316,7 +2316,7 @@
|
|
|
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
|
var SubscribePlanButtonComponent = /** @class */ (function () {
|
|
@@ -2377,7 +2377,7 @@
|
|
|
2377
2377
|
Version:
|
|
2378
2378
|
1.0
|
|
2379
2379
|
|
|
2380
|
-
Copyright (c) 2016-
|
|
2380
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2381
2381
|
</file>
|
|
2382
2382
|
*/
|
|
2383
2383
|
// Services
|
|
@@ -2428,7 +2428,7 @@
|
|
|
2428
2428
|
Version:
|
|
2429
2429
|
1.0
|
|
2430
2430
|
|
|
2431
|
-
Copyright (c) 2016-
|
|
2431
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2432
2432
|
</file>
|
|
2433
2433
|
*/
|
|
2434
2434
|
var ContentHeaderComponent = /** @class */ (function () {
|
|
@@ -2466,7 +2466,7 @@
|
|
|
2466
2466
|
Version:
|
|
2467
2467
|
1.0
|
|
2468
2468
|
|
|
2469
|
-
Copyright (c) 2016-
|
|
2469
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2470
2470
|
</file>
|
|
2471
2471
|
*/
|
|
2472
2472
|
var DefaultEditorOptions = {
|
|
@@ -2555,7 +2555,7 @@
|
|
|
2555
2555
|
Version:
|
|
2556
2556
|
1.0
|
|
2557
2557
|
|
|
2558
|
-
Copyright (c) 2016-
|
|
2558
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2559
2559
|
</file>
|
|
2560
2560
|
*/
|
|
2561
2561
|
var BaseComponent = /** @class */ (function () {
|
|
@@ -2564,7 +2564,7 @@
|
|
|
2564
2564
|
}
|
|
2565
2565
|
BaseComponent.prototype.getQSId = function () {
|
|
2566
2566
|
var id = Utils.getValueByNameInQS("id");
|
|
2567
|
-
if (typeof id ===
|
|
2567
|
+
if (typeof id === "undefined" || id == "")
|
|
2568
2568
|
return null;
|
|
2569
2569
|
return id;
|
|
2570
2570
|
};
|
|
@@ -2574,7 +2574,9 @@
|
|
|
2574
2574
|
return BaseComponent;
|
|
2575
2575
|
}());
|
|
2576
2576
|
BaseComponent.decorators = [
|
|
2577
|
-
{ type: i0.
|
|
2577
|
+
{ type: i0.Component, args: [{
|
|
2578
|
+
template: ''
|
|
2579
|
+
},] }
|
|
2578
2580
|
];
|
|
2579
2581
|
|
|
2580
2582
|
var BaseEditComponent = /** @class */ (function (_super) {
|
|
@@ -2586,7 +2588,7 @@
|
|
|
2586
2588
|
}
|
|
2587
2589
|
BaseEditComponent.prototype.isActionAdding = function () {
|
|
2588
2590
|
var id = Utils.getValueByNameInQS("id");
|
|
2589
|
-
if (typeof id ===
|
|
2591
|
+
if (typeof id === "undefined" || id == "")
|
|
2590
2592
|
return true;
|
|
2591
2593
|
return false;
|
|
2592
2594
|
};
|
|
@@ -2599,38 +2601,38 @@
|
|
|
2599
2601
|
};
|
|
2600
2602
|
BaseEditComponent.prototype.isControlInvalid = function (name, frmGroup) {
|
|
2601
2603
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2602
|
-
if (typeof name ===
|
|
2604
|
+
if (typeof name === "undefined" || name == "") {
|
|
2603
2605
|
return false;
|
|
2604
2606
|
}
|
|
2605
|
-
var fg =
|
|
2607
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2606
2608
|
if (!fg) {
|
|
2607
2609
|
return false;
|
|
2608
2610
|
}
|
|
2609
2611
|
if (fg.get(name)) {
|
|
2610
|
-
return (this.formSubmitted && fg.get(name).invalid) ||
|
|
2611
|
-
(fg.get(name).touched && fg.get(name).invalid);
|
|
2612
|
+
return ((this.formSubmitted && fg.get(name).invalid) ||
|
|
2613
|
+
(fg.get(name).touched && fg.get(name).invalid));
|
|
2612
2614
|
}
|
|
2613
2615
|
return false;
|
|
2614
2616
|
};
|
|
2615
2617
|
//FormGroup functions
|
|
2616
2618
|
BaseEditComponent.prototype.getFormValue = function (name, frmGroup) {
|
|
2617
2619
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2618
|
-
var fg =
|
|
2620
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2619
2621
|
return fg.controls[name].value;
|
|
2620
2622
|
};
|
|
2621
2623
|
BaseEditComponent.prototype.setFormValue = function (name, value, frmGroup) {
|
|
2622
2624
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2623
|
-
var fg =
|
|
2625
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2624
2626
|
fg.controls[name].setValue(value);
|
|
2625
2627
|
};
|
|
2626
2628
|
BaseEditComponent.prototype.getFormGroupValue = function (groupName, name, frmGroup) {
|
|
2627
2629
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2628
|
-
var fg =
|
|
2630
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2629
2631
|
return fg.controls[groupName].get(name).value;
|
|
2630
2632
|
};
|
|
2631
2633
|
BaseEditComponent.prototype.setFormGroupValue = function (groupName, name, value, frmGroup) {
|
|
2632
2634
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2633
|
-
var fg =
|
|
2635
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2634
2636
|
fg.controls[groupName].get(name).setValue(value);
|
|
2635
2637
|
};
|
|
2636
2638
|
/**
|
|
@@ -2641,7 +2643,7 @@
|
|
|
2641
2643
|
*/
|
|
2642
2644
|
BaseEditComponent.prototype.addControl = function (name, formControl, frmGroup) {
|
|
2643
2645
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2644
|
-
var fg =
|
|
2646
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2645
2647
|
fg.addControl(name, formControl);
|
|
2646
2648
|
};
|
|
2647
2649
|
/**
|
|
@@ -2651,7 +2653,7 @@
|
|
|
2651
2653
|
*/
|
|
2652
2654
|
BaseEditComponent.prototype.removeControl = function (name, frmGroup) {
|
|
2653
2655
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2654
|
-
var fg =
|
|
2656
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2655
2657
|
if (fg.get(name)) {
|
|
2656
2658
|
fg.removeControl(name);
|
|
2657
2659
|
}
|
|
@@ -2674,7 +2676,7 @@
|
|
|
2674
2676
|
BaseEditComponent.prototype.setControlError = function (controlName, err, frmGroup) {
|
|
2675
2677
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2676
2678
|
var _a;
|
|
2677
|
-
var fg =
|
|
2679
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2678
2680
|
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors(err);
|
|
2679
2681
|
};
|
|
2680
2682
|
/**
|
|
@@ -2685,14 +2687,14 @@
|
|
|
2685
2687
|
BaseEditComponent.prototype.setInValidError = function (controlName, frmGroup) {
|
|
2686
2688
|
if (frmGroup === void 0) { frmGroup = null; }
|
|
2687
2689
|
var _a;
|
|
2688
|
-
var fg =
|
|
2690
|
+
var fg = frmGroup ? frmGroup : this.formGroup;
|
|
2689
2691
|
(_a = fg.get(controlName)) === null || _a === void 0 ? void 0 : _a.setErrors({ invalid: true });
|
|
2690
2692
|
};
|
|
2691
2693
|
Object.defineProperty(BaseEditComponent.prototype, "fc", {
|
|
2692
2694
|
/**
|
|
2693
|
-
|
|
2694
|
-
|
|
2695
|
-
|
|
2695
|
+
* returns formgroup controls.
|
|
2696
|
+
* main use case is used in html pages
|
|
2697
|
+
*/
|
|
2696
2698
|
get: function () {
|
|
2697
2699
|
return this.formGroup.controls;
|
|
2698
2700
|
},
|
|
@@ -2702,7 +2704,9 @@
|
|
|
2702
2704
|
return BaseEditComponent;
|
|
2703
2705
|
}(BaseComponent));
|
|
2704
2706
|
BaseEditComponent.decorators = [
|
|
2705
|
-
{ type: i0.
|
|
2707
|
+
{ type: i0.Component, args: [{
|
|
2708
|
+
template: ''
|
|
2709
|
+
},] }
|
|
2706
2710
|
];
|
|
2707
2711
|
BaseEditComponent.ctorParameters = function () { return []; };
|
|
2708
2712
|
BaseEditComponent.propDecorators = {
|
|
@@ -2787,7 +2791,9 @@
|
|
|
2787
2791
|
return BaseHtmlEditorComponent;
|
|
2788
2792
|
}(BaseEditComponent));
|
|
2789
2793
|
BaseHtmlEditorComponent.decorators = [
|
|
2790
|
-
{ type: i0.
|
|
2794
|
+
{ type: i0.Component, args: [{
|
|
2795
|
+
template: ""
|
|
2796
|
+
},] }
|
|
2791
2797
|
];
|
|
2792
2798
|
BaseHtmlEditorComponent.ctorParameters = function () { return []; };
|
|
2793
2799
|
BaseHtmlEditorComponent.propDecorators = {
|
|
@@ -2866,7 +2872,7 @@
|
|
|
2866
2872
|
Version:
|
|
2867
2873
|
1.0
|
|
2868
2874
|
|
|
2869
|
-
Copyright (c) 2016-
|
|
2875
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2870
2876
|
</file>
|
|
2871
2877
|
*/
|
|
2872
2878
|
var SignInButtonComponent = /** @class */ (function () {
|
|
@@ -2900,7 +2906,7 @@
|
|
|
2900
2906
|
Version:
|
|
2901
2907
|
1.0
|
|
2902
2908
|
|
|
2903
|
-
Copyright (c) 2016-
|
|
2909
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2904
2910
|
</file>
|
|
2905
2911
|
*/
|
|
2906
2912
|
var SignOutButtonComponent = /** @class */ (function () {
|
|
@@ -2934,7 +2940,7 @@
|
|
|
2934
2940
|
Version:
|
|
2935
2941
|
1.0
|
|
2936
2942
|
|
|
2937
|
-
Copyright (c) 2016-
|
|
2943
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2938
2944
|
</file>
|
|
2939
2945
|
*/
|
|
2940
2946
|
var SignUpButtonComponent = /** @class */ (function () {
|
|
@@ -2967,7 +2973,7 @@
|
|
|
2967
2973
|
Version:
|
|
2968
2974
|
1.0
|
|
2969
2975
|
|
|
2970
|
-
Copyright (c) 2016-
|
|
2976
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
2971
2977
|
</file>
|
|
2972
2978
|
*/
|
|
2973
2979
|
var LoadingComponent = /** @class */ (function () {
|
|
@@ -3014,7 +3020,7 @@
|
|
|
3014
3020
|
Version:
|
|
3015
3021
|
1.0
|
|
3016
3022
|
|
|
3017
|
-
Copyright (c) 2016-
|
|
3023
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3018
3024
|
</file>
|
|
3019
3025
|
*/
|
|
3020
3026
|
var SpinnerSpinKit = {
|
|
@@ -3085,7 +3091,7 @@
|
|
|
3085
3091
|
Version:
|
|
3086
3092
|
1.0
|
|
3087
3093
|
|
|
3088
|
-
Copyright (c) 2016-
|
|
3094
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3089
3095
|
</file>
|
|
3090
3096
|
*/
|
|
3091
3097
|
var NativeElementDirective = /** @class */ (function () {
|
|
@@ -3124,7 +3130,7 @@
|
|
|
3124
3130
|
Version:
|
|
3125
3131
|
1.0
|
|
3126
3132
|
|
|
3127
|
-
Copyright (c) 2016-
|
|
3133
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3128
3134
|
</file>
|
|
3129
3135
|
*/
|
|
3130
3136
|
var ReplaceTextPipe = /** @class */ (function () {
|
|
@@ -3161,7 +3167,7 @@
|
|
|
3161
3167
|
Version:
|
|
3162
3168
|
1.0
|
|
3163
3169
|
|
|
3164
|
-
Copyright (c) 2016-
|
|
3170
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3165
3171
|
</file>
|
|
3166
3172
|
*/
|
|
3167
3173
|
var FileSizePipe = /** @class */ (function () {
|
|
@@ -3203,7 +3209,7 @@
|
|
|
3203
3209
|
Version:
|
|
3204
3210
|
1.0
|
|
3205
3211
|
|
|
3206
|
-
Copyright (c) 2016-
|
|
3212
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3207
3213
|
</file>
|
|
3208
3214
|
*/
|
|
3209
3215
|
var SafeHtmlPipe = /** @class */ (function () {
|
|
@@ -3251,22 +3257,22 @@
|
|
|
3251
3257
|
for (var errorName in state.errors) {
|
|
3252
3258
|
if (state.errors.hasOwnProperty(errorName)) {
|
|
3253
3259
|
switch (errorName) {
|
|
3254
|
-
case
|
|
3260
|
+
case "required":
|
|
3255
3261
|
messages.push(thing + " is required");
|
|
3256
3262
|
break;
|
|
3257
|
-
case
|
|
3263
|
+
case "minlength":
|
|
3258
3264
|
messages.push(thing + " must be at least " + state.errors["minlength"].requiredLength + " characters");
|
|
3259
3265
|
break;
|
|
3260
|
-
case
|
|
3266
|
+
case "pattern":
|
|
3261
3267
|
messages.push(thing + " contains illegal characters");
|
|
3262
3268
|
break;
|
|
3263
|
-
case
|
|
3269
|
+
case "format":
|
|
3264
3270
|
messages.push(thing + " format mismatch");
|
|
3265
3271
|
break;
|
|
3266
|
-
case
|
|
3272
|
+
case "maxlength":
|
|
3267
3273
|
messages.push(thing + " must have maximum " + state.errors["maxlength"].requiredLength + " characters");
|
|
3268
3274
|
break;
|
|
3269
|
-
case
|
|
3275
|
+
case "specialcharacters":
|
|
3270
3276
|
messages.push(thing + " contains special characters");
|
|
3271
3277
|
break;
|
|
3272
3278
|
}
|
|
@@ -3276,10 +3282,10 @@
|
|
|
3276
3282
|
return messages;
|
|
3277
3283
|
};
|
|
3278
3284
|
/**
|
|
3279
|
-
|
|
3280
|
-
|
|
3281
|
-
|
|
3282
|
-
|
|
3285
|
+
* Get Control Name
|
|
3286
|
+
* @param control
|
|
3287
|
+
* @param thingName
|
|
3288
|
+
*/
|
|
3283
3289
|
ValidationSummaryComponent.prototype.getControlName = function (control, thingName) {
|
|
3284
3290
|
var value = this.getControlTitle(control);
|
|
3285
3291
|
return value ? value : thingName;
|
|
@@ -3307,14 +3313,15 @@
|
|
|
3307
3313
|
// For Kendo time and date picker element title is assigned to the 4th child control.
|
|
3308
3314
|
case "KENDO-TIMEPICKER":
|
|
3309
3315
|
case "KENDO-DATEPICKER":
|
|
3310
|
-
title =
|
|
3316
|
+
title =
|
|
3317
|
+
(_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");
|
|
3311
3318
|
break;
|
|
3312
3319
|
// For Kendo numaric element title is assigned to the 2nd child control.
|
|
3313
3320
|
case "KENDO-NUMERICTEXTBOX":
|
|
3314
|
-
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute(
|
|
3321
|
+
title = (_f = (_e = nativeElement.children[0]) === null || _e === void 0 ? void 0 : _e.children[0]) === null || _f === void 0 ? void 0 : _f.getAttribute("title");
|
|
3315
3322
|
break;
|
|
3316
3323
|
default:
|
|
3317
|
-
title = nativeElement.getAttribute(
|
|
3324
|
+
title = nativeElement.getAttribute("title");
|
|
3318
3325
|
break;
|
|
3319
3326
|
}
|
|
3320
3327
|
return title;
|
|
@@ -3322,7 +3329,9 @@
|
|
|
3322
3329
|
return ValidationSummaryComponent;
|
|
3323
3330
|
}(BaseEditComponent));
|
|
3324
3331
|
ValidationSummaryComponent.decorators = [
|
|
3325
|
-
{ type: i0.
|
|
3332
|
+
{ type: i0.Component, args: [{
|
|
3333
|
+
template: ""
|
|
3334
|
+
},] }
|
|
3326
3335
|
];
|
|
3327
3336
|
ValidationSummaryComponent.ctorParameters = function () { return []; };
|
|
3328
3337
|
|
|
@@ -3406,7 +3415,7 @@
|
|
|
3406
3415
|
Version:
|
|
3407
3416
|
1.0
|
|
3408
3417
|
|
|
3409
|
-
Copyright (c) 2016-
|
|
3418
|
+
Copyright (c) 2016-2021 Osovitny Inc. All rights reserved.
|
|
3410
3419
|
</file>
|
|
3411
3420
|
*/
|
|
3412
3421
|
var FroalaEditorModuleWithProviders = angularFroalaWysiwyg.FroalaEditorModule.forRoot();
|
|
@@ -3432,17 +3441,20 @@
|
|
|
3432
3441
|
SignInButtonComponent,
|
|
3433
3442
|
SignUpButtonComponent,
|
|
3434
3443
|
SignOutButtonComponent,
|
|
3435
|
-
FormValidationSummaryComponent,
|
|
3436
|
-
ItemValidationSummaryComponent,
|
|
3437
|
-
HtmlEditorComponent,
|
|
3438
|
-
FormsHtmlEditorComponent,
|
|
3439
3444
|
ContentHeaderComponent,
|
|
3440
3445
|
SpinnerComponent,
|
|
3441
3446
|
LoadingComponent,
|
|
3442
3447
|
NativeElementDirective,
|
|
3448
|
+
//Editor
|
|
3449
|
+
HtmlEditorComponent,
|
|
3450
|
+
FormsHtmlEditorComponent,
|
|
3451
|
+
//Validation
|
|
3452
|
+
FormValidationSummaryComponent,
|
|
3453
|
+
ItemValidationSummaryComponent,
|
|
3454
|
+
//Pipe
|
|
3443
3455
|
SafeHtmlPipe,
|
|
3444
3456
|
ReplaceTextPipe,
|
|
3445
|
-
FileSizePipe
|
|
3457
|
+
FileSizePipe,
|
|
3446
3458
|
],
|
|
3447
3459
|
declarations: [
|
|
3448
3460
|
SubscribePlanButtonComponent,
|
|
@@ -3451,19 +3463,21 @@
|
|
|
3451
3463
|
SignInButtonComponent,
|
|
3452
3464
|
SignUpButtonComponent,
|
|
3453
3465
|
SignOutButtonComponent,
|
|
3454
|
-
FormValidationSummaryComponent,
|
|
3455
|
-
ItemValidationSummaryComponent,
|
|
3456
|
-
HtmlEditorComponent,
|
|
3457
|
-
FormsHtmlEditorComponent,
|
|
3458
3466
|
ContentHeaderComponent,
|
|
3459
3467
|
SpinnerComponent,
|
|
3460
3468
|
LoadingComponent,
|
|
3461
3469
|
NativeElementDirective,
|
|
3470
|
+
//Editor
|
|
3471
|
+
HtmlEditorComponent,
|
|
3472
|
+
FormsHtmlEditorComponent,
|
|
3473
|
+
//Validation
|
|
3474
|
+
FormValidationSummaryComponent,
|
|
3475
|
+
ItemValidationSummaryComponent,
|
|
3476
|
+
//Pipe
|
|
3462
3477
|
SafeHtmlPipe,
|
|
3463
3478
|
ReplaceTextPipe,
|
|
3464
|
-
FileSizePipe
|
|
3465
|
-
]
|
|
3466
|
-
schemas: [i0.CUSTOM_ELEMENTS_SCHEMA]
|
|
3479
|
+
FileSizePipe,
|
|
3480
|
+
]
|
|
3467
3481
|
},] }
|
|
3468
3482
|
];
|
|
3469
3483
|
|