@osovitny/anatoly 2.14.43 → 2.14.44
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/consts/settings.mjs +1 -2
- package/esm2020/lib/core/services/appcontext.service.mjs +3 -10
- package/fesm2015/osovitny-anatoly.mjs +1 -8
- package/fesm2015/osovitny-anatoly.mjs.map +1 -1
- package/fesm2020/osovitny-anatoly.mjs +1 -8
- package/fesm2020/osovitny-anatoly.mjs.map +1 -1
- package/lib/core/consts/settings.d.ts +0 -1
- package/lib/core/services/appcontext.service.d.ts +0 -2
- package/package.json +1 -1
|
@@ -43,7 +43,6 @@ import { ButtonsModule } from '@progress/kendo-angular-buttons';
|
|
|
43
43
|
Copyright (c) 2016-2022 Osovitny Inc. All rights reserved.
|
|
44
44
|
</file>
|
|
45
45
|
*/
|
|
46
|
-
const ContextInitState = JSON.parse((document.getElementById('contextInitState')).getAttribute('data-contextinitstate'));
|
|
47
46
|
const AppCoreSettings = JSON.parse((document.getElementById('appCoreSettings')).getAttribute('data-appcoresettings'));
|
|
48
47
|
|
|
49
48
|
/*
|
|
@@ -1456,12 +1455,6 @@ class AppContextService extends BaseApiService {
|
|
|
1456
1455
|
this.clearCurrent();
|
|
1457
1456
|
this.updateCurrent();
|
|
1458
1457
|
}
|
|
1459
|
-
isUserSignedIn() {
|
|
1460
|
-
return ContextInitState.isUserSignedIn;
|
|
1461
|
-
}
|
|
1462
|
-
isUserAdmin() {
|
|
1463
|
-
return ContextInitState.isUserAdmin;
|
|
1464
|
-
}
|
|
1465
1458
|
//Properties
|
|
1466
1459
|
get current() {
|
|
1467
1460
|
this.updateCurrentIfExpired();
|
|
@@ -4427,5 +4420,5 @@ i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "14.0.6", ngImpor
|
|
|
4427
4420
|
* Generated bundle index. Do not edit.
|
|
4428
4421
|
*/
|
|
4429
4422
|
|
|
4430
|
-
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm,
|
|
4423
|
+
export { AddressComponent, Alerts, AnatolyCoreModule, AnatolyDataModule, AnatolyHttpInterceptor, AnatolyUIModule, AppContextService, AppCoreSettings, BaseApiService, BaseComponent, BaseDialog, BaseEditComponent, BaseGoService, BaseGridEditService, BaseGridReadService, BaseHtmlEditorComponent, BuyAccessButtonComponent, CardBodyComponent, CardComponent, CardFooterComponent, CardHeaderComponent, CheckIconComponent, CompanyComponent, ContactUsDialog, ContactUsForm, Convert, CoreApiService, DOM, DefaultEditorOptions, DigitalMarketingService, EmailsApiService, FileSizePipe, FormValidationSummaryComponent, FormsHtmlEditorComponent, FroalaEditorModuleWithProviders, FroalaViewModuleWithProviders, GlobalErrorHandler, GoogleAnalyticsService, Guid, HtmlEditorComponent, IdleService, InjectorInstance, ItemValidationSummaryComponent, LoadingComponent, LoadingService, LocalStorageService, LocalizationInjectorInstance, LocalizationModule, LocalizationService, LocalizationSettingsModule, LocalizePipe, LoggingService, NativeElementDirective, NodataComponent, NotificationService, NotificationsApiService, PageSpinnerComponent, ReplaceTextPipe, SafeHtmlPipe, SessionStorageService, SignInButtonComponent, SignOutButtonComponent, SignUpButtonComponent, Subs, SubscribePlanButtonComponent, TimezoneDropdownlist, TranslateModuleAtRoot, UrlSlugComponent, Urls, Utils, ValidationSummaryComponent, customTranslateLoaderFactory, localizationInitializerFactory, throwIfAlreadyLoaded };
|
|
4431
4424
|
//# sourceMappingURL=osovitny-anatoly.mjs.map
|