techlify-inventory-common 18.31.0 → 18.33.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/product/product-basic-info/product-basic-info.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +61 -9
- package/esm2022/lib/inventory-common/product/product.module.mjs +14 -5
- package/esm2022/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.component.mjs +39 -85
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.module.mjs +8 -4
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +3 -4
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +23 -22
- package/fesm2022/{techlify-inventory-common-category.module-CMCZ_60M.mjs → techlify-inventory-common-category.module-DFUSDR9V.mjs} +4 -4
- package/fesm2022/{techlify-inventory-common-category.module-CMCZ_60M.mjs.map → techlify-inventory-common-category.module-DFUSDR9V.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-measure.module-6JtrzPaD.mjs → techlify-inventory-common-measure.module-CWacLgK9.mjs} +4 -4
- package/fesm2022/{techlify-inventory-common-measure.module-6JtrzPaD.mjs.map → techlify-inventory-common-measure.module-CWacLgK9.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-purchase-order-view.component-PylRUv5V.mjs → techlify-inventory-common-purchase-order-view.component-Cht4Guat.mjs} +4 -4
- package/fesm2022/{techlify-inventory-common-purchase-order-view.component-PylRUv5V.mjs.map → techlify-inventory-common-purchase-order-view.component-Cht4Guat.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-stock-issue-batch-form.component-B_KbA68z.mjs → techlify-inventory-common-stock-issue-batch-form.component-B8sYXmKa.mjs} +2 -2
- package/fesm2022/{techlify-inventory-common-stock-issue-batch-form.component-B_KbA68z.mjs.map → techlify-inventory-common-stock-issue-batch-form.component-B8sYXmKa.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-stock-issue-view.component-Ca_lo9Mo.mjs → techlify-inventory-common-stock-issue-view.component-DBIeH2ib.mjs} +2 -2
- package/fesm2022/{techlify-inventory-common-stock-issue-view.component-Ca_lo9Mo.mjs.map → techlify-inventory-common-stock-issue-view.component-DBIeH2ib.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-techlify-inventory-common-BRqmW8Lo.mjs → techlify-inventory-common-techlify-inventory-common-BzzG43ZO.mjs} +158 -141
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BzzG43ZO.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common.mjs +1 -1
- package/lib/inventory-common/product/product-form/product-form.component.d.ts +8 -2
- package/lib/inventory-common/product/product.module.d.ts +1 -1
- package/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.component.d.ts +4 -10
- package/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.module.d.ts +2 -1
- package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +3 -6
- package/package.json +1 -1
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BRqmW8Lo.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { a4 as ExportToExcelButtonComponent, _ as IncidentFormButtonComponent, Z as IncidentFormComponent, Y as IncidentListComponent, W as IncidentModule, X as IncidentService, h as InventoryCommonModule, I as InventoryCommonRoutingModule, a8 as LocationFormButtonComponent, a7 as LocationFormComponent, a6 as LocationListComponent, a5 as LocationModule, L as LocationService, M as MeasureService, V as PayeeSelectorComponent, U as PayeeSelectorModule, l as ProductBasicInfoComponent, t as ProductBatchUpdateFormComponent, m as ProductFormButtonComponent, k as ProductFormComponent, s as ProductFormService, u as ProductImportPageComponent, q as ProductListComponent, j as ProductModule, n as ProductQuickSearchComponent, p as ProductSearchComponent, o as ProductSearchModule, r as ProductService, v as ProductViewPageComponent, a3 as RatingFormButtonComponent, a2 as RatingFormComponent, a1 as RatingListComponent, $ as RatingModule, a0 as RatingService, ad as ShelfFormButtonComponent, ac as ShelfFormComponent, ab as ShelfListComponent, a9 as ShelfModule, aa as ShelfService, e as StockIssueFormButtonComponent, d as StockIssueFormModule, x as StockIssueListComponent, y as StockIssueListModule, w as StockIssueModule, A as StockReceiptDeleteButtonComponent, D as StockReceiptFormButtonComponent, C as StockReceiptFormModule, E as StockReceiptViewComponent, B as StockReceiptsListPageComponent, z as StockReceiptsModule, i as StockSummaryService, H as StockTransferFormButtonComponent, G as StockTransferFormComponent, F as StockTransferListComponent, J as StockTransferService, N as SupplierFormButtonComponent, O as SupplierFormComponent, K as SupplierModule, R as SupplierTypeService, Q as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-
|
|
1
|
+
export { a4 as ExportToExcelButtonComponent, _ as IncidentFormButtonComponent, Z as IncidentFormComponent, Y as IncidentListComponent, W as IncidentModule, X as IncidentService, h as InventoryCommonModule, I as InventoryCommonRoutingModule, a8 as LocationFormButtonComponent, a7 as LocationFormComponent, a6 as LocationListComponent, a5 as LocationModule, L as LocationService, M as MeasureService, V as PayeeSelectorComponent, U as PayeeSelectorModule, l as ProductBasicInfoComponent, t as ProductBatchUpdateFormComponent, m as ProductFormButtonComponent, k as ProductFormComponent, s as ProductFormService, u as ProductImportPageComponent, q as ProductListComponent, j as ProductModule, n as ProductQuickSearchComponent, p as ProductSearchComponent, o as ProductSearchModule, r as ProductService, v as ProductViewPageComponent, a3 as RatingFormButtonComponent, a2 as RatingFormComponent, a1 as RatingListComponent, $ as RatingModule, a0 as RatingService, ad as ShelfFormButtonComponent, ac as ShelfFormComponent, ab as ShelfListComponent, a9 as ShelfModule, aa as ShelfService, e as StockIssueFormButtonComponent, d as StockIssueFormModule, x as StockIssueListComponent, y as StockIssueListModule, w as StockIssueModule, A as StockReceiptDeleteButtonComponent, D as StockReceiptFormButtonComponent, C as StockReceiptFormModule, E as StockReceiptViewComponent, B as StockReceiptsListPageComponent, z as StockReceiptsModule, i as StockSummaryService, H as StockTransferFormButtonComponent, G as StockTransferFormComponent, F as StockTransferListComponent, J as StockTransferService, N as SupplierFormButtonComponent, O as SupplierFormComponent, K as SupplierModule, R as SupplierTypeService, Q as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-BzzG43ZO.mjs';
|
|
2
2
|
//# sourceMappingURL=techlify-inventory-common.mjs.map
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder, FormControl } from '@angular/forms';
|
|
3
|
-
import { ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface, FormConfigurationFormService, FormConfigurationUtilityService } from 'ngx-techlify-core';
|
|
3
|
+
import { ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface, FormConfigurationFormService, FormConfigurationUtilityService, FileDropperConfig, ViewerConfig, EntityFileService } from 'ngx-techlify-core';
|
|
4
4
|
import { ProductService } from '../product.service';
|
|
5
5
|
import { ActivatedRoute, Router } from '@angular/router';
|
|
6
6
|
import { Location } from '@angular/common';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class ProductFormComponent extends TechlifyFormComponentInterface implements OnInit {
|
|
9
|
+
private fileService;
|
|
9
10
|
private fb;
|
|
10
11
|
protected formValidatorService: FormValidatorService;
|
|
11
12
|
protected service: ProductService;
|
|
@@ -22,7 +23,10 @@ export declare class ProductFormComponent extends TechlifyFormComponentInterface
|
|
|
22
23
|
isCreateAnother: FormControl<boolean | null>;
|
|
23
24
|
savedCount: number;
|
|
24
25
|
formConfigurationUtilityService: FormConfigurationUtilityService;
|
|
25
|
-
|
|
26
|
+
fileConfig: FileDropperConfig;
|
|
27
|
+
viewerConfig: ViewerConfig;
|
|
28
|
+
fileList: any[];
|
|
29
|
+
constructor(fileService: EntityFileService, fb: FormBuilder, formValidatorService: FormValidatorService, service: ProductService, activatedRoute: ActivatedRoute, errorHandler: ErrorHandlerService, location: Location, router: Router, formConfigService: FormConfigurationFormService);
|
|
26
30
|
ngOnInit(): void;
|
|
27
31
|
loadProduct(): void;
|
|
28
32
|
patchProduct(): void;
|
|
@@ -35,6 +39,8 @@ export declare class ProductFormComponent extends TechlifyFormComponentInterface
|
|
|
35
39
|
* Checks displayed Form Section array for form section and returns boolean result
|
|
36
40
|
*/
|
|
37
41
|
isFormSectionShown(sectionName: string): boolean;
|
|
42
|
+
fileChanged(event: any): Promise<void>;
|
|
43
|
+
removeFile(): Promise<void>;
|
|
38
44
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductFormComponent, never>;
|
|
39
45
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductFormComponent, "app-product-form", never, { "displayedFormFields": { "alias": "displayedFormFields"; "required": false; }; "displayedFormSections": { "alias": "displayedFormSections"; "required": false; }; }, {}, never, never, false, never>;
|
|
40
46
|
}
|
|
@@ -28,6 +28,6 @@ import * as i26 from "angularx-qrcode";
|
|
|
28
28
|
import * as i27 from "ngx-barcode6";
|
|
29
29
|
export declare class ProductModule {
|
|
30
30
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
31
|
-
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.StockIssueListModule, typeof i14.MaterialModule, typeof i19.MatProgressBarModule, typeof i20.InfiniteScrollModule, typeof i21.FlexModule, typeof i22.ReactiveFormsModule, typeof i22.FormsModule, typeof i14.ColumnSelectorModule, typeof i23.ProductLocationListComponent, typeof i24.StockTransferListComponent, typeof i25.ExportToExcelButtonComponent, typeof i14.NoteModule, typeof i14.TechlifyIconModule, typeof i26.QRCodeComponent, typeof i27.NgxBarcode6, typeof i14.TechlifyDeleteButtonComponent], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent, typeof i11.ProductBatchUpdateFormComponent]>;
|
|
31
|
+
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.StockIssueListModule, typeof i14.MaterialModule, typeof i19.MatProgressBarModule, typeof i20.InfiniteScrollModule, typeof i21.FlexModule, typeof i22.ReactiveFormsModule, typeof i22.FormsModule, typeof i14.ColumnSelectorModule, typeof i23.ProductLocationListComponent, typeof i24.StockTransferListComponent, typeof i25.ExportToExcelButtonComponent, typeof i14.NoteModule, typeof i14.TechlifyIconModule, typeof i26.QRCodeComponent, typeof i27.NgxBarcode6, typeof i14.TechlifyDeleteButtonComponent, typeof i14.FormConfigurationForFormModule, typeof i14.FileDropperModule, typeof i14.DocumentViewerModule], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent, typeof i11.ProductBatchUpdateFormComponent]>;
|
|
32
32
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
33
33
|
}
|
package/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.component.d.ts
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
2
|
import { ColumnConfig, TechlifyFeatureService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
3
|
import { FormBuilder } from '@angular/forms';
|
|
4
|
-
import { Sort } from '@angular/material/sort';
|
|
5
4
|
import { StockIssueService } from '../stock-issue.service';
|
|
6
|
-
import { ActivatedRoute } from '@angular/router';
|
|
7
5
|
import * as i0 from "@angular/core";
|
|
8
6
|
export declare class StockIssueListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
7
|
private formBuilder;
|
|
10
|
-
|
|
11
|
-
private activatedRoute;
|
|
8
|
+
protected service: StockIssueService;
|
|
12
9
|
private featureService;
|
|
13
10
|
product: any;
|
|
14
11
|
issuableType: string;
|
|
@@ -17,18 +14,15 @@ export declare class StockIssueListComponent extends TechlifyListingControllerIn
|
|
|
17
14
|
showActions: boolean;
|
|
18
15
|
showFilters: boolean;
|
|
19
16
|
listUpdated: EventEmitter<any>;
|
|
17
|
+
exportInProgress: import("@angular/core").WritableSignal<boolean>;
|
|
20
18
|
columnConfig: ColumnConfig[];
|
|
21
19
|
selectedColumns: ColumnConfig[];
|
|
22
20
|
get displayedColumns(): string[];
|
|
23
21
|
get totalQuantity(): number;
|
|
24
22
|
get footerColumns(): string[];
|
|
25
|
-
constructor(formBuilder: FormBuilder,
|
|
23
|
+
constructor(formBuilder: FormBuilder, service: StockIssueService, featureService: TechlifyFeatureService);
|
|
26
24
|
ngOnInit(): void;
|
|
27
|
-
|
|
28
|
-
onSortChange(sort: Sort): void;
|
|
29
|
-
private updateFormWithQueryParams;
|
|
30
|
-
private subscribeToFormChanges;
|
|
31
|
-
private subscribeToRouteChanges;
|
|
25
|
+
handleExport(hideColumns: boolean): void;
|
|
32
26
|
private loadFeatures;
|
|
33
27
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueListComponent, never>;
|
|
34
28
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueListComponent, "app-stock-issue-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>;
|
|
@@ -10,8 +10,9 @@ import * as i8 from "@angular/material/progress-bar";
|
|
|
10
10
|
import * as i9 from "@angular/router";
|
|
11
11
|
import * as i10 from "@angular/forms";
|
|
12
12
|
import * as i11 from "../../product/widgets/product-category-badges/product-category-badges.component";
|
|
13
|
+
import * as i12 from "../../shared/export-to-excel-button/export-to-excel-button.component";
|
|
13
14
|
export declare class StockIssueListModule {
|
|
14
15
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueListModule, never>;
|
|
15
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueListModule, [typeof i1.StockIssueListComponent], [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 i3.SearchableSelectorModule, typeof i3.TimelineFilterModule, typeof i10.ReactiveFormsModule, typeof i11.ProductCategoryBadgesComponent, typeof i3.ColumnSelectorModule, typeof i3.TechlifyIconModule], [typeof i1.StockIssueListComponent]>;
|
|
16
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueListModule, [typeof i1.StockIssueListComponent], [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 i3.SearchableSelectorModule, typeof i3.TimelineFilterModule, typeof i10.ReactiveFormsModule, typeof i11.ProductCategoryBadgesComponent, typeof i3.ColumnSelectorModule, typeof i3.TechlifyIconModule, typeof i12.ExportToExcelButtonComponent], [typeof i1.StockIssueListComponent]>;
|
|
16
17
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockIssueListModule>;
|
|
17
18
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { SupplierService } from '../supplier.service';
|
|
2
2
|
import { OnInit } from '@angular/core';
|
|
3
|
-
import { FormBuilder,
|
|
3
|
+
import { FormBuilder, FormControl } from '@angular/forms';
|
|
4
4
|
import { MatDialogRef } from '@angular/material/dialog';
|
|
5
5
|
import { NgxSpinnerService } from 'ngx-spinner';
|
|
6
6
|
import { ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
|
|
@@ -14,14 +14,11 @@ export declare class SupplierFormComponent extends TechlifyFormComponentInterfac
|
|
|
14
14
|
private supplierService;
|
|
15
15
|
errorMessages: any;
|
|
16
16
|
isUpdateMode: boolean;
|
|
17
|
-
|
|
17
|
+
isCreateAnother: FormControl;
|
|
18
|
+
totalRecordSaved: import("@angular/core").WritableSignal<number>;
|
|
18
19
|
constructor(fb: FormBuilder, formValidatorService: FormValidatorService, spinnerService: NgxSpinnerService, dialogRef: MatDialogRef<SupplierFormComponent>, errorService: ErrorHandlerService, data: any, supplierService: SupplierService);
|
|
19
20
|
ngOnInit(): void;
|
|
20
21
|
submit(): Promise<void>;
|
|
21
|
-
/**Method to evaluate form fields*/
|
|
22
|
-
isFieldValid(field: string): any;
|
|
23
|
-
/**Method to find error in form fields*/
|
|
24
|
-
getErrorMessage(field: string): any;
|
|
25
22
|
static ɵfac: i0.ɵɵFactoryDeclaration<SupplierFormComponent, never>;
|
|
26
23
|
static ɵcmp: i0.ɵɵComponentDeclaration<SupplierFormComponent, "app-supplier-form", never, {}, {}, never, never, false, never>;
|
|
27
24
|
}
|