@osovitny/anatoly 2.0.12 → 2.0.14
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 +134 -132
- package/bundles/osovitny-anatoly.umd.js.map +1 -1
- package/bundles/osovitny-anatoly.umd.min.js +2 -2
- package/bundles/osovitny-anatoly.umd.min.js.map +1 -1
- package/esm2015/lib/core/index.js +9 -7
- package/esm2015/lib/core/utils.js +1 -1
- package/fesm2015/osovitny-anatoly.js +100 -100
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/core/index.d.ts +3 -2
- package/osovitny-anatoly.metadata.json +1 -1
- package/package.json +1 -1
|
@@ -6,6 +6,70 @@
|
|
|
6
6
|
|
|
7
7
|
Swal = Swal && Object.prototype.hasOwnProperty.call(Swal, 'default') ? Swal['default'] : Swal;
|
|
8
8
|
|
|
9
|
+
/*
|
|
10
|
+
<file>
|
|
11
|
+
Project:
|
|
12
|
+
@osovitny/anatoly
|
|
13
|
+
|
|
14
|
+
Authors:
|
|
15
|
+
Vadim Osovitny
|
|
16
|
+
Anatoly Osovitny
|
|
17
|
+
|
|
18
|
+
Created:
|
|
19
|
+
26 Jun 2020
|
|
20
|
+
|
|
21
|
+
Version:
|
|
22
|
+
1.0
|
|
23
|
+
|
|
24
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
25
|
+
</file>
|
|
26
|
+
*/
|
|
27
|
+
var ContextInitState = JSON.parse((document.getElementById("contextInitState")).getAttribute("data-contextinitstate"));
|
|
28
|
+
var AppCoreSettings = JSON.parse((document.getElementById("appCoreSettings")).getAttribute("data-appcoresettings"));
|
|
29
|
+
|
|
30
|
+
/*
|
|
31
|
+
<file>
|
|
32
|
+
Project:
|
|
33
|
+
@osovitny/anatoly
|
|
34
|
+
|
|
35
|
+
Authors:
|
|
36
|
+
Vadim Osovitny
|
|
37
|
+
Anatoly Osovitny
|
|
38
|
+
|
|
39
|
+
Created:
|
|
40
|
+
26 Jun 2020
|
|
41
|
+
|
|
42
|
+
Version:
|
|
43
|
+
1.0
|
|
44
|
+
|
|
45
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
46
|
+
</file>
|
|
47
|
+
*/
|
|
48
|
+
|
|
49
|
+
/*
|
|
50
|
+
<file>
|
|
51
|
+
Project:
|
|
52
|
+
@osovitny/anatoly
|
|
53
|
+
|
|
54
|
+
Authors:
|
|
55
|
+
Vadim Osovitny
|
|
56
|
+
Anatoly Osovitny
|
|
57
|
+
|
|
58
|
+
Created:
|
|
59
|
+
26 Jun 2020
|
|
60
|
+
|
|
61
|
+
Version:
|
|
62
|
+
1.0
|
|
63
|
+
|
|
64
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
65
|
+
</file>
|
|
66
|
+
*/
|
|
67
|
+
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
68
|
+
if (parentModule) {
|
|
69
|
+
throw new Error(moduleName + " has already been loaded. Import " + moduleName + " modules in the AppModule only.");
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
|
|
9
73
|
/*
|
|
10
74
|
<file>
|
|
11
75
|
Project:
|
|
@@ -277,6 +341,43 @@
|
|
|
277
341
|
return Guid;
|
|
278
342
|
}());
|
|
279
343
|
|
|
344
|
+
/*
|
|
345
|
+
<file>
|
|
346
|
+
Project:
|
|
347
|
+
@osovitny/anatoly
|
|
348
|
+
|
|
349
|
+
Authors:
|
|
350
|
+
Vadim Osovitny
|
|
351
|
+
Anatoly Osovitny
|
|
352
|
+
|
|
353
|
+
Created:
|
|
354
|
+
17 Jun 2018
|
|
355
|
+
|
|
356
|
+
Version:
|
|
357
|
+
1.0
|
|
358
|
+
|
|
359
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
360
|
+
</file>
|
|
361
|
+
*/
|
|
362
|
+
var BaseGoService = /** @class */ (function () {
|
|
363
|
+
function BaseGoService(route, router) {
|
|
364
|
+
this.route = route;
|
|
365
|
+
this.router = router;
|
|
366
|
+
}
|
|
367
|
+
BaseGoService.prototype.locationReload = function () {
|
|
368
|
+
//this.router.navigate([this.route.url]);
|
|
369
|
+
window.location.reload();
|
|
370
|
+
};
|
|
371
|
+
return BaseGoService;
|
|
372
|
+
}());
|
|
373
|
+
BaseGoService.decorators = [
|
|
374
|
+
{ type: i0.Injectable }
|
|
375
|
+
];
|
|
376
|
+
BaseGoService.ctorParameters = function () { return [
|
|
377
|
+
{ type: router.ActivatedRoute },
|
|
378
|
+
{ type: router.Router }
|
|
379
|
+
]; };
|
|
380
|
+
|
|
280
381
|
/*
|
|
281
382
|
<file>
|
|
282
383
|
Project:
|
|
@@ -295,11 +396,24 @@
|
|
|
295
396
|
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
296
397
|
</file>
|
|
297
398
|
*/
|
|
298
|
-
function
|
|
299
|
-
|
|
300
|
-
throw new Error(moduleName + " has already been loaded. Import " + moduleName + " modules in the AppModule only.");
|
|
399
|
+
var LoggingService = /** @class */ (function () {
|
|
400
|
+
function LoggingService() {
|
|
301
401
|
}
|
|
302
|
-
|
|
402
|
+
LoggingService.prototype.logError = function (error) {
|
|
403
|
+
console.error(error);
|
|
404
|
+
};
|
|
405
|
+
LoggingService.prototype.logInformation = function (info) {
|
|
406
|
+
console.info(info);
|
|
407
|
+
};
|
|
408
|
+
return LoggingService;
|
|
409
|
+
}());
|
|
410
|
+
LoggingService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LoggingService_Factory() { return new LoggingService(); }, token: LoggingService, providedIn: "root" });
|
|
411
|
+
LoggingService.decorators = [
|
|
412
|
+
{ type: i0.Injectable, args: [{
|
|
413
|
+
providedIn: "root",
|
|
414
|
+
},] }
|
|
415
|
+
];
|
|
416
|
+
LoggingService.ctorParameters = function () { return []; };
|
|
303
417
|
|
|
304
418
|
/*
|
|
305
419
|
<file>
|
|
@@ -311,7 +425,7 @@
|
|
|
311
425
|
Anatoly Osovitny
|
|
312
426
|
|
|
313
427
|
Created:
|
|
314
|
-
|
|
428
|
+
26 Jun 2020
|
|
315
429
|
|
|
316
430
|
Version:
|
|
317
431
|
1.0
|
|
@@ -319,23 +433,23 @@
|
|
|
319
433
|
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
320
434
|
</file>
|
|
321
435
|
*/
|
|
322
|
-
var
|
|
323
|
-
function
|
|
324
|
-
this.
|
|
325
|
-
this.router = router;
|
|
436
|
+
var GlobalErrorHandler = /** @class */ (function () {
|
|
437
|
+
function GlobalErrorHandler(injector) {
|
|
438
|
+
this.injector = injector;
|
|
326
439
|
}
|
|
327
|
-
|
|
328
|
-
|
|
329
|
-
|
|
440
|
+
GlobalErrorHandler.prototype.handleError = function (error) {
|
|
441
|
+
var loggingService = this.injector.get(LoggingService);
|
|
442
|
+
loggingService.logError(error);
|
|
443
|
+
// IMPORTANT: Rethrow the error otherwise it gets swallowed
|
|
444
|
+
throw error;
|
|
330
445
|
};
|
|
331
|
-
return
|
|
446
|
+
return GlobalErrorHandler;
|
|
332
447
|
}());
|
|
333
|
-
|
|
448
|
+
GlobalErrorHandler.decorators = [
|
|
334
449
|
{ type: i0.Injectable }
|
|
335
450
|
];
|
|
336
|
-
|
|
337
|
-
{ type:
|
|
338
|
-
{ type: router.Router }
|
|
451
|
+
GlobalErrorHandler.ctorParameters = function () { return [
|
|
452
|
+
{ type: i0.Injector }
|
|
339
453
|
]; };
|
|
340
454
|
|
|
341
455
|
/*! *****************************************************************************
|
|
@@ -639,46 +753,6 @@
|
|
|
639
753
|
return value;
|
|
640
754
|
}
|
|
641
755
|
|
|
642
|
-
/*
|
|
643
|
-
<file>
|
|
644
|
-
Project:
|
|
645
|
-
@osovitny/anatoly
|
|
646
|
-
|
|
647
|
-
Authors:
|
|
648
|
-
Vadim Osovitny
|
|
649
|
-
Anatoly Osovitny
|
|
650
|
-
|
|
651
|
-
Created:
|
|
652
|
-
26 Jun 2020
|
|
653
|
-
|
|
654
|
-
Version:
|
|
655
|
-
1.0
|
|
656
|
-
|
|
657
|
-
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
658
|
-
</file>
|
|
659
|
-
*/
|
|
660
|
-
var ContextInitState = JSON.parse((document.getElementById("contextInitState")).getAttribute("data-contextinitstate"));
|
|
661
|
-
var AppCoreSettings = JSON.parse((document.getElementById("appCoreSettings")).getAttribute("data-appcoresettings"));
|
|
662
|
-
|
|
663
|
-
/*
|
|
664
|
-
<file>
|
|
665
|
-
Project:
|
|
666
|
-
@osovitny/anatoly
|
|
667
|
-
|
|
668
|
-
Authors:
|
|
669
|
-
Vadim Osovitny
|
|
670
|
-
Anatoly Osovitny
|
|
671
|
-
|
|
672
|
-
Created:
|
|
673
|
-
26 Jun 2020
|
|
674
|
-
|
|
675
|
-
Version:
|
|
676
|
-
1.0
|
|
677
|
-
|
|
678
|
-
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
679
|
-
</file>
|
|
680
|
-
*/
|
|
681
|
-
|
|
682
756
|
/*
|
|
683
757
|
<file>
|
|
684
758
|
Project:
|
|
@@ -820,80 +894,6 @@
|
|
|
820
894
|
{ type: http.HttpClient }
|
|
821
895
|
]; };
|
|
822
896
|
|
|
823
|
-
/*
|
|
824
|
-
<file>
|
|
825
|
-
Project:
|
|
826
|
-
@osovitny/anatoly
|
|
827
|
-
|
|
828
|
-
Authors:
|
|
829
|
-
Vadim Osovitny
|
|
830
|
-
Anatoly Osovitny
|
|
831
|
-
|
|
832
|
-
Created:
|
|
833
|
-
26 Jun 2020
|
|
834
|
-
|
|
835
|
-
Version:
|
|
836
|
-
1.0
|
|
837
|
-
|
|
838
|
-
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
839
|
-
</file>
|
|
840
|
-
*/
|
|
841
|
-
var LoggingService = /** @class */ (function () {
|
|
842
|
-
function LoggingService() {
|
|
843
|
-
}
|
|
844
|
-
LoggingService.prototype.logError = function (error) {
|
|
845
|
-
console.error(error);
|
|
846
|
-
};
|
|
847
|
-
LoggingService.prototype.logInformation = function (info) {
|
|
848
|
-
console.info(info);
|
|
849
|
-
};
|
|
850
|
-
return LoggingService;
|
|
851
|
-
}());
|
|
852
|
-
LoggingService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LoggingService_Factory() { return new LoggingService(); }, token: LoggingService, providedIn: "root" });
|
|
853
|
-
LoggingService.decorators = [
|
|
854
|
-
{ type: i0.Injectable, args: [{
|
|
855
|
-
providedIn: "root",
|
|
856
|
-
},] }
|
|
857
|
-
];
|
|
858
|
-
LoggingService.ctorParameters = function () { return []; };
|
|
859
|
-
|
|
860
|
-
/*
|
|
861
|
-
<file>
|
|
862
|
-
Project:
|
|
863
|
-
@osovitny/anatoly
|
|
864
|
-
|
|
865
|
-
Authors:
|
|
866
|
-
Vadim Osovitny
|
|
867
|
-
Anatoly Osovitny
|
|
868
|
-
|
|
869
|
-
Created:
|
|
870
|
-
26 Jun 2020
|
|
871
|
-
|
|
872
|
-
Version:
|
|
873
|
-
1.0
|
|
874
|
-
|
|
875
|
-
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
876
|
-
</file>
|
|
877
|
-
*/
|
|
878
|
-
var GlobalErrorHandler = /** @class */ (function () {
|
|
879
|
-
function GlobalErrorHandler(injector) {
|
|
880
|
-
this.injector = injector;
|
|
881
|
-
}
|
|
882
|
-
GlobalErrorHandler.prototype.handleError = function (error) {
|
|
883
|
-
var loggingService = this.injector.get(LoggingService);
|
|
884
|
-
loggingService.logError(error);
|
|
885
|
-
// IMPORTANT: Rethrow the error otherwise it gets swallowed
|
|
886
|
-
throw error;
|
|
887
|
-
};
|
|
888
|
-
return GlobalErrorHandler;
|
|
889
|
-
}());
|
|
890
|
-
GlobalErrorHandler.decorators = [
|
|
891
|
-
{ type: i0.Injectable }
|
|
892
|
-
];
|
|
893
|
-
GlobalErrorHandler.ctorParameters = function () { return [
|
|
894
|
-
{ type: i0.Injector }
|
|
895
|
-
]; };
|
|
896
|
-
|
|
897
897
|
var providers = [
|
|
898
898
|
LoggingService,
|
|
899
899
|
AppContextService,
|
|
@@ -922,7 +922,7 @@
|
|
|
922
922
|
<file>
|
|
923
923
|
Project:
|
|
924
924
|
@osovitny/anatoly
|
|
925
|
-
|
|
925
|
+
|
|
926
926
|
Authors:
|
|
927
927
|
Vadim Osovitny
|
|
928
928
|
Anatoly Osovitny
|
|
@@ -1957,6 +1957,7 @@
|
|
|
1957
1957
|
exports.AnatolyDataModule = AnatolyDataModule;
|
|
1958
1958
|
exports.AnatolyUIModule = AnatolyUIModule;
|
|
1959
1959
|
exports.AppContextService = AppContextService;
|
|
1960
|
+
exports.AppCoreSettings = AppCoreSettings;
|
|
1960
1961
|
exports.BaseApiService = BaseApiService;
|
|
1961
1962
|
exports.BaseComponent = BaseComponent;
|
|
1962
1963
|
exports.BaseEditComponent = BaseEditComponent;
|
|
@@ -1966,6 +1967,7 @@
|
|
|
1966
1967
|
exports.BillingApiService = BillingApiService;
|
|
1967
1968
|
exports.BuyAccessButtonComponent = BuyAccessButtonComponent;
|
|
1968
1969
|
exports.ContentHeaderComponent = ContentHeaderComponent;
|
|
1970
|
+
exports.ContextInitState = ContextInitState;
|
|
1969
1971
|
exports.FormValidationSummaryComponent = FormValidationSummaryComponent;
|
|
1970
1972
|
exports.FormsHtmlEditorComponent = FormsHtmlEditorComponent;
|
|
1971
1973
|
exports.GlobalErrorHandler = GlobalErrorHandler;
|