@colijnit/sharedcomponents 261.20.12 → 261.20.13
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/fesm2022/colijnit-sharedcomponents.mjs +1587 -1321
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +117 -59
- package/lib/components/stock/components/stock-location/components/stock-print-sticker/style/_layout.scss +4 -0
- package/lib/components/stock/components/stock-location/components/stock-print-sticker/style/_material-definition.scss +0 -0
- package/lib/components/stock/components/stock-location/components/stock-print-sticker/style/_theme.scss +4 -0
- package/lib/components/stock/components/stock-location/components/stock-print-sticker/style/material.scss +4 -0
- package/lib/components/stock/stock-transfer/components/stock-transfer-print-sticker/style/_layout.scss +4 -0
- package/lib/components/stock/stock-transfer/components/stock-transfer-print-sticker/style/_material-definition.scss +0 -0
- package/lib/components/stock/stock-transfer/components/stock-transfer-print-sticker/style/_theme.scss +4 -0
- package/lib/components/stock/stock-transfer/components/stock-transfer-print-sticker/style/material.scss +4 -0
- package/package.json +1 -1
- package/3rdpartylicenses.txt +0 -3272
- package/browser/chunk-5PPHQWL6.js +0 -5
- package/browser/chunk-FK6H3RFT.js +0 -1
- package/browser/chunk-H5HZ6YB3.js +0 -1
- package/browser/chunk-IZEX6TRK.js +0 -2
- package/browser/chunk-JXHTPMR7.js +0 -5
- package/browser/favicon.ico +0 -0
- package/browser/index.html +0 -13
- package/browser/main-6I3OLYQ4.js +0 -289
- package/browser/polyfills-5FDKUQTZ.js +0 -2
- package/browser/styles-2FET3LTB.css +0 -1
- package/prerendered-routes.json +0 -3
package/index.d.ts
CHANGED
|
@@ -54,14 +54,16 @@ import { EmailActivityRequest } from '@colijnit/mainapi/build/model/email-activi
|
|
|
54
54
|
import { Form } from '@colijnit/mainapi/build/model/form.bo';
|
|
55
55
|
import { FormResponse } from '@colijnit/mainapi/build/model/form-response.bo';
|
|
56
56
|
import { SequenceName } from '@colijnit/mainapi/build/enum/sequence-name.enum';
|
|
57
|
+
import { PrintStockStickersRequest } from '@colijnit/mainapi/build/model/print-stock-stickers-request';
|
|
58
|
+
import { PrintTransferStickersRequest } from '@colijnit/mainapi/build/model/print-transfer-stickers-request';
|
|
59
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
60
|
+
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
57
61
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
58
62
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
59
63
|
import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType, CoreDialogService, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, ColorSequenceService, IconListItem, ColorSequenceName, InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
60
64
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
61
65
|
import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
|
|
62
66
|
import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
|
|
63
|
-
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
64
|
-
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
65
67
|
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
66
68
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
67
69
|
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
@@ -344,6 +346,11 @@ declare class SharedConnectorService {
|
|
|
344
346
|
updateFormResponse(formResponse: FormResponse): Promise<FormResponse>;
|
|
345
347
|
lockFormResponse(formResponseId: number): Promise<boolean>;
|
|
346
348
|
unlockFormResponse(formResponseId: number): Promise<boolean>;
|
|
349
|
+
getStockStickerEmailLayouts(): Promise<ReportLayoutSelectionEmail[]>;
|
|
350
|
+
getStockStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
351
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<boolean>;
|
|
352
|
+
getTransferStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
353
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<boolean>;
|
|
347
354
|
commit(): Promise<boolean>;
|
|
348
355
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedConnectorService, never>;
|
|
349
356
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedConnectorService>;
|
|
@@ -368,6 +375,7 @@ declare class StockService {
|
|
|
368
375
|
stockStickers: PrintStockStickers;
|
|
369
376
|
printLayoutParams: SendMethodParams;
|
|
370
377
|
constructor(_sharedService: SharedConnectorService);
|
|
378
|
+
refreshStockInformation: EventEmitter<void>;
|
|
371
379
|
getStockHistory(data: GetStockHistoryRequest): Promise<StockHistoryBo[]>;
|
|
372
380
|
getStockInformation(data: ArticleStock): Promise<ArticleStock$1[]>;
|
|
373
381
|
getArticleDetails(data: ArticleStockManagement): Promise<ArticleDetailsBo[]>;
|
|
@@ -379,7 +387,6 @@ declare class StockService {
|
|
|
379
387
|
getArticleTransaction(data: ArticleTransaction): Promise<ArticleTransaction$1[]>;
|
|
380
388
|
stockPrognose(goodId: number, warehouseNumber: number): Promise<StockForecast[]>;
|
|
381
389
|
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
382
|
-
commit(): Promise<boolean>;
|
|
383
390
|
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
384
391
|
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
385
392
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
|
|
@@ -508,6 +515,7 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
508
515
|
readonly icons: typeof Icon;
|
|
509
516
|
handleStickerClicked: EventEmitter<any>;
|
|
510
517
|
set article(articleOrGoodId: ArticleExtended | number);
|
|
518
|
+
branchNr: number;
|
|
511
519
|
articleWarehouse: any[];
|
|
512
520
|
allWarehouses: any[];
|
|
513
521
|
readonly okButtonClicked: EventEmitter<any>;
|
|
@@ -547,9 +555,10 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
547
555
|
getStockManagementWarehouses(): void;
|
|
548
556
|
private _handleSettingsLoaded;
|
|
549
557
|
private _initConnection;
|
|
558
|
+
private _resetStockInformation;
|
|
550
559
|
loadData(): void;
|
|
551
560
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockComponent, never>;
|
|
552
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockComponent, "co-stock", never, { "article": { "alias": "article"; "required": false; }; "articleWarehouse": { "alias": "articleWarehouse"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; }, { "handleStickerClicked": "handleStickerClicked"; "okButtonClicked": "okButtonClicked"; "cancelButtonClicked": "cancelButtonClicked"; "handleClick": "handleClick"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
561
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockComponent, "co-stock", never, { "article": { "alias": "article"; "required": false; }; "branchNr": { "alias": "branchNr"; "required": false; }; "articleWarehouse": { "alias": "articleWarehouse"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; }, { "handleStickerClicked": "handleStickerClicked"; "okButtonClicked": "okButtonClicked"; "cancelButtonClicked": "cancelButtonClicked"; "handleClick": "handleClick"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
553
562
|
}
|
|
554
563
|
|
|
555
564
|
declare class StockInformationComponent {
|
|
@@ -640,12 +649,11 @@ declare class StockInformationGridComponent {
|
|
|
640
649
|
declare class StockTransferComponent implements AfterViewInit {
|
|
641
650
|
private _stockService;
|
|
642
651
|
iconCacheService: IconCacheService;
|
|
643
|
-
|
|
652
|
+
readonly icons: typeof Icon;
|
|
644
653
|
stockSticker: PrintStockStickers$1;
|
|
645
654
|
article: ArticleStock$1;
|
|
646
655
|
articleToTransfer: ArticleDetailsBo;
|
|
647
656
|
allWarehouses: any[];
|
|
648
|
-
showStockTransfer: boolean;
|
|
649
657
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
650
658
|
articleFlat: ArticleFlat;
|
|
651
659
|
articleDetailsInformation: ArticleStockManagement;
|
|
@@ -653,20 +661,17 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
653
661
|
selectedLocationNo: string;
|
|
654
662
|
articleStockInfo: ArticleDetailsBo[];
|
|
655
663
|
stockLocations: StockLocation[];
|
|
656
|
-
handleClick: EventEmitter<number>;
|
|
657
664
|
handleStickerClicked: EventEmitter<any>;
|
|
658
|
-
|
|
659
|
-
showStockTransferChange: EventEmitter<boolean>;
|
|
665
|
+
handleTogglePopup: EventEmitter<void>;
|
|
660
666
|
showSendMethodDialog: boolean;
|
|
661
667
|
transferFull: boolean;
|
|
662
668
|
warehouses: StockManagementWarehouses[];
|
|
663
669
|
stockState: StockStatus[];
|
|
664
670
|
locations: StockLocation[];
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
constructor(_stockService: StockService, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
671
|
+
transferStickerPrintRequest: PrintTransferStickersRequest;
|
|
672
|
+
constructor(_stockService: StockService, iconCacheService: IconCacheService);
|
|
668
673
|
ngAfterViewInit(): void;
|
|
669
|
-
handleOkClick(data: ArticleDetailsBo): void
|
|
674
|
+
handleOkClick(data: ArticleDetailsBo): Promise<void>;
|
|
670
675
|
onCloseClick(): void;
|
|
671
676
|
handleSelectedWarehouse(event: StockManagementWarehouses): void;
|
|
672
677
|
handleSelectedLocation(event: StockLocation): void;
|
|
@@ -675,8 +680,9 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
675
680
|
getStockManagementWarehouses(): void;
|
|
676
681
|
getStockManagementLocations(): void;
|
|
677
682
|
getStockState(): void;
|
|
683
|
+
private _buildStickerPrintRequest;
|
|
678
684
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferComponent, never>;
|
|
679
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferComponent, "co-stock-transfer", never, { "stockSticker": { "alias": "stockSticker"; "required": false; }; "article": { "alias": "article"; "required": false; }; "articleToTransfer": { "alias": "articleToTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "
|
|
685
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferComponent, "co-stock-transfer", never, { "stockSticker": { "alias": "stockSticker"; "required": false; }; "article": { "alias": "article"; "required": false; }; "articleToTransfer": { "alias": "articleToTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "selectedArticleDetailsData": { "alias": "selectedArticleDetailsData"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; "articleDetailsInformation": { "alias": "articleDetailsInformation"; "required": false; }; "selectedWarehouse": { "alias": "selectedWarehouse"; "required": false; }; "selectedLocationNo": { "alias": "selectedLocationNo"; "required": false; }; "articleStockInfo": { "alias": "articleStockInfo"; "required": false; }; "stockLocations": { "alias": "stockLocations"; "required": false; }; }, { "handleStickerClicked": "handleStickerClicked"; "handleTogglePopup": "handleTogglePopup"; }, never, never, false, never>;
|
|
680
686
|
}
|
|
681
687
|
|
|
682
688
|
declare class StockChangeAmountComponent implements AfterViewInit {
|
|
@@ -723,7 +729,7 @@ declare class StockTabComponent {
|
|
|
723
729
|
declare abstract class BaseStockComponent implements OnInit {
|
|
724
730
|
goodId: number;
|
|
725
731
|
ngOnInit(): void;
|
|
726
|
-
protected getData():
|
|
732
|
+
protected getData(): void;
|
|
727
733
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseStockComponent, never>;
|
|
728
734
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseStockComponent, never, never, { "goodId": { "alias": "goodId"; "required": false; }; }, {}, never, never, true, never>;
|
|
729
735
|
}
|
|
@@ -733,7 +739,9 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
733
739
|
private _stockService;
|
|
734
740
|
private _changeDetector;
|
|
735
741
|
readonly icons: typeof Icon;
|
|
742
|
+
protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
736
743
|
stockLocations: StockLocation[];
|
|
744
|
+
warehouseNo: number;
|
|
737
745
|
showStockTransfer: boolean;
|
|
738
746
|
allWarehouses: any[];
|
|
739
747
|
articleFlat: ArticleFlat;
|
|
@@ -742,7 +750,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
742
750
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
743
751
|
handleStickerClicked: EventEmitter<any>;
|
|
744
752
|
showStockTransferChange: EventEmitter<boolean>;
|
|
745
|
-
handleTransactionClick: EventEmitter<
|
|
753
|
+
handleTransactionClick: EventEmitter<string>;
|
|
746
754
|
data: ArticleTransaction$1[];
|
|
747
755
|
selectedRow: ArticleTransaction$1 | null;
|
|
748
756
|
articleDetails: ArticleDetailsBo;
|
|
@@ -758,7 +766,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
758
766
|
handleTransactionNavigation(transNr: string): void;
|
|
759
767
|
getGridData(): void;
|
|
760
768
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderTabComponent, never>;
|
|
761
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTabComponent, "co-order-tab", never, { "showStockTransfer": { "alias": "showStockTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; }, { "locationClicked": "locationClicked"; "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; "showStockTransferChange": "showStockTransferChange"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
769
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderTabComponent, "co-order-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "showStockTransfer": { "alias": "showStockTransfer"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; }, { "locationClicked": "locationClicked"; "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; "showStockTransferChange": "showStockTransferChange"; "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
762
770
|
}
|
|
763
771
|
|
|
764
772
|
interface Tab {
|
|
@@ -777,23 +785,22 @@ declare class StockTabsComponent implements OnInit {
|
|
|
777
785
|
stockInformation: ArticleStock$1[];
|
|
778
786
|
article: ArticleExtended;
|
|
779
787
|
articleFlat: ArticleFlat;
|
|
780
|
-
showStockTransfer: boolean;
|
|
781
788
|
warehouses: StockManagementWarehouses[];
|
|
782
789
|
readonly transferIconClicked: EventEmitter<ArticleStock$1>;
|
|
783
790
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
784
|
-
|
|
791
|
+
handleSalesOrderClick: EventEmitter<string>;
|
|
792
|
+
handlePurchaseOrderClick: EventEmitter<string>;
|
|
785
793
|
selectedWarehouse: StockManagementWarehouses;
|
|
786
794
|
tabs: Tab[];
|
|
787
795
|
historyTabs: Tab[];
|
|
788
796
|
constructor(_stockService: StockService, _dictionaryService: SharedComponentsDictionaryService, _changeDetector: ChangeDetectorRef, _stockScreenConfigService: StockModuleScreenConfigService);
|
|
789
797
|
ngOnInit(): void;
|
|
790
|
-
onShowStockTransferChange(show: boolean): void;
|
|
791
798
|
handleLocationClicked(data: string): void;
|
|
792
799
|
handleWarehouseSelected(event: StockManagementWarehouses): void;
|
|
793
800
|
getStockData(warehouse: StockManagementWarehouses): void;
|
|
794
801
|
wareHouseForCode(code: number): StockManagementWarehouses;
|
|
795
802
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTabsComponent, never>;
|
|
796
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockTabsComponent, "co-stock-tabs", never, { "stockInformation": { "alias": "stockInformation"; "required": false; }; "article": { "alias": "article"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; "
|
|
803
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockTabsComponent, "co-stock-tabs", never, { "stockInformation": { "alias": "stockInformation"; "required": false; }; "article": { "alias": "article"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; "warehouses": { "alias": "warehouses"; "required": false; }; }, { "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleSalesOrderClick": "handleSalesOrderClick"; "handlePurchaseOrderClick": "handlePurchaseOrderClick"; }, never, never, false, never>;
|
|
797
804
|
}
|
|
798
805
|
|
|
799
806
|
declare class StockHistoryTabsComponent {
|
|
@@ -808,11 +815,16 @@ declare class OrderStockTabComponent extends BaseStockComponent {
|
|
|
808
815
|
iconCacheService: IconCacheService;
|
|
809
816
|
private _stockService;
|
|
810
817
|
readonly icons: typeof Icon;
|
|
818
|
+
warehouseNo: number;
|
|
811
819
|
data: ArticleTransaction$1[];
|
|
820
|
+
handleTransactionClick: EventEmitter<string>;
|
|
812
821
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
822
|
+
handleTransactionNavigationClick(event: Event, transNr: string): void;
|
|
823
|
+
handleTransactionNavigation(transNr: string): void;
|
|
813
824
|
protected getData(): Promise<void>;
|
|
825
|
+
protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
814
826
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStockTabComponent, never>;
|
|
815
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, {}, {}, never, never, false, never>;
|
|
827
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; }, { "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
816
828
|
}
|
|
817
829
|
|
|
818
830
|
declare class StockLocationComponent extends BaseStockComponent implements OnInit, OnDestroy {
|
|
@@ -822,23 +834,22 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
822
834
|
readonly icons: typeof Icon;
|
|
823
835
|
readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
824
836
|
set warehouseNo(value: number);
|
|
837
|
+
article: ArticleExtended;
|
|
825
838
|
get warehouseNo(): number;
|
|
826
839
|
articleStockInformation: ArticleStock$1[];
|
|
827
840
|
articleWarehouse: any[];
|
|
828
841
|
allWarehouses: any[];
|
|
829
|
-
showStockTransfer: boolean;
|
|
830
842
|
articleFlat: ArticleFlat;
|
|
831
843
|
dataWareHouseCode: StockManagementWarehouses[];
|
|
832
844
|
readonly transferIconClicked: EventEmitter<ArticleStock$1>;
|
|
833
845
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
834
|
-
showStockTransferChange: EventEmitter<boolean>;
|
|
835
846
|
handleStickerClicked: EventEmitter<any>;
|
|
836
847
|
articleDetails: ArticleDetailsBo;
|
|
837
848
|
showConfirmationDialog: boolean;
|
|
838
849
|
newStockLine: boolean;
|
|
839
850
|
deleteStockLine: boolean;
|
|
840
851
|
cannotDelete: boolean;
|
|
841
|
-
|
|
852
|
+
showStockTransfer: boolean;
|
|
842
853
|
articleDetailsInformation: ArticleStockManagement;
|
|
843
854
|
stockStatus: StockStatus[];
|
|
844
855
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
@@ -846,36 +857,27 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
846
857
|
data: ArticleDetailsBo[];
|
|
847
858
|
selectedWarehouse: StockManagementWarehouses;
|
|
848
859
|
stockLocations: StockLocation[];
|
|
849
|
-
|
|
860
|
+
stockStickerPrintRequest: PrintStockStickersRequest;
|
|
861
|
+
selectedRow: ArticleDetailsBo;
|
|
850
862
|
showSendMethodDialog: boolean;
|
|
851
863
|
private _warehouseNo;
|
|
852
864
|
private _subs;
|
|
853
865
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
854
866
|
ngOnInit(): void;
|
|
855
867
|
ngOnDestroy(): void;
|
|
856
|
-
onShowStockTransferChange(show: boolean): void;
|
|
857
|
-
onLocationDropdownClick(): void;
|
|
858
|
-
locationChanged(row: ArticleDetailsBo, event: StockLocation): void;
|
|
859
|
-
amountInStockChanged(data: any): void;
|
|
860
868
|
openSendMethodDialog(data: any): void;
|
|
861
869
|
handleStockTransferClick(event: ArticleDetailsBo): void;
|
|
862
|
-
onRowSelected(row:
|
|
870
|
+
onRowSelected(row: any): void;
|
|
863
871
|
onOkClickSendLocations(row: ArticleDetailsBo): void;
|
|
864
872
|
handleDeleteRow(row: ArticleDetailsBo): void;
|
|
865
873
|
handleAddRow(): void;
|
|
866
|
-
|
|
867
|
-
|
|
868
|
-
|
|
869
|
-
disabled(): boolean;
|
|
870
|
-
statusForId(id: number): StockStatus;
|
|
871
|
-
locationForNumber(number: number): StockLocation;
|
|
872
|
-
locationForDescription(locationNo: string): string;
|
|
873
|
-
protected getData(): Promise<void>;
|
|
874
|
+
toggleConfirmationDialog(): void;
|
|
875
|
+
toggleTransferDialog(): void;
|
|
876
|
+
protected getData(): void;
|
|
874
877
|
private _getWarehouseLocations;
|
|
875
|
-
|
|
876
|
-
handlePopupSave(saved: boolean): void;
|
|
878
|
+
private _buildPrintStockStickersRequest;
|
|
877
879
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationComponent, never>;
|
|
878
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationComponent, "co-stock-location", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "
|
|
880
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationComponent, "co-stock-location", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "article": { "alias": "article"; "required": false; }; "articleStockInformation": { "alias": "articleStockInformation"; "required": false; }; "articleWarehouse": { "alias": "articleWarehouse"; "required": false; }; "allWarehouses": { "alias": "allWarehouses"; "required": false; }; "articleFlat": { "alias": "articleFlat"; "required": false; }; "dataWareHouseCode": { "alias": "dataWareHouseCode"; "required": false; }; "selectedWarehouse": { "alias": "selectedWarehouse"; "required": false; }; }, { "transferIconClicked": "transferIconClicked"; "sendMethodDialogClicked": "sendMethodDialogClicked"; "handleStickerClicked": "handleStickerClicked"; }, never, never, false, never>;
|
|
879
881
|
}
|
|
880
882
|
|
|
881
883
|
declare class StockHistoryComponent extends BaseStockComponent {
|
|
@@ -958,46 +960,46 @@ declare class StockPrognoseComponent extends BaseStockComponent {
|
|
|
958
960
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockPrognoseComponent, "co-stock-prognose", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; }, {}, never, never, false, never>;
|
|
959
961
|
}
|
|
960
962
|
|
|
961
|
-
declare class StockLocationPopupComponent {
|
|
963
|
+
declare class StockLocationPopupComponent implements OnInit {
|
|
962
964
|
iconCacheService: IconCacheService;
|
|
963
965
|
private _stockService;
|
|
964
|
-
private _changeDetector;
|
|
965
966
|
readonly icons: typeof Icon;
|
|
966
967
|
private _selectedLocationNo;
|
|
968
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
969
|
+
entryDate: Date;
|
|
970
|
+
disabled: boolean;
|
|
971
|
+
articleStockInfo: ArticleDetailsBo[];
|
|
972
|
+
articleFlat: ArticleFlat;
|
|
973
|
+
stockState: StockStatus[];
|
|
974
|
+
articleExtended: ArticleExtended;
|
|
967
975
|
editingRow: boolean;
|
|
968
|
-
showConfirmationDialog: boolean;
|
|
969
976
|
newStockLine: boolean;
|
|
970
977
|
deleteStockLine: boolean;
|
|
971
|
-
|
|
972
|
-
|
|
978
|
+
set setSelectedArticleDetailsData(articleDetails: ArticleDetailsBo);
|
|
979
|
+
set setArticleFlat(article: ArticleFlat);
|
|
973
980
|
articleDetailsInformation: ArticleStockManagement;
|
|
974
981
|
selectedWarehouse: StockManagementWarehouses;
|
|
975
982
|
set selectedLocationNo(locationNo: string);
|
|
976
983
|
get selectedLocationNo(): string;
|
|
977
|
-
articleStockInfo: ArticleDetailsBo[];
|
|
984
|
+
set setArticleStockInfo(articleStockInfo: ArticleDetailsBo[]);
|
|
978
985
|
togglePopupEvent: EventEmitter<void>;
|
|
979
986
|
saveEvent: EventEmitter<boolean>;
|
|
980
|
-
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
981
987
|
stockLocations: StockLocation[];
|
|
982
988
|
stockStatus: StockStatus[];
|
|
983
989
|
stockBelow: boolean;
|
|
984
990
|
validationMessage: string;
|
|
985
|
-
constructor(iconCacheService: IconCacheService, _stockService: StockService
|
|
986
|
-
|
|
987
|
-
handleStockStatusChange(status: StockStatus): void;
|
|
988
|
-
handleStockStatusRemarkChange(remark: string): void;
|
|
991
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
992
|
+
ngOnInit(): void;
|
|
989
993
|
amountInStockChanged(data: any): void;
|
|
990
|
-
|
|
991
|
-
handleOkClick(): void;
|
|
994
|
+
handleOkClick(): Promise<void>;
|
|
992
995
|
togglePopup(): void;
|
|
993
|
-
getStockLocations(): void;
|
|
994
996
|
locationForNumber(number: string): "" | StockLocation;
|
|
995
997
|
locationChanged(event: StockLocation): void;
|
|
996
998
|
handleStockChange(): void;
|
|
997
|
-
|
|
999
|
+
handleSelectedStockState(event: StockStatus): void;
|
|
998
1000
|
private validateForm;
|
|
999
1001
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationPopupComponent, never>;
|
|
1000
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationPopupComponent, "co-stock-location-popup", never, { "
|
|
1002
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationPopupComponent, "co-stock-location-popup", never, { "articleExtended": { "alias": "articleExtended"; "required": false; }; "editingRow": { "alias": "editingRow"; "required": false; }; "newStockLine": { "alias": "newStockLine"; "required": false; }; "deleteStockLine": { "alias": "deleteStockLine"; "required": false; }; "setSelectedArticleDetailsData": { "alias": "setSelectedArticleDetailsData"; "required": false; }; "setArticleFlat": { "alias": "setArticleFlat"; "required": false; }; "articleDetailsInformation": { "alias": "articleDetailsInformation"; "required": false; }; "selectedWarehouse": { "alias": "selectedWarehouse"; "required": false; }; "selectedLocationNo": { "alias": "selectedLocationNo"; "required": false; }; "setArticleStockInfo": { "alias": "setArticleStockInfo"; "required": false; }; "stockLocations": { "alias": "stockLocations"; "required": false; }; "stockStatus": { "alias": "stockStatus"; "required": false; }; }, { "togglePopupEvent": "togglePopupEvent"; "saveEvent": "saveEvent"; }, never, never, false, never>;
|
|
1001
1003
|
}
|
|
1002
1004
|
|
|
1003
1005
|
declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
@@ -1678,9 +1680,65 @@ declare class StockStatusbarModule {
|
|
|
1678
1680
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockStatusbarModule>;
|
|
1679
1681
|
}
|
|
1680
1682
|
|
|
1683
|
+
declare class StockPrintStickerComponent implements OnInit {
|
|
1684
|
+
sharedConnectorService: SharedConnectorService;
|
|
1685
|
+
readonly sendMethodType: typeof SendMethodType;
|
|
1686
|
+
printerList: Printer[];
|
|
1687
|
+
defaultSendMethod: string;
|
|
1688
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
1689
|
+
layoutCode: LayoutCode;
|
|
1690
|
+
reportDocumentPrintRequest: PrintStockStickersRequest;
|
|
1691
|
+
close: EventEmitter<void>;
|
|
1692
|
+
showClass(): boolean;
|
|
1693
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1694
|
+
ngOnInit(): Promise<void>;
|
|
1695
|
+
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1696
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1697
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintStockStickersRequest, localPrint: boolean): Promise<void>;
|
|
1698
|
+
private _prepareData;
|
|
1699
|
+
private _getPrinters;
|
|
1700
|
+
private _getPrintLayouts;
|
|
1701
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerComponent, never>;
|
|
1702
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockPrintStickerComponent, "co-stock-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1703
|
+
}
|
|
1704
|
+
|
|
1705
|
+
declare class StockPrintStickerModule {
|
|
1706
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerModule, never>;
|
|
1707
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockPrintStickerModule, [typeof StockPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockPrintStickerComponent]>;
|
|
1708
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockPrintStickerModule>;
|
|
1709
|
+
}
|
|
1710
|
+
|
|
1711
|
+
declare class StockTransferPrintStickerComponent implements OnInit {
|
|
1712
|
+
sharedConnectorService: SharedConnectorService;
|
|
1713
|
+
readonly sendMethodType: typeof SendMethodType;
|
|
1714
|
+
printerList: Printer[];
|
|
1715
|
+
defaultSendMethod: string;
|
|
1716
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
1717
|
+
layoutCode: LayoutCode;
|
|
1718
|
+
reportDocumentPrintRequest: PrintTransferStickersRequest;
|
|
1719
|
+
close: EventEmitter<void>;
|
|
1720
|
+
showClass(): boolean;
|
|
1721
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1722
|
+
ngOnInit(): Promise<void>;
|
|
1723
|
+
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1724
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1725
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintTransferStickersRequest, localPrint: boolean): Promise<void>;
|
|
1726
|
+
private _prepareData;
|
|
1727
|
+
private _getPrinters;
|
|
1728
|
+
private _getPrintLayouts;
|
|
1729
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerComponent, never>;
|
|
1730
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferPrintStickerComponent, "co-stock-transfer-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1731
|
+
}
|
|
1732
|
+
|
|
1733
|
+
declare class StockTransferPrintStickerModule {
|
|
1734
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerModule, never>;
|
|
1735
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockTransferPrintStickerModule, [typeof StockTransferPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockTransferPrintStickerComponent]>;
|
|
1736
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockTransferPrintStickerModule>;
|
|
1737
|
+
}
|
|
1738
|
+
|
|
1681
1739
|
declare class StockModule {
|
|
1682
1740
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockModule, never>;
|
|
1683
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<StockModule, [typeof StockComponent, typeof StockInformationComponent, typeof StockInformationGridComponent, typeof StockTransferComponent, typeof StockChangeAmountComponent, typeof StockTabComponent, typeof OrderTabComponent, typeof StockTabsComponent, typeof StockHistoryTabsComponent, typeof OrderStockTabComponent, typeof StockLocationComponent, typeof StockHistoryComponent, typeof OrderSupplyStockHistoryComponent, typeof OrderCommissionStockHistoryComponent, typeof OrderStockHistoryComponent, typeof AllocationStockHistoryComponent, typeof StockPrognoseComponent, typeof StockLocationPopupComponent, typeof StockTransferAllocatedComponent], [typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.InputRadioButtonModule, typeof i3.SimpleGridModule, typeof i3.ImageModule, typeof i3.InputTextModule, typeof SendMethodDialogModule, typeof i3.IconModule, typeof i3.InputNumberPickerModule, typeof i3.CoDialogWizardModule, typeof i3.InputTextareaModule, typeof TabBarModule, typeof i3.CoDialogModule, typeof StatusbarModule, typeof StockStatusbarModule, typeof i3.ListOfValuesModule, typeof SharedComponentsTranslationModule, typeof i3.PopupModule, typeof i3.InputDatePickerModule, typeof i3.ScreenConfigurationModule], [typeof StockComponent]>;
|
|
1741
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockModule, [typeof StockComponent, typeof StockInformationComponent, typeof StockInformationGridComponent, typeof StockTransferComponent, typeof StockChangeAmountComponent, typeof StockTabComponent, typeof OrderTabComponent, typeof StockTabsComponent, typeof StockHistoryTabsComponent, typeof OrderStockTabComponent, typeof StockLocationComponent, typeof StockHistoryComponent, typeof OrderSupplyStockHistoryComponent, typeof OrderCommissionStockHistoryComponent, typeof OrderStockHistoryComponent, typeof AllocationStockHistoryComponent, typeof StockPrognoseComponent, typeof StockLocationPopupComponent, typeof StockTransferAllocatedComponent], [typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.InputRadioButtonModule, typeof i3.SimpleGridModule, typeof i3.ImageModule, typeof i3.InputTextModule, typeof SendMethodDialogModule, typeof i3.IconModule, typeof i3.InputNumberPickerModule, typeof i3.CoDialogWizardModule, typeof i3.InputTextareaModule, typeof TabBarModule, typeof i3.CoDialogModule, typeof StatusbarModule, typeof StockStatusbarModule, typeof i3.ListOfValuesModule, typeof SharedComponentsTranslationModule, typeof i3.PopupModule, typeof i3.InputDatePickerModule, typeof i3.ScreenConfigurationModule, typeof StockPrintStickerModule, typeof StockTransferPrintStickerModule], [typeof StockComponent]>;
|
|
1684
1742
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockModule>;
|
|
1685
1743
|
}
|
|
1686
1744
|
|
|
File without changes
|
|
File without changes
|