@osovitny/anatoly 2.0.9 → 2.0.10
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 +549 -136
- 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/alerts.js +5 -1
- package/esm2015/lib/core/core.module.js +21 -5
- package/esm2015/lib/core/guards/once-import.guard.js +24 -0
- package/esm2015/lib/core/guid.js +25 -0
- package/esm2015/lib/core/index.js +23 -1
- package/esm2015/lib/core/logging/globalErrorHandler.js +42 -0
- package/esm2015/lib/core/logging/logging.service.js +38 -0
- package/esm2015/lib/core/services/appcontext.service.js +5 -1
- package/esm2015/lib/core/services/base-go.service.js +5 -1
- package/esm2015/lib/core/subs.js +34 -0
- package/esm2015/lib/core/utils.js +29 -5
- package/esm2015/lib/data/base/base-api.service.js +22 -16
- package/esm2015/lib/data/base/grid/base-grid-edit.service.js +15 -13
- package/esm2015/lib/data/base/grid/base-grid-read.service.js +16 -9
- package/esm2015/lib/data/data.module.js +10 -10
- package/esm2015/lib/data/index.js +24 -6
- package/esm2015/lib/data/services/billing-api.service.js +32 -17
- package/esm2015/lib/ui/components/base-edit.component.js +11 -7
- package/esm2015/lib/ui/components/base.component.js +12 -8
- package/esm2015/lib/ui/components/billing/buyaccess-button.component.js +12 -9
- package/esm2015/lib/ui/components/billing/subscribe-plan-button.component.js +10 -6
- package/esm2015/lib/ui/components/billing/upgrade-plan-button.component.js +11 -7
- package/esm2015/lib/ui/components/content-header/content-header.component.js +8 -4
- package/esm2015/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.js +45 -0
- package/esm2015/lib/ui/components/html-editor/base-html-editor.component.js +13 -8
- package/esm2015/lib/ui/components/html-editor/forms-html-editor.component.js +9 -6
- package/esm2015/lib/ui/components/html-editor/html-editor.component.js +10 -7
- package/esm2015/lib/ui/components/html-editor/html-editor.defaultoptions.js +75 -18
- package/esm2015/lib/ui/components/identity/signin-button.component.js +8 -4
- package/esm2015/lib/ui/components/identity/signout-button.component.js +8 -4
- package/esm2015/lib/ui/components/identity/signup-button.component.js +6 -2
- package/esm2015/lib/ui/components/validation/form-validation-summary.component.js +5 -1
- package/esm2015/lib/ui/components/validation/item-validation-summary.component.js +5 -1
- package/esm2015/lib/ui/components/validation/validation-summary.component.js +5 -1
- package/esm2015/lib/ui/index.js +20 -1
- package/esm2015/lib/ui/ui.module.js +12 -4
- package/fesm2015/osovitny-anatoly.js +554 -106
- package/fesm2015/osovitny-anatoly.js.map +1 -1
- package/lib/core/core.module.d.ts +4 -0
- package/lib/core/guards/once-import.guard.d.ts +1 -0
- package/lib/core/guid.d.ts +3 -0
- package/lib/core/index.d.ts +4 -0
- package/lib/core/logging/globalErrorHandler.d.ts +6 -0
- package/lib/core/logging/logging.service.d.ts +5 -0
- package/lib/core/subs.d.ts +8 -0
- package/lib/core/utils.d.ts +4 -2
- package/lib/data/base/base-api.service.d.ts +2 -2
- package/lib/data/base/grid/base-grid-edit.service.d.ts +3 -3
- package/lib/data/base/grid/base-grid-read.service.d.ts +2 -2
- package/lib/data/index.d.ts +5 -5
- package/lib/data/services/billing-api.service.d.ts +2 -2
- package/lib/ui/components/base-edit.component.d.ts +2 -2
- package/lib/ui/components/billing/buyaccess-button.component.d.ts +3 -3
- package/lib/ui/components/billing/subscribe-plan-button.component.d.ts +2 -2
- package/lib/ui/components/billing/upgrade-plan-button.component.d.ts +1 -1
- package/lib/ui/components/content-header/content-header.component.d.ts +1 -1
- package/lib/ui/components/copy-2-clipboard/copy-2-clipboard.component.d.ts +5 -0
- package/lib/ui/components/html-editor/base-html-editor.component.d.ts +2 -2
- package/lib/ui/components/html-editor/forms-html-editor.component.d.ts +1 -1
- package/lib/ui/components/html-editor/html-editor.component.d.ts +1 -1
- package/lib/ui/ui.module.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1,15 +1,19 @@
|
|
|
1
1
|
(function (global, factory) {
|
|
2
|
-
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('sweetalert2'), require('@angular/core'), require('@angular/router'), require('@angular/common/http'), require('rxjs/operators'), require('@angular/common'), require('rxjs'), require('@angular/forms'), require('angular-froala-wysiwyg')) :
|
|
3
|
-
typeof define === 'function' && define.amd ? define('@osovitny/anatoly', ['exports', 'sweetalert2', '@angular/core', '@angular/router', '@angular/common/http', 'rxjs/operators', '@angular/common', 'rxjs', '@angular/forms', 'angular-froala-wysiwyg'], factory) :
|
|
4
|
-
(global = global || self, factory((global.osovitny = global.osovitny || {}, global.osovitny.anatoly = {}), global.Swal, global.ng.core, global.ng.router, global.ng.common.http, global.rxjs.operators, global.ng.common, global.rxjs, global.ng.forms, global.angularFroalaWysiwyg));
|
|
5
|
-
}(this, (function (exports, Swal,
|
|
2
|
+
typeof exports === 'object' && typeof module !== 'undefined' ? factory(exports, require('sweetalert2'), require('uuid'), require('@angular/core'), require('@angular/router'), require('@angular/common/http'), require('rxjs/operators'), require('@angular/common'), require('rxjs'), require('@angular/forms'), require('angular-froala-wysiwyg')) :
|
|
3
|
+
typeof define === 'function' && define.amd ? define('@osovitny/anatoly', ['exports', 'sweetalert2', 'uuid', '@angular/core', '@angular/router', '@angular/common/http', 'rxjs/operators', '@angular/common', 'rxjs', '@angular/forms', 'angular-froala-wysiwyg'], factory) :
|
|
4
|
+
(global = global || self, factory((global.osovitny = global.osovitny || {}, global.osovitny.anatoly = {}), global.Swal, global.uuid, global.ng.core, global.ng.router, global.ng.common.http, global.rxjs.operators, global.ng.common, global.rxjs, global.ng.forms, global.angularFroalaWysiwyg));
|
|
5
|
+
}(this, (function (exports, Swal, uuid, i0, router, http, operators, common, rxjs, forms, angularFroalaWysiwyg) { 'use strict';
|
|
6
6
|
|
|
7
7
|
Swal = Swal && Object.prototype.hasOwnProperty.call(Swal, 'default') ? Swal['default'] : Swal;
|
|
8
8
|
|
|
9
9
|
/*
|
|
10
10
|
<file>
|
|
11
|
+
Project:
|
|
12
|
+
@osovitny/anatoly
|
|
13
|
+
|
|
11
14
|
Authors:
|
|
12
15
|
Vadim Osovitny
|
|
16
|
+
Anatoly Osovitny
|
|
13
17
|
|
|
14
18
|
Created:
|
|
15
19
|
4 Mar 2020
|
|
@@ -151,11 +155,15 @@
|
|
|
151
155
|
|
|
152
156
|
/*
|
|
153
157
|
<file>
|
|
158
|
+
Project:
|
|
159
|
+
@osovitny/anatoly
|
|
160
|
+
|
|
154
161
|
Authors:
|
|
155
162
|
Vadim Osovitny
|
|
163
|
+
Anatoly Osovitny
|
|
156
164
|
|
|
157
165
|
Created:
|
|
158
|
-
|
|
166
|
+
26 Jun 2020
|
|
159
167
|
|
|
160
168
|
Version:
|
|
161
169
|
1.0
|
|
@@ -166,23 +174,117 @@
|
|
|
166
174
|
var Utils = /** @class */ (function () {
|
|
167
175
|
function Utils() {
|
|
168
176
|
}
|
|
169
|
-
Utils.
|
|
170
|
-
return Utils.
|
|
177
|
+
Utils.getValueByNameInQS = function (name) {
|
|
178
|
+
return Utils.getValueByName(location.search, name);
|
|
171
179
|
};
|
|
172
|
-
Utils.
|
|
180
|
+
Utils.getValueByName = function (url, name) {
|
|
173
181
|
name = name.replace(/[\[]/, "\\[").replace(/[\]]/, "\\]");
|
|
174
182
|
var regex = new RegExp("[\\?&]" + name + "=([^&#]*)"), results = regex.exec(url);
|
|
175
183
|
return results === null
|
|
176
184
|
? ""
|
|
177
185
|
: decodeURIComponent(results[1].replace(/\+/g, " "));
|
|
178
186
|
};
|
|
187
|
+
Utils.copyToClipBoard = function (event, val) {
|
|
188
|
+
event.preventDefault();
|
|
189
|
+
var selBox = document.createElement("textarea");
|
|
190
|
+
selBox.style.position = "fixed";
|
|
191
|
+
selBox.style.left = "0";
|
|
192
|
+
selBox.style.top = "0";
|
|
193
|
+
selBox.style.opacity = "0";
|
|
194
|
+
selBox.value = val;
|
|
195
|
+
document.body.appendChild(selBox);
|
|
196
|
+
selBox.focus();
|
|
197
|
+
selBox.select();
|
|
198
|
+
document.execCommand("copy");
|
|
199
|
+
document.body.removeChild(selBox);
|
|
200
|
+
};
|
|
201
|
+
Utils.downloadFile = function (name, url) {
|
|
202
|
+
var link = document.createElement("a");
|
|
203
|
+
link.download = name;
|
|
204
|
+
link.href = url;
|
|
205
|
+
link.click();
|
|
206
|
+
};
|
|
179
207
|
return Utils;
|
|
180
208
|
}());
|
|
181
209
|
|
|
182
210
|
/*
|
|
183
211
|
<file>
|
|
212
|
+
Project:
|
|
213
|
+
@osovitny/anatoly
|
|
214
|
+
|
|
215
|
+
Authors:
|
|
216
|
+
Vadim Osovitny
|
|
217
|
+
Anatoly Osovitny
|
|
218
|
+
|
|
219
|
+
Created:
|
|
220
|
+
26 Jun 2020
|
|
221
|
+
|
|
222
|
+
Version:
|
|
223
|
+
1.0
|
|
224
|
+
|
|
225
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
226
|
+
</file>
|
|
227
|
+
*/
|
|
228
|
+
var Subs = /** @class */ (function () {
|
|
229
|
+
function Subs() {
|
|
230
|
+
this.subs = [];
|
|
231
|
+
}
|
|
232
|
+
Subs.prototype.add = function () {
|
|
233
|
+
var subscriptions = [];
|
|
234
|
+
for (var _i = 0; _i < arguments.length; _i++) {
|
|
235
|
+
subscriptions[_i] = arguments[_i];
|
|
236
|
+
}
|
|
237
|
+
this.subs = this.subs.concat(subscriptions);
|
|
238
|
+
};
|
|
239
|
+
Object.defineProperty(Subs.prototype, "sink", {
|
|
240
|
+
set: function (subscription) {
|
|
241
|
+
this.subs.push(subscription);
|
|
242
|
+
},
|
|
243
|
+
enumerable: false,
|
|
244
|
+
configurable: true
|
|
245
|
+
});
|
|
246
|
+
Subs.prototype.unsubscribe = function () {
|
|
247
|
+
this.subs.forEach(function (sub) { return sub && sub.unsubscribe(); });
|
|
248
|
+
this.subs = [];
|
|
249
|
+
};
|
|
250
|
+
return Subs;
|
|
251
|
+
}());
|
|
252
|
+
|
|
253
|
+
/*
|
|
254
|
+
<file>
|
|
255
|
+
Project:
|
|
256
|
+
@osovitny/anatoly
|
|
257
|
+
|
|
184
258
|
Authors:
|
|
185
259
|
Vadim Osovitny
|
|
260
|
+
Anatoly Osovitny
|
|
261
|
+
|
|
262
|
+
Created:
|
|
263
|
+
26 Jun 2020
|
|
264
|
+
|
|
265
|
+
Version:
|
|
266
|
+
1.0
|
|
267
|
+
|
|
268
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
269
|
+
</file>
|
|
270
|
+
*/
|
|
271
|
+
var Guid = /** @class */ (function () {
|
|
272
|
+
function Guid() {
|
|
273
|
+
}
|
|
274
|
+
Guid.newGuid = function () {
|
|
275
|
+
return uuid.v4();
|
|
276
|
+
};
|
|
277
|
+
return Guid;
|
|
278
|
+
}());
|
|
279
|
+
|
|
280
|
+
/*
|
|
281
|
+
<file>
|
|
282
|
+
Project:
|
|
283
|
+
@osovitny/anatoly
|
|
284
|
+
|
|
285
|
+
Authors:
|
|
286
|
+
Vadim Osovitny
|
|
287
|
+
Anatoly Osovitny
|
|
186
288
|
|
|
187
289
|
Created:
|
|
188
290
|
17 Jun 2018
|
|
@@ -205,7 +307,7 @@
|
|
|
205
307
|
return BaseGoService;
|
|
206
308
|
}());
|
|
207
309
|
BaseGoService.decorators = [
|
|
208
|
-
{ type:
|
|
310
|
+
{ type: i0.Injectable }
|
|
209
311
|
];
|
|
210
312
|
BaseGoService.ctorParameters = function () { return [
|
|
211
313
|
{ type: router.ActivatedRoute },
|
|
@@ -515,11 +617,15 @@
|
|
|
515
617
|
|
|
516
618
|
/*
|
|
517
619
|
<file>
|
|
620
|
+
Project:
|
|
621
|
+
@osovitny/anatoly
|
|
622
|
+
|
|
518
623
|
Authors:
|
|
519
624
|
Vadim Osovitny
|
|
625
|
+
Anatoly Osovitny
|
|
520
626
|
|
|
521
627
|
Created:
|
|
522
|
-
|
|
628
|
+
13 Nov 2017
|
|
523
629
|
|
|
524
630
|
Version:
|
|
525
631
|
1.0
|
|
@@ -533,43 +639,45 @@
|
|
|
533
639
|
this.baseUrl = "";
|
|
534
640
|
}
|
|
535
641
|
BaseApiService.prototype.serializeParams = function (data) {
|
|
536
|
-
return data ?
|
|
642
|
+
return data ? "?" + $.param(data) : "";
|
|
537
643
|
};
|
|
538
644
|
//api
|
|
539
645
|
BaseApiService.prototype.get = function (action, data, responseType) {
|
|
540
646
|
if (!responseType) {
|
|
541
|
-
responseType =
|
|
647
|
+
responseType = "json";
|
|
542
648
|
}
|
|
543
649
|
var url = this.baseUrl + "/" + action + this.serializeParams(data);
|
|
544
|
-
return this.http
|
|
650
|
+
return this.http
|
|
651
|
+
.get(url, { responseType: responseType })
|
|
652
|
+
.pipe(operators.map(function (res) { return res; }));
|
|
545
653
|
};
|
|
546
654
|
BaseApiService.prototype.post = function (action, data, responseType) {
|
|
547
655
|
if (!responseType) {
|
|
548
|
-
responseType =
|
|
656
|
+
responseType = "text";
|
|
549
657
|
}
|
|
550
658
|
var url = this.baseUrl + "/" + action;
|
|
551
659
|
return this.http.post(url, data, { responseType: responseType });
|
|
552
660
|
};
|
|
553
661
|
BaseApiService.prototype.postQS = function (action, data, responseType) {
|
|
554
662
|
if (!responseType) {
|
|
555
|
-
responseType =
|
|
663
|
+
responseType = "text";
|
|
556
664
|
}
|
|
557
665
|
var url = this.baseUrl + "/" + action + this.serializeParams(data);
|
|
558
666
|
return this.http.post(url, null, { responseType: responseType });
|
|
559
667
|
};
|
|
560
668
|
BaseApiService.prototype.delete = function (action, data, responseType) {
|
|
561
669
|
if (!responseType) {
|
|
562
|
-
responseType =
|
|
670
|
+
responseType = "text";
|
|
563
671
|
}
|
|
564
672
|
var url = this.baseUrl + "/" + action + this.serializeParams(data);
|
|
565
673
|
return this.http.delete(url, { responseType: responseType });
|
|
566
674
|
};
|
|
567
675
|
//gets
|
|
568
676
|
BaseApiService.prototype.getById = function (id) {
|
|
569
|
-
return this.get(
|
|
677
|
+
return this.get("getById", { id: id });
|
|
570
678
|
};
|
|
571
679
|
BaseApiService.prototype.getAll = function (data) {
|
|
572
|
-
return this.get(
|
|
680
|
+
return this.get("getall", data).pipe(operators.map(function (res) { return res; }));
|
|
573
681
|
};
|
|
574
682
|
BaseApiService.prototype.getJsonFile = function (fileName, jsonUrl, jsonVersion) {
|
|
575
683
|
if (!jsonUrl) {
|
|
@@ -578,17 +686,17 @@
|
|
|
578
686
|
if (!jsonVersion) {
|
|
579
687
|
jsonVersion = "1.0";
|
|
580
688
|
}
|
|
581
|
-
var url = jsonUrl + "/" + fileName +
|
|
689
|
+
var url = jsonUrl + "/" + fileName + "?" + jsonVersion;
|
|
582
690
|
return this.http.get(url).pipe(operators.map(function (res) { return res; }));
|
|
583
691
|
};
|
|
584
692
|
BaseApiService.prototype.getNewGuid = function () {
|
|
585
693
|
var url = this.baseUrl + "/getNewGuid";
|
|
586
|
-
return this.http.get(url, { responseType:
|
|
694
|
+
return this.http.get(url, { responseType: "text" });
|
|
587
695
|
};
|
|
588
696
|
return BaseApiService;
|
|
589
697
|
}());
|
|
590
698
|
BaseApiService.decorators = [
|
|
591
|
-
{ type:
|
|
699
|
+
{ type: i0.Injectable }
|
|
592
700
|
];
|
|
593
701
|
BaseApiService.ctorParameters = function () { return [
|
|
594
702
|
{ type: http.HttpClient }
|
|
@@ -642,24 +750,152 @@
|
|
|
642
750
|
return AppContextService;
|
|
643
751
|
}(BaseApiService));
|
|
644
752
|
AppContextService.decorators = [
|
|
645
|
-
{ type:
|
|
753
|
+
{ type: i0.Injectable }
|
|
646
754
|
];
|
|
647
755
|
AppContextService.ctorParameters = function () { return [
|
|
648
756
|
{ type: http.HttpClient }
|
|
649
757
|
]; };
|
|
650
758
|
|
|
759
|
+
/*
|
|
760
|
+
<file>
|
|
761
|
+
Project:
|
|
762
|
+
@osovitny/anatoly
|
|
763
|
+
|
|
764
|
+
Authors:
|
|
765
|
+
Vadim Osovitny
|
|
766
|
+
Anatoly Osovitny
|
|
767
|
+
|
|
768
|
+
Created:
|
|
769
|
+
26 Jun 2020
|
|
770
|
+
|
|
771
|
+
Version:
|
|
772
|
+
1.0
|
|
773
|
+
|
|
774
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
775
|
+
</file>
|
|
776
|
+
*/
|
|
777
|
+
var LoggingService = /** @class */ (function () {
|
|
778
|
+
function LoggingService() {
|
|
779
|
+
}
|
|
780
|
+
LoggingService.prototype.logError = function (error) {
|
|
781
|
+
console.error(error);
|
|
782
|
+
};
|
|
783
|
+
LoggingService.prototype.logInformation = function (info) {
|
|
784
|
+
console.info(info);
|
|
785
|
+
};
|
|
786
|
+
return LoggingService;
|
|
787
|
+
}());
|
|
788
|
+
LoggingService.ɵprov = i0.ɵɵdefineInjectable({ factory: function LoggingService_Factory() { return new LoggingService(); }, token: LoggingService, providedIn: "root" });
|
|
789
|
+
LoggingService.decorators = [
|
|
790
|
+
{ type: i0.Injectable, args: [{
|
|
791
|
+
providedIn: "root",
|
|
792
|
+
},] }
|
|
793
|
+
];
|
|
794
|
+
LoggingService.ctorParameters = function () { return []; };
|
|
795
|
+
|
|
796
|
+
/*
|
|
797
|
+
<file>
|
|
798
|
+
Project:
|
|
799
|
+
@osovitny/anatoly
|
|
800
|
+
|
|
801
|
+
Authors:
|
|
802
|
+
Vadim Osovitny
|
|
803
|
+
Anatoly Osovitny
|
|
804
|
+
|
|
805
|
+
Created:
|
|
806
|
+
26 Jun 2020
|
|
807
|
+
|
|
808
|
+
Version:
|
|
809
|
+
1.0
|
|
810
|
+
|
|
811
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
812
|
+
</file>
|
|
813
|
+
*/
|
|
814
|
+
var GlobalErrorHandler = /** @class */ (function () {
|
|
815
|
+
function GlobalErrorHandler(injector) {
|
|
816
|
+
this.injector = injector;
|
|
817
|
+
}
|
|
818
|
+
GlobalErrorHandler.prototype.handleError = function (error) {
|
|
819
|
+
var loggingService = this.injector.get(LoggingService);
|
|
820
|
+
loggingService.logError(error);
|
|
821
|
+
// IMPORTANT: Rethrow the error otherwise it gets swallowed
|
|
822
|
+
throw error;
|
|
823
|
+
};
|
|
824
|
+
return GlobalErrorHandler;
|
|
825
|
+
}());
|
|
826
|
+
GlobalErrorHandler.decorators = [
|
|
827
|
+
{ type: i0.Injectable }
|
|
828
|
+
];
|
|
829
|
+
GlobalErrorHandler.ctorParameters = function () { return [
|
|
830
|
+
{ type: i0.Injector }
|
|
831
|
+
]; };
|
|
832
|
+
|
|
833
|
+
/*
|
|
834
|
+
<file>
|
|
835
|
+
Project:
|
|
836
|
+
@osovitny/anatoly
|
|
837
|
+
|
|
838
|
+
Authors:
|
|
839
|
+
Vadim Osovitny
|
|
840
|
+
Anatoly Osovitny
|
|
841
|
+
|
|
842
|
+
Created:
|
|
843
|
+
26 Jun 2020
|
|
844
|
+
|
|
845
|
+
Version:
|
|
846
|
+
1.0
|
|
847
|
+
|
|
848
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
849
|
+
</file>
|
|
850
|
+
*/
|
|
851
|
+
function throwIfAlreadyLoaded(parentModule, moduleName) {
|
|
852
|
+
if (parentModule) {
|
|
853
|
+
throw new Error(moduleName + " has already been loaded. Import " + moduleName + " modules in the AppModule only.");
|
|
854
|
+
}
|
|
855
|
+
}
|
|
856
|
+
|
|
857
|
+
var providers = [
|
|
858
|
+
LoggingService,
|
|
859
|
+
AppContextService,
|
|
860
|
+
];
|
|
861
|
+
var InjectorInstance;
|
|
651
862
|
var AnatolyCoreModule = /** @class */ (function () {
|
|
652
|
-
function AnatolyCoreModule() {
|
|
863
|
+
function AnatolyCoreModule(injector, parentModule) {
|
|
864
|
+
this.injector = injector;
|
|
865
|
+
throwIfAlreadyLoaded(parentModule, "AnatolyCoreModule");
|
|
866
|
+
InjectorInstance = this.injector;
|
|
653
867
|
}
|
|
654
868
|
return AnatolyCoreModule;
|
|
655
869
|
}());
|
|
656
870
|
AnatolyCoreModule.decorators = [
|
|
657
|
-
{ type:
|
|
658
|
-
declarations: [],
|
|
871
|
+
{ type: i0.NgModule, args: [{
|
|
659
872
|
imports: [common.CommonModule],
|
|
660
|
-
providers:
|
|
873
|
+
providers: __spread(providers),
|
|
661
874
|
},] }
|
|
662
|
-
];
|
|
875
|
+
];
|
|
876
|
+
AnatolyCoreModule.ctorParameters = function () { return [
|
|
877
|
+
{ type: i0.Injector },
|
|
878
|
+
{ type: AnatolyCoreModule, decorators: [{ type: i0.Optional }, { type: i0.SkipSelf }] }
|
|
879
|
+
]; };
|
|
880
|
+
|
|
881
|
+
/*
|
|
882
|
+
<file>
|
|
883
|
+
Project:
|
|
884
|
+
@osovitny/anatoly
|
|
885
|
+
|
|
886
|
+
Authors:
|
|
887
|
+
Vadim Osovitny
|
|
888
|
+
Anatoly Osovitny
|
|
889
|
+
|
|
890
|
+
Created:
|
|
891
|
+
26 Jun 2020
|
|
892
|
+
|
|
893
|
+
Version:
|
|
894
|
+
1.0
|
|
895
|
+
|
|
896
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
897
|
+
</file>
|
|
898
|
+
*/
|
|
663
899
|
|
|
664
900
|
var BaseGridReadService = /** @class */ (function (_super) {
|
|
665
901
|
__extends(BaseGridReadService, _super);
|
|
@@ -671,7 +907,7 @@
|
|
|
671
907
|
return _this;
|
|
672
908
|
}
|
|
673
909
|
BaseGridReadService.prototype.serializeParams = function (data) {
|
|
674
|
-
return data ?
|
|
910
|
+
return data ? "?" + $.param(data) : "";
|
|
675
911
|
};
|
|
676
912
|
BaseGridReadService.prototype.read = function (params, success, error) {
|
|
677
913
|
var _this = this;
|
|
@@ -679,14 +915,17 @@
|
|
|
679
915
|
return _super.prototype.next.call(this, this.data);
|
|
680
916
|
}
|
|
681
917
|
var url = this.baseReadUrl;
|
|
682
|
-
if (typeof params ===
|
|
918
|
+
if (typeof params === "undefined") {
|
|
683
919
|
params = this.savedReadParams;
|
|
684
920
|
}
|
|
685
921
|
if (params) {
|
|
686
922
|
url = this.baseReadUrl + ("" + this.serializeParams(params));
|
|
687
923
|
this.savedReadParams = params;
|
|
688
924
|
}
|
|
689
|
-
this.http
|
|
925
|
+
this.http
|
|
926
|
+
.get(url)
|
|
927
|
+
.pipe(operators.map(function (res) { return res; }))
|
|
928
|
+
.subscribe(function (data) {
|
|
690
929
|
_super.prototype.next.call(_this, data);
|
|
691
930
|
if (success)
|
|
692
931
|
success();
|
|
@@ -698,7 +937,7 @@
|
|
|
698
937
|
return BaseGridReadService;
|
|
699
938
|
}(rxjs.BehaviorSubject));
|
|
700
939
|
BaseGridReadService.decorators = [
|
|
701
|
-
{ type:
|
|
940
|
+
{ type: i0.Injectable }
|
|
702
941
|
];
|
|
703
942
|
BaseGridReadService.ctorParameters = function () { return [
|
|
704
943
|
{ type: http.HttpClient }
|
|
@@ -727,10 +966,9 @@
|
|
|
727
966
|
};
|
|
728
967
|
BaseGridEditService.prototype.save = function (data, isNew, sucess) {
|
|
729
968
|
var _this = this;
|
|
730
|
-
var action = isNew ?
|
|
969
|
+
var action = isNew ? "add" : "update";
|
|
731
970
|
this.reset();
|
|
732
|
-
this.post(action, data).subscribe(function () {
|
|
733
|
-
}, function () {
|
|
971
|
+
this.post(action, data).subscribe(function () { }, function () {
|
|
734
972
|
_this.read();
|
|
735
973
|
}, function () {
|
|
736
974
|
_this.read();
|
|
@@ -741,8 +979,7 @@
|
|
|
741
979
|
BaseGridEditService.prototype.remove = function (data, sucess) {
|
|
742
980
|
var _this = this;
|
|
743
981
|
this.reset();
|
|
744
|
-
this.post(
|
|
745
|
-
}, function () {
|
|
982
|
+
this.post("remove", data).subscribe(function () { }, function () {
|
|
746
983
|
_this.read();
|
|
747
984
|
}, function () {
|
|
748
985
|
_this.read();
|
|
@@ -757,7 +994,7 @@
|
|
|
757
994
|
return BaseGridEditService;
|
|
758
995
|
}(BaseGridReadService));
|
|
759
996
|
BaseGridEditService.decorators = [
|
|
760
|
-
{ type:
|
|
997
|
+
{ type: i0.Injectable }
|
|
761
998
|
];
|
|
762
999
|
BaseGridEditService.ctorParameters = function () { return [
|
|
763
1000
|
{ type: http.HttpClient }
|
|
@@ -768,12 +1005,13 @@
|
|
|
768
1005
|
function BillingApiService(http) {
|
|
769
1006
|
var _this = _super.call(this, http) || this;
|
|
770
1007
|
_this.http = http;
|
|
771
|
-
_this.baseUrl +=
|
|
1008
|
+
_this.baseUrl += "billing/";
|
|
772
1009
|
return _this;
|
|
773
1010
|
}
|
|
774
1011
|
BillingApiService.prototype.requestNewSubscription = function (requestedPlan, success, error) {
|
|
775
|
-
this.postQS(
|
|
776
|
-
|
|
1012
|
+
this.postQS("requestNewSubscription", {
|
|
1013
|
+
requestedPlan: requestedPlan,
|
|
1014
|
+
}).subscribe(function (data) { }, function (e) {
|
|
777
1015
|
if (error)
|
|
778
1016
|
error();
|
|
779
1017
|
}, function () {
|
|
@@ -782,8 +1020,7 @@
|
|
|
782
1020
|
});
|
|
783
1021
|
};
|
|
784
1022
|
BillingApiService.prototype.cancelRequestedSubscription = function (success, error) {
|
|
785
|
-
this.postQS(
|
|
786
|
-
.subscribe(function (data) { }, function (e) {
|
|
1023
|
+
this.postQS("cancelRequestedSubscription", null).subscribe(function (data) { }, function (e) {
|
|
787
1024
|
if (error)
|
|
788
1025
|
error();
|
|
789
1026
|
}, function () {
|
|
@@ -792,8 +1029,7 @@
|
|
|
792
1029
|
});
|
|
793
1030
|
};
|
|
794
1031
|
BillingApiService.prototype.buyAccess = function (requestedPlan, success, error) {
|
|
795
|
-
this.postQS(
|
|
796
|
-
.subscribe(function (data) { }, function (e) {
|
|
1032
|
+
this.postQS("buyAccess", { requestedPlan: requestedPlan }).subscribe(function (data) { }, function (e) {
|
|
797
1033
|
if (error)
|
|
798
1034
|
error();
|
|
799
1035
|
}, function () {
|
|
@@ -804,7 +1040,7 @@
|
|
|
804
1040
|
return BillingApiService;
|
|
805
1041
|
}(BaseApiService));
|
|
806
1042
|
BillingApiService.decorators = [
|
|
807
|
-
{ type:
|
|
1043
|
+
{ type: i0.Injectable }
|
|
808
1044
|
];
|
|
809
1045
|
BillingApiService.ctorParameters = function () { return [
|
|
810
1046
|
{ type: http.HttpClient }
|
|
@@ -812,8 +1048,12 @@
|
|
|
812
1048
|
|
|
813
1049
|
/*
|
|
814
1050
|
<file>
|
|
1051
|
+
Project:
|
|
1052
|
+
@osovitny/anatoly
|
|
1053
|
+
|
|
815
1054
|
Authors:
|
|
816
1055
|
Vadim Osovitny
|
|
1056
|
+
Anatoly Osovitny
|
|
817
1057
|
|
|
818
1058
|
Created:
|
|
819
1059
|
4 Mar 2020
|
|
@@ -830,22 +1070,39 @@
|
|
|
830
1070
|
return AnatolyDataModule;
|
|
831
1071
|
}());
|
|
832
1072
|
AnatolyDataModule.decorators = [
|
|
833
|
-
{ type:
|
|
834
|
-
imports: [
|
|
835
|
-
|
|
836
|
-
],
|
|
837
|
-
providers: [
|
|
838
|
-
BillingApiService
|
|
839
|
-
]
|
|
1073
|
+
{ type: i0.NgModule, args: [{
|
|
1074
|
+
imports: [common.CommonModule],
|
|
1075
|
+
providers: [BillingApiService],
|
|
840
1076
|
},] }
|
|
841
1077
|
];
|
|
842
1078
|
|
|
843
|
-
|
|
1079
|
+
/*
|
|
1080
|
+
<file>
|
|
1081
|
+
Project:
|
|
1082
|
+
@osovitny/anatoly
|
|
1083
|
+
|
|
1084
|
+
Authors:
|
|
1085
|
+
Vadim Osovitny
|
|
1086
|
+
Anatoly Osovitny
|
|
1087
|
+
|
|
1088
|
+
Created:
|
|
1089
|
+
4 Mar 2020
|
|
1090
|
+
|
|
1091
|
+
Version:
|
|
1092
|
+
1.0
|
|
1093
|
+
|
|
1094
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1095
|
+
</file>
|
|
1096
|
+
*/
|
|
844
1097
|
|
|
845
1098
|
/*
|
|
846
1099
|
<file>
|
|
1100
|
+
Project:
|
|
1101
|
+
@osovitny/anatoly
|
|
1102
|
+
|
|
847
1103
|
Authors:
|
|
848
1104
|
Vadim Osovitny
|
|
1105
|
+
Anatoly Osovitny
|
|
849
1106
|
|
|
850
1107
|
Created:
|
|
851
1108
|
1 Jun 2018
|
|
@@ -862,9 +1119,9 @@
|
|
|
862
1119
|
this.contextUpdated = false;
|
|
863
1120
|
this.isUserSignedIn = false;
|
|
864
1121
|
this.currentPlan = 0;
|
|
865
|
-
this.currentPlanTitle =
|
|
1122
|
+
this.currentPlanTitle = "";
|
|
866
1123
|
this.requestedPlan = 0;
|
|
867
|
-
this.requestedPlanTitle =
|
|
1124
|
+
this.requestedPlanTitle = "";
|
|
868
1125
|
}
|
|
869
1126
|
SubscribePlanButtonComponent.prototype.ngOnInit = function () {
|
|
870
1127
|
var _this = this;
|
|
@@ -886,8 +1143,8 @@
|
|
|
886
1143
|
return SubscribePlanButtonComponent;
|
|
887
1144
|
}());
|
|
888
1145
|
SubscribePlanButtonComponent.decorators = [
|
|
889
|
-
{ type:
|
|
890
|
-
selector:
|
|
1146
|
+
{ type: i0.Component, args: [{
|
|
1147
|
+
selector: "anatoly-subscribe-plan-button",
|
|
891
1148
|
template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"requestedPlan != null && requestedPlan != 0 && plan == requestedPlan\">\r\n Requested\r\n </button>\r\n\r\n <anatoly-upgrade-plan-button *ngIf=\"plan != currentPlan && plan != requestedPlan\"\r\n [currentplantitle]=\"currentPlanTitle\"\r\n [requestedplan]=plan\r\n [requestedplantitle]=\"plantitle\">\r\n </anatoly-upgrade-plan-button>\r\n </div>\r\n</div>\r\n"
|
|
892
1149
|
},] }
|
|
893
1150
|
];
|
|
@@ -895,14 +1152,18 @@
|
|
|
895
1152
|
{ type: AppContextService }
|
|
896
1153
|
]; };
|
|
897
1154
|
SubscribePlanButtonComponent.propDecorators = {
|
|
898
|
-
plan: [{ type:
|
|
899
|
-
plantitle: [{ type:
|
|
1155
|
+
plan: [{ type: i0.Input }],
|
|
1156
|
+
plantitle: [{ type: i0.Input }]
|
|
900
1157
|
};
|
|
901
1158
|
|
|
902
1159
|
/*
|
|
903
1160
|
<file>
|
|
1161
|
+
Project:
|
|
1162
|
+
@osovitny/anatoly
|
|
1163
|
+
|
|
904
1164
|
Authors:
|
|
905
1165
|
Vadim Osovitny
|
|
1166
|
+
Anatoly Osovitny
|
|
906
1167
|
|
|
907
1168
|
Created:
|
|
908
1169
|
12 Nov 2017
|
|
@@ -921,9 +1182,9 @@
|
|
|
921
1182
|
UpgradePlanButtonComponent.prototype.onUpgradePlan = function () {
|
|
922
1183
|
var text = "Current plan: " + this.currentplantitle + " New plan: " + this.requestedplantitle;
|
|
923
1184
|
var that = this;
|
|
924
|
-
Alerts.AreYouSure(text,
|
|
1185
|
+
Alerts.AreYouSure(text, "Change billing plan", "Confirm change", "Cancel", function () {
|
|
925
1186
|
that.api.requestNewSubscription(that.requestedplan, function () {
|
|
926
|
-
Alerts.Success(
|
|
1187
|
+
Alerts.Success("Your request for changing plan has been sent.", null, function () {
|
|
927
1188
|
window.location.reload();
|
|
928
1189
|
});
|
|
929
1190
|
});
|
|
@@ -932,8 +1193,8 @@
|
|
|
932
1193
|
return UpgradePlanButtonComponent;
|
|
933
1194
|
}());
|
|
934
1195
|
UpgradePlanButtonComponent.decorators = [
|
|
935
|
-
{ type:
|
|
936
|
-
selector:
|
|
1196
|
+
{ type: i0.Component, args: [{
|
|
1197
|
+
selector: "anatoly-upgrade-plan-button",
|
|
937
1198
|
template: "<button class=\"btn btn-block btn-primary\" (click)=\"onUpgradePlan()\">\r\n Upgrade\r\n</button>\r\n"
|
|
938
1199
|
},] }
|
|
939
1200
|
];
|
|
@@ -941,13 +1202,16 @@
|
|
|
941
1202
|
{ type: BillingApiService }
|
|
942
1203
|
]; };
|
|
943
1204
|
UpgradePlanButtonComponent.propDecorators = {
|
|
944
|
-
currentplantitle: [{ type:
|
|
945
|
-
requestedplan: [{ type:
|
|
946
|
-
requestedplantitle: [{ type:
|
|
1205
|
+
currentplantitle: [{ type: i0.Input }],
|
|
1206
|
+
requestedplan: [{ type: i0.Input }],
|
|
1207
|
+
requestedplantitle: [{ type: i0.Input }]
|
|
947
1208
|
};
|
|
948
1209
|
|
|
949
1210
|
/*
|
|
950
1211
|
<file>
|
|
1212
|
+
Project:
|
|
1213
|
+
@osovitny/anatoly
|
|
1214
|
+
|
|
951
1215
|
Authors:
|
|
952
1216
|
Vadim Osovitny
|
|
953
1217
|
Anatoly Osovitny
|
|
@@ -968,7 +1232,7 @@
|
|
|
968
1232
|
this.contextUpdated = false;
|
|
969
1233
|
this.isUserSignedIn = false;
|
|
970
1234
|
this.currentPlan = 0;
|
|
971
|
-
this.currentPlanTitle =
|
|
1235
|
+
this.currentPlanTitle = "";
|
|
972
1236
|
}
|
|
973
1237
|
BuyAccessButtonComponent.prototype.ngOnInit = function () {
|
|
974
1238
|
var _this = this;
|
|
@@ -988,9 +1252,9 @@
|
|
|
988
1252
|
BuyAccessButtonComponent.prototype.onBuyPlan = function () {
|
|
989
1253
|
var text = "Requested plan: " + this.plantitle + " ";
|
|
990
1254
|
var that = this;
|
|
991
|
-
Alerts.AreYouSure(text,
|
|
1255
|
+
Alerts.AreYouSure(text, "Buying access", "Confirm change", "Cancel", function () {
|
|
992
1256
|
that.api.buyAccess(that.plan, function () {
|
|
993
|
-
Alerts.Success(
|
|
1257
|
+
Alerts.Success("Access Granted", null, function () {
|
|
994
1258
|
window.location.reload();
|
|
995
1259
|
});
|
|
996
1260
|
});
|
|
@@ -999,8 +1263,8 @@
|
|
|
999
1263
|
return BuyAccessButtonComponent;
|
|
1000
1264
|
}());
|
|
1001
1265
|
BuyAccessButtonComponent.decorators = [
|
|
1002
|
-
{ type:
|
|
1003
|
-
selector:
|
|
1266
|
+
{ type: i0.Component, args: [{
|
|
1267
|
+
selector: "anatoly-buyaccess-button",
|
|
1004
1268
|
template: "<div *ngIf=\"contextUpdated\">\r\n <div *ngIf=\"!isUserSignedIn\">\r\n <anatoly-signup-button classbtn=\"btn btn-block btn-primary\"></anatoly-signup-button>\r\n </div>\r\n\r\n <div *ngIf=\"isUserSignedIn\">\r\n <button class=\"btn btn-block btn-success selectPlan\" *ngIf=\"plan == currentPlan\">\r\n Your Plan\r\n </button>\r\n\r\n <button class=\"btn btn-block btn-warning selectPlan\" *ngIf=\"plan != currentPlan && currentPlan == 1\" (click)=\"onBuyPlan()\">\r\n Buy Now\r\n </button>\r\n </div>\r\n</div>\r\n"
|
|
1005
1269
|
},] }
|
|
1006
1270
|
];
|
|
@@ -1009,14 +1273,18 @@
|
|
|
1009
1273
|
{ type: BillingApiService }
|
|
1010
1274
|
]; };
|
|
1011
1275
|
BuyAccessButtonComponent.propDecorators = {
|
|
1012
|
-
plan: [{ type:
|
|
1013
|
-
plantitle: [{ type:
|
|
1276
|
+
plan: [{ type: i0.Input }],
|
|
1277
|
+
plantitle: [{ type: i0.Input }]
|
|
1014
1278
|
};
|
|
1015
1279
|
|
|
1016
1280
|
/*
|
|
1017
1281
|
<file>
|
|
1282
|
+
Project:
|
|
1283
|
+
@osovitny/anatoly
|
|
1284
|
+
|
|
1018
1285
|
Authors:
|
|
1019
1286
|
Vadim Osovitny
|
|
1287
|
+
Anatoly Osovitny
|
|
1020
1288
|
|
|
1021
1289
|
Created:
|
|
1022
1290
|
4 Jul 2018
|
|
@@ -1024,7 +1292,7 @@
|
|
|
1024
1292
|
Version:
|
|
1025
1293
|
1.0
|
|
1026
1294
|
|
|
1027
|
-
Copyright (c)
|
|
1295
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1028
1296
|
</file>
|
|
1029
1297
|
*/
|
|
1030
1298
|
var SignInButtonComponent = /** @class */ (function () {
|
|
@@ -1033,20 +1301,24 @@
|
|
|
1033
1301
|
return SignInButtonComponent;
|
|
1034
1302
|
}());
|
|
1035
1303
|
SignInButtonComponent.decorators = [
|
|
1036
|
-
{ type:
|
|
1037
|
-
selector:
|
|
1304
|
+
{ type: i0.Component, args: [{
|
|
1305
|
+
selector: "anatoly-signin-button",
|
|
1038
1306
|
template: "<a href=\"identity/signIn\" class=\"{{classbtn}}\">Sign In</a>\r\n"
|
|
1039
1307
|
},] }
|
|
1040
1308
|
];
|
|
1041
1309
|
SignInButtonComponent.ctorParameters = function () { return []; };
|
|
1042
1310
|
SignInButtonComponent.propDecorators = {
|
|
1043
|
-
classbtn: [{ type:
|
|
1311
|
+
classbtn: [{ type: i0.Input }]
|
|
1044
1312
|
};
|
|
1045
1313
|
|
|
1046
1314
|
/*
|
|
1047
1315
|
<file>
|
|
1316
|
+
Project:
|
|
1317
|
+
@osovitny/anatoly
|
|
1318
|
+
|
|
1048
1319
|
Authors:
|
|
1049
1320
|
Vadim Osovitny
|
|
1321
|
+
Anatoly Osovitny
|
|
1050
1322
|
|
|
1051
1323
|
Created:
|
|
1052
1324
|
4 Jul 2018
|
|
@@ -1054,7 +1326,7 @@
|
|
|
1054
1326
|
Version:
|
|
1055
1327
|
1.0
|
|
1056
1328
|
|
|
1057
|
-
Copyright (c)
|
|
1329
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1058
1330
|
</file>
|
|
1059
1331
|
*/
|
|
1060
1332
|
var SignUpButtonComponent = /** @class */ (function () {
|
|
@@ -1063,19 +1335,23 @@
|
|
|
1063
1335
|
return SignUpButtonComponent;
|
|
1064
1336
|
}());
|
|
1065
1337
|
SignUpButtonComponent.decorators = [
|
|
1066
|
-
{ type:
|
|
1338
|
+
{ type: i0.Component, args: [{
|
|
1067
1339
|
selector: "anatoly-signup-button",
|
|
1068
1340
|
template: "<a href=\"identity/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n"
|
|
1069
1341
|
},] }
|
|
1070
1342
|
];
|
|
1071
1343
|
SignUpButtonComponent.propDecorators = {
|
|
1072
|
-
classbtn: [{ type:
|
|
1344
|
+
classbtn: [{ type: i0.Input }]
|
|
1073
1345
|
};
|
|
1074
1346
|
|
|
1075
1347
|
/*
|
|
1076
1348
|
<file>
|
|
1349
|
+
Project:
|
|
1350
|
+
@osovitny/anatoly
|
|
1351
|
+
|
|
1077
1352
|
Authors:
|
|
1078
1353
|
Vadim Osovitny
|
|
1354
|
+
Anatoly Osovitny
|
|
1079
1355
|
|
|
1080
1356
|
Created:
|
|
1081
1357
|
4 Jul 2018
|
|
@@ -1083,7 +1359,7 @@
|
|
|
1083
1359
|
Version:
|
|
1084
1360
|
1.0
|
|
1085
1361
|
|
|
1086
|
-
Copyright (c)
|
|
1362
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1087
1363
|
</file>
|
|
1088
1364
|
*/
|
|
1089
1365
|
var SignOutButtonComponent = /** @class */ (function () {
|
|
@@ -1092,20 +1368,24 @@
|
|
|
1092
1368
|
return SignOutButtonComponent;
|
|
1093
1369
|
}());
|
|
1094
1370
|
SignOutButtonComponent.decorators = [
|
|
1095
|
-
{ type:
|
|
1096
|
-
selector:
|
|
1371
|
+
{ type: i0.Component, args: [{
|
|
1372
|
+
selector: "anatoly-signout-button",
|
|
1097
1373
|
template: "<a href=\"identity/signOut\" class=\"{{classbtn}}\">Sign Out</a>\r\n"
|
|
1098
1374
|
},] }
|
|
1099
1375
|
];
|
|
1100
1376
|
SignOutButtonComponent.ctorParameters = function () { return []; };
|
|
1101
1377
|
SignOutButtonComponent.propDecorators = {
|
|
1102
|
-
classbtn: [{ type:
|
|
1378
|
+
classbtn: [{ type: i0.Input }]
|
|
1103
1379
|
};
|
|
1104
1380
|
|
|
1105
1381
|
/*
|
|
1106
1382
|
<file>
|
|
1383
|
+
Project:
|
|
1384
|
+
@osovitny/anatoly
|
|
1385
|
+
|
|
1107
1386
|
Authors:
|
|
1108
1387
|
Vadim Osovitny
|
|
1388
|
+
Anatoly Osovitny
|
|
1109
1389
|
|
|
1110
1390
|
Created:
|
|
1111
1391
|
28 Aug 2018
|
|
@@ -1120,17 +1400,17 @@
|
|
|
1120
1400
|
function BaseComponent() {
|
|
1121
1401
|
}
|
|
1122
1402
|
BaseComponent.prototype.getQSId = function () {
|
|
1123
|
-
var id = Utils.
|
|
1124
|
-
if (typeof id ===
|
|
1403
|
+
var id = Utils.getValueByNameInQS("id");
|
|
1404
|
+
if (typeof id === "undefined" || id === "")
|
|
1125
1405
|
return null;
|
|
1126
1406
|
return id;
|
|
1127
1407
|
};
|
|
1128
1408
|
BaseComponent.prototype.showLoading = function () {
|
|
1129
|
-
var panelLoading = $(
|
|
1409
|
+
var panelLoading = $("#pnlLoading");
|
|
1130
1410
|
panelLoading.show();
|
|
1131
1411
|
};
|
|
1132
1412
|
BaseComponent.prototype.hideLoading = function () {
|
|
1133
|
-
var panelLoading = $(
|
|
1413
|
+
var panelLoading = $("#pnlLoading");
|
|
1134
1414
|
panelLoading.hide();
|
|
1135
1415
|
};
|
|
1136
1416
|
BaseComponent.prototype.handleError = function (e) {
|
|
@@ -1148,8 +1428,8 @@
|
|
|
1148
1428
|
return _this;
|
|
1149
1429
|
}
|
|
1150
1430
|
BaseEditComponent.prototype.isActionAdding = function () {
|
|
1151
|
-
var id = Utils.
|
|
1152
|
-
if (typeof id ===
|
|
1431
|
+
var id = Utils.getValueByNameInQS("id");
|
|
1432
|
+
if (typeof id === "undefined" || id === "")
|
|
1153
1433
|
return true;
|
|
1154
1434
|
return false;
|
|
1155
1435
|
};
|
|
@@ -1157,7 +1437,7 @@
|
|
|
1157
1437
|
return this.getQSId();
|
|
1158
1438
|
};
|
|
1159
1439
|
BaseEditComponent.prototype.isItemInvalid = function (name) {
|
|
1160
|
-
if (typeof name ===
|
|
1440
|
+
if (typeof name === "undefined" || name === "") {
|
|
1161
1441
|
return false;
|
|
1162
1442
|
}
|
|
1163
1443
|
if (!this.formGroup) {
|
|
@@ -1184,8 +1464,8 @@
|
|
|
1184
1464
|
return BaseEditComponent;
|
|
1185
1465
|
}(BaseComponent));
|
|
1186
1466
|
BaseEditComponent.propDecorators = {
|
|
1187
|
-
formGroup: [{ type:
|
|
1188
|
-
formSubmitted: [{ type:
|
|
1467
|
+
formGroup: [{ type: i0.Input }],
|
|
1468
|
+
formSubmitted: [{ type: i0.Input }]
|
|
1189
1469
|
};
|
|
1190
1470
|
|
|
1191
1471
|
var ValidationSummaryComponent = /** @class */ (function (_super) {
|
|
@@ -1249,14 +1529,14 @@
|
|
|
1249
1529
|
return FormValidationSummaryComponent;
|
|
1250
1530
|
}(ValidationSummaryComponent));
|
|
1251
1531
|
FormValidationSummaryComponent.decorators = [
|
|
1252
|
-
{ type:
|
|
1532
|
+
{ type: i0.Component, args: [{
|
|
1253
1533
|
selector: "anatoly-form-validation-summary",
|
|
1254
1534
|
template: "<div class=\"callout callout-danger\" *ngIf=\"isVisible\">\r\n <h4 class=\"box-title\">There are problems with the form</h4>\r\n <p *ngFor=\"let error of getErrors()\">\r\n <span class=\"help-block\" style=\"color: white;\">{{ error }}</span>\r\n </p>\r\n</div>\r\n"
|
|
1255
1535
|
},] }
|
|
1256
1536
|
];
|
|
1257
1537
|
FormValidationSummaryComponent.ctorParameters = function () { return []; };
|
|
1258
1538
|
FormValidationSummaryComponent.propDecorators = {
|
|
1259
|
-
isVisible: [{ type:
|
|
1539
|
+
isVisible: [{ type: i0.Input }]
|
|
1260
1540
|
};
|
|
1261
1541
|
|
|
1262
1542
|
var ItemValidationSummaryComponent = /** @class */ (function (_super) {
|
|
@@ -1267,47 +1547,104 @@
|
|
|
1267
1547
|
return ItemValidationSummaryComponent;
|
|
1268
1548
|
}(ValidationSummaryComponent));
|
|
1269
1549
|
ItemValidationSummaryComponent.decorators = [
|
|
1270
|
-
{ type:
|
|
1550
|
+
{ type: i0.Component, args: [{
|
|
1271
1551
|
selector: "anatoly-item-validation-summary",
|
|
1272
1552
|
template: "<ul class=\"list-unstyled\" *ngIf=\"isItemInvalid(controlName)\">\r\n <li *ngFor=\"let error of getValidationMessages(formGroup.get(controlName), controlTitle)\">\r\n <span class=\"help-block\">{{ error }}</span>\r\n </li>\r\n</ul>\r\n"
|
|
1273
1553
|
},] }
|
|
1274
1554
|
];
|
|
1275
1555
|
ItemValidationSummaryComponent.ctorParameters = function () { return []; };
|
|
1276
1556
|
ItemValidationSummaryComponent.propDecorators = {
|
|
1277
|
-
controlName: [{ type:
|
|
1278
|
-
controlTitle: [{ type:
|
|
1557
|
+
controlName: [{ type: i0.Input }],
|
|
1558
|
+
controlTitle: [{ type: i0.Input }]
|
|
1279
1559
|
};
|
|
1280
1560
|
|
|
1561
|
+
/*
|
|
1562
|
+
<file>
|
|
1563
|
+
Project:
|
|
1564
|
+
@osovitny/anatoly
|
|
1565
|
+
|
|
1566
|
+
Authors:
|
|
1567
|
+
Vadim Osovitny
|
|
1568
|
+
Anatoly Osovitny
|
|
1569
|
+
|
|
1570
|
+
Created:
|
|
1571
|
+
12 Dec 2017
|
|
1572
|
+
|
|
1573
|
+
Version:
|
|
1574
|
+
1.0
|
|
1575
|
+
|
|
1576
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1577
|
+
</file>
|
|
1578
|
+
*/
|
|
1281
1579
|
var DefaultEditorOptions = {
|
|
1282
|
-
placeholderText:
|
|
1580
|
+
placeholderText: "Edit Your Content Here",
|
|
1283
1581
|
charCounterCount: true,
|
|
1284
1582
|
heightMin: 100,
|
|
1285
1583
|
toolbarInline: false,
|
|
1286
1584
|
toolbarButtons: {
|
|
1287
|
-
|
|
1288
|
-
|
|
1289
|
-
|
|
1585
|
+
moreText: {
|
|
1586
|
+
buttons: [
|
|
1587
|
+
"bold",
|
|
1588
|
+
"italic",
|
|
1589
|
+
"underline",
|
|
1590
|
+
"strikeThrough",
|
|
1591
|
+
"subscript",
|
|
1592
|
+
"superscript",
|
|
1593
|
+
"fontFamily",
|
|
1594
|
+
"fontSize",
|
|
1595
|
+
"textColor",
|
|
1596
|
+
"backgroundColor",
|
|
1597
|
+
"inlineClass",
|
|
1598
|
+
"inlineStyle",
|
|
1599
|
+
],
|
|
1290
1600
|
},
|
|
1291
|
-
|
|
1292
|
-
|
|
1293
|
-
|
|
1601
|
+
moreParagraph: {
|
|
1602
|
+
buttons: [
|
|
1603
|
+
"alignLeft",
|
|
1604
|
+
"alignCenter",
|
|
1605
|
+
"formatOLSimple",
|
|
1606
|
+
"alignRight",
|
|
1607
|
+
"alignJustify",
|
|
1608
|
+
"formatOL",
|
|
1609
|
+
"formatUL",
|
|
1610
|
+
"paragraphFormat",
|
|
1611
|
+
"paragraphStyle",
|
|
1612
|
+
"lineHeight",
|
|
1613
|
+
"outdent",
|
|
1614
|
+
"indent",
|
|
1615
|
+
"quote",
|
|
1616
|
+
],
|
|
1294
1617
|
},
|
|
1295
|
-
|
|
1296
|
-
|
|
1297
|
-
|
|
1618
|
+
moreRich: {
|
|
1619
|
+
buttons: [
|
|
1620
|
+
"insertLink",
|
|
1621
|
+
"insertImage",
|
|
1622
|
+
"insertTable",
|
|
1623
|
+
"emoticons",
|
|
1624
|
+
"fontAwesome",
|
|
1625
|
+
"specialCharacters",
|
|
1626
|
+
"embedly",
|
|
1627
|
+
],
|
|
1628
|
+
},
|
|
1629
|
+
moreMisc: {
|
|
1630
|
+
buttons: [
|
|
1631
|
+
"selectAll",
|
|
1632
|
+
"clearFormatting",
|
|
1633
|
+
"html",
|
|
1634
|
+
"undo",
|
|
1635
|
+
"redo",
|
|
1636
|
+
"fullscreen",
|
|
1637
|
+
],
|
|
1638
|
+
align: "right",
|
|
1298
1639
|
},
|
|
1299
|
-
'moreMisc': {
|
|
1300
|
-
'buttons': ['selectAll', 'clearFormatting', 'html', 'undo', 'redo', 'fullscreen'],
|
|
1301
|
-
'align': 'right',
|
|
1302
|
-
}
|
|
1303
1640
|
},
|
|
1304
1641
|
/*
|
|
1305
1642
|
Upload:
|
|
1306
1643
|
https://www.froala.com/wysiwyg-editor/docs/concepts/image/upload
|
|
1307
1644
|
*/
|
|
1308
|
-
imageUploadURL:
|
|
1309
|
-
imageAllowedTypes: [
|
|
1310
|
-
imageUploadParams: { uploadType:
|
|
1645
|
+
imageUploadURL: "/api/HtmlEditor/UploadImage",
|
|
1646
|
+
imageAllowedTypes: ["jpeg", "jpg", "png"],
|
|
1647
|
+
imageUploadParams: { uploadType: "", uploadParentId: "" },
|
|
1311
1648
|
};
|
|
1312
1649
|
|
|
1313
1650
|
var BaseHtmlEditorComponent = /** @class */ (function (_super) {
|
|
@@ -1317,7 +1654,7 @@
|
|
|
1317
1654
|
_this.froalaEditorInitialized = false;
|
|
1318
1655
|
_this.afterInitializedActions = [];
|
|
1319
1656
|
//Inputs
|
|
1320
|
-
_this.editorLabelText =
|
|
1657
|
+
_this.editorLabelText = "Html";
|
|
1321
1658
|
_this.editorOptions = {};
|
|
1322
1659
|
return _this;
|
|
1323
1660
|
}
|
|
@@ -1362,7 +1699,9 @@
|
|
|
1362
1699
|
BaseHtmlEditorComponent.prototype.doAfterInitialized = function (action) {
|
|
1363
1700
|
var that = this;
|
|
1364
1701
|
if (!this.froalaEditorInitialized) {
|
|
1365
|
-
this.afterInitializedActions.push(function () {
|
|
1702
|
+
this.afterInitializedActions.push(function () {
|
|
1703
|
+
action(that);
|
|
1704
|
+
});
|
|
1366
1705
|
}
|
|
1367
1706
|
else {
|
|
1368
1707
|
action(that);
|
|
@@ -1375,7 +1714,7 @@
|
|
|
1375
1714
|
BaseHtmlEditorComponent.prototype.setUploadParams = function (uploadType, uploadParentId) {
|
|
1376
1715
|
this.doAfterInitialized(function (that) {
|
|
1377
1716
|
var editor = that.getEditor();
|
|
1378
|
-
if (typeof
|
|
1717
|
+
if (typeof editor == "undefined" || editor == null) {
|
|
1379
1718
|
return;
|
|
1380
1719
|
}
|
|
1381
1720
|
editor.opts.imageUploadParams.uploadType = uploadType;
|
|
@@ -1385,8 +1724,8 @@
|
|
|
1385
1724
|
return BaseHtmlEditorComponent;
|
|
1386
1725
|
}(BaseEditComponent));
|
|
1387
1726
|
BaseHtmlEditorComponent.propDecorators = {
|
|
1388
|
-
editorLabelText: [{ type:
|
|
1389
|
-
editorOptions: [{ type:
|
|
1727
|
+
editorLabelText: [{ type: i0.Input }],
|
|
1728
|
+
editorOptions: [{ type: i0.Input }]
|
|
1390
1729
|
};
|
|
1391
1730
|
|
|
1392
1731
|
var HtmlEditorComponent = /** @class */ (function (_super) {
|
|
@@ -1397,7 +1736,7 @@
|
|
|
1397
1736
|
HtmlEditorComponent.prototype.setHtml = function (content) {
|
|
1398
1737
|
this.doAfterInitialized(function (that) {
|
|
1399
1738
|
var editor = that.getEditor();
|
|
1400
|
-
if (typeof
|
|
1739
|
+
if (typeof editor == "undefined" || editor == null) {
|
|
1401
1740
|
return;
|
|
1402
1741
|
}
|
|
1403
1742
|
editor.html.set(content);
|
|
@@ -1405,7 +1744,7 @@
|
|
|
1405
1744
|
};
|
|
1406
1745
|
HtmlEditorComponent.prototype.getHtml = function () {
|
|
1407
1746
|
var editor = this.getEditor();
|
|
1408
|
-
if (typeof
|
|
1747
|
+
if (typeof editor == "undefined" || editor == null) {
|
|
1409
1748
|
return;
|
|
1410
1749
|
}
|
|
1411
1750
|
return editor.html.get(false);
|
|
@@ -1413,8 +1752,8 @@
|
|
|
1413
1752
|
return HtmlEditorComponent;
|
|
1414
1753
|
}(BaseHtmlEditorComponent));
|
|
1415
1754
|
HtmlEditorComponent.decorators = [
|
|
1416
|
-
{ type:
|
|
1417
|
-
selector:
|
|
1755
|
+
{ type: i0.Component, args: [{
|
|
1756
|
+
selector: "anatoly-html-editor",
|
|
1418
1757
|
template: "<div>\r\n <label>{{ editorLabelText }}</label>\r\n <textarea [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n</div>"
|
|
1419
1758
|
},] }
|
|
1420
1759
|
];
|
|
@@ -1424,7 +1763,7 @@
|
|
|
1424
1763
|
__extends(FormsHtmlEditorComponent, _super);
|
|
1425
1764
|
function FormsHtmlEditorComponent() {
|
|
1426
1765
|
var _this = _super.call(this) || this;
|
|
1427
|
-
_this.editorFormKey =
|
|
1766
|
+
_this.editorFormKey = "html";
|
|
1428
1767
|
return _this;
|
|
1429
1768
|
}
|
|
1430
1769
|
FormsHtmlEditorComponent.prototype.setFormValueAfterInitialized = function (name, value) {
|
|
@@ -1435,19 +1774,23 @@
|
|
|
1435
1774
|
return FormsHtmlEditorComponent;
|
|
1436
1775
|
}(BaseHtmlEditorComponent));
|
|
1437
1776
|
FormsHtmlEditorComponent.decorators = [
|
|
1438
|
-
{ type:
|
|
1439
|
-
selector:
|
|
1777
|
+
{ type: i0.Component, args: [{
|
|
1778
|
+
selector: "anatoly-forms-html-editor",
|
|
1440
1779
|
template: "<div [formGroup]=\"formGroup\">\r\n <div class=\"form-group\" [ngClass]=\"{'has-error': isItemInvalid(editorFormKey) }\">\r\n <label class=\"control-label\">{{ editorLabelText }}</label>\r\n <textarea [formControlName]=\"editorFormKey\"\r\n [froalaEditor]=\"options\" (froalaInit)=\"initializeControl($event)\">\r\n </textarea>\r\n <anatoly-item-validation-summary [formGroup]=\"formGroup\"\r\n [formSubmitted]=\"formSubmitted\"\r\n [controlName]=\"editorFormKey\"\r\n [controlTitle]=\"editorLabelText\">\r\n </anatoly-item-validation-summary>\r\n </div>\r\n</div>\r\n"
|
|
1441
1780
|
},] }
|
|
1442
1781
|
];
|
|
1443
1782
|
FormsHtmlEditorComponent.ctorParameters = function () { return []; };
|
|
1444
1783
|
FormsHtmlEditorComponent.propDecorators = {
|
|
1445
|
-
editorFormKey: [{ type:
|
|
1784
|
+
editorFormKey: [{ type: i0.Input }]
|
|
1446
1785
|
};
|
|
1447
1786
|
|
|
1448
1787
|
/*
|
|
1449
1788
|
<file>
|
|
1789
|
+
Project:
|
|
1790
|
+
@osovitny/anatoly
|
|
1791
|
+
|
|
1450
1792
|
Authors:
|
|
1793
|
+
Vadim Osovitny
|
|
1451
1794
|
Anatoly Osovitny
|
|
1452
1795
|
|
|
1453
1796
|
Created:
|
|
@@ -1464,28 +1807,75 @@
|
|
|
1464
1807
|
}
|
|
1465
1808
|
ContentHeaderComponent.prototype.ngOnInit = function () {
|
|
1466
1809
|
if (this.title == null) {
|
|
1467
|
-
this.title =
|
|
1810
|
+
this.title = "";
|
|
1468
1811
|
}
|
|
1469
1812
|
};
|
|
1470
1813
|
return ContentHeaderComponent;
|
|
1471
1814
|
}());
|
|
1472
1815
|
ContentHeaderComponent.decorators = [
|
|
1473
|
-
{ type:
|
|
1474
|
-
selector:
|
|
1816
|
+
{ type: i0.Component, args: [{
|
|
1817
|
+
selector: "anatoly-content-header",
|
|
1475
1818
|
template: "<h2 class=\"page-header\">\r\n {{title}}\r\n <!--<small>Optional {{title}}</small>-->\r\n</h2>\r\n"
|
|
1476
1819
|
},] }
|
|
1477
1820
|
];
|
|
1478
1821
|
ContentHeaderComponent.propDecorators = {
|
|
1479
|
-
title: [{ type:
|
|
1822
|
+
title: [{ type: i0.Input }]
|
|
1823
|
+
};
|
|
1824
|
+
|
|
1825
|
+
/*
|
|
1826
|
+
<file>
|
|
1827
|
+
Project:
|
|
1828
|
+
@osovitny/anatoly
|
|
1829
|
+
|
|
1830
|
+
Authors:
|
|
1831
|
+
Vadim Osovitny
|
|
1832
|
+
Anatoly Osovitny
|
|
1833
|
+
|
|
1834
|
+
Created:
|
|
1835
|
+
26 Jun 2020
|
|
1836
|
+
|
|
1837
|
+
Version:
|
|
1838
|
+
1.0
|
|
1839
|
+
|
|
1840
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1841
|
+
</file>
|
|
1842
|
+
*/
|
|
1843
|
+
var Copy2ClipboardComponent = /** @class */ (function () {
|
|
1844
|
+
function Copy2ClipboardComponent() {
|
|
1845
|
+
this.tooltip = "Copy to clipboard";
|
|
1846
|
+
this.text = "";
|
|
1847
|
+
}
|
|
1848
|
+
Copy2ClipboardComponent.prototype.onCopy2Clipboard = function (event) {
|
|
1849
|
+
var _this = this;
|
|
1850
|
+
this.tooltip = "Copied";
|
|
1851
|
+
setTimeout(function () {
|
|
1852
|
+
_this.tooltip = "Copy to clipboard";
|
|
1853
|
+
}, 1000);
|
|
1854
|
+
Utils.copyToClipBoard(event, this.text);
|
|
1855
|
+
};
|
|
1856
|
+
return Copy2ClipboardComponent;
|
|
1857
|
+
}());
|
|
1858
|
+
Copy2ClipboardComponent.decorators = [
|
|
1859
|
+
{ type: i0.Component, args: [{
|
|
1860
|
+
selector: "anatoly-copy-2-clipboard",
|
|
1861
|
+
template: "<span kendoTooltip filter=\".helptooltip\" tooltipClass=\"help-tooltip\" [tooltipTemplate]=\"template\">\r\n <ng-template #template let-anchor>\r\n <span [innerHTML]='tooltip'></span>\r\n </ng-template> \r\n \r\n <span class=\"helptooltip\">\r\n <a class=\"btn btn-primary btn-sm active\" (click)=\"onCopy2Clipboard($event)\"><i class=\"fa fa-copy\"></i></a>\r\n </span>\r\n</span>\r\n\r\n"
|
|
1862
|
+
},] }
|
|
1863
|
+
];
|
|
1864
|
+
Copy2ClipboardComponent.propDecorators = {
|
|
1865
|
+
text: [{ type: i0.Input }]
|
|
1480
1866
|
};
|
|
1481
1867
|
|
|
1482
1868
|
/*
|
|
1483
1869
|
<file>
|
|
1870
|
+
Project:
|
|
1871
|
+
@osovitny/anatoly
|
|
1872
|
+
|
|
1484
1873
|
Authors:
|
|
1485
1874
|
Vadim Osovitny
|
|
1875
|
+
Anatoly Osovitny
|
|
1486
1876
|
|
|
1487
1877
|
Created:
|
|
1488
|
-
|
|
1878
|
+
26 Jun 2020
|
|
1489
1879
|
|
|
1490
1880
|
Version:
|
|
1491
1881
|
1.0
|
|
@@ -1501,7 +1891,7 @@
|
|
|
1501
1891
|
return AnatolyUIModule;
|
|
1502
1892
|
}());
|
|
1503
1893
|
AnatolyUIModule.decorators = [
|
|
1504
|
-
{ type:
|
|
1894
|
+
{ type: i0.NgModule, args: [{
|
|
1505
1895
|
imports: [
|
|
1506
1896
|
common.CommonModule,
|
|
1507
1897
|
forms.ReactiveFormsModule,
|
|
@@ -1521,6 +1911,7 @@
|
|
|
1521
1911
|
HtmlEditorComponent,
|
|
1522
1912
|
FormsHtmlEditorComponent,
|
|
1523
1913
|
ContentHeaderComponent,
|
|
1914
|
+
Copy2ClipboardComponent,
|
|
1524
1915
|
],
|
|
1525
1916
|
exports: [
|
|
1526
1917
|
SubscribePlanButtonComponent,
|
|
@@ -1534,11 +1925,29 @@
|
|
|
1534
1925
|
HtmlEditorComponent,
|
|
1535
1926
|
FormsHtmlEditorComponent,
|
|
1536
1927
|
ContentHeaderComponent,
|
|
1537
|
-
|
|
1928
|
+
Copy2ClipboardComponent,
|
|
1929
|
+
],
|
|
1538
1930
|
},] }
|
|
1539
1931
|
];
|
|
1540
1932
|
|
|
1541
|
-
|
|
1933
|
+
/*
|
|
1934
|
+
<file>
|
|
1935
|
+
Project:
|
|
1936
|
+
@osovitny/anatoly
|
|
1937
|
+
|
|
1938
|
+
Authors:
|
|
1939
|
+
Vadim Osovitny
|
|
1940
|
+
Anatoly Osovitny
|
|
1941
|
+
|
|
1942
|
+
Created:
|
|
1943
|
+
26 Jun 2020
|
|
1944
|
+
|
|
1945
|
+
Version:
|
|
1946
|
+
1.0
|
|
1947
|
+
|
|
1948
|
+
Copyright (c) 2016-2020 Osovitny Inc. All rights reserved.
|
|
1949
|
+
</file>
|
|
1950
|
+
*/
|
|
1542
1951
|
|
|
1543
1952
|
/*
|
|
1544
1953
|
* Public API Surface of anatoly
|
|
@@ -1564,11 +1973,15 @@
|
|
|
1564
1973
|
exports.ContentHeaderComponent = ContentHeaderComponent;
|
|
1565
1974
|
exports.FormValidationSummaryComponent = FormValidationSummaryComponent;
|
|
1566
1975
|
exports.FormsHtmlEditorComponent = FormsHtmlEditorComponent;
|
|
1976
|
+
exports.GlobalErrorHandler = GlobalErrorHandler;
|
|
1977
|
+
exports.Guid = Guid;
|
|
1567
1978
|
exports.HtmlEditorComponent = HtmlEditorComponent;
|
|
1568
1979
|
exports.ItemValidationSummaryComponent = ItemValidationSummaryComponent;
|
|
1980
|
+
exports.LoggingService = LoggingService;
|
|
1569
1981
|
exports.SignInButtonComponent = SignInButtonComponent;
|
|
1570
1982
|
exports.SignOutButtonComponent = SignOutButtonComponent;
|
|
1571
1983
|
exports.SignUpButtonComponent = SignUpButtonComponent;
|
|
1984
|
+
exports.Subs = Subs;
|
|
1572
1985
|
exports.SubscribePlanButtonComponent = SubscribePlanButtonComponent;
|
|
1573
1986
|
exports.UpgradePlanButtonComponent = UpgradePlanButtonComponent;
|
|
1574
1987
|
exports.Utils = Utils;
|