techlify-inventory-common 18.40.0 → 18.41.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.
Files changed (70) hide show
  1. package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +24 -68
  2. package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +3 -3
  3. package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +3 -3
  4. package/esm2022/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.mjs +9 -7
  5. package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +2 -6
  6. package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +15 -4
  7. package/esm2022/lib/inventory-common/product/product.module.mjs +1 -9
  8. package/esm2022/lib/inventory-common/shared.module.mjs +39 -0
  9. package/esm2022/lib/inventory-common/stock-issue/stock-issue-list/stock-issue-list.component.mjs +5 -6
  10. package/esm2022/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.component.mjs +1 -1
  11. package/esm2022/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.module.mjs +1 -5
  12. package/esm2022/lib/inventory-common/stock-issue/stock-issue-products-list/stock-issue-products-list.component.mjs +6 -3
  13. package/esm2022/lib/inventory-common/stock-issue/stock-issue-single-product-form/stock-issue-simple-form/stock-issue-single-product-form.component.mjs +179 -0
  14. package/esm2022/lib/inventory-common/stock-issue/stock-issue-view/stock-issue-view.component.mjs +6 -8
  15. package/esm2022/lib/inventory-common/stock-issue/stock-issue.module.mjs +1 -9
  16. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-list/stock-receipt-list.component.mjs +4 -5
  17. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-list/stock-receipt-product-list.component.mjs +7 -4
  18. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-single-product-form/stock-receipt-simple-form/stock-receipt-single-product-form.component.mjs +182 -0
  19. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.mjs +4 -5
  20. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-page/stock-receipts-page.component.mjs +1 -1
  21. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +8 -9
  22. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +43 -55
  23. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +14 -6
  24. package/esm2022/public-api.mjs +3 -6
  25. package/fesm2022/{techlify-inventory-common-category.module-CiZXYGS7.mjs → techlify-inventory-common-category.module-CPSauMD7.mjs} +7 -7
  26. package/fesm2022/{techlify-inventory-common-category.module-CiZXYGS7.mjs.map → techlify-inventory-common-category.module-CPSauMD7.mjs.map} +1 -1
  27. package/fesm2022/{techlify-inventory-common-measure.module-D9tk7RWL.mjs → techlify-inventory-common-measure.module-B1LhDfAX.mjs} +8 -8
  28. package/fesm2022/{techlify-inventory-common-measure.module-D9tk7RWL.mjs.map → techlify-inventory-common-measure.module-B1LhDfAX.mjs.map} +1 -1
  29. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-CsmrVmZs.mjs → techlify-inventory-common-purchase-order-view.component-wFY-HGEQ.mjs} +7 -7
  30. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-CsmrVmZs.mjs.map → techlify-inventory-common-purchase-order-view.component-wFY-HGEQ.mjs.map} +1 -1
  31. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-CnjtA7Hb.mjs → techlify-inventory-common-stock-issue-form.component-CQToN3ZS.mjs} +5 -5
  32. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-CnjtA7Hb.mjs.map → techlify-inventory-common-stock-issue-form.component-CQToN3ZS.mjs.map} +1 -1
  33. package/fesm2022/techlify-inventory-common-stock-issue-view.component-BsyVvElE.mjs +66 -0
  34. package/fesm2022/techlify-inventory-common-stock-issue-view.component-BsyVvElE.mjs.map +1 -0
  35. package/fesm2022/{techlify-inventory-common-techlify-inventory-common-CHc35QxL.mjs → techlify-inventory-common-techlify-inventory-common-CaJu6h21.mjs} +1753 -1992
  36. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CaJu6h21.mjs.map +1 -0
  37. package/fesm2022/techlify-inventory-common.mjs +1 -1
  38. package/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.d.ts +3 -5
  39. package/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.d.ts +2 -0
  40. package/lib/inventory-common/product/product-view-page/product-view-page.component.d.ts +3 -0
  41. package/lib/inventory-common/product/product.module.d.ts +12 -14
  42. package/lib/inventory-common/shared.module.d.ts +11 -0
  43. package/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.module.d.ts +7 -8
  44. package/lib/inventory-common/stock-issue/stock-issue-products-list/stock-issue-products-list.component.d.ts +4 -1
  45. package/lib/inventory-common/stock-issue/stock-issue-single-product-form/stock-issue-simple-form/stock-issue-single-product-form.component.d.ts +40 -0
  46. package/lib/inventory-common/stock-issue/stock-issue.module.d.ts +5 -7
  47. package/lib/inventory-common/stock-receipts/stock-receipt-product-list/stock-receipt-product-list.component.d.ts +4 -1
  48. package/lib/inventory-common/stock-receipts/stock-receipt-single-product-form/stock-receipt-simple-form/stock-receipt-single-product-form.component.d.ts +33 -0
  49. package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +5 -6
  50. package/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.d.ts +8 -7
  51. package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +5 -1
  52. package/package.json +1 -1
  53. package/public-api.d.ts +2 -5
  54. package/esm2022/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-form-button/stock-issue-form-button.component.mjs +0 -48
  55. package/esm2022/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-form.module.mjs +0 -43
  56. package/esm2022/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-simple-form/stock-issue-simple-form.component.mjs +0 -201
  57. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-form-button/stock-receipt-form-button.component.mjs +0 -42
  58. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-simple-form/stock-receipt-simple-form.component.mjs +0 -180
  59. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-simple-form.module.mjs +0 -51
  60. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component.mjs +0 -41
  61. package/fesm2022/techlify-inventory-common-stock-issue-view.component-zoK_HeFx.mjs +0 -66
  62. package/fesm2022/techlify-inventory-common-stock-issue-view.component-zoK_HeFx.mjs.map +0 -1
  63. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CHc35QxL.mjs.map +0 -1
  64. package/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-form-button/stock-issue-form-button.component.d.ts +0 -19
  65. package/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-form.module.d.ts +0 -13
  66. package/lib/inventory-common/stock-issue/stock-issue-simple-form/stock-issue-simple-form/stock-issue-simple-form.component.d.ts +0 -40
  67. package/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-form-button/stock-receipt-form-button.component.d.ts +0 -17
  68. package/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-simple-form/stock-receipt-simple-form.component.d.ts +0 -28
  69. package/lib/inventory-common/stock-receipts/stock-receipt-simple-form/stock-receipt-simple-form.module.d.ts +0 -15
  70. package/lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component.d.ts +0 -15
@@ -1,19 +0,0 @@
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
- stockIssueProduct: any;
8
- stockIssue: any;
9
- icon: string | null;
10
- issuableType: string;
11
- issuableId: number;
12
- saved: EventEmitter<any>;
13
- matDialogRef: MatDialogRef<any>;
14
- constructor(matDialog: MatDialog);
15
- showStockIssuanceForm(templateRef: TemplateRef<any>): void;
16
- onStockIssuanceSaved(item: any): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormButtonComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueFormButtonComponent, "app-stock-issue-form-button", never, { "product": { "alias": "product"; "required": false; }; "stockIssueProduct": { "alias": "stockIssueProduct"; "required": false; }; "stockIssue": { "alias": "stockIssue"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "issuableType": { "alias": "issuableType"; "required": false; }; "issuableId": { "alias": "issuableId"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
19
- }
@@ -1,13 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./stock-issue-simple-form/stock-issue-simple-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 "../../material.module";
7
- import * as i6 from "ngx-techlify-core";
8
- import * as i7 from "@angular/router";
9
- export declare class StockIssueFormModule {
10
- static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormModule, never>;
11
- static ɵmod: i0.ɵɵNgModuleDeclaration<StockIssueFormModule, [typeof i1.StockIssueSimpleFormComponent, typeof i2.StockIssueFormButtonComponent], [typeof i3.CommonModule, typeof i4.ReactiveFormsModule, typeof i5.MaterialModule, typeof i6.SearchableSelectorModule, typeof i6.TechlifyFeatureModule, typeof i6.TechlifyIconModule, typeof i7.RouterModule], [typeof i2.StockIssueFormButtonComponent]>;
12
- static ɵinj: i0.ɵɵInjectorDeclaration<StockIssueFormModule>;
13
- }
@@ -1,40 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { DateUtils, FormValidatorService, SearchableSelectorComponent, TechlifyFormComponent } from 'ngx-techlify-core';
3
- import { FormBuilder } from '@angular/forms';
4
- import { StockIssueService } from '../../stock-issue.service';
5
- import { LocationService } from '../../../location/location.service';
6
- import * as i0 from "@angular/core";
7
- export declare class StockIssueSimpleFormComponent extends TechlifyFormComponent implements OnInit {
8
- private formBuilder;
9
- private stockIssueService;
10
- private dateUtils;
11
- private locationService;
12
- product: any;
13
- stockIssueProduct: any;
14
- stockIssue: any;
15
- issuableType: string;
16
- issuableId: number;
17
- saved: EventEmitter<any>;
18
- cancelled: EventEmitter<any>;
19
- batchSearchableSelector: SearchableSelectorComponent;
20
- private locationsCountValue;
21
- batchesApiUrl: string;
22
- isBatchPatched: boolean;
23
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssueService: StockIssueService, dateUtils: DateUtils, locationService: LocationService);
24
- ngOnInit(): void;
25
- patchFormData(): void;
26
- patchFormProducts(stockIssuance: any): void;
27
- updateFormWithProductArray(stockIssueProduct: any): void;
28
- get locationsCount(): number;
29
- save(): void;
30
- onProductChange(product: any): void;
31
- /**
32
- * We needed a way to detect when the batch field and items are loaded to then
33
- * patch the batch field. So we'll wait for the selector to trigger this function when
34
- * data is loaded
35
- */
36
- onBatchItemsChange(): void;
37
- private resetBatchSelector;
38
- static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueSimpleFormComponent, never>;
39
- static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueSimpleFormComponent, "app-stock-issue-simple-form", never, { "product": { "alias": "product"; "required": false; }; "stockIssueProduct": { "alias": "stockIssueProduct"; "required": false; }; "stockIssue": { "alias": "stockIssue"; "required": false; }; "issuableType": { "alias": "issuableType"; "required": false; }; "issuableId": { "alias": "issuableId"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, false, never>;
40
- }
@@ -1,17 +0,0 @@
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
- latestLocationId: any;
9
- icon: string | null;
10
- saved: EventEmitter<any>;
11
- matDialogRef: MatDialogRef<any>;
12
- constructor(matDialog: MatDialog);
13
- showStockReceiptForm(templateRef: TemplateRef<any>): void;
14
- onStockReceiptSaved(item: any): void;
15
- static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptFormButtonComponent, never>;
16
- static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptFormButtonComponent, "app-stock-receipt-form-button", never, { "product": { "alias": "product"; "required": false; }; "stockReceipt": { "alias": "stockReceipt"; "required": false; }; "latestLocationId": { "alias": "latestLocationId"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; }, { "saved": "saved"; }, never, never, false, never>;
17
- }
@@ -1,28 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { DateUtils, FormValidatorService, TechlifyFormComponent } from 'ngx-techlify-core';
3
- import { FormBuilder } from '@angular/forms';
4
- import { StockReceiptService } from '../../stock-receipt.service';
5
- import { LocationService } from '../../../location/location.service';
6
- import * as i0 from "@angular/core";
7
- export declare class StockReceiptFormComponent extends TechlifyFormComponent implements OnInit {
8
- private formBuilder;
9
- private stockReceiptService;
10
- private dateUtils;
11
- private locationService;
12
- product: any;
13
- stockReceipt: any;
14
- stockReceiptProduct: any;
15
- latestLocationId: any;
16
- saved: EventEmitter<any>;
17
- cancelled: EventEmitter<any>;
18
- private locationsCountValue;
19
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockReceiptService: StockReceiptService, dateUtils: DateUtils, locationService: LocationService);
20
- ngOnInit(): void;
21
- patchFormProducts(stockReceiptProduct: any): void;
22
- updateFormWithProductArray(stockReceiptProduct: any): void;
23
- get locationsCount(): number;
24
- save(): void;
25
- private updateTotalAmount;
26
- static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptFormComponent, never>;
27
- static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptFormComponent, "app-stock-receipt-simple-form", never, { "product": { "alias": "product"; "required": false; }; "stockReceipt": { "alias": "stockReceipt"; "required": false; }; "stockReceiptProduct": { "alias": "stockReceiptProduct"; "required": false; }; "latestLocationId": { "alias": "latestLocationId"; "required": false; }; }, { "saved": "saved"; "cancelled": "cancelled"; }, never, never, false, never>;
28
- }
@@ -1,15 +0,0 @@
1
- import * as i0 from "@angular/core";
2
- import * as i1 from "./stock-receipt-simple-form/stock-receipt-simple-form.component";
3
- import * as i2 from "./stock-receipt-form-button/stock-receipt-form-button.component";
4
- import * as i3 from "@angular/common";
5
- import * as i4 from "../../supplier/payee-selector/payee-selector.module";
6
- import * as i5 from "@angular/forms";
7
- import * as i6 from "../../material.module";
8
- import * as i7 from "ngx-techlify-core";
9
- import * as i8 from "../../location/location-selector/location-selector.component";
10
- import * as i9 from "@angular/router";
11
- export declare class StockReceiptSimpleFormModule {
12
- static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptSimpleFormModule, never>;
13
- static ɵmod: i0.ɵɵNgModuleDeclaration<StockReceiptSimpleFormModule, [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 i8.LocationSelectorComponent, typeof i7.TechlifyIconModule, typeof i9.RouterModule], [typeof i2.StockReceiptFormButtonComponent]>;
14
- static ɵinj: i0.ɵɵInjectorDeclaration<StockReceiptSimpleFormModule>;
15
- }
@@ -1,15 +0,0 @@
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 StockTransferFormButtonComponent {
5
- private matDialog;
6
- productId: number;
7
- locationFrom: any;
8
- saved: EventEmitter<any>;
9
- matDialogRef: MatDialogRef<any>;
10
- constructor(matDialog: MatDialog);
11
- showForm(templateRef: TemplateRef<any>): void;
12
- onSaved(model: any): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferFormButtonComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferFormButtonComponent, "app-stock-transfer-form-button", never, { "productId": { "alias": "productId"; "required": false; }; "locationFrom": { "alias": "locationFrom"; "required": false; }; }, { "saved": "saved"; }, never, never, true, never>;
15
- }