techlify-inventory-common 18.45.0 → 18.47.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 (35) hide show
  1. package/esm2022/lib/inventory-common/measure/measure-list/measure-list.component.mjs +75 -0
  2. package/esm2022/lib/inventory-common/measure/measure-routing.module.mjs +3 -3
  3. package/esm2022/lib/inventory-common/measure/measure.module.mjs +4 -4
  4. package/esm2022/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.mjs +7 -5
  5. package/esm2022/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.mjs +81 -0
  6. package/esm2022/lib/inventory-common/stock-allocation/stock-allocation.service.mjs +16 -0
  7. package/esm2022/lib/inventory-common/stock-issue/stock-issue-product-view/stock-issue-product-view.component.mjs +59 -0
  8. package/esm2022/lib/inventory-common/stock-issue/stock-issue-products-list/stock-issue-products-list.component.mjs +3 -3
  9. package/esm2022/lib/inventory-common/stock-issue/stock-issue-routing.module.mjs +6 -1
  10. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-list/stock-receipt-product-list.component.mjs +3 -3
  11. package/esm2022/lib/inventory-common/stock-receipts/stock-receipt-product-view/stock-receipt-product-view.component.mjs +59 -0
  12. package/esm2022/lib/inventory-common/stock-receipts/stock-receipts-routing.module.mjs +6 -1
  13. package/fesm2022/{techlify-inventory-common-category.module-D1l7dua9.mjs → techlify-inventory-common-category.module-BL0mKMMU.mjs} +11 -11
  14. package/fesm2022/{techlify-inventory-common-category.module-D1l7dua9.mjs.map → techlify-inventory-common-category.module-BL0mKMMU.mjs.map} +1 -1
  15. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-Bumakb5M.mjs → techlify-inventory-common-purchase-order-view.component-BDdTC81P.mjs} +8 -8
  16. package/fesm2022/{techlify-inventory-common-purchase-order-view.component-Bumakb5M.mjs.map → techlify-inventory-common-purchase-order-view.component-BDdTC81P.mjs.map} +1 -1
  17. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-BeTQ9t-g.mjs → techlify-inventory-common-stock-issue-form.component-B-5myP-N.mjs} +7 -7
  18. package/fesm2022/{techlify-inventory-common-stock-issue-form.component-BeTQ9t-g.mjs.map → techlify-inventory-common-stock-issue-form.component-B-5myP-N.mjs.map} +1 -1
  19. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-Di1fJWqD.mjs +60 -0
  20. package/fesm2022/techlify-inventory-common-stock-issue-product-view.component-Di1fJWqD.mjs.map +1 -0
  21. package/fesm2022/{techlify-inventory-common-stock-issue-view.component--rs8hgm5.mjs → techlify-inventory-common-stock-issue-view.component-DfntkifG.mjs} +9 -9
  22. package/fesm2022/{techlify-inventory-common-stock-issue-view.component--rs8hgm5.mjs.map → techlify-inventory-common-stock-issue-view.component-DfntkifG.mjs.map} +1 -1
  23. package/fesm2022/{techlify-inventory-common-techlify-inventory-common-dhFANY2r.mjs → techlify-inventory-common-techlify-inventory-common-BbtWdC-G.mjs} +349 -213
  24. package/fesm2022/techlify-inventory-common-techlify-inventory-common-BbtWdC-G.mjs.map +1 -0
  25. package/fesm2022/techlify-inventory-common.mjs +1 -1
  26. package/lib/inventory-common/measure/{measures-list/measures-list.component.d.ts → measure-list/measure-list.component.d.ts} +3 -3
  27. package/lib/inventory-common/measure/measure.module.d.ts +2 -2
  28. package/lib/inventory-common/reports/stock-issue-summary-report/stock-issue-summary-report.component.d.ts +1 -0
  29. package/lib/inventory-common/stock-allocation/stock-allocation-list/stock-allocation-list.component.d.ts +19 -0
  30. package/lib/inventory-common/stock-allocation/stock-allocation.service.d.ts +7 -0
  31. package/lib/inventory-common/stock-issue/stock-issue-product-view/stock-issue-product-view.component.d.ts +19 -0
  32. package/lib/inventory-common/stock-receipts/stock-receipt-product-view/stock-receipt-product-view.component.d.ts +19 -0
  33. package/package.json +1 -1
  34. package/esm2022/lib/inventory-common/measure/measures-list/measures-list.component.mjs +0 -75
  35. package/fesm2022/techlify-inventory-common-techlify-inventory-common-dhFANY2r.mjs.map +0 -1
@@ -1,2 +1,2 @@
1
- export { a8 as ExportToExcelButtonComponent, a2 as IncidentFormButtonComponent, a1 as IncidentFormComponent, a0 as IncidentListComponent, _ as IncidentModule, $ as IncidentService, c as InventoryCommonModule, I as InventoryCommonRoutingModule, ac as LocationFormButtonComponent, ab as LocationFormComponent, aa as LocationListComponent, a9 as LocationModule, L as LocationService, O as MeasureModule, Q as MeasureService, Z as PayeeSelectorComponent, Y as PayeeSelectorModule, g as ProductBasicInfoComponent, o as ProductBatchUpdateFormComponent, h as ProductFormButtonComponent, f as ProductFormComponent, n as ProductFormService, p as ProductImportPageComponent, l as ProductListComponent, e as ProductModule, i as ProductQuickSearchComponent, k as ProductSearchComponent, j as ProductSearchModule, m as ProductService, q as ProductViewPageComponent, a7 as RatingFormButtonComponent, a6 as RatingFormComponent, a5 as RatingListComponent, a3 as RatingModule, a4 as RatingService, ah as ShelfFormButtonComponent, ag as ShelfFormComponent, af as ShelfListComponent, ad as ShelfModule, ae as ShelfService, v as StockIssueListComponent, r as StockIssueModule, s as StockIssuePageComponent, t as StockIssuePageModule, z as StockIssueProductFormButtonComponent, y as StockIssueProductFormComponent, w as StockIssueProductListComponent, x as StockIssueProductService, u as StockIssueSingleProductFormComponent, C as StockReceiptListComponent, B as StockReceiptPageComponent, H as StockReceiptProductFormButtonComponent, G as StockReceiptProductFormComponent, D as StockReceiptProductsListComponent, E as StockReceiptSingleProductFormComponent, F as StockReceiptViewComponent, A as StockReceiptsModule, d as StockSummaryService, K as StockTransferFormComponent, J as StockTransferListComponent, N as StockTransferService, U as SupplierFormButtonComponent, V as SupplierFormComponent, R as SupplierModule, X as SupplierTypeService, W as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-dhFANY2r.mjs';
1
+ export { aa as ExportToExcelButtonComponent, a4 as IncidentFormButtonComponent, a3 as IncidentFormComponent, a2 as IncidentListComponent, a0 as IncidentModule, a1 as IncidentService, f as InventoryCommonModule, I as InventoryCommonRoutingModule, ae as LocationFormButtonComponent, ad as LocationFormComponent, ac as LocationListComponent, ab as LocationModule, L as LocationService, R as MeasureModule, U as MeasureService, $ as PayeeSelectorComponent, _ as PayeeSelectorModule, j as ProductBasicInfoComponent, r as ProductBatchUpdateFormComponent, k as ProductFormButtonComponent, i as ProductFormComponent, q as ProductFormService, s as ProductImportPageComponent, o as ProductListComponent, h as ProductModule, l as ProductQuickSearchComponent, n as ProductSearchComponent, m as ProductSearchModule, p as ProductService, t as ProductViewPageComponent, a9 as RatingFormButtonComponent, a8 as RatingFormComponent, a7 as RatingListComponent, a5 as RatingModule, a6 as RatingService, aj as ShelfFormButtonComponent, ai as ShelfFormComponent, ah as ShelfListComponent, af as ShelfModule, ag as ShelfService, y as StockIssueListComponent, u as StockIssueModule, v as StockIssuePageComponent, w as StockIssuePageModule, B as StockIssueProductFormButtonComponent, A as StockIssueProductFormComponent, z as StockIssueProductListComponent, c as StockIssueProductService, x as StockIssueSingleProductFormComponent, E as StockReceiptListComponent, D as StockReceiptPageComponent, K as StockReceiptProductFormButtonComponent, J as StockReceiptProductFormComponent, F as StockReceiptProductsListComponent, G as StockReceiptSingleProductFormComponent, H as StockReceiptViewComponent, C as StockReceiptsModule, g as StockSummaryService, O as StockTransferFormComponent, N as StockTransferListComponent, Q as StockTransferService, W as SupplierFormButtonComponent, X as SupplierFormComponent, V as SupplierModule, Z as SupplierTypeService, Y as SuppliersListComponent, T as TechlifyFilterComponent, a as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-BbtWdC-G.mjs';
2
2
  //# sourceMappingURL=techlify-inventory-common.mjs.map
@@ -5,7 +5,7 @@ import { MeasureService } from '../measure.service';
5
5
  import { Sort } from '@angular/material/sort';
6
6
  import { MeasureFormComponent } from '../measure-form/measure-form.component';
7
7
  import * as i0 from "@angular/core";
8
- export declare class MeasuresListComponent extends TechlifyListComponent implements OnInit {
8
+ export declare class MeasureListComponent extends TechlifyListComponent implements OnInit {
9
9
  private formBuilder;
10
10
  protected service: MeasureService;
11
11
  measureForm: import("@angular/core").WritableSignal<typeof MeasureFormComponent>;
@@ -14,6 +14,6 @@ export declare class MeasuresListComponent extends TechlifyListComponent impleme
14
14
  ngOnInit(): void;
15
15
  loadData(): void;
16
16
  onSortChange(sort: Sort): void;
17
- static ɵfac: i0.ɵɵFactoryDeclaration<MeasuresListComponent, never>;
18
- static ɵcmp: i0.ɵɵComponentDeclaration<MeasuresListComponent, "app-measure-list", never, {}, {}, never, never, false, never>;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<MeasureListComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<MeasureListComponent, "app-measure-list", never, {}, {}, never, never, false, never>;
19
19
  }
@@ -1,5 +1,5 @@
1
1
  import * as i0 from "@angular/core";
2
- import * as i1 from "./measures-list/measures-list.component";
2
+ import * as i1 from "./measure-list/measure-list.component";
3
3
  import * as i2 from "@angular/common";
4
4
  import * as i3 from "./measure-routing.module";
5
5
  import * as i4 from "ngx-techlify-core";
@@ -9,6 +9,6 @@ import * as i7 from "ngx-infinite-scroll";
9
9
  import * as i8 from "@angular/material/progress-bar";
10
10
  export declare class MeasureModule {
11
11
  static ɵfac: i0.ɵɵFactoryDeclaration<MeasureModule, never>;
12
- static ɵmod: i0.ɵɵNgModuleDeclaration<MeasureModule, [typeof i1.MeasuresListComponent], [typeof i2.CommonModule, typeof i3.MeasureRoutingModule, typeof i4.MaterialModule, typeof i5.SharedModule, typeof i6.TechlifyFilterModule, typeof i7.InfiniteScrollModule, typeof i8.MatProgressBarModule], never>;
12
+ static ɵmod: i0.ɵɵNgModuleDeclaration<MeasureModule, [typeof i1.MeasureListComponent], [typeof i2.CommonModule, typeof i3.MeasureRoutingModule, typeof i4.MaterialModule, typeof i5.SharedModule, typeof i6.TechlifyFilterModule, typeof i7.InfiniteScrollModule, typeof i8.MatProgressBarModule], never>;
13
13
  static ɵinj: i0.ɵɵInjectorDeclaration<MeasureModule>;
14
14
  }
@@ -8,6 +8,7 @@ interface LocationGroup {
8
8
  models: any[];
9
9
  grand_total_quantity: number;
10
10
  grand_total_avco: number;
11
+ grand_total_fifo_value: number;
11
12
  }
12
13
  export declare class StockIssueSummaryReportComponent extends TechlifyListComponent implements OnInit {
13
14
  protected service: StockIssueProductDataService;
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { FormBuilder } from '@angular/forms';
3
+ import { ColumnConfig, TechlifyListComponent } from 'ngx-techlify-core';
4
+ import { StockAllocationService } from '../stock-allocation.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class StockAllocationListComponent extends TechlifyListComponent implements OnInit {
7
+ protected service: StockAllocationService;
8
+ private formBuilder;
9
+ stockIssueProductId: import("@angular/core").InputSignal<number | null>;
10
+ stockReceiptProductId: import("@angular/core").InputSignal<number | null>;
11
+ selectedColumns: import("@angular/core").ModelSignal<ColumnConfig[]>;
12
+ columnConfig: ColumnConfig[];
13
+ get displayedColumns(): string[];
14
+ constructor(service: StockAllocationService, formBuilder: FormBuilder);
15
+ ngOnInit(): void;
16
+ loadData(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockAllocationListComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<StockAllocationListComponent, "app-stock-allocation-list", never, { "stockIssueProductId": { "alias": "stockIssueProductId"; "required": false; "isSignal": true; }; "stockReceiptProductId": { "alias": "stockReceiptProductId"; "required": false; "isSignal": true; }; "selectedColumns": { "alias": "selectedColumns"; "required": false; "isSignal": true; }; }, { "selectedColumns": "selectedColumnsChange"; }, never, never, true, never>;
19
+ }
@@ -0,0 +1,7 @@
1
+ import { HttpService, TechlifyService } from 'ngx-techlify-core';
2
+ import * as i0 from "@angular/core";
3
+ export declare class StockAllocationService extends TechlifyService {
4
+ constructor(httpService: HttpService);
5
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockAllocationService, never>;
6
+ static ɵprov: i0.ɵɵInjectableDeclaration<StockAllocationService>;
7
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Location } from '@angular/common';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { StockIssueProductService } from '../stock-issue-product.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class StockIssueProductViewComponent implements OnInit {
7
+ private activatedRoute;
8
+ protected service: StockIssueProductService;
9
+ private location;
10
+ id: number;
11
+ isLoading: boolean;
12
+ model: any;
13
+ constructor(activatedRoute: ActivatedRoute, service: StockIssueProductService, location: Location);
14
+ ngOnInit(): void;
15
+ loadData(): void;
16
+ redirectBack(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueProductViewComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueProductViewComponent, "app-stock-issue-product-view", never, {}, {}, never, never, true, never>;
19
+ }
@@ -0,0 +1,19 @@
1
+ import { OnInit } from '@angular/core';
2
+ import { Location } from '@angular/common';
3
+ import { ActivatedRoute } from '@angular/router';
4
+ import { StockReceiptProductService } from '../stock-receipt-product.service';
5
+ import * as i0 from "@angular/core";
6
+ export declare class StockReceiptProductViewComponent implements OnInit {
7
+ private activatedRoute;
8
+ protected service: StockReceiptProductService;
9
+ private location;
10
+ id: number;
11
+ isLoading: boolean;
12
+ model: any;
13
+ constructor(activatedRoute: ActivatedRoute, service: StockReceiptProductService, location: Location);
14
+ ngOnInit(): void;
15
+ loadData(): void;
16
+ redirectBack(): void;
17
+ static ɵfac: i0.ɵɵFactoryDeclaration<StockReceiptProductViewComponent, never>;
18
+ static ɵcmp: i0.ɵɵComponentDeclaration<StockReceiptProductViewComponent, "app-stock-receipt-product-view", never, {}, {}, never, never, true, never>;
19
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "techlify-inventory-common",
3
- "version": "18.45.0",
3
+ "version": "18.47.0",
4
4
  "peerDependencies": {
5
5
  "@angular/common": "^18.2.13",
6
6
  "@angular/core": "^18.2.13"
@@ -1,75 +0,0 @@
1
- import { Component, signal } from '@angular/core';
2
- import { TechlifyListComponent } from 'ngx-techlify-core';
3
- import { MeasureFormComponent } from '../measure-form/measure-form.component';
4
- import * as i0 from "@angular/core";
5
- import * as i1 from "@angular/forms";
6
- import * as i2 from "../measure.service";
7
- import * as i3 from "@angular/common";
8
- import * as i4 from "@angular/router";
9
- import * as i5 from "@angular/material/sort";
10
- import * as i6 from "@angular/material/table";
11
- import * as i7 from "@angular/material/card";
12
- import * as i8 from "@angular/material/progress-bar";
13
- import * as i9 from "ngx-infinite-scroll";
14
- import * as i10 from "ngx-techlify-core";
15
- import * as i11 from "../../techlify-filter/techlify-filter.component";
16
- export class MeasuresListComponent extends TechlifyListComponent {
17
- formBuilder;
18
- service;
19
- measureForm = signal(MeasureFormComponent);
20
- displayedColumns = [
21
- 'no',
22
- 'title',
23
- 'products',
24
- 'quantity_measure',
25
- 'description',
26
- 'actions'
27
- ];
28
- constructor(formBuilder, service) {
29
- super();
30
- this.formBuilder = formBuilder;
31
- this.service = service;
32
- this.filterForm = this.formBuilder.group({
33
- search: [''],
34
- sort_by: ['created_at|desc'],
35
- });
36
- }
37
- ngOnInit() {
38
- this.loadData();
39
- }
40
- loadData() {
41
- const params = {
42
- page: this.page,
43
- perPage: this.perPage,
44
- withCount: 'products',
45
- ...this.filterForm.value,
46
- };
47
- this.isWorking = true;
48
- this.service.index(params).subscribe({
49
- next: (response) => {
50
- this.isWorking = false;
51
- this.models = this.models.concat(response?.data);
52
- this.lastPage = response?.last_page;
53
- },
54
- error: () => (this.isWorking = false),
55
- });
56
- }
57
- onSortChange(sort) {
58
- let { active, direction } = sort;
59
- if (!active) {
60
- active = 'created_at';
61
- }
62
- if (!direction) {
63
- direction = 'desc';
64
- active = 'created_at';
65
- }
66
- this.filterForm.get('sort_by').setValue(active + '|' + direction);
67
- }
68
- static ɵfac = i0.ɵɵngDeclareFactory({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MeasuresListComponent, deps: [{ token: i1.FormBuilder }, { token: i2.MeasureService }], target: i0.ɵɵFactoryTarget.Component });
69
- static ɵcmp = i0.ɵɵngDeclareComponent({ minVersion: "14.0.0", version: "18.2.14", type: MeasuresListComponent, selector: "app-measure-list", usesInheritance: true, ngImport: i0, template: "<mat-card class=\"mb-2\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-center align-items-center gap-2\">\n <h3 class=\"mb-0\">Measures</h3>\n <app-techlify-form-button [component]=\"measureForm()\" [width]=\"'500px'\"\n (saved)=\"reload()\"></app-techlify-form-button>\n </div>\n <app-techlify-filter [filterForm]=\"filterForm\" (filterUpdated)=\"reload()\"></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Service Centers\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" matSort\n (matSortChange)=\"onSortChange($event)\">\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\">\n {{ element?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"products\">\n <th mat-header-cell *matHeaderCellDef>Products</th>\n <td mat-cell *matCellDef=\"let element\">\n <a\n class=\"cursor-pointer text-dark text-decoration-none\"\n [routerLink]=\"['/inventory/products']\"\n [queryParams]=\"{ measure_ids: element.id }\"\n >\n {{ element?.products_count }} products\n </a>\n </td>\n </ng-container>\n\n <!-- Quantity Measure Column -->\n <ng-container matColumnDef=\"quantity_measure\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Quantity Measure</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity_measure }}\n </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 <!-- 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-techlify-form-button [component]=\"measureForm()\" [model]=\"element\" [width]=\"'500px'\"\n (saved)=\"reload()\" *ngIf=\"element?.client_id\"></app-techlify-form-button>\n <app-techlify-delete-button [service]=\"service\" [model]=\"element\"\n [data]=\"{ type: 'Measure', title: element?.title }\" (deleted)=\"reload()\"\n *ngIf=\"element?.client_id && element?.products_count == 0\"></app-techlify-delete-button>\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 mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n", styles: [""], dependencies: [{ kind: "directive", type: i3.NgIf, selector: "[ngIf]", inputs: ["ngIf", "ngIfThen", "ngIfElse"] }, { kind: "directive", type: i4.RouterLink, selector: "[routerLink]", inputs: ["target", "queryParams", "fragment", "queryParamsHandling", "state", "info", "relativeTo", "preserveFragment", "skipLocationChange", "replaceUrl", "routerLink"] }, { kind: "directive", type: i5.MatSort, selector: "[matSort]", inputs: ["matSortActive", "matSortStart", "matSortDirection", "matSortDisableClear", "matSortDisabled"], outputs: ["matSortChange"], exportAs: ["matSort"] }, { kind: "component", type: i5.MatSortHeader, selector: "[mat-sort-header]", inputs: ["mat-sort-header", "arrowPosition", "start", "disabled", "sortActionDescription", "disableClear"], exportAs: ["matSortHeader"] }, { kind: "component", type: i6.MatTable, selector: "mat-table, table[mat-table]", exportAs: ["matTable"] }, { kind: "directive", type: i6.MatHeaderCellDef, selector: "[matHeaderCellDef]" }, { kind: "directive", type: i6.MatHeaderRowDef, selector: "[matHeaderRowDef]", inputs: ["matHeaderRowDef", "matHeaderRowDefSticky"] }, { kind: "directive", type: i6.MatColumnDef, selector: "[matColumnDef]", inputs: ["matColumnDef"] }, { kind: "directive", type: i6.MatCellDef, selector: "[matCellDef]" }, { kind: "directive", type: i6.MatRowDef, selector: "[matRowDef]", inputs: ["matRowDefColumns", "matRowDefWhen"] }, { kind: "directive", type: i6.MatHeaderCell, selector: "mat-header-cell, th[mat-header-cell]" }, { kind: "directive", type: i6.MatCell, selector: "mat-cell, td[mat-cell]" }, { kind: "component", type: i6.MatHeaderRow, selector: "mat-header-row, tr[mat-header-row]", exportAs: ["matHeaderRow"] }, { kind: "component", type: i6.MatRow, selector: "mat-row, tr[mat-row]", exportAs: ["matRow"] }, { kind: "component", type: i7.MatCard, selector: "mat-card", inputs: ["appearance"], exportAs: ["matCard"] }, { kind: "directive", type: i7.MatCardContent, selector: "mat-card-content" }, { kind: "component", type: i8.MatProgressBar, selector: "mat-progress-bar", inputs: ["color", "value", "bufferValue", "mode"], outputs: ["animationEnd"], exportAs: ["matProgressBar"] }, { kind: "directive", type: i9.InfiniteScrollDirective, selector: "[infiniteScroll], [infinite-scroll], [data-infinite-scroll]", inputs: ["infiniteScrollDistance", "infiniteScrollUpDistance", "infiniteScrollThrottle", "infiniteScrollDisabled", "infiniteScrollContainer", "scrollWindow", "immediateCheck", "horizontal", "alwaysCallback", "fromRoot"], outputs: ["scrolled", "scrolledUp"] }, { kind: "component", type: i10.TechlifyDeleteButtonComponent, selector: "app-techlify-delete-button", inputs: ["data", "model", "message", "service"], outputs: ["deleted"] }, { kind: "component", type: i10.TechlifyFormButtonComponent, selector: "app-techlify-form-button", inputs: ["component", "model", "data", "width"], outputs: ["saved"] }, { kind: "component", type: i11.TechlifyFilterComponent, selector: "app-techlify-filter", inputs: ["filterForm", "filterConfig"], outputs: ["filterUpdated"] }], preserveWhitespaces: true });
70
- }
71
- i0.ɵɵngDeclareClassMetadata({ minVersion: "12.0.0", version: "18.2.14", ngImport: i0, type: MeasuresListComponent, decorators: [{
72
- type: Component,
73
- args: [{ selector: 'app-measure-list', template: "<mat-card class=\"mb-2\">\n <mat-card-content class=\"d-flex justify-content-between align-items-center gap-3\">\n <div class=\"d-flex justify-content-center align-items-center gap-2\">\n <h3 class=\"mb-0\">Measures</h3>\n <app-techlify-form-button [component]=\"measureForm()\" [width]=\"'500px'\"\n (saved)=\"reload()\"></app-techlify-form-button>\n </div>\n <app-techlify-filter [filterForm]=\"filterForm\" (filterUpdated)=\"reload()\"></app-techlify-filter>\n </mat-card-content>\n</mat-card>\n\n<mat-card class=\"p-0\">\n <mat-card-content>\n <table mat-table [dataSource]=\"models\" class=\"w-100\" aria-describedby=\"Service Centers\" infiniteScroll\n [infiniteScrollDistance]=\"2\" [infiniteScrollThrottle]=\"50\" (scrolled)=\"onScroll()\" matSort\n (matSortChange)=\"onSortChange($event)\">\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\">\n {{ element?.title }}\n </td>\n </ng-container>\n\n <ng-container matColumnDef=\"products\">\n <th mat-header-cell *matHeaderCellDef>Products</th>\n <td mat-cell *matCellDef=\"let element\">\n <a\n class=\"cursor-pointer text-dark text-decoration-none\"\n [routerLink]=\"['/inventory/products']\"\n [queryParams]=\"{ measure_ids: element.id }\"\n >\n {{ element?.products_count }} products\n </a>\n </td>\n </ng-container>\n\n <!-- Quantity Measure Column -->\n <ng-container matColumnDef=\"quantity_measure\">\n <th mat-header-cell *matHeaderCellDef mat-sort-header>Quantity Measure</th>\n <td mat-cell *matCellDef=\"let element\">\n {{ element?.quantity_measure }}\n </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 <!-- 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-techlify-form-button [component]=\"measureForm()\" [model]=\"element\" [width]=\"'500px'\"\n (saved)=\"reload()\" *ngIf=\"element?.client_id\"></app-techlify-form-button>\n <app-techlify-delete-button [service]=\"service\" [model]=\"element\"\n [data]=\"{ type: 'Measure', title: element?.title }\" (deleted)=\"reload()\"\n *ngIf=\"element?.client_id && element?.products_count == 0\"></app-techlify-delete-button>\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 mode=\"indeterminate\" *ngIf=\"isWorking\"></mat-progress-bar>\n </mat-card-content>\n</mat-card>\n" }]
74
- }], ctorParameters: () => [{ type: i1.FormBuilder }, { type: i2.MeasureService }] });
75
- //# sourceMappingURL=data:application/json;base64,eyJ2ZXJzaW9uIjozLCJmaWxlIjoibWVhc3VyZXMtbGlzdC5jb21wb25lbnQuanMiLCJzb3VyY2VSb290IjoiIiwic291cmNlcyI6WyIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnZlbnRvcnktY29tbW9uL3NyYy9saWIvaW52ZW50b3J5LWNvbW1vbi9tZWFzdXJlL21lYXN1cmVzLWxpc3QvbWVhc3VyZXMtbGlzdC5jb21wb25lbnQudHMiLCIuLi8uLi8uLi8uLi8uLi8uLi8uLi9wcm9qZWN0cy9pbnZlbnRvcnktY29tbW9uL3N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