techlify-inventory-common 18.48.0 → 18.50.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.
Files changed (76) hide show
  1. package/esm2022/lib/inventory-common/incident/incident-form/incident-form.component.mjs +2 -2
  2. package/esm2022/lib/inventory-common/incident/incident-list/incident-list.component.mjs +2 -2
  3. package/esm2022/lib/inventory-common/location/location-form/location-form.component.mjs +3 -3
  4. package/esm2022/lib/inventory-common/location/location-status-changer/location-status-changer.component.mjs +1 -1
  5. package/esm2022/lib/inventory-common/location/location.service.mjs +3 -3
  6. package/esm2022/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.mjs +3 -3
  7. package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +2 -2
  8. package/esm2022/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.mjs +1 -1
  9. package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +1 -1
  10. package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +1 -1
  11. package/esm2022/lib/inventory-common/rating/rating-form/rating-form.component.mjs +2 -2
  12. package/esm2022/lib/inventory-common/rating/rating-list/rating-list.component.mjs +2 -2
  13. package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +2 -2
  14. package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +2 -2
  15. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.mjs +2 -2
  16. package/esm2022/lib/inventory-common/shared.module.mjs +10 -4
  17. package/esm2022/lib/inventory-common/stock-issue/stock-issue-form/stock-issue-form.component.mjs +10 -6
  18. package/esm2022/lib/inventory-common/stock-issue/stock-issue-page/stock-issue-page.component.mjs +1 -1
  19. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-form/stock-issue-product-form.component.mjs +3 -3
  20. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-view/stock-issue-product-view.component.mjs +2 -2
  21. package/esm2022/lib/inventory-common/stock-issue/stock-issue-single-product-form/stock-issue-single-product-form.component.mjs +4 -4
  22. package/esm2022/lib/inventory-common/stock-issue/stock-issue-view/stock-issue-view.component.mjs +2 -2
  23. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.component.mjs +8 -6
  24. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-form/stock-receipt-product-form.component.mjs +3 -3
  25. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-view/stock-receipt-product-view.component.mjs +2 -2
  26. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-single-product-form/stock-receipt-simple-form/stock-receipt-single-product-form.component.mjs +4 -6
  27. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.mjs +1 -1
  28. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-page/stock-receipts-page.component.mjs +1 -1
  29. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +3 -3
  30. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +1 -1
  31. package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.mjs +1 -1
  32. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-form/purchase-order-form.component.mjs +2 -2
  33. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-listing/purchase-order-listing.component.mjs +2 -2
  34. package/esm2022/lib/inventory-common/supplier/purchase-order/purchase-order-product-list/purchase-order-product-form/purchase-order-product-form.component.mjs +1 -1
  35. package/esm2022/lib/inventory-common/supplier/supplier-branches-list/supplier-branches-list.component.mjs +12 -12
  36. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +47 -56
  37. package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +1 -1
  38. package/esm2022/lib/inventory-common/supplier/supplier-list/supplier-list.component.mjs +68 -0
  39. package/esm2022/lib/inventory-common/supplier/supplier-routing.module.mjs +3 -3
  40. package/esm2022/lib/inventory-common/supplier/supplier-view/supplier-view.component.mjs +11 -11
  41. package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +10 -45
  42. package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.component.mjs +1 -1
  43. package/esm2022/public-api.mjs +2 -3
  44. package/fesm2022/{techlify-inventory-common-category.module-VjAS4ehQ.mjs → techlify-inventory-common-category.module-CGzFP2S_.mjs} +8 -8
  45. package/fesm2022/{techlify-inventory-common-category.module-VjAS4ehQ.mjs.map → techlify-inventory-common-category.module-CGzFP2S_.mjs.map} +1 -1
  46. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-D5GrUK-m.mjs → techlify-inventory-common-purchase-order-view.component-5mLg0IvH.mjs} +7 -7
  47. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-D5GrUK-m.mjs.map → techlify-inventory-common-purchase-order-view.component-5mLg0IvH.mjs.map} +1 -1
  48. package/fesm2022/{techlify-inventory-common-recipient.module-BnRAWk8N.mjs → techlify-inventory-common-recipient.module-DLoP6xI3.mjs} +7 -7
  49. package/fesm2022/{techlify-inventory-common-recipient.module-BnRAWk8N.mjs.map → techlify-inventory-common-recipient.module-DLoP6xI3.mjs.map} +1 -1
  50. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-B-aNyhLA.mjs → techlify-inventory-common-stock-issue-form.component-MYEKRteU.mjs} +13 -8
  51. package/fesm2022/techlify-inventory-common-stock-issue-form.component-MYEKRteU.mjs.map +1 -0
  52. package/fesm2022/{techlify-inventory-common-stock-issue-product-view.component-BP2yFaQn.mjs → techlify-inventory-common-stock-issue-product-view.component-C-c83FEn.mjs} +3 -3
  53. package/fesm2022/{techlify-inventory-common-stock-issue-product-view.component-BP2yFaQn.mjs.map → techlify-inventory-common-stock-issue-product-view.component-C-c83FEn.mjs.map} +1 -1
  54. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-DHdnoIR8.mjs → techlify-inventory-common-stock-issue-view.component-Co7hXpDq.mjs} +3 -3
  55. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-DHdnoIR8.mjs.map → techlify-inventory-common-stock-issue-view.component-Co7hXpDq.mjs.map} +1 -1
  56. package/fesm2022/{techlify-inventory-common-techlify-inventory-common-DuAN6iqX.mjs → techlify-inventory-common-techlify-inventory-common-CWxzlvVi.mjs} +231 -435
  57. package/fesm2022/techlify-inventory-common-techlify-inventory-common-CWxzlvVi.mjs.map +1 -0
  58. package/fesm2022/techlify-inventory-common.mjs +1 -1
  59. package/lib/inventory-common/location/location.service.d.ts +1 -1
  60. package/lib/inventory-common/shared.module.d.ts +1 -1
  61. package/lib/inventory-common/stock-issue/stock-issue-form/stock-issue-form.component.d.ts +1 -0
  62. package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.component.d.ts +1 -0
  63. package/lib/inventory-common/stock-receipts/stock-receipts.module.d.ts +1 -1
  64. package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +13 -12
  65. package/lib/inventory-common/supplier/supplier-list/supplier-list.component.d.ts +20 -0
  66. package/lib/inventory-common/supplier/supplier.module.d.ts +13 -20
  67. package/package.json +1 -1
  68. package/public-api.d.ts +1 -2
  69. package/esm2022/lib/inventory-common/location/location-selector/location-selector.component.mjs +0 -161
  70. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.mjs +0 -43
  71. package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +0 -59
  72. package/fesm2022/techlify-inventory-common-stock-issue-form.component-B-aNyhLA.mjs.map +0 -1
  73. package/fesm2022/techlify-inventory-common-techlify-inventory-common-DuAN6iqX.mjs.map +0 -1
  74. package/lib/inventory-common/location/location-selector/location-selector.component.d.ts +0 -46
  75. package/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.d.ts +0 -13
  76. package/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.d.ts +0 -15
@@ -1,46 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { ControlValueAccessor, FormControl } from '@angular/forms';
3
- import { LocationService } from '../location.service';
4
- import { TechlifyFeatureService } from 'ngx-techlify-core';
5
- import { MatFormFieldAppearance } from '@angular/material/form-field';
6
- import * as i0 from "@angular/core";
7
- interface HierarchicalLocation {
8
- id: number;
9
- title: string;
10
- parent_id: number | null;
11
- depth: number;
12
- }
13
- export declare class LocationSelectorComponent implements ControlValueAccessor, OnInit {
14
- private locationService;
15
- private featureService;
16
- appearance: import("@angular/core").InputSignal<MatFormFieldAppearance>;
17
- label: import("@angular/core").InputSignal<string>;
18
- placeholder: import("@angular/core").InputSignal<string>;
19
- hint: import("@angular/core").InputSignal<string | undefined>;
20
- includeNone: import("@angular/core").InputSignal<boolean>;
21
- isSubLocationEnabled: import("@angular/core").WritableSignal<boolean>;
22
- locations: HierarchicalLocation[];
23
- selectedValue: number | null;
24
- isDisabled: boolean;
25
- searchControl: FormControl<string | null>;
26
- private onChange;
27
- private onTouched;
28
- constructor(locationService: LocationService, featureService: TechlifyFeatureService);
29
- ngOnInit(): void;
30
- setupSearch(): void;
31
- loadData(search?: string | null): void;
32
- /**
33
- * To prevent recursive calls in the api while trying to get
34
- * parent and children of a location, i've opted to have the ui
35
- * build the hierarchy of locations
36
- */
37
- private buildHierarchy;
38
- onSelectionChange(value: number | null): void;
39
- writeValue(value: number | null): void;
40
- registerOnChange(fn: (value: number | null) => void): void;
41
- registerOnTouched(fn: () => void): void;
42
- setDisabledState(isDisabled: boolean): void;
43
- static ɵfac: i0.ɵɵFactoryDeclaration<LocationSelectorComponent, never>;
44
- static ɵcmp: i0.ɵɵComponentDeclaration<LocationSelectorComponent, "app-location-selector", never, { "appearance": { "alias": "appearance"; "required": false; "isSignal": true; }; "label": { "alias": "label"; "required": false; "isSignal": true; }; "placeholder": { "alias": "placeholder"; "required": false; "isSignal": true; }; "hint": { "alias": "hint"; "required": false; "isSignal": true; }; "includeNone": { "alias": "includeNone"; "required": false; "isSignal": true; }; }, {}, never, never, true, never>;
45
- }
46
- export {};
@@ -1,13 +0,0 @@
1
- import { EventEmitter, OnInit } from '@angular/core';
2
- import { MatDialog } from '@angular/material/dialog';
3
- import * as i0 from "@angular/core";
4
- export declare class SupplierFormButtonComponent implements OnInit {
5
- private matDialog;
6
- supplier: any;
7
- onSaved: EventEmitter<any>;
8
- constructor(matDialog: MatDialog);
9
- ngOnInit(): void;
10
- openDialog(): void;
11
- static ɵfac: i0.ɵɵFactoryDeclaration<SupplierFormButtonComponent, never>;
12
- static ɵcmp: i0.ɵɵComponentDeclaration<SupplierFormButtonComponent, "app-supplier-form-button", never, { "supplier": { "alias": "supplier"; "required": false; }; }, { "onSaved": "onSaved"; }, never, never, true, never>;
13
- }
@@ -1,15 +0,0 @@
1
- import { OnInit } from '@angular/core';
2
- import { FormBuilder } from '@angular/forms';
3
- import { TechlifyListComponent } from 'ngx-techlify-core';
4
- import { SupplierService } from '../supplier.service';
5
- import * as i0 from "@angular/core";
6
- export declare class SuppliersListComponent extends TechlifyListComponent implements OnInit {
7
- private fb;
8
- protected service: SupplierService;
9
- displayedColumns: string[];
10
- filterFormConfiguration: any;
11
- constructor(fb: FormBuilder, service: SupplierService);
12
- ngOnInit(): void;
13
- static ɵfac: i0.ɵɵFactoryDeclaration<SuppliersListComponent, never>;
14
- static ɵcmp: i0.ɵɵComponentDeclaration<SuppliersListComponent, "app-suppliers-list", never, {}, {}, never, never, false, never>;
15
- }