@osovitny/anatoly 2.15.10 → 2.15.12
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/esm2020/lib/core/browser.mjs +24 -0
- package/esm2020/lib/core/index.mjs +2 -1
- package/esm2020/lib/core/services/web-storage.service.mjs +1 -1
- package/esm2020/lib/ui/components/identity/signin-button.component.mjs +5 -4
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +5 -4
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +5 -4
- package/esm2020/lib/ui/ui.module.mjs +5 -1
- package/fesm2015/osovitny-anatoly.mjs +38 -11
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +38 -11
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/browser.d.ts +4 -0
- package/lib/core/index.d.ts +1 -0
- package/lib/ui/ui.module.d.ts +7 -6
- package/package.json +1 -1
|
@@ -2,7 +2,7 @@ import js_beautify from 'js-beautify';
|
|
|
2
2
|
import * as i0 from '@angular/core';
|
|
3
3
|
import { Injectable, Pipe, APP_INITIALIZER, Injector, NgModule, Inject, Component, Input, EventEmitter, Output, ViewEncapsulation, Directive, ViewChild, HostBinding, HostListener, Optional, SkipSelf } from '@angular/core';
|
|
4
4
|
import * as i1 from '@angular/router';
|
|
5
|
-
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError } from '@angular/router';
|
|
5
|
+
import { NavigationEnd, NavigationStart, NavigationCancel, NavigationError, RouterModule } from '@angular/router';
|
|
6
6
|
import * as i1$3 from '@angular/common/http';
|
|
7
7
|
import { HttpResponse, HttpClient } from '@angular/common/http';
|
|
8
8
|
import { tap, map } from 'rxjs/operators';
|
|
@@ -1786,6 +1786,30 @@ GoogleAnalyticsService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: G
|
|
|
1786
1786
|
type: Injectable
|
|
1787
1787
|
}], function () { return [{ type: i1.Router }]; }, null); })();
|
|
1788
1788
|
|
|
1789
|
+
/*
|
|
1790
|
+
<file>
|
|
1791
|
+
Project:
|
|
1792
|
+
@osovitny/anatoly
|
|
1793
|
+
|
|
1794
|
+
Authors:
|
|
1795
|
+
Vadim Osovitny vadim@osovitny.com
|
|
1796
|
+
Anatoly Osovitny anatoly@osovitny.com
|
|
1797
|
+
|
|
1798
|
+
Created:
|
|
1799
|
+
2 May 2023
|
|
1800
|
+
|
|
1801
|
+
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
1802
|
+
</file>
|
|
1803
|
+
*/
|
|
1804
|
+
class Browser {
|
|
1805
|
+
static isIE() {
|
|
1806
|
+
return window.navigator.userAgent.indexOf("MSIE ") > -1 || window.navigator.userAgent.indexOf("Trident/") > -1;
|
|
1807
|
+
}
|
|
1808
|
+
static isIframe() {
|
|
1809
|
+
return window !== window.parent && !window.opener;
|
|
1810
|
+
}
|
|
1811
|
+
}
|
|
1812
|
+
|
|
1789
1813
|
/*
|
|
1790
1814
|
<file>
|
|
1791
1815
|
Project:
|
|
@@ -2393,16 +2417,16 @@ CoreApiService.ɵprov = /*@__PURE__*/ i0.ɵɵdefineInjectable({ token: CoreApiSe
|
|
|
2393
2417
|
class SignUpButtonComponent {
|
|
2394
2418
|
}
|
|
2395
2419
|
SignUpButtonComponent.ɵfac = function SignUpButtonComponent_Factory(t) { return new (t || SignUpButtonComponent)(); };
|
|
2396
|
-
SignUpButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["
|
|
2420
|
+
SignUpButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignUpButtonComponent, selectors: [["anatoly-signup-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["routerLink", "iam/signup"]], template: function SignUpButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2397
2421
|
i0.ɵɵelementStart(0, "a", 0);
|
|
2398
2422
|
i0.ɵɵtext(1, "Sign Up");
|
|
2399
2423
|
i0.ɵɵelementEnd();
|
|
2400
2424
|
} if (rf & 2) {
|
|
2401
2425
|
i0.ɵɵclassMap(ctx.classbtn);
|
|
2402
|
-
} }, encapsulation: 2 });
|
|
2426
|
+
} }, dependencies: [i1.RouterLink], encapsulation: 2 });
|
|
2403
2427
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignUpButtonComponent, [{
|
|
2404
2428
|
type: Component,
|
|
2405
|
-
args: [{ selector: "anatoly-signup-button", template: "<a
|
|
2429
|
+
args: [{ selector: "anatoly-signup-button", template: "<a routerLink=\"iam/signup\" class=\"{{classbtn}}\">Sign Up</a>\r\n" }]
|
|
2406
2430
|
}], null, { classbtn: [{
|
|
2407
2431
|
type: Input
|
|
2408
2432
|
}] }); })();
|
|
@@ -2760,16 +2784,16 @@ class SignInButtonComponent {
|
|
|
2760
2784
|
constructor() { }
|
|
2761
2785
|
}
|
|
2762
2786
|
SignInButtonComponent.ɵfac = function SignInButtonComponent_Factory(t) { return new (t || SignInButtonComponent)(); };
|
|
2763
|
-
SignInButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["
|
|
2787
|
+
SignInButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignInButtonComponent, selectors: [["anatoly-signin-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["routerLink", "iam/signin"]], template: function SignInButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2764
2788
|
i0.ɵɵelementStart(0, "a", 0);
|
|
2765
2789
|
i0.ɵɵtext(1, "Sign In");
|
|
2766
2790
|
i0.ɵɵelementEnd();
|
|
2767
2791
|
} if (rf & 2) {
|
|
2768
2792
|
i0.ɵɵclassMap(ctx.classbtn);
|
|
2769
|
-
} }, encapsulation: 2 });
|
|
2793
|
+
} }, dependencies: [i1.RouterLink], encapsulation: 2 });
|
|
2770
2794
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignInButtonComponent, [{
|
|
2771
2795
|
type: Component,
|
|
2772
|
-
args: [{ selector: "anatoly-signin-button", template: "<a
|
|
2796
|
+
args: [{ selector: "anatoly-signin-button", template: "<a routerLink=\"iam/signin\" class=\"{{classbtn}}\">Sign In</a>\r\n" }]
|
|
2773
2797
|
}], function () { return []; }, { classbtn: [{
|
|
2774
2798
|
type: Input
|
|
2775
2799
|
}] }); })();
|
|
@@ -2793,16 +2817,16 @@ class SignOutButtonComponent {
|
|
|
2793
2817
|
constructor() { }
|
|
2794
2818
|
}
|
|
2795
2819
|
SignOutButtonComponent.ɵfac = function SignOutButtonComponent_Factory(t) { return new (t || SignOutButtonComponent)(); };
|
|
2796
|
-
SignOutButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["
|
|
2820
|
+
SignOutButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignOutButtonComponent, selectors: [["anatoly-signout-button"]], inputs: { classbtn: "classbtn" }, decls: 2, vars: 3, consts: [["routerLink", "iam/signout"]], template: function SignOutButtonComponent_Template(rf, ctx) { if (rf & 1) {
|
|
2797
2821
|
i0.ɵɵelementStart(0, "a", 0);
|
|
2798
2822
|
i0.ɵɵtext(1, "Sign Out");
|
|
2799
2823
|
i0.ɵɵelementEnd();
|
|
2800
2824
|
} if (rf & 2) {
|
|
2801
2825
|
i0.ɵɵclassMap(ctx.classbtn);
|
|
2802
|
-
} }, encapsulation: 2 });
|
|
2826
|
+
} }, dependencies: [i1.RouterLink], encapsulation: 2 });
|
|
2803
2827
|
(function () { (typeof ngDevMode === "undefined" || ngDevMode) && i0.ɵsetClassMetadata(SignOutButtonComponent, [{
|
|
2804
2828
|
type: Component,
|
|
2805
|
-
args: [{ selector: "anatoly-signout-button", template: "<a
|
|
2829
|
+
args: [{ selector: "anatoly-signout-button", template: "<a routerLink=\"iam/signout\" class=\"{{classbtn}}\">Sign Out</a>\r\n" }]
|
|
2806
2830
|
}], function () { return []; }, { classbtn: [{
|
|
2807
2831
|
type: Input
|
|
2808
2832
|
}] }); })();
|
|
@@ -5565,6 +5589,7 @@ class AnatolyUIModule {
|
|
|
5565
5589
|
AnatolyUIModule.ɵfac = function AnatolyUIModule_Factory(t) { return new (t || AnatolyUIModule)(); };
|
|
5566
5590
|
AnatolyUIModule.ɵmod = /*@__PURE__*/ i0.ɵɵdefineNgModule({ type: AnatolyUIModule });
|
|
5567
5591
|
AnatolyUIModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModule,
|
|
5592
|
+
RouterModule,
|
|
5568
5593
|
ReactiveFormsModule,
|
|
5569
5594
|
FormsModule,
|
|
5570
5595
|
NgxCaptchaModule,
|
|
@@ -5577,6 +5602,7 @@ AnatolyUIModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
|
|
|
5577
5602
|
args: [{
|
|
5578
5603
|
imports: [
|
|
5579
5604
|
CommonModule,
|
|
5605
|
+
RouterModule,
|
|
5580
5606
|
ReactiveFormsModule,
|
|
5581
5607
|
FormsModule,
|
|
5582
5608
|
NgxCaptchaModule,
|
|
@@ -5630,6 +5656,7 @@ AnatolyUIModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonMo
|
|
|
5630
5656
|
//Validation
|
|
5631
5657
|
FormValidationSummaryComponent,
|
|
5632
5658
|
ItemValidationSummaryComponent], imports: [CommonModule,
|
|
5659
|
+
RouterModule,
|
|
5633
5660
|
ReactiveFormsModule,
|
|
5634
5661
|
FormsModule,
|
|
5635
5662
|
NgxCaptchaModule,
|
|
@@ -5729,5 +5756,5 @@ AnatolyModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
|
|
|
5729
5756
|
* Generated bundle index. Do not edit.
|
|
5730
5757
|
*/
|
|
5731
5758
|
|
|
5732
|
-
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyModule, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BaseList, BasePage, BasePagedPage, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, DOM, DatapagerComponent, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HoveringDirective, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NodataComponent, NotificationService, NotificationsApiService, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Stopwatch, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, XmlFormatter, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
5759
|
+
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyModule, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BaseList, BasePage, BasePagedPage, Browser, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, Copy2ClipboardComponent, CoreApiService, DOM, DatapagerComponent, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HoveringDirective, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NodataComponent, NotificationService, NotificationsApiService, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Stopwatch, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, XmlFormatter, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
5733
5760
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|