techlify-inventory-common 18.0.1
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/README.md +24 -0
- package/esm2022/lib/inventory-common/category/category-form/category-form.component.mjs +77 -0
- package/esm2022/lib/inventory-common/category/category-form-button/category-form-button.component.mjs +32 -0
- package/esm2022/lib/inventory-common/category/category-list-page/category-list-page.component.mjs +68 -0
- package/esm2022/lib/inventory-common/category/category-routing.module.mjs +24 -0
- package/esm2022/lib/inventory-common/category/category.module.mjs +63 -0
- package/esm2022/lib/inventory-common/category/category.service.mjs +18 -0
- package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +53 -0
- package/esm2022/lib/inventory-common/inventory-common.module.mjs +39 -0
- package/esm2022/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.mjs +42 -0
- package/esm2022/lib/inventory-common/material.module.mjs +172 -0
- package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.mjs +44 -0
- package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete.module.mjs +19 -0
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.mjs +80 -0
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.mjs +30 -0
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form.module.mjs +21 -0
- package/esm2022/lib/inventory-common/measure/measure-routing.module.mjs +24 -0
- package/esm2022/lib/inventory-common/measure/measure.module.mjs +47 -0
- package/esm2022/lib/inventory-common/measure/measure.service.mjs +18 -0
- package/esm2022/lib/inventory-common/measure/measures-list/measures-list.component.mjs +71 -0
- package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +45 -0
- package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.mjs +36 -0
- package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +54 -0
- package/esm2022/lib/inventory-common/product/product-delete-button/product-delete-button.component.mjs +54 -0
- package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +180 -0
- package/esm2022/lib/inventory-common/product/product-form-button/product-form-button.component.mjs +40 -0
- package/esm2022/lib/inventory-common/product/product-form.service.mjs +17 -0
- package/esm2022/lib/inventory-common/product/product-import-page/product-import-page.component.mjs +66 -0
- package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +189 -0
- package/esm2022/lib/inventory-common/product/product-measure-form/product-measure-form.component.mjs +101 -0
- package/esm2022/lib/inventory-common/product/product-measures-list/product-measures-list.component.mjs +151 -0
- package/esm2022/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.mjs +12 -0
- package/esm2022/lib/inventory-common/product/product-routing.module.mjs +57 -0
- package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.mjs +63 -0
- package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.mjs +29 -0
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.mjs +54 -0
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.mjs +77 -0
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.mjs +35 -0
- package/esm2022/lib/inventory-common/product/product-tax/product-tax.module.mjs +39 -0
- package/esm2022/lib/inventory-common/product/product-tax/product-tax.service.mjs +18 -0
- package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +68 -0
- package/esm2022/lib/inventory-common/product/product.module.mjs +111 -0
- package/esm2022/lib/inventory-common/product/product.service.mjs +49 -0
- package/esm2022/lib/inventory-common/services/techlify-form-service.mjs +11 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.mjs +47 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.mjs +19 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance.service.mjs +18 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.mjs +126 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.mjs +48 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-routing.module.mjs +24 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances.module.mjs +67 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.mjs +120 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.mjs +44 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.mjs +53 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.mjs +47 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.mjs +125 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.mjs +38 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.mjs +53 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt.service.mjs +18 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +119 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +24 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +75 -0
- package/esm2022/lib/inventory-common/stock-summary.service.mjs +26 -0
- package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.mjs +59 -0
- package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector.module.mjs +35 -0
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +118 -0
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.service.mjs +17 -0
- package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +72 -0
- package/esm2022/lib/inventory-common/supplier/supplier-routing.module.mjs +40 -0
- package/esm2022/lib/inventory-common/supplier/supplier-type.service.mjs +25 -0
- package/esm2022/lib/inventory-common/supplier/supplier-view/supplier-view.component.mjs +66 -0
- package/esm2022/lib/inventory-common/supplier/supplier.component.mjs +20 -0
- package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +63 -0
- package/esm2022/lib/inventory-common/supplier/supplier.service.mjs +61 -0
- package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +241 -0
- package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.component.mjs +118 -0
- package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.module.mjs +38 -0
- package/esm2022/public-api.mjs +9 -0
- package/esm2022/techlify-inventory-common.mjs +5 -0
- package/fesm2022/techlify-inventory-common-category.module-Stn6e73V.mjs +257 -0
- package/fesm2022/techlify-inventory-common-category.module-Stn6e73V.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-measure.module-CirswKXn.mjs +313 -0
- package/fesm2022/techlify-inventory-common-measure.module-CirswKXn.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-product.module-qdeafFV5.mjs +1172 -0
- package/fesm2022/techlify-inventory-common-product.module-qdeafFV5.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-stock-issuances-list.module-CyFDxARk.mjs +436 -0
- package/fesm2022/techlify-inventory-common-stock-issuances-list.module-CyFDxARk.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-stock-issuances.module-Dm9i2kcf.mjs +89 -0
- package/fesm2022/techlify-inventory-common-stock-issuances.module-Dm9i2kcf.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-stock-receipt-form.module-BZDrN7la.mjs +302 -0
- package/fesm2022/techlify-inventory-common-stock-receipt-form.module-BZDrN7la.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-stock-receipts.module-CUPdWteR.mjs +253 -0
- package/fesm2022/techlify-inventory-common-stock-receipts.module-CUPdWteR.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-supplier-form.component-CHmMG7O8.mjs +178 -0
- package/fesm2022/techlify-inventory-common-supplier-form.component-CHmMG7O8.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-supplier.module-gzHesNtQ.mjs +665 -0
- package/fesm2022/techlify-inventory-common-supplier.module-gzHesNtQ.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-techlify-form-service-CiVfwYTS.mjs +14 -0
- package/fesm2022/techlify-inventory-common-techlify-form-service-CiVfwYTS.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-Czyc0jLI.mjs +495 -0
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-Czyc0jLI.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common.mjs +2 -0
- package/fesm2022/techlify-inventory-common.mjs.map +1 -0
- package/index.d.ts +5 -0
- package/lib/inventory-common/category/category-form/category-form.component.d.ts +19 -0
- package/lib/inventory-common/category/category-form-button/category-form-button.component.d.ts +13 -0
- package/lib/inventory-common/category/category-list-page/category-list-page.component.d.ts +20 -0
- package/lib/inventory-common/category/category-routing.module.d.ts +7 -0
- package/lib/inventory-common/category/category.module.d.ts +19 -0
- package/lib/inventory-common/category/category.service.d.ts +7 -0
- package/lib/inventory-common/inventory-common-routing.module.d.ts +7 -0
- package/lib/inventory-common/inventory-common.module.d.ts +13 -0
- package/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.d.ts +14 -0
- package/lib/inventory-common/material.module.d.ts +40 -0
- package/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.d.ts +19 -0
- package/lib/inventory-common/measure/measure-delete/measure-delete.module.d.ts +9 -0
- package/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.d.ts +19 -0
- package/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.d.ts +13 -0
- package/lib/inventory-common/measure/measure-form/measure-form.module.d.ts +11 -0
- package/lib/inventory-common/measure/measure-routing.module.d.ts +7 -0
- package/lib/inventory-common/measure/measure.module.d.ts +15 -0
- package/lib/inventory-common/measure/measure.service.d.ts +7 -0
- package/lib/inventory-common/measure/measures-list/measures-list.component.d.ts +17 -0
- package/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.d.ts +13 -0
- package/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.d.ts +12 -0
- package/lib/inventory-common/product/product-basic-info/product-basic-info.component.d.ts +19 -0
- package/lib/inventory-common/product/product-delete-button/product-delete-button.component.d.ts +26 -0
- package/lib/inventory-common/product/product-form/product-form.component.d.ts +44 -0
- package/lib/inventory-common/product/product-form-button/product-form-button.component.d.ts +20 -0
- package/lib/inventory-common/product/product-form.service.d.ts +7 -0
- package/lib/inventory-common/product/product-import-page/product-import-page.component.d.ts +10 -0
- package/lib/inventory-common/product/product-list/product-list.component.d.ts +44 -0
- package/lib/inventory-common/product/product-measure-form/product-measure-form.component.d.ts +33 -0
- package/lib/inventory-common/product/product-measures-list/product-measures-list.component.d.ts +43 -0
- package/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.d.ts +5 -0
- package/lib/inventory-common/product/product-routing.module.d.ts +7 -0
- package/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.d.ts +15 -0
- package/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.d.ts +10 -0
- package/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.d.ts +26 -0
- package/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.d.ts +21 -0
- package/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.d.ts +13 -0
- package/lib/inventory-common/product/product-tax/product-tax.module.d.ts +12 -0
- package/lib/inventory-common/product/product-tax/product-tax.service.d.ts +7 -0
- package/lib/inventory-common/product/product-view-page/product-view-page.component.d.ts +33 -0
- package/lib/inventory-common/product/product.module.d.ts +28 -0
- package/lib/inventory-common/product/product.service.d.ts +19 -0
- package/lib/inventory-common/services/techlify-form-service.d.ts +5 -0
- package/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.d.ts +18 -0
- package/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.d.ts +9 -0
- package/lib/inventory-common/stock-issuances/stock-issuance.service.d.ts +7 -0
- package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.d.ts +24 -0
- package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.d.ts +15 -0
- package/lib/inventory-common/stock-issuances/stock-issuances-routing.module.d.ts +7 -0
- package/lib/inventory-common/stock-issuances/stock-issuances.module.d.ts +19 -0
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.d.ts +24 -0
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.d.ts +18 -0
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.d.ts +17 -0
- package/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.d.ts +18 -0
- package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.d.ts +22 -0
- package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.d.ts +16 -0
- package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.d.ts +17 -0
- package/lib/inventory-common/stock-receipts/stock-receipt.service.d.ts +7 -0
- package/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.d.ts +21 -0
- package/lib/inventory-common/stock-receipts/stock-receipts-routing.module.d.ts +7 -0
- package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +20 -0
- package/lib/inventory-common/stock-summary.service.d.ts +14 -0
- package/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.d.ts +20 -0
- package/lib/inventory-common/supplier/payee-selector/payee-selector.module.d.ts +11 -0
- package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +29 -0
- package/lib/inventory-common/supplier/supplier-form/supplier-form.service.d.ts +7 -0
- package/lib/inventory-common/supplier/supplier-information/supplier-information.component.d.ts +18 -0
- package/lib/inventory-common/supplier/supplier-routing.module.d.ts +7 -0
- package/lib/inventory-common/supplier/supplier-type.service.d.ts +13 -0
- package/lib/inventory-common/supplier/supplier-view/supplier-view.component.d.ts +20 -0
- package/lib/inventory-common/supplier/supplier.component.d.ts +10 -0
- package/lib/inventory-common/supplier/supplier.module.d.ts +18 -0
- package/lib/inventory-common/supplier/supplier.service.d.ts +39 -0
- package/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.d.ts +51 -0
- package/lib/inventory-common/techlify-filter/techlify-filter.component.d.ts +31 -0
- package/lib/inventory-common/techlify-filter/techlify-filter.module.d.ts +11 -0
- package/package.json +25 -0
- package/public-api.d.ts +5 -0
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { ProductFormService } from "../product-form.service";
|
|
4
|
+
import * as i0 from "@angular/core";
|
|
5
|
+
export declare class ProductFormButtonComponent {
|
|
6
|
+
matDialog: MatDialog;
|
|
7
|
+
private productFormService;
|
|
8
|
+
product: any;
|
|
9
|
+
saved: EventEmitter<any>;
|
|
10
|
+
constructor(matDialog: MatDialog, productFormService: ProductFormService);
|
|
11
|
+
showForm(templateRef: TemplateRef<any>): void;
|
|
12
|
+
/**
|
|
13
|
+
* Handle on product saved event.
|
|
14
|
+
*
|
|
15
|
+
* @param product
|
|
16
|
+
*/
|
|
17
|
+
onProductSaved(product: any): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductFormButtonComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductFormButtonComponent, "app-product-form-button", never, { "product": { "alias": "product"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import TechlifyFormService from '../services/techlify-form-service';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProductFormService extends TechlifyFormService {
|
|
4
|
+
constructor();
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductFormService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductFormService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ImportCsvConfig } from "ngx-techlify-core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProductImportPageComponent implements OnInit {
|
|
5
|
+
importConfig: ImportCsvConfig;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductImportPageComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductImportPageComponent, "app-product-import-page", never, {}, {}, never, never, false, never>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { FormBuilder, FormControl, FormGroup } from "@angular/forms";
|
|
3
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
4
|
+
import { MatTableDataSource } from "@angular/material/table";
|
|
5
|
+
import { ActivatedRoute } from "@angular/router";
|
|
6
|
+
import { RequestHelperService } from "ngx-techlify-core";
|
|
7
|
+
import { ProductService } from "../product.service";
|
|
8
|
+
import { ProductFormService } from "../product-form.service";
|
|
9
|
+
import * as i0 from "@angular/core";
|
|
10
|
+
export declare class ProductListComponent implements OnInit {
|
|
11
|
+
private fb;
|
|
12
|
+
private dialog;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
private productService;
|
|
15
|
+
private requestHelperService;
|
|
16
|
+
private productFormService;
|
|
17
|
+
filterForm: FormGroup;
|
|
18
|
+
lastPage: number;
|
|
19
|
+
page: number;
|
|
20
|
+
perPage: number;
|
|
21
|
+
totalItems: number;
|
|
22
|
+
currentPage: number;
|
|
23
|
+
num_items: number;
|
|
24
|
+
routeFilters: any;
|
|
25
|
+
products: any[];
|
|
26
|
+
dataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
|
|
27
|
+
isLoading: boolean;
|
|
28
|
+
columnDefinitions: {
|
|
29
|
+
def: string;
|
|
30
|
+
isShow: boolean;
|
|
31
|
+
}[];
|
|
32
|
+
displayedColumns: FormControl;
|
|
33
|
+
importId: number;
|
|
34
|
+
constructor(fb: FormBuilder, dialog: MatDialog, activatedRoute: ActivatedRoute, productService: ProductService, requestHelperService: RequestHelperService, productFormService: ProductFormService);
|
|
35
|
+
ngOnInit(): void;
|
|
36
|
+
loadData(): void;
|
|
37
|
+
reload(): void;
|
|
38
|
+
modifyProduct(model?: any): void;
|
|
39
|
+
assignFilter(column: any, direction: string): void;
|
|
40
|
+
sortColumn(event: any): void;
|
|
41
|
+
onScroll(): void;
|
|
42
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
43
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "app-product-list", never, {}, {}, never, never, false, never>;
|
|
44
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
3
|
+
import { MatDialogRef } from "@angular/material/dialog";
|
|
4
|
+
import { NgxSpinnerService } from "ngx-spinner";
|
|
5
|
+
import { AlertService, ErrorHandlerService, FormValidatorService } from "ngx-techlify-core";
|
|
6
|
+
import { ProductService } from "../product.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ProductMeasureFormComponent implements OnInit {
|
|
9
|
+
private productService;
|
|
10
|
+
private fb;
|
|
11
|
+
dialogRef: MatDialogRef<ProductMeasureFormComponent>;
|
|
12
|
+
data: any;
|
|
13
|
+
private spinnerService;
|
|
14
|
+
private formValidatorService;
|
|
15
|
+
private errorService;
|
|
16
|
+
private alertService;
|
|
17
|
+
productMeasureForm: FormGroup;
|
|
18
|
+
isWorking: boolean;
|
|
19
|
+
isUpdate: boolean;
|
|
20
|
+
constructor(productService: ProductService, fb: FormBuilder, dialogRef: MatDialogRef<ProductMeasureFormComponent>, data: any, spinnerService: NgxSpinnerService, formValidatorService: FormValidatorService, errorService: ErrorHandlerService, alertService: AlertService);
|
|
21
|
+
ngOnInit(): void;
|
|
22
|
+
save(): Promise<void>;
|
|
23
|
+
/**
|
|
24
|
+
* Method to evaluate form fields
|
|
25
|
+
*/
|
|
26
|
+
isFieldValid(field: string): any;
|
|
27
|
+
/**
|
|
28
|
+
* Method to find error in form fields
|
|
29
|
+
*/
|
|
30
|
+
getErrorMessage(field: string): any;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductMeasureFormComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductMeasureFormComponent, "app-product-measure-form", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
package/lib/inventory-common/product/product-measures-list/product-measures-list.component.d.ts
ADDED
|
@@ -0,0 +1,43 @@
|
|
|
1
|
+
import { ProductService } from "../product.service";
|
|
2
|
+
import { OnInit } from "@angular/core";
|
|
3
|
+
import { FormBuilder, FormGroup } from "@angular/forms";
|
|
4
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
5
|
+
import { MatTableDataSource } from "@angular/material/table";
|
|
6
|
+
import { ActivatedRoute } from "@angular/router";
|
|
7
|
+
import { FilterService } from "ngx-techlify-core";
|
|
8
|
+
import * as i0 from "@angular/core";
|
|
9
|
+
export declare class ProductMeasuresListComponent implements OnInit {
|
|
10
|
+
private fb;
|
|
11
|
+
private dialog;
|
|
12
|
+
private filterService;
|
|
13
|
+
private activatedRoute;
|
|
14
|
+
private productService;
|
|
15
|
+
filterFormGroup: FormGroup;
|
|
16
|
+
lastPage: number;
|
|
17
|
+
page: number;
|
|
18
|
+
perPage: number;
|
|
19
|
+
totalItems: number;
|
|
20
|
+
currentPage: number;
|
|
21
|
+
num_items: number;
|
|
22
|
+
routeFilters: any;
|
|
23
|
+
productMeasures: any[];
|
|
24
|
+
columnDefinitions: {
|
|
25
|
+
def: string;
|
|
26
|
+
isShow: boolean;
|
|
27
|
+
}[];
|
|
28
|
+
displayedColumns: string[];
|
|
29
|
+
dataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
|
|
30
|
+
constructor(fb: FormBuilder, dialog: MatDialog, filterService: FilterService, activatedRoute: ActivatedRoute, productService: ProductService);
|
|
31
|
+
ngOnInit(): void;
|
|
32
|
+
listenForChanges(): void;
|
|
33
|
+
patchFiltersFromRoute(): void;
|
|
34
|
+
loadData(): Promise<void>;
|
|
35
|
+
reload(): void;
|
|
36
|
+
modifyProductMeasure(model?: any): void;
|
|
37
|
+
onScroll(): void;
|
|
38
|
+
assignFilter(column: any, direction: string): void;
|
|
39
|
+
sortColumn(event: any): void;
|
|
40
|
+
ngOnDestroy(): void;
|
|
41
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductMeasuresListComponent, never>;
|
|
42
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductMeasuresListComponent, "app-product-measure-list", never, {}, {}, never, never, false, never>;
|
|
43
|
+
}
|
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
export declare class ProductNavBarComponent {
|
|
3
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductNavBarComponent, never>;
|
|
4
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductNavBarComponent, "app-product-nav-bar", never, {}, {}, never, never, false, never>;
|
|
5
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class ProductRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductRoutingModule>;
|
|
7
|
+
}
|
package/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ProductService } from "../product.service";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProductSummaryChartComponent implements OnInit {
|
|
5
|
+
private productService;
|
|
6
|
+
height: number;
|
|
7
|
+
title: string;
|
|
8
|
+
constructor(productService: ProductService);
|
|
9
|
+
chart: any;
|
|
10
|
+
isLoading: boolean;
|
|
11
|
+
ngOnInit(): void;
|
|
12
|
+
loadData(): void;
|
|
13
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSummaryChartComponent, never>;
|
|
14
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSummaryChartComponent, "app-product-summary-chart", never, { "height": { "alias": "height"; "required": false; }; "title": { "alias": "title"; "required": false; }; }, {}, never, never, true, never>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "ngx-techlify-core";
|
|
4
|
+
import * as i3 from "@angular/material/progress-bar";
|
|
5
|
+
import * as i4 from "angular-google-charts";
|
|
6
|
+
export declare class ProductSummaryChartModule {
|
|
7
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSummaryChartModule, never>;
|
|
8
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductSummaryChartModule, never, [typeof i1.CommonModule, typeof i2.MaterialModule, typeof i3.MatProgressBarModule, typeof i4.GoogleChartsModule], never>;
|
|
9
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductSummaryChartModule>;
|
|
10
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { AlertService } from "ngx-techlify-core";
|
|
4
|
+
import { ProductTaxService } from "../product-tax.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProductTaxDeleteButtonComponent {
|
|
7
|
+
private matDialog;
|
|
8
|
+
private productTaxService;
|
|
9
|
+
private alertService;
|
|
10
|
+
productTax: any;
|
|
11
|
+
deleted: EventEmitter<any>;
|
|
12
|
+
isDeleting: boolean;
|
|
13
|
+
constructor(matDialog: MatDialog, productTaxService: ProductTaxService, alertService: AlertService);
|
|
14
|
+
/**
|
|
15
|
+
* Delete the product.
|
|
16
|
+
*/
|
|
17
|
+
delete(): void;
|
|
18
|
+
/**
|
|
19
|
+
* Show delete product dialog.
|
|
20
|
+
*
|
|
21
|
+
* @param templateRef
|
|
22
|
+
*/
|
|
23
|
+
showDeleteDialog(templateRef: TemplateRef<any>): void;
|
|
24
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTaxDeleteButtonComponent, never>;
|
|
25
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductTaxDeleteButtonComponent, "app-product-tax-delete-button", never, { "productTax": { "alias": "productTax"; "required": false; }; }, { "deleted": "deleted"; }, never, never, false, never>;
|
|
26
|
+
}
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
import { EventEmitter, OnInit, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
|
|
4
|
+
import { FormBuilder } from "@angular/forms";
|
|
5
|
+
import { ProductTaxService } from "../product-tax.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class ProductTaxFormButtonComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
8
|
+
matDialog: MatDialog;
|
|
9
|
+
private productTaxService;
|
|
10
|
+
private formBuilder;
|
|
11
|
+
private alertService;
|
|
12
|
+
product: any;
|
|
13
|
+
saved: EventEmitter<any>;
|
|
14
|
+
isSaving: boolean;
|
|
15
|
+
constructor(matDialog: MatDialog, productTaxService: ProductTaxService, formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService);
|
|
16
|
+
ngOnInit(): void;
|
|
17
|
+
showForm(templateRef: TemplateRef<any>): void;
|
|
18
|
+
save(): void;
|
|
19
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTaxFormButtonComponent, never>;
|
|
20
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductTaxFormButtonComponent, "app-product-tax-form-button", never, { "product": { "alias": "product"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
|
|
21
|
+
}
|
package/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProductTaxListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
5
|
+
product: any;
|
|
6
|
+
displayedColumns: string[];
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
loadData(): void;
|
|
9
|
+
onCreated(productTax: any): void;
|
|
10
|
+
onDeleted(index: number): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTaxListComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductTaxListComponent, "app-product-tax-list", never, { "product": { "alias": "product"; "required": false; }; }, {}, never, never, false, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./product-tax-list/product-tax-list.component";
|
|
3
|
+
import * as i2 from "./product-tax-form-button/product-tax-form-button.component";
|
|
4
|
+
import * as i3 from "./product-tax-delete-button/product-tax-delete-button.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "ngx-techlify-core";
|
|
7
|
+
import * as i6 from "@angular/forms";
|
|
8
|
+
export declare class ProductTaxModule {
|
|
9
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTaxModule, never>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductTaxModule, [typeof i1.ProductTaxListComponent, typeof i2.ProductTaxFormButtonComponent, typeof i3.ProductTaxDeleteButtonComponent], [typeof i4.CommonModule, typeof i5.MaterialModule, typeof i6.ReactiveFormsModule, typeof i5.SearchableSelectorModule], [typeof i1.ProductTaxListComponent]>;
|
|
11
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductTaxModule>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HttpService, TechlifyServiceBaseClass } from "ngx-techlify-core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ProductTaxService extends TechlifyServiceBaseClass {
|
|
4
|
+
constructor(httpService: HttpService);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductTaxService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductTaxService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { OnInit } from "@angular/core";
|
|
2
|
+
import { ProductService } from "../product.service";
|
|
3
|
+
import { ActivatedRoute } from "@angular/router";
|
|
4
|
+
import { Location } from "@angular/common";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ProductViewPageComponent implements OnInit {
|
|
7
|
+
private productService;
|
|
8
|
+
private activatedRoute;
|
|
9
|
+
private location;
|
|
10
|
+
product: any;
|
|
11
|
+
id: number;
|
|
12
|
+
isLoading: boolean;
|
|
13
|
+
constructor(productService: ProductService, activatedRoute: ActivatedRoute, location: Location);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
/**
|
|
16
|
+
* Get the product details.
|
|
17
|
+
*
|
|
18
|
+
* @param productId
|
|
19
|
+
*/
|
|
20
|
+
getProduct(productId: any): void;
|
|
21
|
+
/**
|
|
22
|
+
* Handle the on product update event.
|
|
23
|
+
*
|
|
24
|
+
* @param product
|
|
25
|
+
*/
|
|
26
|
+
onProductUpdated(product: any): void;
|
|
27
|
+
/**
|
|
28
|
+
* Handle on product delete event.
|
|
29
|
+
*/
|
|
30
|
+
onProductDeleted(): void;
|
|
31
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductViewPageComponent, never>;
|
|
32
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductViewPageComponent, "app-product-view-page", never, {}, {}, never, never, false, never>;
|
|
33
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./product-list/product-list.component";
|
|
3
|
+
import * as i2 from "./product-form/product-form.component";
|
|
4
|
+
import * as i3 from "./product-nav-bar/product-nav-bar.component";
|
|
5
|
+
import * as i4 from "./product-measures-list/product-measures-list.component";
|
|
6
|
+
import * as i5 from "./product-measure-form/product-measure-form.component";
|
|
7
|
+
import * as i6 from "./product-view-page/product-view-page.component";
|
|
8
|
+
import * as i7 from "./product-form-button/product-form-button.component";
|
|
9
|
+
import * as i8 from "./product-delete-button/product-delete-button.component";
|
|
10
|
+
import * as i9 from "./product-basic-info/product-basic-info.component";
|
|
11
|
+
import * as i10 from "./product-import-page/product-import-page.component";
|
|
12
|
+
import * as i11 from "@angular/common";
|
|
13
|
+
import * as i12 from "./product-routing.module";
|
|
14
|
+
import * as i13 from "ngx-techlify-core";
|
|
15
|
+
import * as i14 from "../stock-receipts/stock-receipt-form/stock-receipt-form.module";
|
|
16
|
+
import * as i15 from "../stock-issuances/stock-issue-form/stock-issue-form.module";
|
|
17
|
+
import * as i16 from "../stock-receipts/stock-receipts.module";
|
|
18
|
+
import * as i17 from "../stock-issuances/stock-issuances-list/stock-issuances-list.module";
|
|
19
|
+
import * as i18 from "./product-tax/product-tax.module";
|
|
20
|
+
import * as i19 from "@angular/material/progress-bar";
|
|
21
|
+
import * as i20 from "ngx-infinite-scroll";
|
|
22
|
+
import * as i21 from "@angular/flex-layout";
|
|
23
|
+
import * as i22 from "@angular/forms";
|
|
24
|
+
export declare class ProductModule {
|
|
25
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
26
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof i1.ProductListComponent, typeof i2.ProductFormComponent, typeof i3.ProductNavBarComponent, typeof i4.ProductMeasuresListComponent, typeof i5.ProductMeasureFormComponent, typeof i6.ProductViewPageComponent, typeof i7.ProductFormButtonComponent, typeof i8.ProductDeleteButtonComponent, typeof i9.ProductBasicInfoComponent, typeof i10.ProductImportPageComponent], [typeof i11.CommonModule, typeof i12.ProductRoutingModule, typeof i13.SearchableSelectorModule, typeof i13.TimelineFilterModule, typeof i14.StockReceiptFormModule, typeof i15.StockIssueFormModule, typeof i13.ImportCsvModule, typeof i16.StockReceiptsModule, typeof i17.StockIssuancesListModule, typeof i18.ProductTaxModule, typeof i13.MaterialModule, typeof i19.MatProgressBarModule, typeof i20.InfiniteScrollModule, typeof i21.FlexModule, typeof i22.ReactiveFormsModule, typeof i22.FormsModule], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent]>;
|
|
27
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
28
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { DataManager, HttpService, TechlifyServiceBaseClass } from "ngx-techlify-core";
|
|
2
|
+
import { Observable } from "rxjs";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ProductService extends TechlifyServiceBaseClass {
|
|
5
|
+
private dataManager;
|
|
6
|
+
httpService: HttpService;
|
|
7
|
+
constructor(dataManager: DataManager, httpService: HttpService);
|
|
8
|
+
getProducts(filters?: any): any;
|
|
9
|
+
getProduct(id: any): any;
|
|
10
|
+
createProduct(model: any): any;
|
|
11
|
+
updateProducts(model: any): any;
|
|
12
|
+
deleteProduct(id: any): any;
|
|
13
|
+
getProductMeasures(filters?: any): any;
|
|
14
|
+
createProductMeasure(model: any): any;
|
|
15
|
+
updateProductMeasure(model: any): any;
|
|
16
|
+
summary(params?: any): Observable<any>;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ProductService, never>;
|
|
18
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ProductService>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { StockIssuanceService } from "../stock-issuance.service";
|
|
4
|
+
import { AlertService } from "ngx-techlify-core";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockIssuanceDeleteButtonComponent {
|
|
7
|
+
private matDialog;
|
|
8
|
+
private stockIssuanceService;
|
|
9
|
+
private alertService;
|
|
10
|
+
stockIssuance: any;
|
|
11
|
+
deleted: EventEmitter<any>;
|
|
12
|
+
isDeleting: boolean;
|
|
13
|
+
constructor(matDialog: MatDialog, stockIssuanceService: StockIssuanceService, alertService: AlertService);
|
|
14
|
+
showDeleteConfirmModel(templateRef: TemplateRef<any>): void;
|
|
15
|
+
delete(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuanceDeleteButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssuanceDeleteButtonComponent, "app-stock-issuance-delete-button", never, { "stockIssuance": { "alias": "stockIssuance"; "required": false; }; }, { "deleted": "deleted"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stock-issuance-delete-button.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "ngx-techlify-core";
|
|
5
|
+
export declare class StockIssuanceDeleteButtonModule {
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuanceDeleteButtonModule, never>;
|
|
7
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssuanceDeleteButtonModule, [typeof i1.StockIssuanceDeleteButtonComponent], [typeof i2.CommonModule, typeof i3.MaterialModule], [typeof i1.StockIssuanceDeleteButtonComponent]>;
|
|
8
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssuanceDeleteButtonModule>;
|
|
9
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import { HttpService, TechlifyServiceBaseClass } from "ngx-techlify-core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class StockIssuanceService extends TechlifyServiceBaseClass {
|
|
4
|
+
constructor(httpService: HttpService);
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuanceService, never>;
|
|
6
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<StockIssuanceService>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { RequestHelperService, TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
3
|
+
import { FormBuilder } from "@angular/forms";
|
|
4
|
+
import { Sort } from "@angular/material/sort";
|
|
5
|
+
import { StockIssuanceService } from "../stock-issuance.service";
|
|
6
|
+
import * as i0 from "@angular/core";
|
|
7
|
+
export declare class StockIssuancesListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
8
|
+
private formBuilder;
|
|
9
|
+
private requestHelperService;
|
|
10
|
+
private stockIssuanceService;
|
|
11
|
+
product: any;
|
|
12
|
+
issuableType: string;
|
|
13
|
+
issuableId: number;
|
|
14
|
+
label: string;
|
|
15
|
+
listUpdated: EventEmitter<any>;
|
|
16
|
+
filterConfig: any;
|
|
17
|
+
displayedColumns: string[];
|
|
18
|
+
constructor(formBuilder: FormBuilder, requestHelperService: RequestHelperService, stockIssuanceService: StockIssuanceService);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
loadData(): void;
|
|
21
|
+
onSortChange(sort: Sort): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuancesListComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssuancesListComponent, "app-stock-issuances-list", never, { "product": { "alias": "product"; "required": false; }; "issuableType": { "alias": "issuableType"; "required": false; }; "issuableId": { "alias": "issuableId"; "required": false; }; "label": { "alias": "label"; "required": false; }; }, { "listUpdated": "listUpdated"; }, never, never, false, never>;
|
|
24
|
+
}
|
package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.d.ts
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stock-issuances-list.component";
|
|
3
|
+
import * as i2 from "@angular/common";
|
|
4
|
+
import * as i3 from "ngx-techlify-core";
|
|
5
|
+
import * as i4 from "../../techlify-filter/techlify-filter.module";
|
|
6
|
+
import * as i5 from "../stock-issue-form/stock-issue-form.module";
|
|
7
|
+
import * as i6 from "ngx-infinite-scroll";
|
|
8
|
+
import * as i7 from "../stock-issuance-delete-button/stock-issuance-delete-button.module";
|
|
9
|
+
import * as i8 from "@angular/material/progress-bar";
|
|
10
|
+
import * as i9 from "@angular/router";
|
|
11
|
+
export declare class StockIssuancesListModule {
|
|
12
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuancesListModule, never>;
|
|
13
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssuancesListModule, [typeof i1.StockIssuancesListComponent], [typeof i2.CommonModule, typeof i3.MaterialModule, typeof i4.TechlifyFilterModule, typeof i5.StockIssueFormModule, typeof i6.InfiniteScrollModule, typeof i7.StockIssuanceDeleteButtonModule, typeof i8.MatProgressBarModule, typeof i9.RouterModule], [typeof i1.StockIssuancesListComponent]>;
|
|
14
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssuancesListModule>;
|
|
15
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class StockIssuancesRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuancesRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssuancesRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssuancesRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./stock-issuances-routing.module";
|
|
4
|
+
import * as i3 from "@angular/material/card";
|
|
5
|
+
import * as i4 from "../techlify-filter/techlify-filter.module";
|
|
6
|
+
import * as i5 from "ngx-infinite-scroll";
|
|
7
|
+
import * as i6 from "@angular/material/progress-bar";
|
|
8
|
+
import * as i7 from "@angular/material/sort";
|
|
9
|
+
import * as i8 from "@angular/material/table";
|
|
10
|
+
import * as i9 from "../stock-receipts/stock-receipt-form/stock-receipt-form.module";
|
|
11
|
+
import * as i10 from "./stock-issue-form/stock-issue-form.module";
|
|
12
|
+
import * as i11 from "@angular/material/dialog";
|
|
13
|
+
import * as i12 from "@angular/material/button";
|
|
14
|
+
import * as i13 from "./stock-issuances-list/stock-issuances-list.module";
|
|
15
|
+
export declare class StockIssuancesModule {
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuancesModule, never>;
|
|
17
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssuancesModule, never, [typeof i1.CommonModule, typeof i2.StockIssuancesRoutingModule, typeof i3.MatCardModule, typeof i4.TechlifyFilterModule, typeof i5.InfiniteScrollModule, typeof i6.MatProgressBarModule, typeof i7.MatSortModule, typeof i8.MatTableModule, typeof i9.StockReceiptFormModule, typeof i10.StockIssueFormModule, typeof i11.MatDialogModule, typeof i12.MatButtonModule, typeof i13.StockIssuancesListModule], never>;
|
|
18
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssuancesModule>;
|
|
19
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { AlertService, DateUtils, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
|
|
3
|
+
import { FormBuilder } from "@angular/forms";
|
|
4
|
+
import { StockIssuanceService } from "../../stock-issuance.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockIssueFormComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
7
|
+
private formBuilder;
|
|
8
|
+
private stockIssuanceService;
|
|
9
|
+
private alertService;
|
|
10
|
+
private dateUtils;
|
|
11
|
+
product: any;
|
|
12
|
+
stockIssuance: any;
|
|
13
|
+
issuableType: string;
|
|
14
|
+
issuableId: number;
|
|
15
|
+
saved: EventEmitter<any>;
|
|
16
|
+
cancelled: EventEmitter<any>;
|
|
17
|
+
isWorking: boolean;
|
|
18
|
+
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssuanceService: StockIssuanceService, alertService: AlertService, dateUtils: DateUtils);
|
|
19
|
+
ngOnInit(): void;
|
|
20
|
+
save(): void;
|
|
21
|
+
onProductChange(product: any): void;
|
|
22
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormComponent, never>;
|
|
23
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueFormComponent, "app-stock-issue-form", never, { "product": { "alias": "product"; "required": false; }; "stockIssuance": { "alias": "stockIssuance"; "required": false; }; "issuableType": { "alias": "issuableType"; "required": false; }; "issuableId": { "alias": "issuableId"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, false, never>;
|
|
24
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StockIssueFormButtonComponent {
|
|
5
|
+
private matDialog;
|
|
6
|
+
product: any;
|
|
7
|
+
stockIssuance: any;
|
|
8
|
+
icon: string | null;
|
|
9
|
+
issuableType: string;
|
|
10
|
+
issuableId: number;
|
|
11
|
+
saved: EventEmitter<any>;
|
|
12
|
+
matDialogRef: MatDialogRef<any>;
|
|
13
|
+
constructor(matDialog: MatDialog);
|
|
14
|
+
showStockIssuanceForm(templateRef: TemplateRef<any>): void;
|
|
15
|
+
onStockIssuanceSaved(item: any): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueFormButtonComponent, "app-stock-issue-form-button", never, { "product": { "alias": "product"; "required": false; }; "stockIssuance": { "alias": "stockIssuance"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "issuableType": { "alias": "issuableType"; "required": false; }; "issuableId": { "alias": "issuableId"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "./stock-issue-form/stock-issue-form.component";
|
|
3
|
+
import * as i2 from "./stock-issue-form-button/stock-issue-form-button.component";
|
|
4
|
+
import * as i3 from "@angular/common";
|
|
5
|
+
import * as i4 from "@angular/forms";
|
|
6
|
+
import * as i5 from "@angular/material/form-field";
|
|
7
|
+
import * as i6 from "@angular/material/input";
|
|
8
|
+
import * as i7 from "@angular/material/datepicker";
|
|
9
|
+
import * as i8 from "@angular/material/button";
|
|
10
|
+
import * as i9 from "@angular/material/dialog";
|
|
11
|
+
import * as i10 from "@angular/material/tooltip";
|
|
12
|
+
import * as i11 from "ngx-techlify-core";
|
|
13
|
+
export declare class StockIssueFormModule {
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormModule, never>;
|
|
15
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueFormModule, [typeof i1.StockIssueFormComponent, typeof i2.StockIssueFormButtonComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MatFormFieldModule, typeof i6.MatInputModule, typeof i7.MatDatepickerModule, typeof i8.MatButtonModule, typeof i9.MatDialogModule, typeof i10.MatTooltipModule, typeof i11.SearchableSelectorModule], [typeof i2.StockIssueFormButtonComponent]>;
|
|
16
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssueFormModule>;
|
|
17
|
+
}
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import { AlertService } from "ngx-techlify-core";
|
|
4
|
+
import { StockReceiptService } from "../stock-receipt.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockReceiptDeleteButtonComponent {
|
|
7
|
+
private matDialog;
|
|
8
|
+
private stockReceiptService;
|
|
9
|
+
private alertService;
|
|
10
|
+
stockReceipt: any;
|
|
11
|
+
deleted: EventEmitter<any>;
|
|
12
|
+
isDeleting: boolean;
|
|
13
|
+
constructor(matDialog: MatDialog, stockReceiptService: StockReceiptService, alertService: AlertService);
|
|
14
|
+
showDeleteConfirmModel(templateRef: TemplateRef<any>): void;
|
|
15
|
+
delete(): void;
|
|
16
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptDeleteButtonComponent, never>;
|
|
17
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptDeleteButtonComponent, "app-stock-receipt-delete-button", never, { "stockReceipt": { "alias": "stockReceipt"; "required": false; }; }, { "deleted": "deleted"; }, never, never, false, never>;
|
|
18
|
+
}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
+
import { AlertService, DateUtils, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
|
|
3
|
+
import { FormBuilder } from "@angular/forms";
|
|
4
|
+
import { StockReceiptService } from "../../stock-receipt.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockReceiptFormComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
7
|
+
private formBuilder;
|
|
8
|
+
private stockReceiptService;
|
|
9
|
+
private alertService;
|
|
10
|
+
private dateUtils;
|
|
11
|
+
product: any;
|
|
12
|
+
stockReceipt: any;
|
|
13
|
+
saved: EventEmitter<any>;
|
|
14
|
+
cancelled: EventEmitter<any>;
|
|
15
|
+
isWorking: boolean;
|
|
16
|
+
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockReceiptService: StockReceiptService, alertService: AlertService, dateUtils: DateUtils);
|
|
17
|
+
ngOnInit(): void;
|
|
18
|
+
save(): void;
|
|
19
|
+
private updateTotalAmount;
|
|
20
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptFormComponent, never>;
|
|
21
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptFormComponent, "app-stock-receipt-form", never, { "product": { "alias": "product"; "required": false; }; "stockReceipt": { "alias": "stockReceipt"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, false, never>;
|
|
22
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from "@angular/core";
|
|
2
|
+
import { MatDialog, MatDialogRef } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StockReceiptFormButtonComponent {
|
|
5
|
+
private matDialog;
|
|
6
|
+
product: any;
|
|
7
|
+
stockReceipt: any;
|
|
8
|
+
icon: string | null;
|
|
9
|
+
saved: EventEmitter<any>;
|
|
10
|
+
matDialogRef: MatDialogRef<any>;
|
|
11
|
+
constructor(matDialog: MatDialog);
|
|
12
|
+
showStockReceiptForm(templateRef: TemplateRef<any>): void;
|
|
13
|
+
onStockReceiptSaved(item: any): void;
|
|
14
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptFormButtonComponent, never>;
|
|
15
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptFormButtonComponent, "app-stock-receipt-form-button", never, { "product": { "alias": "product"; "required": false; }; "stockReceipt": { "alias": "stockReceipt"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
|
|
16
|
+
}
|