@colijnit/sharedcomponents 261.20.12 → 261.20.14
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 +1593 -1322
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +120 -61
- 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,12 +515,14 @@ 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>;
|
|
514
522
|
readonly cancelButtonClicked: EventEmitter<any>;
|
|
515
523
|
handleClick: EventEmitter<any>;
|
|
516
|
-
|
|
524
|
+
handlePurchaseOrderClick: EventEmitter<any>;
|
|
525
|
+
handleSalesOrderClick: EventEmitter<any>;
|
|
517
526
|
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
518
527
|
showClass(): boolean;
|
|
519
528
|
loaded: boolean;
|
|
@@ -547,9 +556,10 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
547
556
|
getStockManagementWarehouses(): void;
|
|
548
557
|
private _handleSettingsLoaded;
|
|
549
558
|
private _initConnection;
|
|
559
|
+
private _resetStockInformation;
|
|
550
560
|
loadData(): void;
|
|
551
561
|
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"; "
|
|
562
|
+
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"; "handlePurchaseOrderClick": "handlePurchaseOrderClick"; "handleSalesOrderClick": "handleSalesOrderClick"; }, never, never, false, never>;
|
|
553
563
|
}
|
|
554
564
|
|
|
555
565
|
declare class StockInformationComponent {
|
|
@@ -640,12 +650,11 @@ declare class StockInformationGridComponent {
|
|
|
640
650
|
declare class StockTransferComponent implements AfterViewInit {
|
|
641
651
|
private _stockService;
|
|
642
652
|
iconCacheService: IconCacheService;
|
|
643
|
-
|
|
653
|
+
readonly icons: typeof Icon;
|
|
644
654
|
stockSticker: PrintStockStickers$1;
|
|
645
655
|
article: ArticleStock$1;
|
|
646
656
|
articleToTransfer: ArticleDetailsBo;
|
|
647
657
|
allWarehouses: any[];
|
|
648
|
-
showStockTransfer: boolean;
|
|
649
658
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
650
659
|
articleFlat: ArticleFlat;
|
|
651
660
|
articleDetailsInformation: ArticleStockManagement;
|
|
@@ -653,20 +662,17 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
653
662
|
selectedLocationNo: string;
|
|
654
663
|
articleStockInfo: ArticleDetailsBo[];
|
|
655
664
|
stockLocations: StockLocation[];
|
|
656
|
-
handleClick: EventEmitter<number>;
|
|
657
665
|
handleStickerClicked: EventEmitter<any>;
|
|
658
|
-
|
|
659
|
-
showStockTransferChange: EventEmitter<boolean>;
|
|
666
|
+
handleTogglePopup: EventEmitter<void>;
|
|
660
667
|
showSendMethodDialog: boolean;
|
|
661
668
|
transferFull: boolean;
|
|
662
669
|
warehouses: StockManagementWarehouses[];
|
|
663
670
|
stockState: StockStatus[];
|
|
664
671
|
locations: StockLocation[];
|
|
665
|
-
|
|
666
|
-
|
|
667
|
-
constructor(_stockService: StockService, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
|
|
672
|
+
transferStickerPrintRequest: PrintTransferStickersRequest;
|
|
673
|
+
constructor(_stockService: StockService, iconCacheService: IconCacheService);
|
|
668
674
|
ngAfterViewInit(): void;
|
|
669
|
-
handleOkClick(data: ArticleDetailsBo): void
|
|
675
|
+
handleOkClick(data: ArticleDetailsBo): Promise<void>;
|
|
670
676
|
onCloseClick(): void;
|
|
671
677
|
handleSelectedWarehouse(event: StockManagementWarehouses): void;
|
|
672
678
|
handleSelectedLocation(event: StockLocation): void;
|
|
@@ -675,8 +681,9 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
675
681
|
getStockManagementWarehouses(): void;
|
|
676
682
|
getStockManagementLocations(): void;
|
|
677
683
|
getStockState(): void;
|
|
684
|
+
private _buildStickerPrintRequest;
|
|
678
685
|
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; }; "
|
|
686
|
+
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
687
|
}
|
|
681
688
|
|
|
682
689
|
declare class StockChangeAmountComponent implements AfterViewInit {
|
|
@@ -723,7 +730,7 @@ declare class StockTabComponent {
|
|
|
723
730
|
declare abstract class BaseStockComponent implements OnInit {
|
|
724
731
|
goodId: number;
|
|
725
732
|
ngOnInit(): void;
|
|
726
|
-
protected getData():
|
|
733
|
+
protected getData(): void;
|
|
727
734
|
static ɵfac: i0.ɵɵFactoryDeclaration<BaseStockComponent, never>;
|
|
728
735
|
static ɵdir: i0.ɵɵDirectiveDeclaration<BaseStockComponent, never, never, { "goodId": { "alias": "goodId"; "required": false; }; }, {}, never, never, true, never>;
|
|
729
736
|
}
|
|
@@ -733,7 +740,9 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
733
740
|
private _stockService;
|
|
734
741
|
private _changeDetector;
|
|
735
742
|
readonly icons: typeof Icon;
|
|
743
|
+
protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
736
744
|
stockLocations: StockLocation[];
|
|
745
|
+
warehouseNo: number;
|
|
737
746
|
showStockTransfer: boolean;
|
|
738
747
|
allWarehouses: any[];
|
|
739
748
|
articleFlat: ArticleFlat;
|
|
@@ -742,7 +751,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
742
751
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
743
752
|
handleStickerClicked: EventEmitter<any>;
|
|
744
753
|
showStockTransferChange: EventEmitter<boolean>;
|
|
745
|
-
handleTransactionClick: EventEmitter<
|
|
754
|
+
handleTransactionClick: EventEmitter<string>;
|
|
746
755
|
data: ArticleTransaction$1[];
|
|
747
756
|
selectedRow: ArticleTransaction$1 | null;
|
|
748
757
|
articleDetails: ArticleDetailsBo;
|
|
@@ -758,7 +767,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
758
767
|
handleTransactionNavigation(transNr: string): void;
|
|
759
768
|
getGridData(): void;
|
|
760
769
|
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>;
|
|
770
|
+
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
771
|
}
|
|
763
772
|
|
|
764
773
|
interface Tab {
|
|
@@ -777,23 +786,22 @@ declare class StockTabsComponent implements OnInit {
|
|
|
777
786
|
stockInformation: ArticleStock$1[];
|
|
778
787
|
article: ArticleExtended;
|
|
779
788
|
articleFlat: ArticleFlat;
|
|
780
|
-
showStockTransfer: boolean;
|
|
781
789
|
warehouses: StockManagementWarehouses[];
|
|
782
790
|
readonly transferIconClicked: EventEmitter<ArticleStock$1>;
|
|
783
791
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
784
|
-
|
|
792
|
+
handleSalesOrderClick: EventEmitter<string>;
|
|
793
|
+
handlePurchaseOrderClick: EventEmitter<string>;
|
|
785
794
|
selectedWarehouse: StockManagementWarehouses;
|
|
786
795
|
tabs: Tab[];
|
|
787
796
|
historyTabs: Tab[];
|
|
788
797
|
constructor(_stockService: StockService, _dictionaryService: SharedComponentsDictionaryService, _changeDetector: ChangeDetectorRef, _stockScreenConfigService: StockModuleScreenConfigService);
|
|
789
798
|
ngOnInit(): void;
|
|
790
|
-
onShowStockTransferChange(show: boolean): void;
|
|
791
799
|
handleLocationClicked(data: string): void;
|
|
792
800
|
handleWarehouseSelected(event: StockManagementWarehouses): void;
|
|
793
801
|
getStockData(warehouse: StockManagementWarehouses): void;
|
|
794
802
|
wareHouseForCode(code: number): StockManagementWarehouses;
|
|
795
803
|
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; }; "
|
|
804
|
+
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
805
|
}
|
|
798
806
|
|
|
799
807
|
declare class StockHistoryTabsComponent {
|
|
@@ -808,11 +816,16 @@ declare class OrderStockTabComponent extends BaseStockComponent {
|
|
|
808
816
|
iconCacheService: IconCacheService;
|
|
809
817
|
private _stockService;
|
|
810
818
|
readonly icons: typeof Icon;
|
|
819
|
+
warehouseNo: number;
|
|
811
820
|
data: ArticleTransaction$1[];
|
|
821
|
+
handleTransactionClick: EventEmitter<string>;
|
|
812
822
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
823
|
+
handleTransactionNavigationClick(event: Event, transNr: string): void;
|
|
824
|
+
handleTransactionNavigation(transNr: string): void;
|
|
813
825
|
protected getData(): Promise<void>;
|
|
826
|
+
protected readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
814
827
|
static ɵfac: i0.ɵɵFactoryDeclaration<OrderStockTabComponent, never>;
|
|
815
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, {}, {}, never, never, false, never>;
|
|
828
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<OrderStockTabComponent, "co-order-stock-tab", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; }, { "handleTransactionClick": "handleTransactionClick"; }, never, never, false, never>;
|
|
816
829
|
}
|
|
817
830
|
|
|
818
831
|
declare class StockLocationComponent extends BaseStockComponent implements OnInit, OnDestroy {
|
|
@@ -822,23 +835,22 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
822
835
|
readonly icons: typeof Icon;
|
|
823
836
|
readonly SimpleGridColumnTemplateType: typeof SimpleGridColumnTemplateType;
|
|
824
837
|
set warehouseNo(value: number);
|
|
838
|
+
article: ArticleExtended;
|
|
825
839
|
get warehouseNo(): number;
|
|
826
840
|
articleStockInformation: ArticleStock$1[];
|
|
827
841
|
articleWarehouse: any[];
|
|
828
842
|
allWarehouses: any[];
|
|
829
|
-
showStockTransfer: boolean;
|
|
830
843
|
articleFlat: ArticleFlat;
|
|
831
844
|
dataWareHouseCode: StockManagementWarehouses[];
|
|
832
845
|
readonly transferIconClicked: EventEmitter<ArticleStock$1>;
|
|
833
846
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
834
|
-
showStockTransferChange: EventEmitter<boolean>;
|
|
835
847
|
handleStickerClicked: EventEmitter<any>;
|
|
836
848
|
articleDetails: ArticleDetailsBo;
|
|
837
849
|
showConfirmationDialog: boolean;
|
|
838
850
|
newStockLine: boolean;
|
|
839
851
|
deleteStockLine: boolean;
|
|
840
852
|
cannotDelete: boolean;
|
|
841
|
-
|
|
853
|
+
showStockTransfer: boolean;
|
|
842
854
|
articleDetailsInformation: ArticleStockManagement;
|
|
843
855
|
stockStatus: StockStatus[];
|
|
844
856
|
selectedArticleDetailsData: ArticleDetailsBo;
|
|
@@ -846,36 +858,27 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
846
858
|
data: ArticleDetailsBo[];
|
|
847
859
|
selectedWarehouse: StockManagementWarehouses;
|
|
848
860
|
stockLocations: StockLocation[];
|
|
849
|
-
|
|
861
|
+
stockStickerPrintRequest: PrintStockStickersRequest;
|
|
862
|
+
selectedRow: ArticleDetailsBo;
|
|
850
863
|
showSendMethodDialog: boolean;
|
|
851
864
|
private _warehouseNo;
|
|
852
865
|
private _subs;
|
|
853
866
|
constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
|
|
854
867
|
ngOnInit(): void;
|
|
855
868
|
ngOnDestroy(): void;
|
|
856
|
-
onShowStockTransferChange(show: boolean): void;
|
|
857
|
-
onLocationDropdownClick(): void;
|
|
858
|
-
locationChanged(row: ArticleDetailsBo, event: StockLocation): void;
|
|
859
|
-
amountInStockChanged(data: any): void;
|
|
860
869
|
openSendMethodDialog(data: any): void;
|
|
861
870
|
handleStockTransferClick(event: ArticleDetailsBo): void;
|
|
862
|
-
onRowSelected(row:
|
|
871
|
+
onRowSelected(row: any): void;
|
|
863
872
|
onOkClickSendLocations(row: ArticleDetailsBo): void;
|
|
864
873
|
handleDeleteRow(row: ArticleDetailsBo): void;
|
|
865
874
|
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>;
|
|
875
|
+
toggleConfirmationDialog(): void;
|
|
876
|
+
toggleTransferDialog(): void;
|
|
877
|
+
protected getData(): void;
|
|
874
878
|
private _getWarehouseLocations;
|
|
875
|
-
|
|
876
|
-
handlePopupSave(saved: boolean): void;
|
|
879
|
+
private _buildPrintStockStickersRequest;
|
|
877
880
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationComponent, never>;
|
|
878
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationComponent, "co-stock-location", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; "
|
|
881
|
+
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
882
|
}
|
|
880
883
|
|
|
881
884
|
declare class StockHistoryComponent extends BaseStockComponent {
|
|
@@ -958,46 +961,46 @@ declare class StockPrognoseComponent extends BaseStockComponent {
|
|
|
958
961
|
static ɵcmp: i0.ɵɵComponentDeclaration<StockPrognoseComponent, "co-stock-prognose", never, { "warehouseNo": { "alias": "warehouseNo"; "required": false; }; }, {}, never, never, false, never>;
|
|
959
962
|
}
|
|
960
963
|
|
|
961
|
-
declare class StockLocationPopupComponent {
|
|
964
|
+
declare class StockLocationPopupComponent implements OnInit {
|
|
962
965
|
iconCacheService: IconCacheService;
|
|
963
966
|
private _stockService;
|
|
964
|
-
private _changeDetector;
|
|
965
967
|
readonly icons: typeof Icon;
|
|
966
968
|
private _selectedLocationNo;
|
|
969
|
+
selectedArticleDetailsData: ArticleDetailsBo;
|
|
970
|
+
entryDate: Date;
|
|
971
|
+
disabled: boolean;
|
|
972
|
+
articleStockInfo: ArticleDetailsBo[];
|
|
973
|
+
articleFlat: ArticleFlat;
|
|
974
|
+
stockState: StockStatus[];
|
|
975
|
+
articleExtended: ArticleExtended;
|
|
967
976
|
editingRow: boolean;
|
|
968
|
-
showConfirmationDialog: boolean;
|
|
969
977
|
newStockLine: boolean;
|
|
970
978
|
deleteStockLine: boolean;
|
|
971
|
-
|
|
972
|
-
|
|
979
|
+
set setSelectedArticleDetailsData(articleDetails: ArticleDetailsBo);
|
|
980
|
+
set setArticleFlat(article: ArticleFlat);
|
|
973
981
|
articleDetailsInformation: ArticleStockManagement;
|
|
974
982
|
selectedWarehouse: StockManagementWarehouses;
|
|
975
983
|
set selectedLocationNo(locationNo: string);
|
|
976
984
|
get selectedLocationNo(): string;
|
|
977
|
-
articleStockInfo: ArticleDetailsBo[];
|
|
985
|
+
set setArticleStockInfo(articleStockInfo: ArticleDetailsBo[]);
|
|
978
986
|
togglePopupEvent: EventEmitter<void>;
|
|
979
987
|
saveEvent: EventEmitter<boolean>;
|
|
980
|
-
updateGridData: EventEmitter<ArticleDetailsBo[]>;
|
|
981
988
|
stockLocations: StockLocation[];
|
|
982
989
|
stockStatus: StockStatus[];
|
|
983
990
|
stockBelow: boolean;
|
|
984
991
|
validationMessage: string;
|
|
985
|
-
constructor(iconCacheService: IconCacheService, _stockService: StockService
|
|
986
|
-
|
|
987
|
-
handleStockStatusChange(status: StockStatus): void;
|
|
988
|
-
handleStockStatusRemarkChange(remark: string): void;
|
|
992
|
+
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
993
|
+
ngOnInit(): void;
|
|
989
994
|
amountInStockChanged(data: any): void;
|
|
990
|
-
|
|
991
|
-
handleOkClick(): void;
|
|
995
|
+
handleOkClick(): Promise<void>;
|
|
992
996
|
togglePopup(): void;
|
|
993
|
-
|
|
994
|
-
locationForNumber(number: string): "" | StockLocation;
|
|
997
|
+
locationForNumber(number: string): StockLocation | "";
|
|
995
998
|
locationChanged(event: StockLocation): void;
|
|
996
999
|
handleStockChange(): void;
|
|
997
|
-
|
|
1000
|
+
handleSelectedStockState(event: StockStatus): void;
|
|
998
1001
|
private validateForm;
|
|
999
1002
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationPopupComponent, never>;
|
|
1000
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockLocationPopupComponent, "co-stock-location-popup", never, { "
|
|
1003
|
+
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
1004
|
}
|
|
1002
1005
|
|
|
1003
1006
|
declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
@@ -1678,9 +1681,65 @@ declare class StockStatusbarModule {
|
|
|
1678
1681
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockStatusbarModule>;
|
|
1679
1682
|
}
|
|
1680
1683
|
|
|
1684
|
+
declare class StockPrintStickerComponent implements OnInit {
|
|
1685
|
+
sharedConnectorService: SharedConnectorService;
|
|
1686
|
+
readonly sendMethodType: typeof SendMethodType;
|
|
1687
|
+
printerList: Printer[];
|
|
1688
|
+
defaultSendMethod: string;
|
|
1689
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
1690
|
+
layoutCode: LayoutCode;
|
|
1691
|
+
reportDocumentPrintRequest: PrintStockStickersRequest;
|
|
1692
|
+
close: EventEmitter<void>;
|
|
1693
|
+
showClass(): boolean;
|
|
1694
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1695
|
+
ngOnInit(): Promise<void>;
|
|
1696
|
+
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1697
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1698
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintStockStickersRequest, localPrint: boolean): Promise<void>;
|
|
1699
|
+
private _prepareData;
|
|
1700
|
+
private _getPrinters;
|
|
1701
|
+
private _getPrintLayouts;
|
|
1702
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerComponent, never>;
|
|
1703
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockPrintStickerComponent, "co-stock-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1704
|
+
}
|
|
1705
|
+
|
|
1706
|
+
declare class StockPrintStickerModule {
|
|
1707
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerModule, never>;
|
|
1708
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockPrintStickerModule, [typeof StockPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockPrintStickerComponent]>;
|
|
1709
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockPrintStickerModule>;
|
|
1710
|
+
}
|
|
1711
|
+
|
|
1712
|
+
declare class StockTransferPrintStickerComponent implements OnInit {
|
|
1713
|
+
sharedConnectorService: SharedConnectorService;
|
|
1714
|
+
readonly sendMethodType: typeof SendMethodType;
|
|
1715
|
+
printerList: Printer[];
|
|
1716
|
+
defaultSendMethod: string;
|
|
1717
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
1718
|
+
layoutCode: LayoutCode;
|
|
1719
|
+
reportDocumentPrintRequest: PrintTransferStickersRequest;
|
|
1720
|
+
close: EventEmitter<void>;
|
|
1721
|
+
showClass(): boolean;
|
|
1722
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1723
|
+
ngOnInit(): Promise<void>;
|
|
1724
|
+
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1725
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1726
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintTransferStickersRequest, localPrint: boolean): Promise<void>;
|
|
1727
|
+
private _prepareData;
|
|
1728
|
+
private _getPrinters;
|
|
1729
|
+
private _getPrintLayouts;
|
|
1730
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerComponent, never>;
|
|
1731
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferPrintStickerComponent, "co-stock-transfer-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1732
|
+
}
|
|
1733
|
+
|
|
1734
|
+
declare class StockTransferPrintStickerModule {
|
|
1735
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerModule, never>;
|
|
1736
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockTransferPrintStickerModule, [typeof StockTransferPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockTransferPrintStickerComponent]>;
|
|
1737
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockTransferPrintStickerModule>;
|
|
1738
|
+
}
|
|
1739
|
+
|
|
1681
1740
|
declare class StockModule {
|
|
1682
1741
|
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]>;
|
|
1742
|
+
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
1743
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockModule>;
|
|
1685
1744
|
}
|
|
1686
1745
|
|
|
File without changes
|
|
File without changes
|