@cbm-common/cbm-types 0.0.129 → 0.0.130
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/lib/domain/services/auth-reactive.domain.service.d.ts +1 -0
- package/lib/domain/services/item/find-item-code.domain.service.d.ts +15 -0
- package/lib/domain/services/item/find-price-type.domain.service.d.ts +12 -0
- package/package.json +1 -1
- package/lib/remotes/services/auth.service.d.ts +0 -3
- package/lib/remotes/services/web-socket.service.d.ts +0 -4
- package/lib/remotes/services.remote.d.ts +0 -3
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { DestroyRef } from "@angular/core";
|
|
2
|
+
import { FormControl } from "@angular/forms";
|
|
3
|
+
import { CbmItemModel } from "@cbm-common/cbm-types";
|
|
4
|
+
import { CbmItemDomainRepository } from "../../repositories/item.domain.repository";
|
|
5
|
+
import { CbmNotificationService } from "../notification/notification.service";
|
|
6
|
+
export declare class FindItemCodeService {
|
|
7
|
+
private readonly destroyRef;
|
|
8
|
+
private readonly itemRepository;
|
|
9
|
+
private readonly notificationService;
|
|
10
|
+
private readonly codeControl;
|
|
11
|
+
private readonly itemControl;
|
|
12
|
+
constructor(destroyRef: DestroyRef, itemRepository: CbmItemDomainRepository, notificationService: CbmNotificationService, codeControl: FormControl<string>, itemControl: FormControl<Partial<CbmItemModel.ListResponse.Item> | null>);
|
|
13
|
+
loading: import("@angular/core").WritableSignal<boolean>;
|
|
14
|
+
findCode(code?: string): Promise<void>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { DestroyRef } from "@angular/core";
|
|
2
|
+
import { FormControl } from "@angular/forms";
|
|
3
|
+
import { IGetPriceTypeParams, IPriceTypeExec } from "../../../types/price-type.fn";
|
|
4
|
+
import { CbmSalePriceModel } from "../../models/sale-price.domain.model";
|
|
5
|
+
export declare class FindPriceTypeService {
|
|
6
|
+
private readonly destroyRef;
|
|
7
|
+
private readonly controlPriceType;
|
|
8
|
+
private readonly controls;
|
|
9
|
+
private readonly params;
|
|
10
|
+
constructor(destroyRef: DestroyRef, controlPriceType: FormControl<Partial<CbmSalePriceModel.GetResponse.Data> | null>, controls: Omit<IPriceTypeExec, 'controlPriceType'>, params: IGetPriceTypeParams);
|
|
11
|
+
subObserver(): void;
|
|
12
|
+
}
|
package/package.json
CHANGED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ApplicationRef } from "@angular/core";
|
|
2
|
-
import { Router } from "@angular/router";
|
|
3
|
-
import { CbmWebSocketService } from "../../domain/services/web-socket/web-socket.service";
|
|
4
|
-
export declare function webSocketFactory(appRef: ApplicationRef, router: Router): CbmWebSocketService;
|