techlify-inventory-common 18.24.0 → 18.24.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/esm2022/lib/inventory-common/category/category-form/category-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/category/category-form-button/category-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/category/category-list-page/category-list-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/category/category-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/category/category-view/category-view.component.mjs +3 -3
- package/esm2022/lib/inventory-common/category/category.module.mjs +4 -4
- package/esm2022/lib/inventory-common/category/category.service.mjs +3 -3
- package/esm2022/lib/inventory-common/incident/incident-form/incident-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/incident/incident-form-button/incident-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/incident/incident-list/incident-list.component.mjs +9 -11
- package/esm2022/lib/inventory-common/incident/incident-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/incident/incident.module.mjs +4 -4
- package/esm2022/lib/inventory-common/incident/incident.service.mjs +3 -3
- package/esm2022/lib/inventory-common/inventory-common-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/inventory-common.module.mjs +4 -4
- package/esm2022/lib/inventory-common/inventory-dashboard-page/inventory-dashboard-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/inventory-value-report.service.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-delete-button/location-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-form/location-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-form-button/location-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-information/location-information.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-list/location-list.component.mjs +7 -10
- package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +7 -10
- package/esm2022/lib/inventory-common/location/location-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/location/location-status-changer/location-status-changer.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location-view/location-view.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/location.module.mjs +4 -4
- package/esm2022/lib/inventory-common/location/location.service.mjs +3 -3
- package/esm2022/lib/inventory-common/location/shelf/shelf-delete-button/shelf-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/shelf/shelf-form-button/shelf-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +14 -18
- package/esm2022/lib/inventory-common/location/shelf/shelf-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/location/shelf/shelf.module.mjs +4 -4
- package/esm2022/lib/inventory-common/location/shelf/shelf.service.mjs +3 -3
- package/esm2022/lib/inventory-common/low-stock-report.service.mjs +3 -3
- package/esm2022/lib/inventory-common/material.module.mjs +4 -4
- package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete-button/measure-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/measure/measure-delete/measure-delete.module.mjs +4 -4
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form-button/measure-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/measure/measure-form/measure-form.module.mjs +4 -4
- package/esm2022/lib/inventory-common/measure/measure-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/measure/measure.module.mjs +4 -4
- package/esm2022/lib/inventory-common/measure/measure.service.mjs +3 -3
- package/esm2022/lib/inventory-common/measure/measures-list/measures-list.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.module.mjs +4 -4
- package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-delete-button/product-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-form/product-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-form-button/product-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-form.service.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-import-page/product-import-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +9 -11
- package/esm2022/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-measure-form/product-measure-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-measures-list/product-measures-list.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-nav-bar/product-nav-bar.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/product/product-search/product-search.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-search/product-search.module.mjs +4 -4
- package/esm2022/lib/inventory-common/product/product-statistics.service.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-summary-chart/product-summary-chart.module.mjs +4 -4
- package/esm2022/lib/inventory-common/product/product-summary.service.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-delete-button/product-tax-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-form-button/product-tax-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-tax/product-tax-list/product-tax-list.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-tax/product-tax.module.mjs +4 -4
- package/esm2022/lib/inventory-common/product/product-tax/product-tax.service.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 -4
- package/esm2022/lib/inventory-common/product/product.service.mjs +3 -3
- package/esm2022/lib/inventory-common/product/widgets/product-category-badges/product-category-badges.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product-batch.service.mjs +3 -3
- package/esm2022/lib/inventory-common/rating/rating-form/rating-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/rating/rating-form-button/rating-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/rating/rating-list/rating-list.component.mjs +10 -13
- package/esm2022/lib/inventory-common/rating/rating-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/rating/rating.module.mjs +4 -4
- package/esm2022/lib/inventory-common/rating/rating.service.mjs +3 -3
- package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +18 -20
- package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +8 -10
- package/esm2022/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance-delete-button/stock-issuance-delete-button.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuance.service.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.mjs +9 -11
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.mjs +22 -5
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form-button/stock-issue-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-import-page/stock-issue-import-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-delete-button/stock-receipt-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.mjs +4 -5
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form-button/stock-receipt-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-import-page/stock-receipt-import-page.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-view/stock-receipt-view.component.mjs +5 -5
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipt.service.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +8 -10
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-receipts/stock-receipts.module.mjs +4 -4
- package/esm2022/lib/inventory-common/stock-summary.service.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form-button/stock-transfer-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +6 -8
- package/esm2022/lib/inventory-common/stock-transfer/stock-transfer.service.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector/payee-selector.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/payee-selector/payee-selector.module.mjs +4 -4
- package/esm2022/lib/inventory-common/supplier/supplier-delete-button/supplier-delete-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form-button/supplier-form-button.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.service.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-information/supplier-information.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-routing.module.mjs +4 -4
- package/esm2022/lib/inventory-common/supplier/supplier-type.service.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier-view/supplier-view.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier.component.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +4 -4
- package/esm2022/lib/inventory-common/supplier/supplier.service.mjs +3 -3
- package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +7 -9
- package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.component.mjs +3 -3
- package/esm2022/lib/inventory-common/techlify-filter/techlify-filter.module.mjs +4 -4
- package/fesm2022/{techlify-inventory-common-category.module-Dw7cV-28.mjs → techlify-inventory-common-category.module-DmlWI9xk.mjs} +33 -33
- package/fesm2022/{techlify-inventory-common-category.module-Dw7cV-28.mjs.map → techlify-inventory-common-category.module-DmlWI9xk.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-measure.module-BvuwOooQ.mjs → techlify-inventory-common-measure.module-NTiKN2Rg.mjs} +35 -35
- package/fesm2022/{techlify-inventory-common-measure.module-BvuwOooQ.mjs.map → techlify-inventory-common-measure.module-NTiKN2Rg.mjs.map} +1 -1
- package/fesm2022/techlify-inventory-common.mjs +456 -466
- package/fesm2022/techlify-inventory-common.mjs.map +1 -1
- package/lib/inventory-common/incident/incident-list/incident-list.component.d.ts +2 -3
- package/lib/inventory-common/location/location-list/location-list.component.d.ts +2 -3
- package/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.d.ts +2 -3
- package/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.d.ts +2 -3
- package/lib/inventory-common/product/product-list/product-list.component.d.ts +2 -3
- package/lib/inventory-common/rating/rating-list/rating-list.component.d.ts +2 -3
- package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts +2 -3
- package/lib/inventory-common/reports/low-stock-report/low-stock-report.component.d.ts +2 -3
- package/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.d.ts +2 -3
- package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.d.ts +7 -0
- package/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.d.ts +2 -3
- package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +2 -3
- package/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.d.ts +3 -4
- package/package.json +3 -3
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
3
3
|
import { FormBuilder } from "@angular/forms";
|
|
4
4
|
import { Sort } from "@angular/material/sort";
|
|
5
5
|
import { ActivatedRoute } from "@angular/router";
|
|
@@ -7,14 +7,13 @@ import { IncidentService } from "../incident.service";
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class IncidentListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private formBuilder;
|
|
10
|
-
private requestHelperService;
|
|
11
10
|
private activatedRoute;
|
|
12
11
|
private incidentService;
|
|
13
12
|
supplierId: number;
|
|
14
13
|
incidentableType: string;
|
|
15
14
|
incidentableId: number;
|
|
16
15
|
displayedColumns: string[];
|
|
17
|
-
constructor(formBuilder: FormBuilder,
|
|
16
|
+
constructor(formBuilder: FormBuilder, activatedRoute: ActivatedRoute, incidentService: IncidentService);
|
|
18
17
|
ngOnInit(): void;
|
|
19
18
|
loadData(): void;
|
|
20
19
|
onSortChange(sort: Sort): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
3
|
import { FormBuilder } from '@angular/forms';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { Sort } from '@angular/material/sort';
|
|
@@ -8,10 +8,9 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class LocationListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private service;
|
|
10
10
|
private formBuilder;
|
|
11
|
-
private requestHelperService;
|
|
12
11
|
private activatedRoute;
|
|
13
12
|
displayedColumns: string[];
|
|
14
|
-
constructor(service: LocationService, formBuilder: FormBuilder,
|
|
13
|
+
constructor(service: LocationService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
loadData(): void;
|
|
17
16
|
onSortChange(sort: Sort): void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { LocationService } from '../location.service';
|
|
3
|
-
import {
|
|
3
|
+
import { TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
4
4
|
import { FormBuilder } from '@angular/forms';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
6
|
import { Sort } from '@angular/material/sort';
|
|
@@ -8,11 +8,10 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class LocationProductStatisticsComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private service;
|
|
10
10
|
private formBuilder;
|
|
11
|
-
private requestHelperService;
|
|
12
11
|
private activatedRoute;
|
|
13
12
|
location: any;
|
|
14
13
|
displayedColumns: string[];
|
|
15
|
-
constructor(service: LocationService, formBuilder: FormBuilder,
|
|
14
|
+
constructor(service: LocationService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute);
|
|
16
15
|
ngOnInit(): void;
|
|
17
16
|
loadData(): void;
|
|
18
17
|
onSortChange(sort: Sort): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
3
3
|
import { FormBuilder } from "@angular/forms";
|
|
4
4
|
import { ActivatedRoute } from "@angular/router";
|
|
5
5
|
import { Sort } from "@angular/material/sort";
|
|
@@ -8,10 +8,9 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class ShelfListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private service;
|
|
10
10
|
private formBuilder;
|
|
11
|
-
private requestHelperService;
|
|
12
11
|
private activatedRoute;
|
|
13
12
|
displayedColumns: string[];
|
|
14
|
-
constructor(service: ShelfService, formBuilder: FormBuilder,
|
|
13
|
+
constructor(service: ShelfService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute);
|
|
15
14
|
ngOnInit(): void;
|
|
16
15
|
loadData(): void;
|
|
17
16
|
onSortChange(sort: Sort): void;
|
|
@@ -2,7 +2,7 @@ import { OnInit } from '@angular/core';
|
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
|
-
import { ColumnConfig,
|
|
5
|
+
import { ColumnConfig, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
6
6
|
import { ProductService } from '../product.service';
|
|
7
7
|
import { ProductFormService } from '../product-form.service';
|
|
8
8
|
import { SelectionModel } from '@angular/cdk/collections';
|
|
@@ -12,7 +12,6 @@ export declare class ProductListComponent extends TechlifyListingControllerInter
|
|
|
12
12
|
private dialog;
|
|
13
13
|
private activatedRoute;
|
|
14
14
|
private productService;
|
|
15
|
-
private requestHelperService;
|
|
16
15
|
private productFormService;
|
|
17
16
|
selection: SelectionModel<any>;
|
|
18
17
|
private customExportColumns;
|
|
@@ -21,7 +20,7 @@ export declare class ProductListComponent extends TechlifyListingControllerInter
|
|
|
21
20
|
selectedColumns: ColumnConfig[];
|
|
22
21
|
get displayedColumns(): string[];
|
|
23
22
|
importId: number;
|
|
24
|
-
constructor(fb: FormBuilder, dialog: MatDialog, activatedRoute: ActivatedRoute, productService: ProductService,
|
|
23
|
+
constructor(fb: FormBuilder, dialog: MatDialog, activatedRoute: ActivatedRoute, productService: ProductService, productFormService: ProductFormService);
|
|
25
24
|
ngOnInit(): void;
|
|
26
25
|
loadData(): void;
|
|
27
26
|
assignFilter(column: any, direction: string): any;
|
|
@@ -1,20 +1,19 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { Sort } from "@angular/material/sort";
|
|
3
3
|
import { FormBuilder } from "@angular/forms";
|
|
4
|
-
import {
|
|
4
|
+
import { TechlifyListingControllerInterface } from "ngx-techlify-core";
|
|
5
5
|
import { ActivatedRoute } from "@angular/router";
|
|
6
6
|
import { RatingService } from "../rating.service";
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class RatingListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private formBuilder;
|
|
10
|
-
private requestHelperService;
|
|
11
10
|
private activatedRoute;
|
|
12
11
|
private ratingService;
|
|
13
12
|
supplierId: number;
|
|
14
13
|
rateableType: string;
|
|
15
14
|
rateableId: number;
|
|
16
15
|
displayedColumns: string[];
|
|
17
|
-
constructor(formBuilder: FormBuilder,
|
|
16
|
+
constructor(formBuilder: FormBuilder, activatedRoute: ActivatedRoute, ratingService: RatingService);
|
|
18
17
|
ngOnInit(): void;
|
|
19
18
|
loadData(): void;
|
|
20
19
|
onSortChange(sort: Sort): void;
|
package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
|
-
import {
|
|
2
|
+
import { TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
3
3
|
import { InventoryValueReportService } from '../../inventory-value-report.service';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { FormBuilder } from '@angular/forms';
|
|
@@ -8,13 +8,12 @@ import * as i0 from "@angular/core";
|
|
|
8
8
|
export declare class InventoryValueReportComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private service;
|
|
10
10
|
private activatedRoute;
|
|
11
|
-
private requestHelperService;
|
|
12
11
|
private formBuilder;
|
|
13
12
|
displayedColumns: string[];
|
|
14
13
|
totalInventoryValue: number;
|
|
15
14
|
isExporting: boolean;
|
|
16
15
|
minStockOptions: number[];
|
|
17
|
-
constructor(service: InventoryValueReportService, activatedRoute: ActivatedRoute,
|
|
16
|
+
constructor(service: InventoryValueReportService, activatedRoute: ActivatedRoute, formBuilder: FormBuilder);
|
|
18
17
|
ngOnInit(): void;
|
|
19
18
|
loadData(): void;
|
|
20
19
|
private updateFormWithQueryParams;
|
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { FormBuilder } from '@angular/forms';
|
|
3
3
|
import { Sort } from '@angular/material/sort';
|
|
4
|
-
import {
|
|
4
|
+
import { TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
5
5
|
import { ActivatedRoute } from '@angular/router';
|
|
6
6
|
import { LowStockReportService } from '../../low-stock-report.service';
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class LowStockReportComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private service;
|
|
10
10
|
private activatedRoute;
|
|
11
|
-
private requestHelperService;
|
|
12
11
|
private formBuilder;
|
|
13
12
|
displayedColumns: string[];
|
|
14
13
|
totalInventoryValue: number;
|
|
15
14
|
isExporting: boolean;
|
|
16
|
-
constructor(service: LowStockReportService, activatedRoute: ActivatedRoute,
|
|
15
|
+
constructor(service: LowStockReportService, activatedRoute: ActivatedRoute, formBuilder: FormBuilder);
|
|
17
16
|
ngOnInit(): void;
|
|
18
17
|
loadData(): void;
|
|
19
18
|
onSortChange(sort: Sort): void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from '@angular/core';
|
|
2
|
-
import { ColumnConfig,
|
|
2
|
+
import { ColumnConfig, 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';
|
|
@@ -7,7 +7,6 @@ import { ActivatedRoute } from '@angular/router';
|
|
|
7
7
|
import * as i0 from "@angular/core";
|
|
8
8
|
export declare class StockIssuancesListComponent extends TechlifyListingControllerInterface implements OnInit {
|
|
9
9
|
private formBuilder;
|
|
10
|
-
private requestHelperService;
|
|
11
10
|
private stockIssuanceService;
|
|
12
11
|
private activatedRoute;
|
|
13
12
|
private featureService;
|
|
@@ -22,7 +21,7 @@ export declare class StockIssuancesListComponent extends TechlifyListingControll
|
|
|
22
21
|
columnConfig: ColumnConfig[];
|
|
23
22
|
selectedColumns: ColumnConfig[];
|
|
24
23
|
get displayedColumns(): string[];
|
|
25
|
-
constructor(formBuilder: FormBuilder,
|
|
24
|
+
constructor(formBuilder: FormBuilder, stockIssuanceService: StockIssuanceService, activatedRoute: ActivatedRoute, featureService: TechlifyFeatureService);
|
|
26
25
|
ngOnInit(): void;
|
|
27
26
|
loadData(): void;
|
|
28
27
|
onSortChange(sort: Sort): void;
|
|
@@ -21,6 +21,7 @@ export declare class StockIssueFormComponent extends TechlifyFormComponentInterf
|
|
|
21
21
|
isWorking: boolean;
|
|
22
22
|
private locationsCountValue;
|
|
23
23
|
batchesApiUrl: string;
|
|
24
|
+
isBatchPatched: boolean;
|
|
24
25
|
constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssuanceService: StockIssuanceService, alertService: AlertService, dateUtils: DateUtils, locationService: LocationService);
|
|
25
26
|
ngOnInit(): void;
|
|
26
27
|
patchFormData(): void;
|
|
@@ -29,6 +30,12 @@ export declare class StockIssueFormComponent extends TechlifyFormComponentInterf
|
|
|
29
30
|
get locationsCount(): number;
|
|
30
31
|
save(): void;
|
|
31
32
|
onProductChange(product: any): void;
|
|
33
|
+
/**
|
|
34
|
+
* We needed a way to detect when the batch field and items are loaded to then
|
|
35
|
+
* patch the batch field. So we'll wait for the selector to trigger this function when
|
|
36
|
+
* data is loaded
|
|
37
|
+
*/
|
|
38
|
+
onBatchItemsChange(): void;
|
|
32
39
|
private resetBatchSelector;
|
|
33
40
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueFormComponent, never>;
|
|
34
41
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueFormComponent, "app-stock-issue-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>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { EventEmitter, OnInit } from "@angular/core";
|
|
2
|
-
import { ColumnConfig,
|
|
2
|
+
import { ColumnConfig, 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";
|
|
@@ -8,7 +8,6 @@ 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
|
-
private requestHelperService;
|
|
12
11
|
private activatedRoute;
|
|
13
12
|
private router;
|
|
14
13
|
private featureService;
|
|
@@ -19,7 +18,7 @@ export declare class StockReceiptsListPageComponent extends TechlifyListingContr
|
|
|
19
18
|
columnConfig: ColumnConfig[];
|
|
20
19
|
selectedColumns: ColumnConfig[];
|
|
21
20
|
get displayedColumns(): string[];
|
|
22
|
-
constructor(stockReceiptService: StockReceiptService, formBuilder: FormBuilder,
|
|
21
|
+
constructor(stockReceiptService: StockReceiptService, formBuilder: FormBuilder, activatedRoute: ActivatedRoute, router: Router, featureService: TechlifyFeatureService);
|
|
23
22
|
ngOnInit(): void;
|
|
24
23
|
loadData(): void;
|
|
25
24
|
onSortChange(sort: Sort): void;
|
package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { OnInit } from '@angular/core';
|
|
2
2
|
import { StockTransferService } from '../stock-transfer.service';
|
|
3
|
-
import { ErrorHandlerService,
|
|
3
|
+
import { ErrorHandlerService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
4
4
|
import { FormBuilder } from '@angular/forms';
|
|
5
5
|
import { ActivatedRoute } from "@angular/router";
|
|
6
6
|
import { Sort } from "@angular/material/sort";
|
|
@@ -9,11 +9,10 @@ export declare class StockTransferListComponent extends TechlifyListingControlle
|
|
|
9
9
|
private service;
|
|
10
10
|
private fb;
|
|
11
11
|
private errorHandler;
|
|
12
|
-
private requestHelperService;
|
|
13
12
|
private activatedRoute;
|
|
14
13
|
productId: any;
|
|
15
14
|
displayedColumns: string[];
|
|
16
|
-
constructor(service: StockTransferService, fb: FormBuilder, errorHandler: ErrorHandlerService,
|
|
15
|
+
constructor(service: StockTransferService, fb: FormBuilder, errorHandler: ErrorHandlerService, activatedRoute: ActivatedRoute);
|
|
17
16
|
ngOnInit(): void;
|
|
18
17
|
loadData(): void;
|
|
19
18
|
private updateFormWithQueryParams;
|
|
@@ -3,7 +3,7 @@ import { FormBuilder } from '@angular/forms';
|
|
|
3
3
|
import { MatDialog } from '@angular/material/dialog';
|
|
4
4
|
import { ActivatedRoute } from '@angular/router';
|
|
5
5
|
import { NgxSpinnerService } from 'ngx-spinner';
|
|
6
|
-
import { AlertService, ErrorHandlerService, FilterService,
|
|
6
|
+
import { AlertService, ErrorHandlerService, FilterService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
|
|
7
7
|
import { SupplierService } from '../supplier.service';
|
|
8
8
|
import { SupplierFormService } from '../supplier-form/supplier-form.service';
|
|
9
9
|
import * as i0 from "@angular/core";
|
|
@@ -17,11 +17,10 @@ export declare class SuppliersListComponent extends TechlifyListingControllerInt
|
|
|
17
17
|
private alertService;
|
|
18
18
|
private dialog;
|
|
19
19
|
private supplierFormService;
|
|
20
|
-
private requestHelperService;
|
|
21
20
|
displayedColumns: string[];
|
|
22
|
-
constructor(spinner: NgxSpinnerService, fb: FormBuilder, supplierService: SupplierService, errorHandler: ErrorHandlerService, filterService: FilterService, activatedRoute: ActivatedRoute, alertService: AlertService, dialog: MatDialog, supplierFormService: SupplierFormService
|
|
21
|
+
constructor(spinner: NgxSpinnerService, fb: FormBuilder, supplierService: SupplierService, errorHandler: ErrorHandlerService, filterService: FilterService, activatedRoute: ActivatedRoute, alertService: AlertService, dialog: MatDialog, supplierFormService: SupplierFormService);
|
|
23
22
|
ngOnInit(): void;
|
|
24
|
-
|
|
23
|
+
listenFilterChanges(): void;
|
|
25
24
|
sortColumn(event: any): void;
|
|
26
25
|
assignFilter(column: any, direction: any): any;
|
|
27
26
|
loadData(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "techlify-inventory-common",
|
|
3
|
-
"version": "18.24.
|
|
3
|
+
"version": "18.24.1",
|
|
4
4
|
"peerDependencies": {
|
|
5
|
-
"@angular/common": "^18.2.
|
|
6
|
-
"@angular/core": "^18.2.
|
|
5
|
+
"@angular/common": "^18.2.13",
|
|
6
|
+
"@angular/core": "^18.2.13"
|
|
7
7
|
},
|
|
8
8
|
"dependencies": {
|
|
9
9
|
"tslib": "^2.3.0"
|