@nettyapps/ntybase 21.0.26 → 21.0.28

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nettyapps/ntybase",
3
- "version": "21.0.26",
3
+ "version": "21.0.28",
4
4
  "description": "This library provides foundational services and components for NettyApps Angular applications.",
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -1,5 +1,5 @@
1
1
  import * as i0 from '@angular/core';
2
- import { OnDestroy, OnInit, DoCheck, SimpleChanges, InjectionToken } from '@angular/core';
2
+ import { OnDestroy, OnInit, DoCheck, SimpleChanges, InjectionToken, EnvironmentProviders, Signal } from '@angular/core';
3
3
  import { Observable, Subject } from 'rxjs';
4
4
  import { Theme, GridApi, GridOptions, StatusPanelDef, GridReadyEvent, IFilterParams, IDoesFilterPassParams } from 'ag-grid-community';
5
5
  import { MatDialog, MatDialogRef } from '@angular/material/dialog';
@@ -952,8 +952,26 @@ interface IEnvironmentLoader {
952
952
  }
953
953
  declare function ntyInitializeEnvironment(envLoader: IEnvironmentLoader): () => Promise<EnvironmentConfig>;
954
954
 
955
+ /**
956
+ * Uygulamanın environment altyapısını kurar.
957
+ *
958
+ * @usage
959
+ * providers: [
960
+ * provideNettyEnvironment()
961
+ * // Not: { provide: NETTY_APP_ENVIRONMENT, useValue: environment } dışarıdan verilmelidir.
962
+ * ]
963
+ */
964
+ declare function provideNtyEnvironment(): EnvironmentProviders;
965
+
955
966
  declare const NtyLoadingInterceptor: HttpInterceptorFn;
956
967
 
968
+ declare class NtyLoadingComponent {
969
+ private loadingService;
970
+ isLoading: Signal<boolean>;
971
+ static ɵfac: i0.ɵɵFactoryDeclaration<NtyLoadingComponent, never>;
972
+ static ɵcmp: i0.ɵɵComponentDeclaration<NtyLoadingComponent, "app-nty-loading", never, {}, {}, never, never, true, never>;
973
+ }
974
+
957
975
  declare class NettyMenuService {
958
976
  private http;
959
977
  private environmentProxy;
@@ -966,5 +984,5 @@ declare class NettyMenuService {
966
984
  static ɵprov: i0.ɵɵInjectableDeclaration<NettyMenuService>;
967
985
  }
968
986
 
969
- export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NETTY_APP_ENVIRONMENT, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyEnvironmentService, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor, ntyEnvironmentConfigFactory, ntyInitializeEnvironment };
970
- export type { CanComponentDeactivate, Credentials, IEnvironmentLoader, LoginContext, MFACodeContext, UserViewMode };
987
+ export { AlertService, AuthenticationGuard, AuthenticationInterceptor, AuthenticationService, ButtonRenderer, CanDeactivateGuard, CheckboxRenderer, CommonService, ConfirmDialog, CredentialsService, CurrentUserPreference, ENVIRONMENT_CONFIG, EnvironmentInfo, EnvironmentInfoService, ExcelImportBase, ForgotPassword, Login, LoginDto, MFACodeDto, MfaLogin, NETTY_APP_ENVIRONMENT, NettyAgGridBase, NettyAgGridSaveBase, NettyAgGridService, NettyAppsBase, NettyBaseApp, NettyHelper, NettyImageService, NettyMenuService, NtyEnvironmentService, NtyLoadingComponent, NtyLoadingInterceptor, Ntybase, NtybaseModule, RangeDateTimeFilter, RangeNumberFilter, RangeStringFilter, UrlHelperService, ntyAuthenticationInterceptor, ntyEnvironmentConfigFactory, ntyInitializeEnvironment, provideNtyEnvironment };
988
+ export type { CanComponentDeactivate, Credentials, EnvironmentConfig, IEnvironmentLoader, LoginContext, MFACodeContext, UserViewMode };