@osovitny/anatoly 2.15.9 → 2.15.11
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/appcontext.service.mjs +2 -2
- package/esm2020/lib/core/services/web-storage.service.mjs +1 -1
- package/esm2020/lib/ui/components/identity/signin-button.component.mjs +3 -3
- package/esm2020/lib/ui/components/identity/signout-button.component.mjs +3 -3
- package/esm2020/lib/ui/components/identity/signup-button.component.mjs +3 -3
- package/fesm2015/osovitny-anatoly.mjs +32 -8
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +32 -8
- 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/core/services/appcontext.service.d.ts +1 -1
- package/package.json +1 -1
|
@@ -1583,7 +1583,7 @@ class AppContextService extends BaseApiService {
|
|
|
1583
1583
|
clearSessionStorage() {
|
|
1584
1584
|
this.sessionStorage.clear();
|
|
1585
1585
|
}
|
|
1586
|
-
|
|
1586
|
+
clearWebStorage() {
|
|
1587
1587
|
this.clearLocalStorage();
|
|
1588
1588
|
this.clearSessionStorage();
|
|
1589
1589
|
}
|
|
@@ -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,7 +2417,7 @@ 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();
|
|
@@ -2402,7 +2426,7 @@ SignUpButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignU
|
|
|
2402
2426
|
} }, 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,7 +2784,7 @@ 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();
|
|
@@ -2769,7 +2793,7 @@ SignInButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: SignI
|
|
|
2769
2793
|
} }, 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,7 +2817,7 @@ 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();
|
|
@@ -2802,7 +2826,7 @@ SignOutButtonComponent.ɵcmp = /*@__PURE__*/ i0.ɵɵdefineComponent({ type: Sign
|
|
|
2802
2826
|
} }, 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
|
}] }); })();
|
|
@@ -5729,5 +5753,5 @@ AnatolyModule.ɵinj = /*@__PURE__*/ i0.ɵɵdefineInjector({ imports: [CommonModu
|
|
|
5729
5753
|
* Generated bundle index. Do not edit.
|
|
5730
5754
|
*/
|
|
5731
5755
|
|
|
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 };
|
|
5756
|
+
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
5757
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|