@smallpearl/ngx-helper 0.33.28 → 0.33.29

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.
@@ -1,5 +1,6 @@
1
+ export * from './src/convert-context-input-to-http-context';
2
+ export * from './src/mat-entity-crud-form-base';
1
3
  export * from './src/mat-entity-crud-types';
2
- export * from './src/providers';
3
4
  export * from './src/mat-entity-crud.component';
4
5
  export * from './src/preview-pane.component';
5
- export * from './src/mat-entity-crud-form-base';
6
+ export * from './src/providers';
@@ -1,9 +1,9 @@
1
- import { HttpClient, HttpParams } from '@angular/common/http';
1
+ import { HttpClient, HttpContext, HttpParams } from '@angular/common/http';
2
2
  import { ChangeDetectorRef, OnDestroy, OnInit } from '@angular/core';
3
3
  import { AbstractControl } from '@angular/forms';
4
4
  import { TranslocoService } from '@jsverse/transloco';
5
5
  import { Observable, Subscription } from 'rxjs';
6
- import { HttpContextInput } from './context-param-to-http-context';
6
+ import { HttpContextInput } from './convert-context-input-to-http-context';
7
7
  import { SPMatEntityCrudCreateEditBridge } from './mat-entity-crud-types';
8
8
  import * as i0 from "@angular/core";
9
9
  /**
@@ -218,6 +218,7 @@ export declare abstract class SPMatEntityCrudFormBase<TFormGroup extends Abstrac
218
218
  */
219
219
  protected update(id: any, values: any): Observable<TEntity>;
220
220
  protected getEntityUrl(entityId: any): string;
221
+ protected getRequestContext(): HttpContext;
221
222
  static ɵfac: i0.ɵɵFactoryDeclaration<SPMatEntityCrudFormBase<any, any, any>, never>;
222
223
  static ɵcmp: i0.ɵɵComponentDeclaration<SPMatEntityCrudFormBase<any, any, any>, "_#_sp-mat-entity-crud-form-base_#_", never, { "entity": { "alias": "entity"; "required": true; "isSignal": true; }; "bridge": { "alias": "bridge"; "required": true; "isSignal": true; }; "params": { "alias": "params"; "required": false; "isSignal": true; }; "entityName": { "alias": "entityName"; "required": false; "isSignal": true; }; "baseUrl": { "alias": "baseUrl"; "required": false; "isSignal": true; }; "httpReqContext": { "alias": "httpReqContext"; "required": false; "isSignal": true; }; "idKey": { "alias": "idKey"; "required": false; "isSignal": true; }; }, {}, never, never, false, never>;
223
224
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "path": "src/assets/i18n/"
7
7
  }
8
8
  ],
9
- "version": "0.33.28",
9
+ "version": "0.33.29",
10
10
  "peerDependencies": {
11
11
  "@angular/common": "^19.1.0",
12
12
  "@angular/core": "^19.1.0",
@@ -48,14 +48,6 @@
48
48
  "types": "./entities/index.d.ts",
49
49
  "default": "./fesm2022/smallpearl-ngx-helper-entities.mjs"
50
50
  },
51
- "./entity-field": {
52
- "types": "./entity-field/index.d.ts",
53
- "default": "./fesm2022/smallpearl-ngx-helper-entity-field.mjs"
54
- },
55
- "./mat-busy-wheel": {
56
- "types": "./mat-busy-wheel/index.d.ts",
57
- "default": "./fesm2022/smallpearl-ngx-helper-mat-busy-wheel.mjs"
58
- },
59
51
  "./locale": {
60
52
  "types": "./locale/index.d.ts",
61
53
  "default": "./fesm2022/smallpearl-ngx-helper-locale.mjs"
@@ -68,6 +60,14 @@
68
60
  "types": "./forms/index.d.ts",
69
61
  "default": "./fesm2022/smallpearl-ngx-helper-forms.mjs"
70
62
  },
63
+ "./mat-busy-wheel": {
64
+ "types": "./mat-busy-wheel/index.d.ts",
65
+ "default": "./fesm2022/smallpearl-ngx-helper-mat-busy-wheel.mjs"
66
+ },
67
+ "./entity-field": {
68
+ "types": "./entity-field/index.d.ts",
69
+ "default": "./fesm2022/smallpearl-ngx-helper-entity-field.mjs"
70
+ },
71
71
  "./mat-context-menu": {
72
72
  "types": "./mat-context-menu/index.d.ts",
73
73
  "default": "./fesm2022/smallpearl-ngx-helper-mat-context-menu.mjs"