@cbm-common/cbm-types 0.0.257 → 0.0.259

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,6 +1,12 @@
1
+ import { ElementRef } from '@angular/core';
1
2
  import { FormControl } from '@angular/forms';
2
3
  import { CbmCostCenterModel } from '../../../domain/models/cost-center.domain.model';
3
- import { Subject } from 'rxjs';
4
+ import { Subject, Subscription } from 'rxjs';
5
+ type ObserverStore = {
6
+ resizeObserver?: ResizeObserver;
7
+ mutationObserver?: MutationObserver;
8
+ ngSelectEventSubscriptions?: Subscription[];
9
+ };
4
10
  export declare class AdditionalDataComponent {
5
11
  replaceItemNameControl: import("@angular/core").InputSignal<FormControl<string | null>>;
6
12
  commentaryItemControl: import("@angular/core").InputSignal<FormControl<string | null>>;
@@ -18,9 +24,20 @@ export declare class AdditionalDataComponent {
18
24
  onBlurUnitDiscount: import("@angular/core").OutputEmitterRef<void>;
19
25
  onBlurPriceWithIva: import("@angular/core").OutputEmitterRef<void>;
20
26
  onBlurUnitPriceWithIva: import("@angular/core").OutputEmitterRef<void>;
27
+ /** Referencia al contenedor de la tabla para observación de resize. */
28
+ containerRef: import("@angular/core").Signal<ElementRef<HTMLDivElement> | undefined>;
29
+ /** Referencia a la tabla para observación de mutaciones. */
30
+ formRef: import("@angular/core").Signal<ElementRef<HTMLTableElement> | undefined>;
31
+ /** Observer de resize para la tabla. */
32
+ resizeObserver?: ResizeObserver;
33
+ /** Observer de mutaciones DOM para la tabla. */
34
+ mutationObserver?: MutationObserver;
35
+ private readonly _setupTableEffect;
21
36
  protected compareWithId(a: {
22
37
  _id: string;
23
38
  }, b: {
24
39
  _id: string;
25
40
  }): boolean;
41
+ setupTableResizeAndMutationByElement(containerRef: ElementRef<HTMLElement> | undefined, tableRef: ElementRef<HTMLElement> | undefined, observerStore: ObserverStore): void;
26
42
  }
43
+ export {};
@@ -161,6 +161,8 @@ export declare namespace CbmPrintSettingsModel {
161
161
  description: string;
162
162
  enabled: boolean;
163
163
  _id: string;
164
+ beneficiary_type?: string;
165
+ description_dynamic?: string;
164
166
  }
165
167
  }
166
168
  interface ConfirmResponse {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@cbm-common/cbm-types",
3
- "version": "0.0.257",
3
+ "version": "0.0.259",
4
4
  "main": "index.js",
5
5
  "types": "public-api.d.ts",
6
6
  "exports": {