techlify-inventory-common 18.19.0 → 18.21.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 +7 -2
- package/esm2022/lib/inventory-common/location/location-routing.module.mjs +12 -3
- package/esm2022/lib/inventory-common/location/shelf/shelf-delete-button/shelf-delete-button.component.mjs +60 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.mjs +88 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.mjs +35 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +106 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf-routing.module.mjs +24 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf.module.mjs +22 -0
- package/esm2022/lib/inventory-common/location/shelf/shelf.service.mjs +20 -0
- package/esm2022/lib/inventory-common/product/product-search/product-search.component.mjs +8 -5
- package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product.module.mjs +4 -2
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.mjs +20 -7
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.mjs +33 -5
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.mjs +7 -4
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.mjs +13 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.mjs +8 -5
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.mjs +56 -0
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +32 -13
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +6 -1
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +13 -6
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +7 -5
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +56 -15
- package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +1 -1
- package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +1 -1
- package/esm2022/public-api.mjs +32 -1
- package/fesm2022/{techlify-inventory-common-category.module-B4CGfj58.mjs → techlify-inventory-common-category.module-Dw7cV-28.mjs} +7 -7
- package/fesm2022/{techlify-inventory-common-category.module-B4CGfj58.mjs.map → techlify-inventory-common-category.module-Dw7cV-28.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-measure.module-DymSMJIU.mjs → techlify-inventory-common-measure.module-BvuwOooQ.mjs} +5 -5
- package/fesm2022/{techlify-inventory-common-measure.module-DymSMJIU.mjs.map → techlify-inventory-common-measure.module-BvuwOooQ.mjs.map} +1 -1
- package/fesm2022/techlify-inventory-common.mjs +6228 -1
- package/fesm2022/techlify-inventory-common.mjs.map +1 -1
- package/lib/inventory-common/location/shelf/shelf-delete-button/shelf-delete-button.component.d.ts +20 -0
- package/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.d.ts +19 -0
- package/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.d.ts +13 -0
- package/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.d.ts +20 -0
- package/lib/inventory-common/location/shelf/shelf-routing.module.d.ts +7 -0
- package/lib/inventory-common/location/shelf/shelf.module.d.ts +8 -0
- package/lib/inventory-common/location/shelf/shelf.service.d.ts +8 -0
- package/lib/inventory-common/product/product-search/product-search.component.d.ts +2 -1
- package/lib/inventory-common/product/product.module.d.ts +1 -1
- package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.d.ts +4 -2
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.d.ts +4 -1
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.d.ts +1 -1
- package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.d.ts +1 -1
- package/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.d.ts +19 -0
- package/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.d.ts +7 -3
- package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +15 -14
- package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +8 -2
- package/package.json +1 -1
- package/public-api.d.ts +31 -0
- package/fesm2022/techlify-inventory-common-location.module-NaTWwOXZ.mjs +0 -572
- package/fesm2022/techlify-inventory-common-location.module-NaTWwOXZ.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BYBEwInz.mjs +0 -5193
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BYBEwInz.mjs.map +0 -1
package/lib/inventory-common/location/shelf/shelf-delete-button/shelf-delete-button.component.d.ts
ADDED
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MatDialog } from '@angular/material/dialog';
|
|
3
|
+
import { AlertService, CredentialsService, User } from 'ngx-techlify-core';
|
|
4
|
+
import { ShelfService } from "../shelf.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ShelfDeleteButtonComponent {
|
|
7
|
+
private matDialog;
|
|
8
|
+
private service;
|
|
9
|
+
private alertService;
|
|
10
|
+
private credentialsService;
|
|
11
|
+
model: any;
|
|
12
|
+
deleted: EventEmitter<any>;
|
|
13
|
+
isDeleting: boolean;
|
|
14
|
+
user: User;
|
|
15
|
+
constructor(matDialog: MatDialog, service: ShelfService, alertService: AlertService, credentialsService: CredentialsService);
|
|
16
|
+
delete(): void;
|
|
17
|
+
showDeleteDialog(templateRef: TemplateRef<any>): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfDeleteButtonComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfDeleteButtonComponent, "app-shelf-delete-button", never, { "model": { "alias": "model"; "required": false; }; }, { "deleted": "deleted"; }, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
+
import { FormBuilder } from "@angular/forms";
|
|
3
|
+
import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
|
|
4
|
+
import { ShelfService } from "../shelf.service";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class ShelfFormComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
7
|
+
private formBuilder;
|
|
8
|
+
private alertService;
|
|
9
|
+
private service;
|
|
10
|
+
model: any;
|
|
11
|
+
saved: EventEmitter<any>;
|
|
12
|
+
cancelled: EventEmitter<any>;
|
|
13
|
+
isSaving: boolean;
|
|
14
|
+
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, service: ShelfService);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
save(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfFormComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfFormComponent, "app-shelf-form", never, { "model": { "alias": "model"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, true, never>;
|
|
19
|
+
}
|
package/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.d.ts
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { EventEmitter, TemplateRef } from '@angular/core';
|
|
2
|
+
import { MatDialog } from "@angular/material/dialog";
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class ShelfFormButtonComponent {
|
|
5
|
+
matDialog: MatDialog;
|
|
6
|
+
model: any;
|
|
7
|
+
saved: EventEmitter<any>;
|
|
8
|
+
constructor(matDialog: MatDialog);
|
|
9
|
+
showForm(templateRef: TemplateRef<any>): void;
|
|
10
|
+
onSaved(model: any): void;
|
|
11
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfFormButtonComponent, never>;
|
|
12
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfFormButtonComponent, "app-shelf-form-button", never, { "model": { "alias": "model"; "required": false; }; }, { "saved": "saved"; }, never, never, true, never>;
|
|
13
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { RequestHelperService, TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
3
|
+
import { FormBuilder } from "@angular/forms";
|
|
4
|
+
import { ActivatedRoute } from "@angular/router";
|
|
5
|
+
import { Sort } from "@angular/material/sort";
|
|
6
|
+
import { ShelfService } from "../shelf.service";
|
|
7
|
+
import * as i0 from "@angular/core";
|
|
8
|
+
export declare class ShelfListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
|
+
private service;
|
|
10
|
+
private formBuilder;
|
|
11
|
+
private requestHelperService;
|
|
12
|
+
private activatedRoute;
|
|
13
|
+
displayedColumns: string[];
|
|
14
|
+
constructor(service: ShelfService, formBuilder: FormBuilder, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute);
|
|
15
|
+
ngOnInit(): void;
|
|
16
|
+
loadData(): void;
|
|
17
|
+
onSortChange(sort: Sort): void;
|
|
18
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfListComponent, never>;
|
|
19
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ShelfListComponent, "app-shelf-list", never, {}, {}, never, never, true, never>;
|
|
20
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/router";
|
|
3
|
+
export declare class ShelfRoutingModule {
|
|
4
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfRoutingModule, never>;
|
|
5
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShelfRoutingModule, never, [typeof i1.RouterModule], [typeof i1.RouterModule]>;
|
|
6
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ShelfRoutingModule>;
|
|
7
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as i0 from "@angular/core";
|
|
2
|
+
import * as i1 from "@angular/common";
|
|
3
|
+
import * as i2 from "./shelf-routing.module";
|
|
4
|
+
export declare class ShelfModule {
|
|
5
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfModule, never>;
|
|
6
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ShelfModule, never, [typeof i1.CommonModule, typeof i2.ShelfRoutingModule], never>;
|
|
7
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<ShelfModule>;
|
|
8
|
+
}
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { HttpService, TechlifyServiceBaseClass } from "ngx-techlify-core";
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ShelfService extends TechlifyServiceBaseClass {
|
|
4
|
+
protected httpService: HttpService;
|
|
5
|
+
constructor(httpService: HttpService);
|
|
6
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ShelfService, never>;
|
|
7
|
+
static ɵprov: i0.ɵɵInjectableDeclaration<ShelfService>;
|
|
8
|
+
}
|
|
@@ -27,6 +27,7 @@ export declare class ProductSearchComponent implements OnInit {
|
|
|
27
27
|
}[];
|
|
28
28
|
displayedColumns: string[];
|
|
29
29
|
dataSource: MatTableDataSource<unknown, import("@angular/material/paginator").MatPaginator>;
|
|
30
|
+
with: string;
|
|
30
31
|
selected: EventEmitter<any>;
|
|
31
32
|
constructor(dialog: MatDialog, fb: FormBuilder, filterService: FilterService, productService: ProductService, activatedRoute: ActivatedRoute);
|
|
32
33
|
ngOnInit(): void;
|
|
@@ -43,5 +44,5 @@ export declare class ProductSearchComponent implements OnInit {
|
|
|
43
44
|
onScroll(): void;
|
|
44
45
|
viewProduct(product: any, viewProductTemplate: TemplateRef<any>): void;
|
|
45
46
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductSearchComponent, never>;
|
|
46
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSearchComponent, "app-product-search", never, {}, { "selected": "selected"; }, never, never, false, never>;
|
|
47
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ProductSearchComponent, "app-product-search", never, { "with": { "alias": "with"; "required": false; }; }, { "selected": "selected"; }, never, never, false, never>;
|
|
47
48
|
}
|
|
@@ -27,6 +27,6 @@ import * as i25 from "../stock-transfer/stock-transfer-list/stock-transfer-list.
|
|
|
27
27
|
import * as i26 from "../shared/export-to-excel-button/export-to-excel-button.component";
|
|
28
28
|
export declare class ProductModule {
|
|
29
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
30
|
-
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.ProductBatchUpdateFormComponent], [typeof i12.CommonModule, typeof i13.ProductRoutingModule, typeof i14.SearchableSelectorModule, typeof i14.TimelineFilterModule, typeof i15.StockReceiptFormModule, typeof i16.StockIssueFormModule, typeof i14.ImportCsvModule, typeof i17.StockReceiptsModule, typeof i18.StockIssuancesListModule, typeof i19.ProductTaxModule, typeof i14.MaterialModule, typeof i20.MatProgressBarModule, typeof i21.InfiniteScrollModule, typeof i22.FlexModule, typeof i23.ReactiveFormsModule, typeof i23.FormsModule, typeof i14.ColumnSelectorModule, typeof i24.ProductLocationListComponent, typeof i25.StockTransferListComponent, typeof i26.ExportToExcelButtonComponent], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent]>;
|
|
30
|
+
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.ProductBatchUpdateFormComponent], [typeof i12.CommonModule, typeof i13.ProductRoutingModule, typeof i14.SearchableSelectorModule, typeof i14.TimelineFilterModule, typeof i15.StockReceiptFormModule, typeof i16.StockIssueFormModule, typeof i14.ImportCsvModule, typeof i17.StockReceiptsModule, typeof i18.StockIssuancesListModule, typeof i19.ProductTaxModule, typeof i14.MaterialModule, typeof i20.MatProgressBarModule, typeof i21.InfiniteScrollModule, typeof i22.FlexModule, typeof i23.ReactiveFormsModule, typeof i23.FormsModule, typeof i14.ColumnSelectorModule, typeof i24.ProductLocationListComponent, typeof i25.StockTransferListComponent, typeof i26.ExportToExcelButtonComponent], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent, typeof i11.ProductBatchUpdateFormComponent]>;
|
|
31
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
32
32
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ColumnConfig, RequestHelperService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
|
|
2
|
+
import { ColumnConfig, RequestHelperService, TechlifyFeatureService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
|
|
3
3
|
import { FormBuilder } from '@angular/forms';
|
|
4
4
|
import { Sort } from '@angular/material/sort';
|
|
5
5
|
import { StockIssuanceService } from '../stock-issuance.service';
|
|
@@ -10,6 +10,7 @@ export declare class StockIssuancesListComponent extends TechlifyListingControll
|
|
|
10
10
|
private requestHelperService;
|
|
11
11
|
private stockIssuanceService;
|
|
12
12
|
private activatedRoute;
|
|
13
|
+
private featureService;
|
|
13
14
|
product: any;
|
|
14
15
|
issuableType: string;
|
|
15
16
|
issuableId: number;
|
|
@@ -21,7 +22,7 @@ export declare class StockIssuancesListComponent extends TechlifyListingControll
|
|
|
21
22
|
columnConfig: ColumnConfig[];
|
|
22
23
|
selectedColumns: ColumnConfig[];
|
|
23
24
|
get displayedColumns(): string[];
|
|
24
|
-
constructor(formBuilder: FormBuilder, requestHelperService: RequestHelperService, stockIssuanceService: StockIssuanceService, activatedRoute: ActivatedRoute);
|
|
25
|
+
constructor(formBuilder: FormBuilder, requestHelperService: RequestHelperService, stockIssuanceService: StockIssuanceService, activatedRoute: ActivatedRoute, featureService: TechlifyFeatureService);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
loadData(): void;
|
|
27
28
|
onSortChange(sort: Sort): void;
|
|
@@ -29,6 +30,7 @@ export declare class StockIssuancesListComponent extends TechlifyListingControll
|
|
|
29
30
|
private subscribeToFormChanges;
|
|
30
31
|
private subscribeToRouteChanges;
|
|
31
32
|
onDurationChange(timelineValue: TimelineValue): void;
|
|
33
|
+
private loadFeatures;
|
|
32
34
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssuancesListComponent, never>;
|
|
33
35
|
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; }; "showActions": { "alias": "showActions"; "required": false; }; "showFilters": { "alias": "showFilters"; "required": false; }; }, { "listUpdated": "listUpdated"; }, never, never, false, never>;
|
|
34
36
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { AlertService, DateUtils, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
|
|
2
|
+
import { AlertService, DateUtils, FormValidatorService, SearchableSelectorComponent, TechlifyFormComponentInterface } from 'ngx-techlify-core';
|
|
3
3
|
import { FormBuilder } from '@angular/forms';
|
|
4
4
|
import { StockIssuanceService } from '../../stock-issuance.service';
|
|
5
5
|
import { LocationService } from '../../../location/location.service';
|
|
@@ -16,13 +16,16 @@ export declare class StockIssueFormComponent extends TechlifyFormComponentInterf
|
|
|
16
16
|
issuableId: number;
|
|
17
17
|
saved: EventEmitter<any>;
|
|
18
18
|
cancelled: EventEmitter<any>;
|
|
19
|
+
batchSearchableSelector: SearchableSelectorComponent;
|
|
19
20
|
isWorking: boolean;
|
|
20
21
|
private locationsCountValue;
|
|
22
|
+
batchesApiUrl: string;
|
|
21
23
|
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssuanceService: StockIssuanceService, alertService: AlertService, dateUtils: DateUtils, locationService: LocationService);
|
|
22
24
|
ngOnInit(): void;
|
|
23
25
|
get locationsCount(): number;
|
|
24
26
|
save(): void;
|
|
25
27
|
onProductChange(product: any): void;
|
|
28
|
+
private resetBatchSelector;
|
|
26
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormComponent, never>;
|
|
27
30
|
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>;
|
|
28
31
|
}
|
|
@@ -7,6 +7,6 @@ import * as i5 from "../../material.module";
|
|
|
7
7
|
import * as i6 from "ngx-techlify-core";
|
|
8
8
|
export declare class StockIssueFormModule {
|
|
9
9
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormModule, never>;
|
|
10
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueFormModule, [typeof i1.StockIssueFormComponent, typeof i2.StockIssueFormButtonComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MaterialModule, typeof i6.SearchableSelectorModule], [typeof i2.StockIssueFormButtonComponent]>;
|
|
10
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueFormModule, [typeof i1.StockIssueFormComponent, typeof i2.StockIssueFormButtonComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MaterialModule, typeof i6.SearchableSelectorModule, typeof i6.TechlifyFeatureModule], [typeof i2.StockIssueFormButtonComponent]>;
|
|
11
11
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssueFormModule>;
|
|
12
12
|
}
|
package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.d.ts
CHANGED
|
@@ -8,6 +8,6 @@ import * as i6 from "../../material.module";
|
|
|
8
8
|
import * as i7 from "ngx-techlify-core";
|
|
9
9
|
export declare class StockReceiptFormModule {
|
|
10
10
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptFormModule, never>;
|
|
11
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StockReceiptFormModule, [typeof i1.StockReceiptFormComponent, typeof i2.StockReceiptFormButtonComponent], [typeof i3.CommonModule, typeof i4.PayeeSelectorModule, typeof i5.ReactiveFormsModule, typeof i6.MaterialModule, typeof i7.SearchableSelectorModule], [typeof i2.StockReceiptFormButtonComponent]>;
|
|
11
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockReceiptFormModule, [typeof i1.StockReceiptFormComponent, typeof i2.StockReceiptFormButtonComponent], [typeof i3.CommonModule, typeof i4.PayeeSelectorModule, typeof i5.ReactiveFormsModule, typeof i6.MaterialModule, typeof i7.SearchableSelectorModule, typeof i7.TechlifyFeatureModule], [typeof i2.StockReceiptFormButtonComponent]>;
|
|
12
12
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockReceiptFormModule>;
|
|
13
13
|
}
|
package/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.d.ts
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ActivatedRoute } from "@angular/router";
|
|
3
|
+
import { StockReceiptService } from "../stock-receipt.service";
|
|
4
|
+
import { Location } from "@angular/common";
|
|
5
|
+
import * as i0 from "@angular/core";
|
|
6
|
+
export declare class StockReceiptViewComponent implements OnInit {
|
|
7
|
+
private activatedRoute;
|
|
8
|
+
private service;
|
|
9
|
+
private location;
|
|
10
|
+
id: number;
|
|
11
|
+
isLoading: boolean;
|
|
12
|
+
stockReceipt: any;
|
|
13
|
+
constructor(activatedRoute: ActivatedRoute, service: StockReceiptService, location: Location);
|
|
14
|
+
ngOnInit(): void;
|
|
15
|
+
loadData(): void;
|
|
16
|
+
redirectBack(): void;
|
|
17
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptViewComponent, never>;
|
|
18
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptViewComponent, "app-stock-receipt-view", never, {}, {}, never, never, false, never>;
|
|
19
|
+
}
|
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { ColumnConfig, RequestHelperService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
|
|
2
|
+
import { ColumnConfig, RequestHelperService, TechlifyFeatureService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
|
|
3
3
|
import { StockReceiptService } from "../stock-receipt.service";
|
|
4
4
|
import { FormBuilder } from "@angular/forms";
|
|
5
5
|
import { Sort } from "@angular/material/sort";
|
|
6
|
-
import { ActivatedRoute } from '@angular/router';
|
|
6
|
+
import { ActivatedRoute, Router } from '@angular/router';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class StockReceiptsListPageComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private stockReceiptService;
|
|
10
10
|
private formBuilder;
|
|
11
11
|
private requestHelperService;
|
|
12
12
|
private activatedRoute;
|
|
13
|
+
private router;
|
|
14
|
+
private featureService;
|
|
13
15
|
product: any;
|
|
14
16
|
supplierId?: number;
|
|
15
17
|
listUpdated: EventEmitter<any>;
|
|
@@ -17,7 +19,7 @@ export declare class StockReceiptsListPageComponent extends TechlifyListingContr
|
|
|
17
19
|
columnConfig: ColumnConfig[];
|
|
18
20
|
selectedColumns: ColumnConfig[];
|
|
19
21
|
get displayedColumns(): string[];
|
|
20
|
-
constructor(stockReceiptService: StockReceiptService, formBuilder: FormBuilder, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute);
|
|
22
|
+
constructor(stockReceiptService: StockReceiptService, formBuilder: FormBuilder, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute, router: Router, featureService: TechlifyFeatureService);
|
|
21
23
|
ngOnInit(): void;
|
|
22
24
|
loadData(): void;
|
|
23
25
|
onSortChange(sort: Sort): void;
|
|
@@ -25,6 +27,8 @@ export declare class StockReceiptsListPageComponent extends TechlifyListingContr
|
|
|
25
27
|
private updateFormWithQueryParams;
|
|
26
28
|
private subscribeToFormChanges;
|
|
27
29
|
private subscribeToRouteChanges;
|
|
30
|
+
private loadFeatures;
|
|
31
|
+
redirectToView(model: any): void;
|
|
28
32
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptsListPageComponent, never>;
|
|
29
33
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptsListPageComponent, "app-stock-receipts-list-page", never, { "product": { "alias": "product"; "required": false; }; "supplierId": { "alias": "supplierId"; "required": false; }; }, { "listUpdated": "listUpdated"; }, never, never, false, never>;
|
|
30
34
|
}
|
|
@@ -1,21 +1,22 @@
|
|
|
1
1
|
import * as i0 from "@angular/core";
|
|
2
2
|
import * as i1 from "./stock-receipts-list-page/stock-receipts-list-page.component";
|
|
3
3
|
import * as i2 from "./stock-receipt-delete-button/stock-receipt-delete-button.component";
|
|
4
|
-
import * as i3 from "
|
|
5
|
-
import * as i4 from "
|
|
6
|
-
import * as i5 from "
|
|
7
|
-
import * as i6 from "
|
|
8
|
-
import * as i7 from "
|
|
9
|
-
import * as i8 from "@angular/material/
|
|
10
|
-
import * as i9 from "
|
|
11
|
-
import * as i10 from "
|
|
12
|
-
import * as i11 from "
|
|
13
|
-
import * as i12 from "
|
|
14
|
-
import * as i13 from "
|
|
15
|
-
import * as i14 from "
|
|
16
|
-
import * as i15 from "
|
|
4
|
+
import * as i3 from "./stock-receipt-view/stock-receipt-view.component";
|
|
5
|
+
import * as i4 from "@angular/common";
|
|
6
|
+
import * as i5 from "./stock-receipts-routing.module";
|
|
7
|
+
import * as i6 from "@angular/material/card";
|
|
8
|
+
import * as i7 from "../techlify-filter/techlify-filter.module";
|
|
9
|
+
import * as i8 from "@angular/material/table";
|
|
10
|
+
import * as i9 from "@angular/material/form-field";
|
|
11
|
+
import * as i10 from "ngx-techlify-core";
|
|
12
|
+
import * as i11 from "@angular/forms";
|
|
13
|
+
import * as i12 from "../supplier/payee-selector/payee-selector.module";
|
|
14
|
+
import * as i13 from "@angular/material/progress-bar";
|
|
15
|
+
import * as i14 from "ngx-infinite-scroll";
|
|
16
|
+
import * as i15 from "./stock-receipt-form/stock-receipt-form.module";
|
|
17
|
+
import * as i16 from "../product/widgets/product-category-badges/product-category-badges.component";
|
|
17
18
|
export declare class StockReceiptsModule {
|
|
18
19
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptsModule, never>;
|
|
19
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StockReceiptsModule, [typeof i1.StockReceiptsListPageComponent, typeof i2.StockReceiptDeleteButtonComponent], [typeof
|
|
20
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockReceiptsModule, [typeof i1.StockReceiptsListPageComponent, typeof i2.StockReceiptDeleteButtonComponent, typeof i3.StockReceiptViewComponent], [typeof i4.CommonModule, typeof i5.StockReceiptsRoutingModule, typeof i6.MatCardModule, typeof i7.TechlifyFilterModule, typeof i8.MatTableModule, typeof i9.MatFormFieldModule, typeof i10.SearchableSelectorModule, typeof i10.TimelineFilterModule, typeof i11.ReactiveFormsModule, typeof i12.PayeeSelectorModule, typeof i13.MatProgressBarModule, typeof i14.InfiniteScrollModule, typeof i10.MaterialModule, typeof i15.StockReceiptFormModule, typeof i16.ProductCategoryBadgesComponent, typeof i10.ColumnSelectorModule, typeof i10.EntityFilesViewAllModule, typeof i10.TechlifyFeatureModule], [typeof i2.StockReceiptDeleteButtonComponent, typeof i1.StockReceiptsListPageComponent]>;
|
|
20
21
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockReceiptsModule>;
|
|
21
22
|
}
|
package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts
CHANGED
|
@@ -1,17 +1,23 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { StockTransferService } from '../stock-transfer.service';
|
|
3
|
-
import { ErrorHandlerService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
|
+
import { ErrorHandlerService, RequestHelperService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
4
4
|
import { FormBuilder } from '@angular/forms';
|
|
5
|
+
import { ActivatedRoute } from "@angular/router";
|
|
5
6
|
import * as i0 from "@angular/core";
|
|
6
7
|
export declare class StockTransferListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
7
8
|
private service;
|
|
8
9
|
private fb;
|
|
9
10
|
private errorHandler;
|
|
11
|
+
private requestHelperService;
|
|
12
|
+
private activatedRoute;
|
|
10
13
|
productId: any;
|
|
11
14
|
displayedColumns: string[];
|
|
12
|
-
constructor(service: StockTransferService, fb: FormBuilder, errorHandler: ErrorHandlerService);
|
|
15
|
+
constructor(service: StockTransferService, fb: FormBuilder, errorHandler: ErrorHandlerService, requestHelperService: RequestHelperService, activatedRoute: ActivatedRoute);
|
|
13
16
|
ngOnInit(): void;
|
|
14
17
|
loadData(): void;
|
|
18
|
+
private updateFormWithQueryParams;
|
|
19
|
+
private subscribeToFormChanges;
|
|
20
|
+
private subscribeToRouteChanges;
|
|
15
21
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferListComponent, never>;
|
|
16
22
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferListComponent, "app-stock-transfer-list", never, { "productId": { "alias": "productId"; "required": false; }; }, {}, never, never, true, never>;
|
|
17
23
|
}
|
package/package.json
CHANGED
package/public-api.d.ts
CHANGED
|
@@ -10,9 +10,27 @@ export * from './lib/inventory-common/product/product-form-button/product-form-b
|
|
|
10
10
|
export * from './lib/inventory-common/product/product-quick-search/product-quick-search.component';
|
|
11
11
|
export * from './lib/inventory-common/product/product-search/product-search.module';
|
|
12
12
|
export * from './lib/inventory-common/product/product-search/product-search.component';
|
|
13
|
+
export * from './lib/inventory-common/product/product-list/product-list.component';
|
|
14
|
+
export * from './lib/inventory-common/product/product.service';
|
|
15
|
+
export * from './lib/inventory-common/product/product-form.service';
|
|
16
|
+
export * from './lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component';
|
|
17
|
+
export * from './lib/inventory-common/product/product-import-page/product-import-page.component';
|
|
18
|
+
export * from './lib/inventory-common/product/product-view-page/product-view-page.component';
|
|
13
19
|
export * from './lib/inventory-common/stock-issuances/stock-issuances.module';
|
|
14
20
|
export * from './lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component';
|
|
15
21
|
export * from './lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module';
|
|
22
|
+
export * from './lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module';
|
|
23
|
+
export * from './lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component';
|
|
24
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipts.module';
|
|
25
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component';
|
|
26
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component';
|
|
27
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module';
|
|
28
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component';
|
|
29
|
+
export * from './lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component';
|
|
30
|
+
export * from './lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component';
|
|
31
|
+
export * from './lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component';
|
|
32
|
+
export * from './lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component';
|
|
33
|
+
export * from './lib/inventory-common/stock-transfer/stock-transfer.service';
|
|
16
34
|
export * from './lib/inventory-common/measure/measure.service';
|
|
17
35
|
export * from './lib/inventory-common/supplier/supplier.module';
|
|
18
36
|
export * from './lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component';
|
|
@@ -31,3 +49,16 @@ export * from './lib/inventory-common/rating/rating.service';
|
|
|
31
49
|
export * from './lib/inventory-common/rating/rating-list/rating-list.component';
|
|
32
50
|
export * from './lib/inventory-common/rating/rating-form/rating-form.component';
|
|
33
51
|
export * from './lib/inventory-common/rating/rating-form-button/rating-form-button.component';
|
|
52
|
+
export * from './lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component';
|
|
53
|
+
export * from './lib/inventory-common/location/location.module';
|
|
54
|
+
export * from './lib/inventory-common/location/location.service';
|
|
55
|
+
export * from './lib/inventory-common/location/location-list/location-list.component';
|
|
56
|
+
export * from './lib/inventory-common/location/location-form/location-form.component';
|
|
57
|
+
export * from './lib/inventory-common/location/location-form-button/location-form-button.component';
|
|
58
|
+
export * from './lib/inventory-common/location/location-delete-button/location-delete-button.component';
|
|
59
|
+
export * from './lib/inventory-common/location/shelf/shelf.module';
|
|
60
|
+
export * from './lib/inventory-common/location/shelf/shelf.service';
|
|
61
|
+
export * from './lib/inventory-common/location/shelf/shelf-list/shelf-list.component';
|
|
62
|
+
export * from './lib/inventory-common/location/shelf/shelf-form/shelf-form.component';
|
|
63
|
+
export * from './lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component';
|
|
64
|
+
export * from './lib/inventory-common/location/shelf/shelf-delete-button/shelf-delete-button.component';
|