techlify-inventory-common 18.41.3 → 18.42.0

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.
Files changed (23) hide show
  1. package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +6 -1
  2. package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +7 -7
  3. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-product-data.service.mjs +20 -0
  4. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.mjs +97 -0
  5. package/esm2022/lib/inventory-common/shared.module.mjs +19 -9
  6. package/fesm2022/{techlify-inventory-common-category.module-Y2smSZ-5.mjs → techlify-inventory-common-category.module-obJptNEZ.mjs} +4 -4
  7. package/fesm2022/{techlify-inventory-common-category.module-Y2smSZ-5.mjs.map → techlify-inventory-common-category.module-obJptNEZ.mjs.map} +1 -1
  8. package/fesm2022/{techlify-inventory-common-measure.module-BTfW5R8B.mjs → techlify-inventory-common-measure.module-CjC9VOJl.mjs} +4 -4
  9. package/fesm2022/{techlify-inventory-common-measure.module-BTfW5R8B.mjs.map → techlify-inventory-common-measure.module-CjC9VOJl.mjs.map} +1 -1
  10. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-CvL0Y_cN.mjs → techlify-inventory-common-purchase-order-view.component-e4V2L57U.mjs} +4 -4
  11. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-CvL0Y_cN.mjs.map → techlify-inventory-common-purchase-order-view.component-e4V2L57U.mjs.map} +1 -1
  12. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-CZ8eIPdZ.mjs → techlify-inventory-common-stock-issue-form.component-DfkyMEiz.mjs} +2 -2
  13. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-CZ8eIPdZ.mjs.map → techlify-inventory-common-stock-issue-form.component-DfkyMEiz.mjs.map} +1 -1
  14. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-DgM9M5va.mjs → techlify-inventory-common-stock-issue-view.component-BTQvQ406.mjs} +2 -2
  15. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-DgM9M5va.mjs.map → techlify-inventory-common-stock-issue-view.component-BTQvQ406.mjs.map} +1 -1
  16. package/fesm2022/{techlify-inventory-common-techlify-inventory-common-4kwSsCKJ.mjs → techlify-inventory-common-techlify-inventory-common-BQhDomKo.mjs} +169 -62
  17. package/fesm2022/techlify-inventory-common-techlify-inventory-common-BQhDomKo.mjs.map +1 -0
  18. package/fesm2022/techlify-inventory-common.mjs +1 -1
  19. package/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-product-data.service.d.ts +8 -0
  20. package/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.d.ts +30 -0
  21. package/lib/inventory-common/shared.module.d.ts +3 -2
  22. package/package.json +1 -1
  23. package/fesm2022/techlify-inventory-common-techlify-inventory-common-4kwSsCKJ.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- export { a7 as ExportToExcelButtonComponent, a1 as IncidentFormButtonComponent, a0 as IncidentFormComponent, $ as IncidentListComponent, Z as IncidentModule, _ as IncidentService, d as InventoryCommonModule, I as InventoryCommonRoutingModule, ab as LocationFormButtonComponent, aa as LocationFormComponent, a9 as LocationListComponent, a8 as LocationModule, L as LocationService, M as MeasureService, Y as PayeeSelectorComponent, X as PayeeSelectorModule, h as ProductBasicInfoComponent, p as ProductBatchUpdateFormComponent, i as ProductFormButtonComponent, g as ProductFormComponent, o as ProductFormService, q as ProductImportPageComponent, m as ProductListComponent, f as ProductModule, j as ProductQuickSearchComponent, l as ProductSearchComponent, k as ProductSearchModule, n as ProductService, r as ProductViewPageComponent, a6 as RatingFormButtonComponent, a5 as RatingFormComponent, a4 as RatingListComponent, a2 as RatingModule, a3 as RatingService, ag as ShelfFormButtonComponent, af as ShelfFormComponent, ae as ShelfListComponent, ac as ShelfModule, ad as ShelfService, w as StockIssueListComponent, s as StockIssueModule, t as StockIssuePageComponent, u as StockIssuePageModule, A as StockIssueProductFormButtonComponent, z as StockIssueProductFormComponent, x as StockIssueProductListComponent, y as StockIssueProductService, v as StockIssueSingleProductFormComponent, D as StockReceiptListComponent, C as StockReceiptPageComponent, J as StockReceiptProductFormButtonComponent, H as StockReceiptProductFormComponent, E as StockReceiptProductsListComponent, F as StockReceiptSingleProductFormComponent, G as StockReceiptViewComponent, B as StockReceiptsModule, e as StockSummaryService, N as StockTransferFormComponent, K as StockTransferListComponent, O as StockTransferService, R as SupplierFormButtonComponent, U as SupplierFormComponent, Q as SupplierModule, W as SupplierTypeService, V as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-4kwSsCKJ.mjs';
1
+ export { a7 as ExportToExcelButtonComponent, a1 as IncidentFormButtonComponent, a0 as IncidentFormComponent, $ as IncidentListComponent, Z as IncidentModule, _ as IncidentService, d as InventoryCommonModule, I as InventoryCommonRoutingModule, ab as LocationFormButtonComponent, aa as LocationFormComponent, a9 as LocationListComponent, a8 as LocationModule, L as LocationService, M as MeasureService, Y as PayeeSelectorComponent, X as PayeeSelectorModule, h as ProductBasicInfoComponent, p as ProductBatchUpdateFormComponent, i as ProductFormButtonComponent, g as ProductFormComponent, o as ProductFormService, q as ProductImportPageComponent, m as ProductListComponent, f as ProductModule, j as ProductQuickSearchComponent, l as ProductSearchComponent, k as ProductSearchModule, n as ProductService, r as ProductViewPageComponent, a6 as RatingFormButtonComponent, a5 as RatingFormComponent, a4 as RatingListComponent, a2 as RatingModule, a3 as RatingService, ag as ShelfFormButtonComponent, af as ShelfFormComponent, ae as ShelfListComponent, ac as ShelfModule, ad as ShelfService, w as StockIssueListComponent, s as StockIssueModule, t as StockIssuePageComponent, u as StockIssuePageModule, A as StockIssueProductFormButtonComponent, z as StockIssueProductFormComponent, x as StockIssueProductListComponent, y as StockIssueProductService, v as StockIssueSingleProductFormComponent, D as StockReceiptListComponent, C as StockReceiptPageComponent, J as StockReceiptProductFormButtonComponent, H as StockReceiptProductFormComponent, E as StockReceiptProductsListComponent, F as StockReceiptSingleProductFormComponent, G as StockReceiptViewComponent, B as StockReceiptsModule, e as StockSummaryService, N as StockTransferFormComponent, K as StockTransferListComponent, O as StockTransferService, R as SupplierFormButtonComponent, U as SupplierFormComponent, Q as SupplierModule, W as SupplierTypeService, V as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-BQhDomKo.mjs';
2
2
  //# sourceMappingURL=techlify-inventory-common.mjs.map
@@ -0,0 +1,8 @@
1
+ import { HttpService, TechlifyService } from 'ngx-techlify-core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StockIssueProductDataService extends TechlifyService {
4
+ protected http: HttpService;
5
+ constructor(http: HttpService);
6
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueProductDataService, never>;
7
+ static ɵprov: i0.ɵɵInjectableDeclaration<StockIssueProductDataService>;
8
+ }
@@ -0,0 +1,30 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { TechlifyListComponent } from 'ngx-techlify-core';
3
+ import { StockIssueProductDataService } from './stock-issue-product-data.service';
4
+ import { FormBuilder } from '@angular/forms';
5
+ import * as i0 from "@angular/core";
6
+ interface LocationGroup {
7
+ location: any;
8
+ models: any[];
9
+ grand_total_quantity: number;
10
+ grand_total_avco: number;
11
+ }
12
+ export declare class StockIssueSummaryReportComponent extends TechlifyListComponent implements OnInit {
13
+ protected service: StockIssueProductDataService;
14
+ private fb;
15
+ displayedColumns: string[];
16
+ locationGroups: import("@angular/core").WritableSignal<LocationGroup[]>;
17
+ selectedLocations: any[];
18
+ constructor(service: StockIssueProductDataService, fb: FormBuilder);
19
+ ngOnInit(): void;
20
+ onLocationsChange(locations: any[]): void;
21
+ /**
22
+ * For each selected location we hit the API once, so every location gets its
23
+ * own aggregated result set (and its own table). Data is only loaded once at
24
+ * least one location is selected.
25
+ */
26
+ loadData(): void;
27
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueSummaryReportComponent, never>;
28
+ static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueSummaryReportComponent, "app-stock-issue-summary-report", never, {}, {}, never, never, true, never>;
29
+ }
30
+ export {};
@@ -3,9 +3,10 @@ import * as i1 from "ngx-techlify-core";
3
3
  import * as i2 from "ngx-infinite-scroll";
4
4
  import * as i3 from "@angular/common";
5
5
  import * as i4 from "./material.module";
6
- import * as i5 from "@angular/router";
6
+ import * as i5 from "@angular/forms";
7
+ import * as i6 from "@angular/router";
7
8
  export declare class SharedModule {
8
9
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedModule, never>;
9
- static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.TechlifyFormButtonComponent, typeof i2.InfiniteScrollDirective], [typeof i3.CommonModule, typeof i4.MaterialModule, typeof i1.TechlifyIconModule, typeof i2.InfiniteScrollDirective, typeof i1.TechlifyFormButtonComponent, typeof i5.RouterModule]>;
10
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SharedModule, never, [typeof i1.TechlifyFormButtonComponent, typeof i2.InfiniteScrollDirective], [typeof i3.CommonModule, typeof i2.InfiniteScrollDirective, typeof i4.MaterialModule, typeof i5.ReactiveFormsModule, typeof i6.RouterModule, typeof i1.SearchableSelectorModule, typeof i1.TechlifyFormButtonComponent, typeof i1.TechlifyIconModule, typeof i1.TimelineFilterModule]>;
10
11
  static ɵinj: i0.ɵɵInjectorDeclaration<SharedModule>;
11
12
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "techlify-inventory-common",
3
- "version": "18.41.3",
3
+ "version": "18.42.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"