techlify-inventory-common 18.1.0 → 18.2.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.
- package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +11 -1
- package/esm2022/lib/inventory-common/inventory-common.module.mjs +8 -4
- package/esm2022/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.mjs +10 -8
- package/esm2022/lib/inventory-common/inventory-value-report.service.mjs +21 -0
- package/esm2022/lib/inventory-common/low-stock-report.service.mjs +23 -0
- package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +9 -7
- package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +92 -0
- package/esm2022/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.mjs +18 -0
- package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +170 -0
- package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +165 -0
- package/esm2022/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.mjs +64 -0
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.mjs +43 -0
- package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +11 -3
- package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +6 -65
- package/fesm2022/{techlify-inventory-common-category.module-CNm2bEsx.mjs → techlify-inventory-common-category.module-BKEBFEeZ.mjs} +9 -9
- package/fesm2022/{techlify-inventory-common-category.module-CNm2bEsx.mjs.map → techlify-inventory-common-category.module-BKEBFEeZ.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-measure.module-BEaRHh5Z.mjs → techlify-inventory-common-measure.module-CZHhYoQd.mjs} +9 -9
- package/fesm2022/{techlify-inventory-common-measure.module-BEaRHh5Z.mjs.map → techlify-inventory-common-measure.module-CZHhYoQd.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-stock-issuances.module-BQRRP-hW.mjs → techlify-inventory-common-stock-issuances.module-BjPbzqUW.mjs} +2 -4
- package/fesm2022/{techlify-inventory-common-stock-issuances.module-BQRRP-hW.mjs.map → techlify-inventory-common-stock-issuances.module-BjPbzqUW.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-supplier.module-Bwa7gx14.mjs → techlify-inventory-common-supplier.module-CFDwJ-TS.mjs} +251 -218
- package/fesm2022/techlify-inventory-common-supplier.module-CFDwJ-TS.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs +3143 -0
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common.mjs +1 -1
- package/lib/inventory-common/inventory-common.module.d.ts +2 -1
- package/lib/inventory-common/inventory-value-report.service.d.ts +9 -0
- package/lib/inventory-common/low-stock-report.service.d.ts +10 -0
- package/lib/inventory-common/product/product-quick-search/product-quick-search.component.d.ts +15 -0
- package/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.d.ts +6 -0
- package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts +26 -0
- package/lib/inventory-common/reports/low-stock-report/low-stock-report.component.d.ts +26 -0
- package/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.d.ts +18 -0
- package/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.d.ts +13 -0
- package/lib/inventory-common/supplier/supplier.module.d.ts +3 -1
- package/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.d.ts +0 -8
- package/package.json +1 -1
- package/fesm2022/techlify-inventory-common-product.module-BV9Cy88x.mjs +0 -1168
- package/fesm2022/techlify-inventory-common-product.module-BV9Cy88x.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-stock-issuances-list.module-Dt6gx-ji.mjs +0 -436
- package/fesm2022/techlify-inventory-common-stock-issuances-list.module-Dt6gx-ji.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-stock-receipt-form.module-DND0GNlf.mjs +0 -302
- package/fesm2022/techlify-inventory-common-stock-receipt-form.module-DND0GNlf.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-stock-receipts.module-BvYaKITT.mjs +0 -253
- package/fesm2022/techlify-inventory-common-stock-receipts.module-BvYaKITT.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-supplier-form.component-DVBnhiyH.mjs +0 -177
- package/fesm2022/techlify-inventory-common-supplier-form.component-DVBnhiyH.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-supplier.module-Bwa7gx14.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-techlify-form-service-CiVfwYTS.mjs +0 -14
- package/fesm2022/techlify-inventory-common-techlify-form-service-CiVfwYTS.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-GFYF7JCA.mjs +0 -495
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-GFYF7JCA.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export {
|
|
1
|
+
export { h as InventoryCommonModule, I as InventoryCommonRoutingModule, i as StockSummaryService, b as TechlifyFilterComponent, c as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-CYiCJfk9.mjs';
|
|
2
2
|
//# sourceMappingURL=techlify-inventory-common.mjs.map
|
|
@@ -6,8 +6,9 @@ import * as i4 from "ngx-techlify-core";
|
|
|
6
6
|
import * as i5 from "./product/low-stock-products-widget/low-stock-products-widget.module";
|
|
7
7
|
import * as i6 from "./product/product-summary-chart/product-summary-chart.module";
|
|
8
8
|
import * as i7 from "./product/product-summary-chart/product-summary-chart.component";
|
|
9
|
+
import * as i8 from "./product/product-quick-search/product-quick-search.component";
|
|
9
10
|
export declare class InventoryCommonModule {
|
|
10
11
|
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryCommonModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<InventoryCommonModule, [typeof i1.InventoryDashboardPageComponent], [typeof i2.CommonModule, typeof i3.InventoryCommonRoutingModule, typeof i4.MaterialModule, typeof i5.LowStockProductsWidgetModule, typeof i6.ProductSummaryChartModule, typeof i7.ProductSummaryChartComponent], never>;
|
|
12
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<InventoryCommonModule, [typeof i1.InventoryDashboardPageComponent], [typeof i2.CommonModule, typeof i3.InventoryCommonRoutingModule, typeof i4.MaterialModule, typeof i5.LowStockProductsWidgetModule, typeof i6.ProductSummaryChartModule, typeof i7.ProductSummaryChartComponent, typeof i8.ProductQuickSearchComponent], never>;
|
|
12
13
|
static ɵinj: i0.ɵɵInjectorDeclaration<InventoryCommonModule>;
|
|
13
14
|
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { HttpService, TechlifyServiceBaseClass } from 'ngx-techlify-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class InventoryValueReportService extends TechlifyServiceBaseClass {
|
|
5
|
+
constructor(httpService: HttpService);
|
|
6
|
+
export(params?: any): Observable<any>;
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryValueReportService, never>;
|
|
8
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<InventoryValueReportService>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { HttpService, TechlifyServiceBaseClass } from 'ngx-techlify-core';
|
|
2
|
+
import { Observable } from 'rxjs';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class LowStockReportService extends TechlifyServiceBaseClass {
|
|
5
|
+
protected httpService: HttpService;
|
|
6
|
+
constructor(httpService: HttpService);
|
|
7
|
+
export(params?: any): Observable<any>;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowStockReportService, never>;
|
|
9
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<LowStockReportService>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
|
+
import { FormControl } from '@angular/forms';
|
|
4
|
+
import { ProductService } from "../product.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProductQuickSearchComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
7
|
+
private productService;
|
|
8
|
+
displayedColumns: string[];
|
|
9
|
+
searchControl: FormControl<any>;
|
|
10
|
+
constructor(productService: ProductService);
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
loadData(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductQuickSearchComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductQuickSearchComponent, "app-product-quick-search", never, {}, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ProductCategoryBadgesComponent {
|
|
3
|
+
product: any;
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductCategoryBadgesComponent, never>;
|
|
5
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductCategoryBadgesComponent, "app-product-category-badges", never, { "product": { "alias": "product"; "required": false; }; }, {}, never, never, true, never>;
|
|
6
|
+
}
|
package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts
ADDED
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RequestHelperService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
|
+
import { InventoryValueReportService } from '../../inventory-value-report.service';
|
|
4
|
+
import { ActivatedRoute } from '@angular/router';
|
|
5
|
+
import { FormBuilder } from '@angular/forms';
|
|
6
|
+
import { Sort } from '@angular/material/sort';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class InventoryValueReportComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
|
+
private service;
|
|
10
|
+
private activatedRoute;
|
|
11
|
+
private requestHelperService;
|
|
12
|
+
private formBuilder;
|
|
13
|
+
displayedColumns: string[];
|
|
14
|
+
totalInventoryValue: number;
|
|
15
|
+
isExporting: boolean;
|
|
16
|
+
constructor(service: InventoryValueReportService, activatedRoute: ActivatedRoute, requestHelperService: RequestHelperService, formBuilder: FormBuilder);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
loadData(): void;
|
|
19
|
+
private updateFormWithQueryParams;
|
|
20
|
+
private subscribeToFormChanges;
|
|
21
|
+
private subscribeToRouteChanges;
|
|
22
|
+
onSortChange(sort: Sort): void;
|
|
23
|
+
export(type?: string): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryValueReportComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<InventoryValueReportComponent, "app-inventory-value-report", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from "@angular/forms";
|
|
3
|
+
import { Sort } from "@angular/material/sort";
|
|
4
|
+
import { RequestHelperService, TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
5
|
+
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { LowStockReportService } from '../../low-stock-report.service';
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class LowStockReportComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
|
+
private service;
|
|
10
|
+
private activatedRoute;
|
|
11
|
+
private requestHelperService;
|
|
12
|
+
private formBuilder;
|
|
13
|
+
displayedColumns: string[];
|
|
14
|
+
totalInventoryValue: number;
|
|
15
|
+
isExporting: boolean;
|
|
16
|
+
constructor(service: LowStockReportService, activatedRoute: ActivatedRoute, requestHelperService: RequestHelperService, formBuilder: FormBuilder);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
loadData(): void;
|
|
19
|
+
onSortChange(sort: Sort): void;
|
|
20
|
+
export(): void;
|
|
21
|
+
private updateFormWithQueryParams;
|
|
22
|
+
private subscribeToFormChanges;
|
|
23
|
+
private subscribeToRouteChanges;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<LowStockReportComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<LowStockReportComponent, "app-low-stock-report", never, {}, {}, never, never, true, never>;
|
|
26
|
+
}
|
package/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.d.ts
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { AlertService, ErrorHandlerService } from 'ngx-techlify-core';
|
|
3
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
4
|
+
import { SupplierService } from '../supplier.service';
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class SupplierDeleteButtonComponent implements OnInit {
|
|
7
|
+
private dialog;
|
|
8
|
+
private alertService;
|
|
9
|
+
private errorHandler;
|
|
10
|
+
private supplierService;
|
|
11
|
+
supplier: any;
|
|
12
|
+
onDelete: EventEmitter<any>;
|
|
13
|
+
constructor(dialog: MatDialog, alertService: AlertService, errorHandler: ErrorHandlerService, supplierService: SupplierService);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
openDialog(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierDeleteButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupplierDeleteButtonComponent, "app-supplier-delete-button", never, { "supplier": { "alias": "supplier"; "required": false; }; }, { "onDelete": "onDelete"; }, never, never, true, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class SupplierFormButtonComponent implements OnInit {
|
|
5
|
+
private matDialog;
|
|
6
|
+
supplier: any;
|
|
7
|
+
onSaved: EventEmitter<any>;
|
|
8
|
+
constructor(matDialog: MatDialog);
|
|
9
|
+
ngOnInit(): void;
|
|
10
|
+
openDialog(): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierFormButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<SupplierFormButtonComponent, "app-supplier-form-button", never, { "supplier": { "alias": "supplier"; "required": false; }; }, { "onSaved": "onSaved"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -12,8 +12,10 @@ import * as i10 from "@angular/flex-layout";
|
|
|
12
12
|
import * as i11 from "@angular/forms";
|
|
13
13
|
import * as i12 from "ngx-infinite-scroll";
|
|
14
14
|
import * as i13 from "ngx-permissions";
|
|
15
|
+
import * as i14 from "./supplier-form/supplier-form-button/supplier-form-button.component";
|
|
16
|
+
import * as i15 from "./supplier-delete-button/supplier-delete-button.component";
|
|
15
17
|
export declare class SupplierModule {
|
|
16
18
|
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierModule, never>;
|
|
17
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<SupplierModule, [typeof i1.SupplierComponent, typeof i2.SupplierViewComponent, typeof i3.SuppliersListComponent, typeof i4.SupplierFormComponent, typeof i5.SupplierInformationComponent], [typeof i6.CommonModule, typeof i7.SupplierRoutingModule, typeof i8.MaterialModule, typeof i9.SearchableSelectorModule, typeof i9.AuditLogForModelModule, typeof i9.NoteModule, typeof i10.FlexModule, typeof i11.ReactiveFormsModule, typeof i12.InfiniteScrollModule, typeof i13.NgxPermissionsModule], never>;
|
|
19
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<SupplierModule, [typeof i1.SupplierComponent, typeof i2.SupplierViewComponent, typeof i3.SuppliersListComponent, typeof i4.SupplierFormComponent, typeof i5.SupplierInformationComponent], [typeof i6.CommonModule, typeof i7.SupplierRoutingModule, typeof i8.MaterialModule, typeof i9.SearchableSelectorModule, typeof i9.AuditLogForModelModule, typeof i9.NoteModule, typeof i10.FlexModule, typeof i11.ReactiveFormsModule, typeof i12.InfiniteScrollModule, typeof i13.NgxPermissionsModule, typeof i14.SupplierFormButtonComponent, typeof i15.SupplierDeleteButtonComponent], never>;
|
|
18
20
|
static ɵinj: i0.ɵɵInjectorDeclaration<SupplierModule>;
|
|
19
21
|
}
|
|
@@ -25,14 +25,6 @@ export declare class SuppliersListComponent extends TechlifyListingControllerInt
|
|
|
25
25
|
sortColumn(event: any): void;
|
|
26
26
|
assignFilter(column: any, direction: any): any;
|
|
27
27
|
loadData(): Promise<void>;
|
|
28
|
-
editForm(model?: any): void;
|
|
29
|
-
deleteForm(supplier: any): void;
|
|
30
|
-
/**
|
|
31
|
-
* Show the supplier create form.
|
|
32
|
-
*
|
|
33
|
-
* @param model
|
|
34
|
-
*/
|
|
35
|
-
showAddSupplierDialog(model?: any): void;
|
|
36
28
|
private updateFormWithQueryParams;
|
|
37
29
|
private subscribeToFormChanges;
|
|
38
30
|
private subscribeToRouteChanges;
|