@cbm-common/cbm-types 0.0.211 → 0.0.213
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.
|
@@ -22,7 +22,6 @@ export declare class CbmAdvancedItemSearchModal {
|
|
|
22
22
|
'with-stock': import("@angular/core").InputSignal<boolean>;
|
|
23
23
|
'with-provider-code': import("@angular/core").InputSignal<boolean>;
|
|
24
24
|
'table-config-key': import("@angular/core").InputSignal<string>;
|
|
25
|
-
'config-filters': import("@angular/core").InputSignal<Record<string, ConfigFilters> | undefined>;
|
|
26
25
|
'exclude-filters': import("@angular/core").InputSignal<string[] | undefined>;
|
|
27
26
|
'exclude-columns': import("@angular/core").InputSignal<string[] | undefined>;
|
|
28
27
|
'config-columns': import("@angular/core").InputSignal<ITableColumnAdvancedItemSearchModal | undefined>;
|
|
@@ -34,7 +33,6 @@ export declare class CbmAdvancedItemSearchModal {
|
|
|
34
33
|
excludeFilters: import("@angular/core").Signal<string[] | undefined>;
|
|
35
34
|
excludeColumns: import("@angular/core").Signal<string[] | undefined>;
|
|
36
35
|
configColumns: import("@angular/core").Signal<ITableColumnAdvancedItemSearchModal | undefined>;
|
|
37
|
-
configFilters: import("@angular/core").Signal<Record<string, ConfigFilters> | undefined>;
|
|
38
36
|
isOnlyOneItemCoincidence: import("@angular/core").OutputEmitterRef<CbmItemModel.ListResponse.Item | undefined>;
|
|
39
37
|
addSelectedPriceList: import("@angular/core").OutputEmitterRef<CbmPriceListModel.ListResponse.Data>;
|
|
40
38
|
open: import("@angular/core").OutputEmitterRef<void>;
|
|
@@ -50,6 +48,3 @@ export declare class CbmAdvancedItemSearchModal {
|
|
|
50
48
|
getOneItemByCode(): void;
|
|
51
49
|
}
|
|
52
50
|
export type ITableColumnAdvancedItemSearchModal = Record<string, Omit<Partial<ITableColumn>, 'order' | 'key'>>;
|
|
53
|
-
export interface ConfigFilters {
|
|
54
|
-
readOnly?: boolean;
|
|
55
|
-
}
|
|
@@ -18,8 +18,8 @@ import { CbmNotificationService } from '../../../domain/services/notification/no
|
|
|
18
18
|
import { TableConfigurationService } from '../../../domain/services/table-configuration.service';
|
|
19
19
|
import { CbmModalConfirmComponent } from '../../modal-confirm/modal-confirm';
|
|
20
20
|
import { StockByWarehouseModalCompModel } from '../../stock-by-warehouse-modal/stock-by-warehouse-modal.model';
|
|
21
|
-
import { ConfigFilters, ITableColumnAdvancedItemSearchModal } from '../advanced-item-search-modal';
|
|
22
21
|
import { IPagination, TStatus } from '../types';
|
|
22
|
+
import { ITableColumnAdvancedItemSearchModal } from '../advanced-item-search-modal';
|
|
23
23
|
interface IItemWithChecked extends CbmItemModel.AdvancedItemListResponse.Item {
|
|
24
24
|
checked: boolean;
|
|
25
25
|
}
|
|
@@ -35,9 +35,6 @@ export declare class ItemListComponent implements OnInit {
|
|
|
35
35
|
private readonly warehouseRepository;
|
|
36
36
|
private readonly authReactiveService;
|
|
37
37
|
constructor(priceListRepository: CbmPriceListDomainRepository, manufacturerRepository: CbmManufacturerRepository, groupRepository: CbmGroupDomainRepository, itemRepository: CbmItemDomainRepository, providerRepository: CbmProviderRepository, notificationService: CbmNotificationService, tableConfigService: TableConfigurationService, destroyRef: DestroyRef, warehouseRepository: CbmWarehouseDomainRepository, authReactiveService: CbmAuthReactiveService);
|
|
38
|
-
private readonly CACHE_TTL_MS;
|
|
39
|
-
private searchCache;
|
|
40
|
-
private getCacheKey;
|
|
41
38
|
private resetColumns;
|
|
42
39
|
private columns;
|
|
43
40
|
modalConfirmRef: import("@angular/core").Signal<CbmModalConfirmComponent>;
|
|
@@ -51,7 +48,6 @@ export declare class ItemListComponent implements OnInit {
|
|
|
51
48
|
'with-provider-code': import("@angular/core").InputSignal<boolean>;
|
|
52
49
|
'suggest-warehouse': import("@angular/core").InputSignal<CbmWarehouseModel.ListResponse.Data | null>;
|
|
53
50
|
'table-config-key': import("@angular/core").InputSignal<string | undefined>;
|
|
54
|
-
'config-filters': import("@angular/core").InputSignal<Record<string, ConfigFilters> | undefined>;
|
|
55
51
|
'exclude-filters': import("@angular/core").InputSignal<string[] | undefined>;
|
|
56
52
|
'exclude-columns': import("@angular/core").InputSignal<string[] | undefined>;
|
|
57
53
|
'config-columns': import("@angular/core").InputSignal<ITableColumnAdvancedItemSearchModal | undefined>;
|
|
@@ -224,6 +224,7 @@ export declare namespace CbmItemModel {
|
|
|
224
224
|
property_id?: string;
|
|
225
225
|
provider_id?: string;
|
|
226
226
|
location?: string;
|
|
227
|
+
recount?: boolean;
|
|
227
228
|
}
|
|
228
229
|
interface AdvancedItemListResponse {
|
|
229
230
|
success: boolean;
|
|
@@ -288,6 +289,7 @@ export declare namespace CbmItemModel {
|
|
|
288
289
|
tax_ice_start_range?: number;
|
|
289
290
|
tax_ice_type?: string;
|
|
290
291
|
tax_ice_value?: number;
|
|
292
|
+
recount?: boolean;
|
|
291
293
|
}
|
|
292
294
|
namespace Item {
|
|
293
295
|
interface ItemWarehouse {
|