techlify-inventory-common 18.26.0 → 18.28.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 (70) hide show
  1. package/esm2022/lib/inventory-common/category/category-form/category-form.component.mjs +4 -6
  2. package/esm2022/lib/inventory-common/incident/incident-form/incident-form.component.mjs +4 -7
  3. package/esm2022/lib/inventory-common/incident/incident-list/incident-list.component.mjs +1 -1
  4. package/esm2022/lib/inventory-common/location/location-form/location-form.component.mjs +4 -6
  5. package/esm2022/lib/inventory-common/location/location-list/location-list.component.mjs +1 -1
  6. package/esm2022/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.mjs +1 -1
  7. package/esm2022/lib/inventory-common/location/location-status-changer/location-status-changer.component.mjs +4 -6
  8. package/esm2022/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.mjs +4 -6
  9. package/esm2022/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.mjs +1 -1
  10. package/esm2022/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.mjs +4 -7
  11. package/esm2022/lib/inventory-common/measure/measures-list/measures-list.component.mjs +1 -1
  12. package/esm2022/lib/inventory-common/product/low-stock-products-widget/low-stock-products-widget.component.mjs +1 -1
  13. package/esm2022/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.mjs +4 -6
  14. package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +8 -8
  15. package/esm2022/lib/inventory-common/product/product-location/product-location-list/product-location-list.component.mjs +1 -1
  16. package/esm2022/lib/inventory-common/product/product-quick-search/product-quick-search.component.mjs +1 -1
  17. package/esm2022/lib/inventory-common/rating/rating-form/rating-form.component.mjs +4 -7
  18. package/esm2022/lib/inventory-common/rating/rating-list/rating-list.component.mjs +1 -1
  19. package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +1 -1
  20. package/esm2022/lib/inventory-common/reports/low-stock-report/low-stock-report.component.mjs +1 -1
  21. package/esm2022/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.mjs +4 -7
  22. package/esm2022/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.component.mjs +14 -14
  23. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.mjs +4 -7
  24. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.mjs +15 -14
  25. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.mjs +4 -7
  26. package/esm2022/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.mjs +1 -1
  27. package/esm2022/lib/inventory-common/supplier/supplier-branch-delete-button/supplier-branch-delete-button.component.mjs +63 -0
  28. package/esm2022/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form.component.mjs +4 -7
  29. package/esm2022/lib/inventory-common/supplier/supplier-branches-list/supplier-branches-list.component.mjs +4 -3
  30. package/esm2022/lib/inventory-common/supplier/supplier-form/supplier-form.component.mjs +4 -7
  31. package/esm2022/lib/inventory-common/supplier/supplier.module.mjs +8 -4
  32. package/esm2022/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.mjs +19 -24
  33. package/fesm2022/{techlify-inventory-common-category.module-BkY9hkxM.mjs → techlify-inventory-common-category.module-C5qu8Li1.mjs} +9 -11
  34. package/fesm2022/techlify-inventory-common-category.module-C5qu8Li1.mjs.map +1 -0
  35. package/fesm2022/{techlify-inventory-common-measure.module-Bx4ev2N2.mjs → techlify-inventory-common-measure.module-CrVS3WXL.mjs} +5 -8
  36. package/fesm2022/techlify-inventory-common-measure.module-CrVS3WXL.mjs.map +1 -0
  37. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-9J99m1Rw.mjs → techlify-inventory-common-stock-issue-view.component-cgDRjuD7.mjs} +2 -2
  38. package/fesm2022/{techlify-inventory-common-stock-issue-view.component-9J99m1Rw.mjs.map → techlify-inventory-common-stock-issue-view.component-cgDRjuD7.mjs.map} +1 -1
  39. package/fesm2022/{techlify-inventory-common-techlify-inventory-common-D7rXITcH.mjs → techlify-inventory-common-techlify-inventory-common-V_0lyccf.mjs} +149 -122
  40. package/fesm2022/techlify-inventory-common-techlify-inventory-common-V_0lyccf.mjs.map +1 -0
  41. package/fesm2022/techlify-inventory-common.mjs +1 -1
  42. package/lib/inventory-common/category/category-form/category-form.component.d.ts +2 -3
  43. package/lib/inventory-common/incident/incident-form/incident-form.component.d.ts +2 -4
  44. package/lib/inventory-common/location/location-form/location-form.component.d.ts +3 -4
  45. package/lib/inventory-common/location/location-list/location-list.component.d.ts +1 -1
  46. package/lib/inventory-common/location/location-product-statistics/location-product-statistics.component.d.ts +1 -1
  47. package/lib/inventory-common/location/location-status-changer/location-status-changer.component.d.ts +3 -4
  48. package/lib/inventory-common/location/shelf/shelf-form/shelf-form.component.d.ts +3 -4
  49. package/lib/inventory-common/location/shelf/shelf-list/shelf-list.component.d.ts +1 -1
  50. package/lib/inventory-common/measure/measure-form/measure-form/measure-form.component.d.ts +2 -4
  51. package/lib/inventory-common/product/product-batch-update-form/product-batch-update-form.component.d.ts +2 -3
  52. package/lib/inventory-common/rating/rating-form/rating-form.component.d.ts +2 -4
  53. package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts +1 -1
  54. package/lib/inventory-common/reports/low-stock-report/low-stock-report.component.d.ts +1 -1
  55. package/lib/inventory-common/stock-issuances/stock-issue-form/stock-issue-form/stock-issue-form.component.d.ts +2 -4
  56. package/lib/inventory-common/stock-issuances/stock-issue-list/stock-issue-list.component.d.ts +1 -2
  57. package/lib/inventory-common/stock-receipts/stock-receipt-form/stock-receipt-form/stock-receipt-form.component.d.ts +2 -4
  58. package/lib/inventory-common/stock-receipts/stock-receipts-list-page/stock-receipts-list-page.component.d.ts +1 -2
  59. package/lib/inventory-common/stock-transfer/stock-transfer-form/stock-transfer-form.component.d.ts +3 -5
  60. package/lib/inventory-common/stock-transfer/stock-transfer-list/stock-transfer-list.component.d.ts +1 -1
  61. package/lib/inventory-common/supplier/supplier-branch-delete-button/supplier-branch-delete-button.component.d.ts +18 -0
  62. package/lib/inventory-common/supplier/supplier-branch-form/supplier-branch-form.component.d.ts +3 -5
  63. package/lib/inventory-common/supplier/supplier-branches-list/supplier-branches-list.component.d.ts +1 -1
  64. package/lib/inventory-common/supplier/supplier-form/supplier-form.component.d.ts +2 -4
  65. package/lib/inventory-common/supplier/supplier.module.d.ts +2 -1
  66. package/lib/inventory-common/supplier/suppliers-list/suppliers-list.component.d.ts +2 -5
  67. package/package.json +1 -1
  68. package/fesm2022/techlify-inventory-common-category.module-BkY9hkxM.mjs.map +0 -1
  69. package/fesm2022/techlify-inventory-common-measure.module-Bx4ev2N2.mjs.map +0 -1
  70. package/fesm2022/techlify-inventory-common-techlify-inventory-common-D7rXITcH.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- export { a1 as ExportToExcelButtonComponent, X as IncidentFormButtonComponent, W as IncidentFormComponent, V as IncidentListComponent, R as IncidentModule, U as IncidentService, g as InventoryCommonModule, I as InventoryCommonRoutingModule, a7 as LocationDeleteButtonComponent, a6 as LocationFormButtonComponent, a5 as LocationFormComponent, a4 as LocationListComponent, a2 as LocationModule, a3 as LocationService, M as MeasureService, Q as PayeeSelectorComponent, O as PayeeSelectorModule, j as ProductBasicInfoComponent, r as ProductBatchUpdateFormComponent, k as ProductFormButtonComponent, i as ProductFormComponent, q as ProductFormService, s as ProductImportPageComponent, o as ProductListComponent, P as ProductModule, l as ProductQuickSearchComponent, n as ProductSearchComponent, m as ProductSearchModule, p as ProductService, t as ProductViewPageComponent, a0 as RatingFormButtonComponent, $ as RatingFormComponent, _ as RatingListComponent, Y as RatingModule, Z as RatingService, ad as ShelfDeleteButtonComponent, ac as ShelfFormButtonComponent, ab as ShelfFormComponent, aa as ShelfListComponent, a8 as ShelfModule, a9 as ShelfService, d as StockIssueFormButtonComponent, c as StockIssueFormModule, v as StockIssueListComponent, w as StockIssueListModule, u as StockIssueModule, y as StockReceiptDeleteButtonComponent, B as StockReceiptFormButtonComponent, A as StockReceiptFormModule, C as StockReceiptViewComponent, z as StockReceiptsListPageComponent, x as StockReceiptsModule, h as StockSummaryService, F as StockTransferFormButtonComponent, E as StockTransferFormComponent, D as StockTransferListComponent, G as StockTransferService, J as SupplierFormButtonComponent, K as SupplierFormComponent, H as SupplierModule, N as SupplierTypeService, L as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-D7rXITcH.mjs';
1
+ export { a1 as ExportToExcelButtonComponent, X as IncidentFormButtonComponent, W as IncidentFormComponent, V as IncidentListComponent, R as IncidentModule, U as IncidentService, g as InventoryCommonModule, I as InventoryCommonRoutingModule, a7 as LocationDeleteButtonComponent, a6 as LocationFormButtonComponent, a5 as LocationFormComponent, a4 as LocationListComponent, a2 as LocationModule, a3 as LocationService, M as MeasureService, Q as PayeeSelectorComponent, O as PayeeSelectorModule, j as ProductBasicInfoComponent, r as ProductBatchUpdateFormComponent, k as ProductFormButtonComponent, i as ProductFormComponent, q as ProductFormService, s as ProductImportPageComponent, o as ProductListComponent, P as ProductModule, l as ProductQuickSearchComponent, n as ProductSearchComponent, m as ProductSearchModule, p as ProductService, t as ProductViewPageComponent, a0 as RatingFormButtonComponent, $ as RatingFormComponent, _ as RatingListComponent, Y as RatingModule, Z as RatingService, ad as ShelfDeleteButtonComponent, ac as ShelfFormButtonComponent, ab as ShelfFormComponent, aa as ShelfListComponent, a8 as ShelfModule, a9 as ShelfService, d as StockIssueFormButtonComponent, c as StockIssueFormModule, v as StockIssueListComponent, w as StockIssueListModule, u as StockIssueModule, y as StockReceiptDeleteButtonComponent, B as StockReceiptFormButtonComponent, A as StockReceiptFormModule, C as StockReceiptViewComponent, z as StockReceiptsListPageComponent, x as StockReceiptsModule, h as StockSummaryService, F as StockTransferFormButtonComponent, E as StockTransferFormComponent, D as StockTransferListComponent, G as StockTransferService, J as SupplierFormButtonComponent, K as SupplierFormComponent, H as SupplierModule, N as SupplierTypeService, L as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-V_0lyccf.mjs';
2
2
  //# sourceMappingURL=techlify-inventory-common.mjs.map
@@ -1,17 +1,16 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { CategoryService } from '../category.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class CategoryFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
8
  private categoryService;
9
- private alertService;
10
9
  category: any;
11
10
  saved: EventEmitter<any>;
12
11
  cancelled: EventEmitter<any>;
13
12
  isSaving: boolean;
14
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, categoryService: CategoryService, alertService: AlertService);
13
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, categoryService: CategoryService);
15
14
  save(): void;
16
15
  ngOnInit(): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<CategoryFormComponent, never>;
@@ -1,19 +1,17 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
2
+ import { FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
3
3
  import { FormBuilder } from "@angular/forms";
4
4
  import { IncidentService } from "../incident.service";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class IncidentFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
8
  private incidentService;
10
9
  incident: any;
11
10
  incidentableType: string;
12
11
  incidentableId: number;
13
12
  saved: EventEmitter<any>;
14
13
  cancelled: EventEmitter<any>;
15
- isWorking: boolean;
16
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, incidentService: IncidentService);
14
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, incidentService: IncidentService);
17
15
  ngOnInit(): void;
18
16
  save(): void;
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<IncidentFormComponent, never>;
@@ -1,17 +1,16 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder } from "@angular/forms";
3
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
3
+ import { FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
4
4
  import { LocationService } from '../location.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class LocationFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
- private service;
8
+ protected service: LocationService;
10
9
  model: any;
11
10
  saved: EventEmitter<any>;
12
11
  cancelled: EventEmitter<any>;
13
12
  isSaving: boolean;
14
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, service: LocationService);
13
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, service: LocationService);
15
14
  ngOnInit(): void;
16
15
  save(): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationFormComponent, never>;
@@ -6,7 +6,7 @@ import { Sort } from '@angular/material/sort';
6
6
  import { LocationService } from '../location.service';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class LocationListComponent extends TechlifyListingControllerInterface implements OnInit {
9
- private service;
9
+ protected service: LocationService;
10
10
  private formBuilder;
11
11
  private activatedRoute;
12
12
  displayedColumns: string[];
@@ -6,7 +6,7 @@ import { ActivatedRoute } from '@angular/router';
6
6
  import { Sort } from '@angular/material/sort';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class LocationProductStatisticsComponent extends TechlifyListingControllerInterface implements OnInit {
9
- private service;
9
+ protected service: LocationService;
10
10
  private formBuilder;
11
11
  private activatedRoute;
12
12
  location: any;
@@ -1,16 +1,15 @@
1
1
  import { OnInit } from '@angular/core';
2
- import { AlertService, ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { LocationService } from '../location.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class LocationStatusChangerComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  protected formValidatorService: FormValidatorService;
8
- private service;
8
+ protected service: LocationService;
9
9
  private fb;
10
- private alertService;
11
10
  private errorHandler;
12
11
  location: any;
13
- constructor(formValidatorService: FormValidatorService, service: LocationService, fb: FormBuilder, alertService: AlertService, errorHandler: ErrorHandlerService);
12
+ constructor(formValidatorService: FormValidatorService, service: LocationService, fb: FormBuilder, errorHandler: ErrorHandlerService);
14
13
  ngOnInit(): void;
15
14
  save(): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<LocationStatusChangerComponent, never>;
@@ -1,17 +1,16 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
2
  import { FormBuilder } from "@angular/forms";
3
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
3
+ import { FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
4
4
  import { ShelfService } from "../shelf.service";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class ShelfFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
- private service;
8
+ protected service: ShelfService;
10
9
  model: any;
11
10
  saved: EventEmitter<any>;
12
11
  cancelled: EventEmitter<any>;
13
12
  isSaving: boolean;
14
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, service: ShelfService);
13
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, service: ShelfService);
15
14
  ngOnInit(): void;
16
15
  save(): void;
17
16
  static ɵfac: i0.ɵɵFactoryDeclaration<ShelfFormComponent, never>;
@@ -6,7 +6,7 @@ import { Sort } from "@angular/material/sort";
6
6
  import { ShelfService } from "../shelf.service";
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class ShelfListComponent extends TechlifyListingControllerInterface implements OnInit {
9
- private service;
9
+ protected service: ShelfService;
10
10
  private formBuilder;
11
11
  private activatedRoute;
12
12
  displayedColumns: string[];
@@ -1,17 +1,15 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { MeasureService } from '../../measure.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class MeasureFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
8
  private measureService;
10
9
  measure: any;
11
10
  saved: EventEmitter<any>;
12
11
  cancelled: EventEmitter<any>;
13
- isWorking: boolean;
14
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, measureService: MeasureService);
12
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, measureService: MeasureService);
15
13
  ngOnInit(): void;
16
14
  save(): void;
17
15
  static ɵfac: i0.ɵɵFactoryDeclaration<MeasureFormComponent, never>;
@@ -1,17 +1,16 @@
1
1
  import { EventEmitter } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
+ import { FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
4
4
  import { SelectionModel } from '@angular/cdk/collections';
5
5
  import { ProductBatchService } from '../../product-batch.service';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class ProductBatchUpdateFormComponent extends TechlifyFormComponentInterface {
8
8
  private formBuilder;
9
- private alertService;
10
9
  private batchService;
11
10
  selection: SelectionModel<any>;
12
11
  updated: EventEmitter<any>;
13
12
  isSaving: boolean;
14
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, batchService: ProductBatchService);
13
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, batchService: ProductBatchService);
15
14
  save(): void;
16
15
  static ɵfac: i0.ɵɵFactoryDeclaration<ProductBatchUpdateFormComponent, never>;
17
16
  static ɵcmp: i0.ɵɵComponentDeclaration<ProductBatchUpdateFormComponent, "app-product-batch-update-form", never, { "selection": { "alias": "selection"; "required": false; }; }, { "updated": "updated"; }, never, never, false, never>;
@@ -1,19 +1,17 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
2
+ import { FormValidatorService, TechlifyFormComponentInterface } from "ngx-techlify-core";
3
3
  import { FormBuilder } from "@angular/forms";
4
4
  import { RatingService } from "../rating.service";
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class RatingFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
8
  private ratingService;
10
9
  rating: any;
11
10
  rateableType: string;
12
11
  rateableId: number;
13
12
  saved: EventEmitter<any>;
14
13
  cancelled: EventEmitter<any>;
15
- isWorking: boolean;
16
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, ratingService: RatingService);
14
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, ratingService: RatingService);
17
15
  ngOnInit(): void;
18
16
  save(): void;
19
17
  static ɵfac: i0.ɵɵFactoryDeclaration<RatingFormComponent, never>;
@@ -6,7 +6,7 @@ import { FormBuilder } from '@angular/forms';
6
6
  import { Sort } from '@angular/material/sort';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class InventoryValueReportComponent extends TechlifyListingControllerInterface implements OnInit {
9
- private service;
9
+ protected service: InventoryValueReportService;
10
10
  private activatedRoute;
11
11
  private formBuilder;
12
12
  displayedColumns: string[];
@@ -6,7 +6,7 @@ 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
- private service;
9
+ protected service: LowStockReportService;
10
10
  private activatedRoute;
11
11
  private formBuilder;
12
12
  displayedColumns: string[];
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, DateUtils, FormValidatorService, SearchableSelectorComponent, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { DateUtils, FormValidatorService, SearchableSelectorComponent, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { StockIssueService } from '../../stock-issue.service';
5
5
  import { LocationService } from '../../../location/location.service';
@@ -7,7 +7,6 @@ import * as i0 from "@angular/core";
7
7
  export declare class StockIssueFormComponent extends TechlifyFormComponentInterface implements OnInit {
8
8
  private formBuilder;
9
9
  private stockIssueService;
10
- private alertService;
11
10
  private dateUtils;
12
11
  private locationService;
13
12
  product: any;
@@ -18,11 +17,10 @@ export declare class StockIssueFormComponent extends TechlifyFormComponentInterf
18
17
  saved: EventEmitter<any>;
19
18
  cancelled: EventEmitter<any>;
20
19
  batchSearchableSelector: SearchableSelectorComponent;
21
- isWorking: boolean;
22
20
  private locationsCountValue;
23
21
  batchesApiUrl: string;
24
22
  isBatchPatched: boolean;
25
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssueService: StockIssueService, alertService: AlertService, dateUtils: DateUtils, locationService: LocationService);
23
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockIssueService: StockIssueService, dateUtils: DateUtils, locationService: LocationService);
26
24
  ngOnInit(): void;
27
25
  patchFormData(): void;
28
26
  patchFormProducts(stockIssuance: any): void;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { ColumnConfig, TechlifyFeatureService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
2
+ import { ColumnConfig, TechlifyFeatureService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { Sort } from '@angular/material/sort';
5
5
  import { StockIssueService } from '../stock-issue.service';
@@ -30,7 +30,6 @@ export declare class StockIssueListComponent extends TechlifyListingControllerIn
30
30
  private updateFormWithQueryParams;
31
31
  private subscribeToFormChanges;
32
32
  private subscribeToRouteChanges;
33
- onDurationChange(timelineValue: TimelineValue): void;
34
33
  private loadFeatures;
35
34
  static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueListComponent, never>;
36
35
  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>;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, DateUtils, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { DateUtils, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { StockReceiptService } from '../../stock-receipt.service';
5
5
  import { LocationService } from '../../../location/location.service';
@@ -7,7 +7,6 @@ import * as i0 from "@angular/core";
7
7
  export declare class StockReceiptFormComponent extends TechlifyFormComponentInterface implements OnInit {
8
8
  private formBuilder;
9
9
  private stockReceiptService;
10
- private alertService;
11
10
  private dateUtils;
12
11
  private locationService;
13
12
  product: any;
@@ -16,9 +15,8 @@ export declare class StockReceiptFormComponent extends TechlifyFormComponentInte
16
15
  latestLocationId: any;
17
16
  saved: EventEmitter<any>;
18
17
  cancelled: EventEmitter<any>;
19
- isWorking: boolean;
20
18
  private locationsCountValue;
21
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockReceiptService: StockReceiptService, alertService: AlertService, dateUtils: DateUtils, locationService: LocationService);
19
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, stockReceiptService: StockReceiptService, dateUtils: DateUtils, locationService: LocationService);
22
20
  ngOnInit(): void;
23
21
  patchFormProducts(stockReceiptProduct: any): void;
24
22
  updateFormWithProductArray(stockReceiptProduct: any): void;
@@ -1,5 +1,5 @@
1
1
  import { EventEmitter, OnInit } from "@angular/core";
2
- import { ColumnConfig, TechlifyFeatureService, TechlifyListingControllerInterface, TimelineValue } from 'ngx-techlify-core';
2
+ import { ColumnConfig, TechlifyFeatureService, TechlifyListingControllerInterface } 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";
@@ -25,7 +25,6 @@ export declare class StockReceiptsListPageComponent extends TechlifyListingContr
25
25
  ngOnInit(): void;
26
26
  loadData(): void;
27
27
  onSortChange(sort: Sort): void;
28
- onDurationChange(timelineValue: TimelineValue): void;
29
28
  private updateFormWithQueryParams;
30
29
  private subscribeToFormChanges;
31
30
  private subscribeToRouteChanges;
@@ -1,18 +1,16 @@
1
1
  import { EventEmitter, OnInit } from '@angular/core';
2
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
2
+ import { FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
3
  import { FormBuilder } from '@angular/forms';
4
4
  import { StockTransferService } from '../stock-transfer.service';
5
5
  import * as i0 from "@angular/core";
6
6
  export declare class StockTransferFormComponent extends TechlifyFormComponentInterface implements OnInit {
7
7
  private formBuilder;
8
- private alertService;
9
- private service;
8
+ protected service: StockTransferService;
10
9
  productId: number;
11
10
  locationFrom: any;
12
11
  saved: EventEmitter<any>;
13
12
  cancelled: EventEmitter<any>;
14
- isWorking: boolean;
15
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, service: StockTransferService);
13
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, service: StockTransferService);
16
14
  save(): void;
17
15
  ngOnInit(): void;
18
16
  static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferFormComponent, never>;
@@ -6,7 +6,7 @@ import { ActivatedRoute } from "@angular/router";
6
6
  import { Sort } from "@angular/material/sort";
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class StockTransferListComponent extends TechlifyListingControllerInterface implements OnInit {
9
- private service;
9
+ protected service: StockTransferService;
10
10
  private fb;
11
11
  private errorHandler;
12
12
  private activatedRoute;
@@ -0,0 +1,18 @@
1
+ import { EventEmitter, OnInit } from '@angular/core';
2
+ import { AlertService, ErrorHandlerService } from 'ngx-techlify-core';
3
+ import { MatDialog } from '@angular/material/dialog';
4
+ import { SupplierBranchService } from '../supplier-branch.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class SupplierBranchDeleteButtonComponent implements OnInit {
7
+ private dialog;
8
+ private alertService;
9
+ private errorHandler;
10
+ private supplierBranchService;
11
+ branch: any;
12
+ deleted: EventEmitter<any>;
13
+ constructor(dialog: MatDialog, alertService: AlertService, errorHandler: ErrorHandlerService, supplierBranchService: SupplierBranchService);
14
+ ngOnInit(): void;
15
+ openDialog(): void;
16
+ static ɵfac: i0.ɵɵFactoryDeclaration<SupplierBranchDeleteButtonComponent, never>;
17
+ static ɵcmp: i0.ɵɵComponentDeclaration<SupplierBranchDeleteButtonComponent, "app-supplier-branch-delete-button", never, { "branch": { "alias": "branch"; "required": false; }; }, { "deleted": "deleted"; }, never, never, true, never>;
18
+ }
@@ -1,22 +1,20 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
- import { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
3
+ import { FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
4
4
  import { SupplierBranchService } from '../supplier-branch.service';
5
5
  import { MatDialogRef } from '@angular/material/dialog';
6
6
  import * as i0 from "@angular/core";
7
7
  export declare class SupplierBranchFormComponent extends TechlifyFormComponentInterface implements OnInit {
8
8
  private formBuilder;
9
- private alertService;
10
- private supplierBranchService;
9
+ protected supplierBranchService: SupplierBranchService;
11
10
  data: any;
12
11
  dialogRef: MatDialogRef<SupplierBranchFormComponent>;
13
- isWorking: boolean;
14
12
  errorMessages: {
15
13
  title: {
16
14
  required: string;
17
15
  };
18
16
  };
19
- constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, alertService: AlertService, supplierBranchService: SupplierBranchService, data: any, dialogRef: MatDialogRef<SupplierBranchFormComponent>);
17
+ constructor(formValidatorService: FormValidatorService, formBuilder: FormBuilder, supplierBranchService: SupplierBranchService, data: any, dialogRef: MatDialogRef<SupplierBranchFormComponent>);
20
18
  ngOnInit(): void;
21
19
  save(): void;
22
20
  static ɵfac: i0.ɵɵFactoryDeclaration<SupplierBranchFormComponent, never>;
@@ -6,7 +6,7 @@ import * as i0 from "@angular/core";
6
6
  export declare class SupplierBranchesListComponent extends TechlifyListingControllerInterface implements OnInit {
7
7
  private fb;
8
8
  private errorHandlerService;
9
- private service;
9
+ protected service: SupplierBranchService;
10
10
  supplierId: number | null;
11
11
  displayedColumns: string[];
12
12
  constructor(fb: FormBuilder, errorHandlerService: ErrorHandlerService, service: SupplierBranchService);
@@ -3,21 +3,19 @@ import { OnInit } from '@angular/core';
3
3
  import { FormBuilder, FormGroup } from '@angular/forms';
4
4
  import { MatDialogRef } from '@angular/material/dialog';
5
5
  import { NgxSpinnerService } from 'ngx-spinner';
6
- import { AlertService, ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
6
+ import { ErrorHandlerService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';
7
7
  import * as i0 from "@angular/core";
8
8
  export declare class SupplierFormComponent extends TechlifyFormComponentInterface implements OnInit {
9
9
  private fb;
10
- private alertService;
11
10
  private spinnerService;
12
11
  dialogRef: MatDialogRef<SupplierFormComponent>;
13
12
  private errorService;
14
13
  data: any;
15
14
  private supplierService;
16
15
  errorMessages: any;
17
- isWorking: boolean;
18
16
  isUpdateMode: boolean;
19
17
  supplierForm: FormGroup;
20
- constructor(fb: FormBuilder, formValidatorService: FormValidatorService, alertService: AlertService, spinnerService: NgxSpinnerService, dialogRef: MatDialogRef<SupplierFormComponent>, errorService: ErrorHandlerService, data: any, supplierService: SupplierService);
18
+ constructor(fb: FormBuilder, formValidatorService: FormValidatorService, spinnerService: NgxSpinnerService, dialogRef: MatDialogRef<SupplierFormComponent>, errorService: ErrorHandlerService, data: any, supplierService: SupplierService);
21
19
  ngOnInit(): void;
22
20
  submit(): Promise<void>;
23
21
  /**Method to evaluate form fields*/
@@ -20,8 +20,9 @@ import * as i18 from "../stock-receipts/stock-receipts.module";
20
20
  import * as i19 from "../incident/incident-list/incident-list.component";
21
21
  import * as i20 from "../rating/rating-list/rating-list.component";
22
22
  import * as i21 from "./supplier-branch-form/supplier-branch-form-button/supplier-branch-form-button.component";
23
+ import * as i22 from "./supplier-branch-delete-button/supplier-branch-delete-button.component";
23
24
  export declare class SupplierModule {
24
25
  static ɵfac: i0.ɵɵFactoryDeclaration<SupplierModule, never>;
25
- static ɵmod: i0.ɵɵNgModuleDeclaration<SupplierModule, [typeof i1.SupplierComponent, typeof i2.SupplierViewComponent, typeof i3.SuppliersListComponent, typeof i4.SupplierFormComponent, typeof i5.SupplierInformationComponent, typeof i6.SupplierBranchesListComponent, typeof i7.SupplierBranchFormComponent], [typeof i8.CommonModule, typeof i9.SupplierRoutingModule, typeof i10.MaterialModule, typeof i11.SearchableSelectorModule, typeof i11.AuditLogForModelModule, typeof i11.NoteModule, typeof i12.FlexModule, typeof i13.ReactiveFormsModule, typeof i14.InfiniteScrollDirective, typeof i15.NgxPermissionsModule, typeof i16.SupplierFormButtonComponent, typeof i17.SupplierDeleteButtonComponent, typeof i18.StockReceiptsModule, typeof i19.IncidentListComponent, typeof i20.RatingListComponent, typeof i21.SupplierBranchFormButtonComponent], never>;
26
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SupplierModule, [typeof i1.SupplierComponent, typeof i2.SupplierViewComponent, typeof i3.SuppliersListComponent, typeof i4.SupplierFormComponent, typeof i5.SupplierInformationComponent, typeof i6.SupplierBranchesListComponent, typeof i7.SupplierBranchFormComponent], [typeof i8.CommonModule, typeof i9.SupplierRoutingModule, typeof i10.MaterialModule, typeof i11.SearchableSelectorModule, typeof i11.AuditLogForModelModule, typeof i11.NoteModule, typeof i12.FlexModule, typeof i13.ReactiveFormsModule, typeof i14.InfiniteScrollDirective, typeof i15.NgxPermissionsModule, typeof i16.SupplierFormButtonComponent, typeof i17.SupplierDeleteButtonComponent, typeof i18.StockReceiptsModule, typeof i19.IncidentListComponent, typeof i20.RatingListComponent, typeof i21.SupplierBranchFormButtonComponent, typeof i22.SupplierBranchDeleteButtonComponent], never>;
26
27
  static ɵinj: i0.ɵɵInjectorDeclaration<SupplierModule>;
27
28
  }
@@ -1,9 +1,8 @@
1
1
  import { OnInit } from '@angular/core';
2
2
  import { FormBuilder } from '@angular/forms';
3
- import { MatDialog } from '@angular/material/dialog';
4
3
  import { ActivatedRoute } from '@angular/router';
5
4
  import { NgxSpinnerService } from 'ngx-spinner';
6
- import { AlertService, ErrorHandlerService, FilterService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
5
+ import { ErrorHandlerService, FilterService, TechlifyListingControllerInterface } from 'ngx-techlify-core';
7
6
  import { SupplierService } from '../supplier.service';
8
7
  import { SupplierFormService } from '../supplier-form/supplier-form.service';
9
8
  import * as i0 from "@angular/core";
@@ -14,11 +13,9 @@ export declare class SuppliersListComponent extends TechlifyListingControllerInt
14
13
  private errorHandler;
15
14
  private filterService;
16
15
  private activatedRoute;
17
- private alertService;
18
- private dialog;
19
16
  private supplierFormService;
20
17
  displayedColumns: string[];
21
- constructor(spinner: NgxSpinnerService, fb: FormBuilder, supplierService: SupplierService, errorHandler: ErrorHandlerService, filterService: FilterService, activatedRoute: ActivatedRoute, alertService: AlertService, dialog: MatDialog, supplierFormService: SupplierFormService);
18
+ constructor(spinner: NgxSpinnerService, fb: FormBuilder, supplierService: SupplierService, errorHandler: ErrorHandlerService, filterService: FilterService, activatedRoute: ActivatedRoute, supplierFormService: SupplierFormService);
22
19
  ngOnInit(): void;
23
20
  listenFilterChanges(): void;
24
21
  sortColumn(event: any): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "techlify-inventory-common",
3
- "version": "18.26.0",
3
+ "version": "18.28.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
@@ -1 +0,0 @@
1
- {"version":3,"file":"techlify-inventory-common-category.module-BkY9hkxM.mjs","sources":["../../../projects/inventory-common/src/lib/inventory-common/category/category.service.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category-form/category-form.component.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category-form/category-form.component.html","../../../projects/inventory-common/src/lib/inventory-common/category/category-form-button/category-form-button.component.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category-form-button/category-form-button.component.html","../../../projects/inventory-common/src/lib/inventory-common/category/category-list-page/category-list-page.component.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category-list-page/category-list-page.component.html","../../../projects/inventory-common/src/lib/inventory-common/category/category-view/category-view.component.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category-view/category-view.component.html","../../../projects/inventory-common/src/lib/inventory-common/category/category-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/category/category.module.ts"],"sourcesContent":["import { Injectable } from '@angular/core';\nimport { HttpService, TechlifyServiceBaseClass } from 'ngx-techlify-core';\n\n@Injectable({\n providedIn: 'root',\n})\nexport class CategoryService extends TechlifyServiceBaseClass {\n constructor(httpService: HttpService) {\n super(httpService, 'product-categories');\n }\n}\n","import { Component, EventEmitter, Input, OnInit, Output } from '@angular/core';\nimport { AlertService, FormValidatorService, TechlifyFormComponentInterface } from 'ngx-techlify-core';\nimport { FormBuilder, Validators } from '@angular/forms';\nimport { CategoryService } from '../category.service';\nimport { Observable } from 'rxjs';\n\n@Component({\n selector: 'app-category-form',\n templateUrl: './category-form.component.html',\n styleUrls: ['./category-form.component.scss'],\n})\nexport class CategoryFormComponent extends TechlifyFormComponentInterface implements OnInit {\n @Input() category: any;\n @Output() saved: EventEmitter<any> = new EventEmitter<any>();\n @Output() cancelled: EventEmitter<any> = new EventEmitter<any>();\n\n isSaving: boolean = false;\n constructor(\n formValidatorService: FormValidatorService,\n private formBuilder: FormBuilder,\n private categoryService: CategoryService,\n private alertService: AlertService\n ) {\n super(formValidatorService);\n this.errorMessages = {\n title: {\n required: 'The title field is required.',\n },\n };\n\n this.form = this.formBuilder.group({\n id: [''],\n title: ['', Validators.required],\n description: [''],\n });\n }\n\n save() {\n this.form.markAllAsTouched();\n if (this.form.invalid) {\n this.alertService.addAlert('Please check the form for errors.', 'error');\n return;\n }\n\n this.isSaving = true;\n const data: any = { ...this.form.value };\n let request: Observable<any> = this.categoryService.store(data);\n if (this.category?.id) {\n request = this.categoryService.update(data);\n }\n request.subscribe({\n next: (response: any) => {\n this.isSaving = false;\n this.alertService.addAlert('Category saved successfully!', 'success');\n this.saved.emit(response?.item);\n },\n error: () => {\n this.isSaving = false;\n },\n });\n }\n\n ngOnInit(): void {\n if (this.category) {\n this.form.patchValue({ ...this.category });\n }\n }\n}\n","<form [formGroup]=\"form\" (submit)=\"save()\" class=\"d-flex flex-column justify-content-start\">\n <mat-form-field>\n <mat-label>Title</mat-label>\n <input type=\"text\" matInput formControlName=\"title\" placeholder=\"Title\" />\n <mat-error *ngIf=\"isFieldValid('title')\">\n {{ getErrorMessage('title') }}\n </mat-error>\n </mat-form-field>\n\n <mat-form-field>\n <mat-label>Description</mat-label>\n <textarea matInput formControlName=\"description\" placeholder=\"Description\"></textarea>\n </mat-form-field>\n\n <div class=\"d-flex justify-content-end align-items-center gap-2\">\n <button [disabled]=\"isSaving\" type=\"submit\" mat-raised-button color=\"primary\">Save</button>\n <button [disabled]=\"isSaving\" type=\"button\" mat-flat-button (click)=\"cancelled.emit()\">Cancel</button>\n </div>\n</form>\n","import { Component, EventEmitter, Input, Output, TemplateRef } from '@angular/core';\nimport { MatDialog } from '@angular/material/dialog';\n\n@Component({\n selector: 'app-category-form-button',\n templateUrl: './category-form-button.component.html',\n styleUrls: ['./category-form-button.component.scss'],\n})\nexport class CategoryFormButtonComponent {\n @Input() category: any;\n @Output() saved: EventEmitter<any> = new EventEmitter<any>();\n\n constructor(public matDialog: MatDialog) {}\n\n showCategoryForm(templateRef: TemplateRef<any>) {\n this.matDialog.open(templateRef, { width: '500px' });\n }\n\n onCategorySaved(category: any) {\n this.matDialog.closeAll();\n this.saved.emit(category);\n }\n}\n","<mat-icon *ngIf=\"!category\" color=\"primary\" class=\"cursor-pointer\" (click)=\"showCategoryForm(categoryFormTemplate)\">\n add\n</mat-icon>\n\n<mat-icon *ngIf=\"category\" class=\"cursor-pointer\" (click)=\"showCategoryForm(categoryFormTemplate)\"> edit </mat-icon>\n\n<ng-template #categoryFormTemplate>\n <h3 class=\"mb-0\" mat-dialog-title>{{ category ? 'Edit' : 'Create' }} Category</h3>\n <small class=\"text-secondary px-4\"> Note that category names are unique and cannot be duplicated. </small>\n <div mat-dialog-content>\n <app-category-form\n class=\"mt-3\"\n [category]=\"category\"\n (saved)=\"onCategorySaved($event)\"\n (cancelled)=\"matDialog.closeAll()\"\n ></app-category-form>\n </div>\n</ng-template>\n","import { Component } from '@angular/core';\nimport { TechlifyListingControllerInterface } from 'ngx-techlify-core';\nimport { FormBuilder } from '@angular/forms';\nimport { CategoryService } from '../category.service';\nimport { Sort } from '@angular/material/sort';\n\n@Component({\n selector: 'app-category-list-page',\n templateUrl: './category-list-page.component.html',\n styleUrls: ['./category-list-page.component.scss'],\n})\nexport class CategoryListPageComponent extends TechlifyListingControllerInterface {\n filterConfig = {\n search: {\n placeholder: 'Search category title, description',\n },\n };\n displayedColumns: string[] = ['no', 'title', 'description', 'products', 'actions'];\n\n constructor(private formBuilder: FormBuilder, private categoryService: CategoryService) {\n super();\n this.filterForm = this.formBuilder.group({\n search: [''],\n sort_by: ['created_at|desc'],\n });\n }\n\n override loadData() {\n this.isWorking = true;\n const params: any = { ...this.filterForm.value };\n params.perPage = this.perPage;\n params.page = this.page;\n params.withCount = 'products';\n\n this.categoryService.index(params).subscribe({\n next: (response: any) => {\n this.models = this.models.concat(response?.data);\n this.lastPage = response?.last_page;\n this.isWorking = false;\n },\n error: () => (this.isWorking = false),\n });\n }\n\n onSortChange(sort: Sort) {\n let { active, direction } = sort;\n if (!active) active = 'created_at';\n if (!direction) direction = 'desc';\n\n this.filterForm.get('sort_by').setValue(active + '|' + direction);\n }\n}\n","<mat-card>\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <h3 class=\"mb-0\">Product Categories</h3>\n <app-category-form-button (saved)=\"reload()\"></app-category-form-button>\n </div>\n <app-techlify-filter\n [filterForm]=\"filterForm\"\n (filterUpdated)=\"reload()\"\n [filterConfig]=\"filterConfig\"\n ></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"mt-2\">\n <mat-card-content class=\"p-0\">\n <table\n mat-table\n [dataSource]=\"models\"\n class=\"w-100\"\n aria-describedby=\"Product Categories\"\n infiniteScroll\n [infiniteScrollDistance]=\"2\"\n [infiniteScrollThrottle]=\"50\"\n (scrolled)=\"onScroll()\"\n matSort\n (matSortChange)=\"onSortChange($event)\"\n >\n <!-- # Column -->\n <ng-container matColumnDef=\"no\">\n <th mat-header-cell *matHeaderCellDef>#</th>\n <td mat-cell *matCellDef=\"let element; let i = index\">{{ i + 1 }}</td>\n </ng-container>\n\n <!-- Title Column -->\n <ng-container matColumnDef=\"title\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Title</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.title }}</td>\n </ng-container>\n\n <!-- Description Column -->\n <ng-container matColumnDef=\"description\">\n <th mat-header-cell *matHeaderCellDef>Description</th>\n <td mat-cell *matCellDef=\"let element\">{{ element?.description }}</td>\n </ng-container>\n\n <!-- Products Column -->\n <ng-container matColumnDef=\"products\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header=\"products_count\">Products</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.products_count }}\n </td>\n </ng-container>\n\n <!-- Actions Column -->\n <ng-container matColumnDef=\"actions\">\n <th mat-header-cell *matHeaderCellDef>Actions</th>\n <td mat-cell *matCellDef=\"let element\">\n <div class=\"d-flex justify-content-start align-items-center gap-2\">\n <app-category-form-button [category]=\"element\" (saved)=\"reload()\"></app-category-form-button>\n <a class=\"text-decoration-none text-dark\" [routerLink]=\"[element?.id, 'view']\">\n <mat-icon class=\"text-dark\">visibility</mat-icon>\n </a>\n </div>\n </td>\n </ng-container>\n\n <tr mat-header-row *matHeaderRowDef=\"displayedColumns\"></tr>\n <tr mat-row *matRowDef=\"let row; columns: displayedColumns\"></tr>\n </table>\n\n <mat-progress-bar *ngIf=\"isWorking\" mode=\"indeterminate\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n","import { Component, OnInit } from '@angular/core';\nimport { ActivatedRoute } from '@angular/router';\nimport { CategoryService } from '../category.service';\n\n@Component({\n selector: 'app-category-view',\n templateUrl: './category-view.component.html',\n styleUrl: './category-view.component.scss',\n})\nexport class CategoryViewComponent implements OnInit {\n id!: number;\n isWorking = false;\n model: any;\n constructor(private activatedRoute: ActivatedRoute, private service: CategoryService) {\n this.id = parseInt(this.activatedRoute.snapshot.params['id']);\n }\n\n ngOnInit() {\n if (this.id) {\n this.loadData();\n }\n }\n\n loadData() {\n this.isWorking = true;\n this.service.show(this.id).subscribe({\n next: (response: any) => {\n this.isWorking = false;\n this.model = response?.item;\n },\n error: (error: any) => {\n this.isWorking = false;\n },\n });\n }\n}\n","<mat-progress-bar mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n\n<div style=\"max-width: 250px\" *ngIf=\"model\" class=\"d-flex flex-column gap-3\">\n <mat-card>\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-2\">\n <h3 class=\"fw-bold\">Information</h3>\n <div class=\"d-flex justify-content-end align-items-center\">\n <app-category-form-button [category]=\"model\" (saved)=\"loadData()\"></app-category-form-button>\n </div>\n </mat-card-content>\n <mat-divider class=\"mt-2\"></mat-divider>\n <mat-card-content class=\"mt-3\">\n <div class=\"d-flex flex-column justify-content-start gap-0\">\n <small class=\"text-secondary\">Title</small>\n <p>{{ model?.title }}</p>\n </div>\n <div *ngIf=\"model?.description\" class=\"d-flex flex-column justify-content-start gap-0\">\n <small class=\"text-secondary\">Description</small>\n <p>{{ model?.description }}</p>\n </div>\n </mat-card-content>\n </mat-card>\n\n <app-note-list\n labelText=\"Notes\"\n viewMode=\"timeline\"\n modelType=\"ProductCategory\"\n [relatedModelId]=\"model?.id\"\n ></app-note-list>\n</div>\n","import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { CategoryListPageComponent } from './category-list-page/category-list-page.component';\nimport { CategoryViewComponent } from './category-view/category-view.component';\n\nconst routes: Routes = [\n {\n path: '',\n component: CategoryListPageComponent,\n },\n {\n path: ':id/view',\n component: CategoryViewComponent,\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class CategoryRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { CategoryRoutingModule } from './category-routing.module';\nimport { CategoryListPageComponent } from './category-list-page/category-list-page.component';\nimport { MatCardModule } from '@angular/material/card';\nimport { CategoryFormButtonComponent } from './category-form-button/category-form-button.component';\nimport { MatIconModule } from '@angular/material/icon';\nimport { CategoryFormComponent } from './category-form/category-form.component';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { ReactiveFormsModule } from '@angular/forms';\nimport { InfiniteScrollModule } from 'ngx-infinite-scroll';\nimport { MaterialModule, NoteModule } from 'ngx-techlify-core';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { TechlifyFilterModule } from '../techlify-filter/techlify-filter.module';\nimport { CategoryViewComponent } from './category-view/category-view.component';\n\n@NgModule({\n declarations: [CategoryListPageComponent, CategoryFormButtonComponent, CategoryFormComponent, CategoryViewComponent],\n imports: [\n CommonModule,\n CategoryRoutingModule,\n MatCardModule,\n MatIconModule,\n MatDialogModule,\n ReactiveFormsModule,\n MaterialModule,\n TechlifyFilterModule,\n InfiniteScrollModule,\n MatProgressBarModule,\n NoteModule,\n ],\n exports: [CategoryFormButtonComponent],\n})\nexport class CategoryModule {}\n"],"names":["i3.CategoryService","i4","i5","i6","i7","i1","i2","i3","i4.CategoryFormComponent","i2.CategoryService","i8","i9","i10.TechlifyFilterComponent","i11","i12.CategoryFormButtonComponent","i8.CategoryFormButtonComponent"],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;AAMM,MAAO,eAAgB,SAAQ,wBAAwB,CAAA;AAC3D,IAAA,WAAA,CAAY,WAAwB,EAAA;AAClC,QAAA,KAAK,CAAC,WAAW,EAAE,oBAAoB,CAAC,CAAC;KAC1C;wGAHU,eAAe,EAAA,IAAA,EAAA,CAAA,EAAA,KAAA,EAAA,EAAA,CAAA,WAAA,EAAA,CAAA,EAAA,MAAA,EAAA,EAAA,CAAA,eAAA,CAAA,UAAA,EAAA,CAAA,CAAA;AAAf,IAAA,OAAA,KAAA,GAAA,EAAA,CAAA,qBAAA,CAAA,EAAA,UAAA,EAAA,QAAA,EAAA,OAAA,EAAA,SAAA,EAAA,QAAA,EAAA,EAAA,EAAA,IAAA,EAAA,eAAe,cAFd,MAAM,EAAA,CAAA,CAAA;;4FAEP,eAAe,EAAA,UAAA,EAAA,CAAA;kBAH3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