techlify-inventory-common 18.3.1 → 18.4.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.
- package/esm2022/lib/inventory-common/product/product-basic-info/product-basic-info.component.mjs +3 -3
- package/esm2022/lib/inventory-common/product/product-list/product-list.component.mjs +27 -10
- package/esm2022/lib/inventory-common/product/product-view-page/product-view-page.component.mjs +7 -8
- package/esm2022/lib/inventory-common/product/product.module.mjs +8 -4
- package/esm2022/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.mjs +10 -5
- package/esm2022/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.mjs +58 -0
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-list/stock-issuances-list.component.mjs +9 -8
- package/esm2022/lib/inventory-common/stock-issuances/stock-issuances-routing.module.mjs +8 -1
- package/esm2022/lib/inventory-common/stock-issuances/stock-issue-import-page/stock-issue-import-page.component.mjs +59 -0
- package/fesm2022/{techlify-inventory-common-category.module-BsvJ6rVx.mjs → techlify-inventory-common-category.module-_JKaLvuW.mjs} +6 -6
- package/fesm2022/{techlify-inventory-common-category.module-BsvJ6rVx.mjs.map → techlify-inventory-common-category.module-_JKaLvuW.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-location.module-Cwx9mHKE.mjs → techlify-inventory-common-location.module-CRNxXB2w.mjs} +2 -2
- package/fesm2022/{techlify-inventory-common-location.module-Cwx9mHKE.mjs.map → techlify-inventory-common-location.module-CRNxXB2w.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-measure.module-C2v0-n_m.mjs → techlify-inventory-common-measure.module-CSIT2OcZ.mjs} +4 -4
- package/fesm2022/{techlify-inventory-common-measure.module-C2v0-n_m.mjs.map → techlify-inventory-common-measure.module-CSIT2OcZ.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-stock-issuances.module-CPccetrp.mjs → techlify-inventory-common-stock-issuances.module-Bb4lQY0y.mjs} +63 -3
- package/fesm2022/techlify-inventory-common-stock-issuances.module-Bb4lQY0y.mjs.map +1 -0
- package/fesm2022/{techlify-inventory-common-supplier.module-CYq-2pV1.mjs → techlify-inventory-common-supplier.module-B3nhDpg0.mjs} +6 -6
- package/fesm2022/{techlify-inventory-common-supplier.module-CYq-2pV1.mjs.map → techlify-inventory-common-supplier.module-B3nhDpg0.mjs.map} +1 -1
- package/fesm2022/{techlify-inventory-common-techlify-inventory-common-BMNkSTd6.mjs → techlify-inventory-common-techlify-inventory-common-BNjTAiEI.mjs} +466 -388
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BNjTAiEI.mjs.map +1 -0
- package/fesm2022/techlify-inventory-common.mjs +1 -1
- package/lib/inventory-common/product/product-list/product-list.component.d.ts +2 -0
- package/lib/inventory-common/product/product.module.d.ts +2 -1
- package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts +1 -0
- package/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.d.ts +12 -0
- package/lib/inventory-common/stock-issuances/stock-issue-import-page/stock-issue-import-page.component.d.ts +10 -0
- package/package.json +1 -1
- package/fesm2022/techlify-inventory-common-stock-issuances.module-CPccetrp.mjs.map +0 -1
- package/fesm2022/techlify-inventory-common-techlify-inventory-common-BMNkSTd6.mjs.map +0 -1
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export { j as InventoryCommonModule, I as InventoryCommonRoutingModule, k as StockSummaryService, d as TechlifyFilterComponent, e as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-
|
|
1
|
+
export { j as InventoryCommonModule, I as InventoryCommonRoutingModule, k as StockSummaryService, d as TechlifyFilterComponent, e as TechlifyFilterModule } from './techlify-inventory-common-techlify-inventory-common-BNjTAiEI.mjs';
|
|
2
2
|
//# sourceMappingURL=techlify-inventory-common.mjs.map
|
|
@@ -15,6 +15,7 @@ export declare class ProductListComponent extends TechlifyListingControllerInter
|
|
|
15
15
|
private requestHelperService;
|
|
16
16
|
private productFormService;
|
|
17
17
|
selection: SelectionModel<any>;
|
|
18
|
+
exportInProgress: boolean;
|
|
18
19
|
columnConfig: ColumnConfig[];
|
|
19
20
|
selectedColumns: ColumnConfig[];
|
|
20
21
|
get displayedColumns(): string[];
|
|
@@ -28,6 +29,7 @@ export declare class ProductListComponent extends TechlifyListingControllerInter
|
|
|
28
29
|
/** Selects all rows if they are not all selected; otherwise clear selection. */
|
|
29
30
|
toggleAllRows(): void;
|
|
30
31
|
checkboxLabel(row?: any): string;
|
|
32
|
+
handleExport(hideColumns: boolean): void;
|
|
31
33
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductListComponent, never>;
|
|
32
34
|
static ɵcmp: i0.ɵɵComponentDeclaration<ProductListComponent, "app-product-list", never, {}, {}, never, never, false, never>;
|
|
33
35
|
}
|
|
@@ -24,8 +24,9 @@ import * as i22 from "@angular/flex-layout";
|
|
|
24
24
|
import * as i23 from "@angular/forms";
|
|
25
25
|
import * as i24 from "./product-location/product-location-list/product-location-list.component";
|
|
26
26
|
import * as i25 from "../stock-transfer/stock-transfer-list/stock-transfer-list.component";
|
|
27
|
+
import * as i26 from "../shared/export-to-excel-button/export-to-excel-button.component";
|
|
27
28
|
export declare class ProductModule {
|
|
28
29
|
static ɵfac: i0.ɵɵFactoryDeclaration<ProductModule, never>;
|
|
29
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof i1.ProductListComponent, typeof i2.ProductFormComponent, typeof i3.ProductNavBarComponent, typeof i4.ProductMeasuresListComponent, typeof i5.ProductMeasureFormComponent, typeof i6.ProductViewPageComponent, typeof i7.ProductFormButtonComponent, typeof i8.ProductDeleteButtonComponent, typeof i9.ProductBasicInfoComponent, typeof i10.ProductImportPageComponent, typeof i11.ProductBatchUpdateFormComponent], [typeof i12.CommonModule, typeof i13.ProductRoutingModule, typeof i14.SearchableSelectorModule, typeof i14.TimelineFilterModule, typeof i15.StockReceiptFormModule, typeof i16.StockIssueFormModule, typeof i14.ImportCsvModule, typeof i17.StockReceiptsModule, typeof i18.StockIssuancesListModule, typeof i19.ProductTaxModule, typeof i14.MaterialModule, typeof i20.MatProgressBarModule, typeof i21.InfiniteScrollModule, typeof i22.FlexModule, typeof i23.ReactiveFormsModule, typeof i23.FormsModule, typeof i14.ColumnSelectorModule, typeof i24.ProductLocationListComponent, typeof i25.StockTransferListComponent], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent]>;
|
|
30
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<ProductModule, [typeof i1.ProductListComponent, typeof i2.ProductFormComponent, typeof i3.ProductNavBarComponent, typeof i4.ProductMeasuresListComponent, typeof i5.ProductMeasureFormComponent, typeof i6.ProductViewPageComponent, typeof i7.ProductFormButtonComponent, typeof i8.ProductDeleteButtonComponent, typeof i9.ProductBasicInfoComponent, typeof i10.ProductImportPageComponent, typeof i11.ProductBatchUpdateFormComponent], [typeof i12.CommonModule, typeof i13.ProductRoutingModule, typeof i14.SearchableSelectorModule, typeof i14.TimelineFilterModule, typeof i15.StockReceiptFormModule, typeof i16.StockIssueFormModule, typeof i14.ImportCsvModule, typeof i17.StockReceiptsModule, typeof i18.StockIssuancesListModule, typeof i19.ProductTaxModule, typeof i14.MaterialModule, typeof i20.MatProgressBarModule, typeof i21.InfiniteScrollModule, typeof i22.FlexModule, typeof i23.ReactiveFormsModule, typeof i23.FormsModule, typeof i14.ColumnSelectorModule, typeof i24.ProductLocationListComponent, typeof i25.StockTransferListComponent, typeof i26.ExportToExcelButtonComponent], [typeof i2.ProductFormComponent, typeof i9.ProductBasicInfoComponent, typeof i7.ProductFormButtonComponent]>;
|
|
30
31
|
static ɵinj: i0.ɵɵInjectorDeclaration<ProductModule>;
|
|
31
32
|
}
|
package/lib/inventory-common/reports/inventory-value-report/inventory-value-report.component.d.ts
CHANGED
|
@@ -21,6 +21,7 @@ export declare class InventoryValueReportComponent extends TechlifyListingContro
|
|
|
21
21
|
private subscribeToRouteChanges;
|
|
22
22
|
onSortChange(sort: Sort): void;
|
|
23
23
|
export(type?: string): void;
|
|
24
|
+
reload(): void;
|
|
24
25
|
static ɵfac: i0.ɵɵFactoryDeclaration<InventoryValueReportComponent, never>;
|
|
25
26
|
static ɵcmp: i0.ɵɵComponentDeclaration<InventoryValueReportComponent, "app-inventory-value-report", never, {}, {}, never, never, true, never>;
|
|
26
27
|
}
|
package/lib/inventory-common/shared/export-to-excel-button/export-to-excel-button.component.d.ts
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { EventEmitter } from '@angular/core';
|
|
2
|
+
import * as i0 from "@angular/core";
|
|
3
|
+
export declare class ExportToExcelButtonComponent {
|
|
4
|
+
tableId: string;
|
|
5
|
+
fileName: string;
|
|
6
|
+
onExportStart: EventEmitter<any>;
|
|
7
|
+
onExportEnd: EventEmitter<any>;
|
|
8
|
+
exportexcel(): void;
|
|
9
|
+
downloadExcelSheet(): void;
|
|
10
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<ExportToExcelButtonComponent, never>;
|
|
11
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<ExportToExcelButtonComponent, "app-export-to-excel-button", never, { "tableId": { "alias": "tableId"; "required": false; }; "fileName": { "alias": "fileName"; "required": false; }; }, { "onExportStart": "onExportStart"; "onExportEnd": "onExportEnd"; }, never, never, true, never>;
|
|
12
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { OnInit } from '@angular/core';
|
|
2
|
+
import { ImportCsvConfig } from 'ngx-techlify-core';
|
|
3
|
+
import * as i0 from "@angular/core";
|
|
4
|
+
export declare class StockIssueImportPageComponent implements OnInit {
|
|
5
|
+
importConfig: ImportCsvConfig;
|
|
6
|
+
constructor();
|
|
7
|
+
ngOnInit(): void;
|
|
8
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockIssueImportPageComponent, never>;
|
|
9
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockIssueImportPageComponent, "app-stock-issue-import-page", never, {}, {}, never, never, true, never>;
|
|
10
|
+
}
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"techlify-inventory-common-stock-issuances.module-CPccetrp.mjs","sources":["../../../projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances-routing.module.ts","../../../projects/inventory-common/src/lib/inventory-common/stock-issuances/stock-issuances.module.ts"],"sourcesContent":["import { NgModule } from '@angular/core';\nimport { RouterModule, Routes } from '@angular/router';\nimport { StockIssuancesListComponent } from './stock-issuances-list/stock-issuances-list.component';\n\nconst routes: Routes = [\n {\n path: '',\n component: StockIssuancesListComponent,\n },\n];\n\n@NgModule({\n imports: [RouterModule.forChild(routes)],\n exports: [RouterModule],\n})\nexport class StockIssuancesRoutingModule {}\n","import { NgModule } from '@angular/core';\nimport { CommonModule } from '@angular/common';\n\nimport { StockIssuancesRoutingModule } from './stock-issuances-routing.module';\nimport { MatCardModule } from '@angular/material/card';\nimport { InfiniteScrollModule } from 'ngx-infinite-scroll';\nimport { MatProgressBarModule } from '@angular/material/progress-bar';\nimport { MatSortModule } from '@angular/material/sort';\nimport { MatTableModule } from '@angular/material/table';\nimport { StockReceiptFormModule } from '../stock-receipts/stock-receipt-form/stock-receipt-form.module';\nimport { StockIssueFormModule } from './stock-issue-form/stock-issue-form.module';\nimport { MatDialogModule } from '@angular/material/dialog';\nimport { MatButtonModule } from '@angular/material/button';\nimport { StockIssuancesListModule } from './stock-issuances-list/stock-issuances-list.module';\nimport { TechlifyFilterModule } from '../techlify-filter/techlify-filter.module';\n\n@NgModule({\n declarations: [],\n exports: [],\n imports: [\n CommonModule,\n StockIssuancesRoutingModule,\n MatCardModule,\n TechlifyFilterModule,\n InfiniteScrollModule,\n MatProgressBarModule,\n MatSortModule,\n MatTableModule,\n StockReceiptFormModule,\n StockIssueFormModule,\n MatDialogModule,\n MatButtonModule,\n StockIssuancesListModule,\n ],\n})\nexport class StockIssuancesModule {}\n"],"names":[],"mappings":";;;;;;;;;;;;;;AAIA,M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