@stemy/ngx-utils 19.9.10 → 19.9.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.
@@ -502,6 +502,9 @@ export interface SvgDefinition {
502
502
  height: number;
503
503
  }
504
504
  export type SvgSourceModifier = (svg: SVGSVGElement, width: number, height: number) => string;
505
+ export interface ExpressRequest {
506
+ [key: string]: any;
507
+ }
505
508
  export interface IBaseHttpClient extends HttpClient {
506
509
  readonly requestHeaders: Readonly<HttpRequestHeaders>;
507
510
  readonly requestParams: Readonly<HttpRequestQuery>;
@@ -65,9 +65,9 @@ import { UnorderedListComponent } from "./components/unordered-list/unordered-li
65
65
  import { UploadComponent } from "./components/upload/upload.component";
66
66
  import { WysiwygComponent } from "./components/wysiwyg/wysiwyg.component";
67
67
  export declare const pipes: (typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe)[];
68
- export declare const directives: (typeof AsyncMethodBase | typeof AsyncMethodDirective | typeof AsyncMethodTargetDirective | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof DynamicTableTemplateDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof TabsItemDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
68
+ export declare const directives: (typeof TabsItemDirective | typeof DynamicTableTemplateDirective | typeof DropdownDirective | typeof AsyncMethodBase | typeof AsyncMethodDirective | typeof AsyncMethodTargetDirective | typeof BackgroundDirective | typeof ComponentLoaderDirective | typeof GlobalTemplateDirective | typeof IconDirective | typeof NgxTemplateOutletDirective | typeof PaginationDirective | typeof PaginationItemDirective | typeof ResourceIfDirective | typeof StickyDirective | typeof StickyClassDirective | typeof DropdownContentDirective | typeof DropdownToggleDirective | typeof UnorderedListItemDirective | typeof UnorderedListTemplateDirective)[];
69
69
  export declare const components: (typeof ChipsComponent | typeof CloseBtnComponent | typeof DropListComponent | typeof DynamicTableComponent | typeof PaginationMenuComponent | typeof UnorderedListComponent | typeof UploadComponent | typeof WysiwygComponent)[];
70
- export declare const providers: (typeof UniversalService | typeof StateService | typeof AuthGuard | typeof EventsService | typeof AclService | typeof BaseHttpClient | typeof StorageService | typeof CacheService | typeof BaseHttpService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof FormatterService | typeof GlobalTemplateService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof BaseToasterService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof PromiseService | typeof SocketService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe | typeof DeviceDetectorService | {
70
+ export declare const providers: (typeof UniversalService | typeof GlobalTemplateService | typeof FilterPipe | typeof FormatNumberPipe | typeof GlobalTemplatePipe | typeof IncludesPipe | typeof ReducePipe | typeof RoundPipe | typeof SafeHtmlPipe | typeof SyncAsyncPipe | typeof TranslatePipe | typeof BaseHttpClient | typeof BaseHttpService | typeof AuthGuard | typeof AclService | typeof StaticAuthService | typeof ConfigService | typeof BaseDialogService | typeof ErrorHandlerService | typeof EventsService | typeof FormatterService | typeof IconService | typeof StaticLanguageService | typeof OpenApiService | typeof PromiseService | typeof SocketService | typeof StateService | typeof StorageService | typeof BaseToasterService | typeof CacheService | typeof ComponentLoaderService | typeof TranslatedUrlSerializer | typeof DeviceDetectorService | {
71
71
  provide: import("@angular/core").InjectionToken<import("@angular/platform-browser").EventManagerPlugin[]>;
72
72
  useClass: typeof DragDropEventPlugin;
73
73
  multi: boolean;
@@ -1,7 +1,6 @@
1
1
  import { Injector } from "@angular/core";
2
2
  import { HttpHeaders, HttpParams } from "@angular/common/http";
3
- import { Request } from "express";
4
- import { CacheExpireMode, HttpClientRequestOptions, HttpRequestHeaders, HttpRequestOptions, HttpRequestQuery, IConfigService, IHttpService, IIssueContext, ILanguageService, IPaginationData, IToasterService, ProgressListener, UploadData } from "../common-types";
3
+ import { CacheExpireMode, ExpressRequest, HttpClientRequestOptions, HttpRequestHeaders, HttpRequestOptions, HttpRequestQuery, IConfigService, IHttpService, IIssueContext, ILanguageService, IPaginationData, IToasterService, ProgressListener, UploadData } from "../common-types";
5
4
  import { BaseHttpClient } from "./base-http.client";
6
5
  import { UniversalService } from "./universal.service";
7
6
  import { StorageService } from "./storage.service";
@@ -17,7 +16,7 @@ export declare class BaseHttpService implements IHttpService {
17
16
  readonly language: ILanguageService;
18
17
  readonly toaster: IToasterService;
19
18
  readonly configs: IConfigService;
20
- readonly request: Request;
19
+ readonly request: ExpressRequest;
21
20
  get name(): string;
22
21
  get requestHeaders(): Readonly<HttpRequestHeaders>;
23
22
  get requestParams(): Readonly<HttpRequestQuery>;
@@ -26,7 +25,7 @@ export declare class BaseHttpService implements IHttpService {
26
25
  protected static failedRequests: Array<() => void>;
27
26
  protected readonly bag: RequestBag;
28
27
  protected static retryFailedRequests(): void;
29
- constructor(injector: Injector, client: BaseHttpClient, storage: StorageService, caches: CacheService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: Request);
28
+ constructor(injector: Injector, client: BaseHttpClient, storage: StorageService, caches: CacheService, language: ILanguageService, toaster: IToasterService, configs: IConfigService, request?: ExpressRequest);
30
29
  protected initService(): void;
31
30
  setHeader(name: string, value?: string | string[]): void;
32
31
  setParam(name: string, value?: any): void;
@@ -1,6 +1,5 @@
1
1
  import { InjectionToken, Type } from "@angular/core";
2
- import { Request } from "express";
3
- import { ButtonProps, DynamicEntryComponents, DynamicModuleInfo, ErrorHandlerCallback, IApiService, IAuthService, IConfigService, IConfiguration, IconMap, IconProps, IDialogService, IIconService, ILanguageService, IPromiseService, IToasterService, OpenApiSchemas, OpenApiSchemaSelector, ResizeEventStrategy } from "./common-types";
2
+ import { ButtonProps, DynamicEntryComponents, DynamicModuleInfo, ErrorHandlerCallback, ExpressRequest, IApiService, IAuthService, IConfigService, IConfiguration, IconMap, IconProps, IDialogService, IIconService, ILanguageService, IPromiseService, IToasterService, OpenApiSchemas, OpenApiSchemaSelector, ResizeEventStrategy } from "./common-types";
4
3
  export declare const ICON_TYPE: InjectionToken<Type<IconProps>>;
5
4
  export declare const ICON_MAP: InjectionToken<IconMap>;
6
5
  export declare const BUTTON_TYPE: InjectionToken<Type<ButtonProps>>;
@@ -12,7 +11,7 @@ export declare const TOASTER_SERVICE: InjectionToken<IToasterService>;
12
11
  export declare const DIALOG_SERVICE: InjectionToken<IDialogService<any>>;
13
12
  export declare const SOCKET_IO_PATH: InjectionToken<string>;
14
13
  export declare const PROMISE_SERVICE: InjectionToken<IPromiseService>;
15
- export declare const EXPRESS_REQUEST: InjectionToken<Request>;
14
+ export declare const EXPRESS_REQUEST: InjectionToken<ExpressRequest>;
16
15
  export declare const API_SERVICE: InjectionToken<IApiService>;
17
16
  export declare const DYNAMIC_ENTRY_COMPONENTS: InjectionToken<DynamicEntryComponents[]>;
18
17
  export declare const DYNAMIC_MODULE_INFO: InjectionToken<DynamicModuleInfo[]>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stemy/ngx-utils",
3
- "version": "19.9.10",
3
+ "version": "19.9.11",
4
4
  "license": "MIT",
5
5
  "public": true,
6
6
  "repository": "https://github.com/stemyke/ngx-utils.git",
@@ -14,7 +14,6 @@
14
14
  "@angular/router": "^19.2.14",
15
15
  "@angular/platform-browser": "^19.2.14",
16
16
  "@angular/platform-server": "^19.2.14",
17
- "express": "~4.21.2",
18
17
  "element-resize-detector": "^1.2.4",
19
18
  "rxjs": "^7.8.2",
20
19
  "luxon": "^3.6.1",