@colijnit/sharedcomponents 300.1.5 → 300.1.7
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 +2001 -1695
- package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
- package/index.d.ts +84 -22
- package/lib/components/role-email-selector/style/_layout.scss +49 -38
- 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/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -54,14 +54,17 @@ 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 { RelationLight } from '@colijnit/mainapi/build/model/relation-light.bo';
|
|
58
|
+
import { PrintStockStickersRequest } from '@colijnit/mainapi/build/model/print-stock-stickers-request';
|
|
59
|
+
import { PrintTransferStickersRequest } from '@colijnit/mainapi/build/model/print-transfer-stickers-request';
|
|
60
|
+
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
61
|
+
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
57
62
|
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
58
63
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
59
64
|
import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType, CoreDialogService, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, ColorSequenceService, IconListItem, ColorSequenceName, InputTextComponent } from '@colijnit/corecomponents_v12';
|
|
60
65
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
61
66
|
import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
|
|
62
67
|
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
68
|
import { ReportingDocumentPdfBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-pdf-base-request';
|
|
66
69
|
import { ReportingDocumentEmailSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-email-sign-doc-base-request';
|
|
67
70
|
import { ReportingDocumentPrintSignDocBaseRequest } from '@colijnit/mainapi/build/model/reporting-document-print-sign-doc-base-request';
|
|
@@ -344,6 +347,12 @@ declare class SharedConnectorService {
|
|
|
344
347
|
updateFormResponse(formResponse: FormResponse): Promise<FormResponse>;
|
|
345
348
|
lockFormResponse(formResponseId: number): Promise<boolean>;
|
|
346
349
|
unlockFormResponse(formResponseId: number): Promise<boolean>;
|
|
350
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
351
|
+
getStockStickerEmailLayouts(): Promise<ReportLayoutSelectionEmail[]>;
|
|
352
|
+
getStockStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
353
|
+
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<boolean>;
|
|
354
|
+
getTransferStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
355
|
+
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<boolean>;
|
|
347
356
|
commit(): Promise<boolean>;
|
|
348
357
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedConnectorService, never>;
|
|
349
358
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedConnectorService>;
|
|
@@ -382,6 +391,7 @@ declare class StockService {
|
|
|
382
391
|
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
383
392
|
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
384
393
|
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
394
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
385
395
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
|
|
386
396
|
static ɵprov: i0.ɵɵInjectableDeclaration<StockService>;
|
|
387
397
|
}
|
|
@@ -508,6 +518,7 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
508
518
|
readonly icons: typeof Icon;
|
|
509
519
|
handleStickerClicked: EventEmitter<any>;
|
|
510
520
|
set article(articleOrGoodId: ArticleExtended | number);
|
|
521
|
+
branchNr: number;
|
|
511
522
|
articleWarehouse: any[];
|
|
512
523
|
allWarehouses: any[];
|
|
513
524
|
readonly okButtonClicked: EventEmitter<any>;
|
|
@@ -550,7 +561,7 @@ declare class StockComponent implements OnDestroy, OnInit {
|
|
|
550
561
|
private _resetStockInformation;
|
|
551
562
|
loadData(): void;
|
|
552
563
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockComponent, never>;
|
|
553
|
-
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>;
|
|
564
|
+
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>;
|
|
554
565
|
}
|
|
555
566
|
|
|
556
567
|
declare class StockInformationComponent {
|
|
@@ -660,6 +671,7 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
660
671
|
warehouses: StockManagementWarehouses[];
|
|
661
672
|
stockState: StockStatus[];
|
|
662
673
|
locations: StockLocation[];
|
|
674
|
+
transferStickerPrintRequest: PrintTransferStickersRequest;
|
|
663
675
|
constructor(_stockService: StockService, iconCacheService: IconCacheService);
|
|
664
676
|
ngAfterViewInit(): void;
|
|
665
677
|
handleOkClick(data: ArticleDetailsBo): Promise<void>;
|
|
@@ -671,6 +683,7 @@ declare class StockTransferComponent implements AfterViewInit {
|
|
|
671
683
|
getStockManagementWarehouses(): void;
|
|
672
684
|
getStockManagementLocations(): void;
|
|
673
685
|
getStockState(): void;
|
|
686
|
+
private _buildStickerPrintRequest;
|
|
674
687
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferComponent, never>;
|
|
675
688
|
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>;
|
|
676
689
|
}
|
|
@@ -740,7 +753,7 @@ declare class OrderTabComponent extends BaseStockComponent {
|
|
|
740
753
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
741
754
|
handleStickerClicked: EventEmitter<any>;
|
|
742
755
|
showStockTransferChange: EventEmitter<boolean>;
|
|
743
|
-
handleTransactionClick: EventEmitter<
|
|
756
|
+
handleTransactionClick: EventEmitter<string>;
|
|
744
757
|
data: ArticleTransaction$1[];
|
|
745
758
|
selectedRow: ArticleTransaction$1 | null;
|
|
746
759
|
articleDetails: ArticleDetailsBo;
|
|
@@ -778,7 +791,8 @@ declare class StockTabsComponent implements OnInit {
|
|
|
778
791
|
warehouses: StockManagementWarehouses[];
|
|
779
792
|
readonly transferIconClicked: EventEmitter<ArticleStock$1>;
|
|
780
793
|
readonly sendMethodDialogClicked: EventEmitter<PrintPriceStickers>;
|
|
781
|
-
|
|
794
|
+
handleSalesOrderClick: EventEmitter<string>;
|
|
795
|
+
handlePurchaseOrderClick: EventEmitter<string>;
|
|
782
796
|
selectedWarehouse: StockManagementWarehouses;
|
|
783
797
|
tabs: Tab[];
|
|
784
798
|
historyTabs: Tab[];
|
|
@@ -789,7 +803,7 @@ declare class StockTabsComponent implements OnInit {
|
|
|
789
803
|
getStockData(warehouse: StockManagementWarehouses): void;
|
|
790
804
|
wareHouseForCode(code: number): StockManagementWarehouses;
|
|
791
805
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTabsComponent, never>;
|
|
792
|
-
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"; "
|
|
806
|
+
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>;
|
|
793
807
|
}
|
|
794
808
|
|
|
795
809
|
declare class StockHistoryTabsComponent {
|
|
@@ -806,7 +820,7 @@ declare class OrderStockTabComponent extends BaseStockComponent {
|
|
|
806
820
|
readonly icons: typeof Icon;
|
|
807
821
|
warehouseNo: number;
|
|
808
822
|
data: ArticleTransaction$1[];
|
|
809
|
-
handleTransactionClick: EventEmitter<
|
|
823
|
+
handleTransactionClick: EventEmitter<string>;
|
|
810
824
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
811
825
|
handleTransactionNavigationClick(event: Event, transNr: string): void;
|
|
812
826
|
handleTransactionNavigation(transNr: string): void;
|
|
@@ -846,7 +860,9 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
846
860
|
data: ArticleDetailsBo[];
|
|
847
861
|
selectedWarehouse: StockManagementWarehouses;
|
|
848
862
|
stockLocations: StockLocation[];
|
|
849
|
-
|
|
863
|
+
branches: RelationLight[];
|
|
864
|
+
stockStickerPrintRequest: PrintStockStickersRequest;
|
|
865
|
+
selectedRow: ArticleDetailsBo;
|
|
850
866
|
showSendMethodDialog: boolean;
|
|
851
867
|
private _warehouseNo;
|
|
852
868
|
private _subs;
|
|
@@ -855,7 +871,7 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
855
871
|
ngOnDestroy(): void;
|
|
856
872
|
openSendMethodDialog(data: any): void;
|
|
857
873
|
handleStockTransferClick(event: ArticleDetailsBo): void;
|
|
858
|
-
onRowSelected(row:
|
|
874
|
+
onRowSelected(row: any): void;
|
|
859
875
|
onOkClickSendLocations(row: ArticleDetailsBo): void;
|
|
860
876
|
handleDeleteRow(row: ArticleDetailsBo): void;
|
|
861
877
|
handleAddRow(): void;
|
|
@@ -863,6 +879,7 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
863
879
|
toggleTransferDialog(): void;
|
|
864
880
|
protected getData(): void;
|
|
865
881
|
private _getWarehouseLocations;
|
|
882
|
+
private _buildPrintStockStickersRequest;
|
|
866
883
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationComponent, never>;
|
|
867
884
|
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>;
|
|
868
885
|
}
|
|
@@ -964,6 +981,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
964
981
|
newStockLine: boolean;
|
|
965
982
|
deleteStockLine: boolean;
|
|
966
983
|
set setSelectedArticleDetailsData(articleDetails: ArticleDetailsBo);
|
|
984
|
+
branches: RelationLight[];
|
|
967
985
|
set setArticleFlat(article: ArticleFlat);
|
|
968
986
|
articleDetailsInformation: ArticleStockManagement;
|
|
969
987
|
selectedWarehouse: StockManagementWarehouses;
|
|
@@ -974,6 +992,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
974
992
|
saveEvent: EventEmitter<boolean>;
|
|
975
993
|
stockLocations: StockLocation[];
|
|
976
994
|
stockStatus: StockStatus[];
|
|
995
|
+
selectedBranch: RelationLight;
|
|
977
996
|
stockBelow: boolean;
|
|
978
997
|
validationMessage: string;
|
|
979
998
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
@@ -981,13 +1000,15 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
981
1000
|
amountInStockChanged(data: any): void;
|
|
982
1001
|
handleOkClick(): Promise<void>;
|
|
983
1002
|
togglePopup(): void;
|
|
984
|
-
locationForNumber(number: string):
|
|
1003
|
+
locationForNumber(number: string): StockLocation | "";
|
|
985
1004
|
locationChanged(event: StockLocation): void;
|
|
986
1005
|
handleStockChange(): void;
|
|
987
1006
|
handleSelectedStockState(event: StockStatus): void;
|
|
1007
|
+
handleBranchChange(branch: RelationLight): void;
|
|
1008
|
+
newDate(): Date;
|
|
988
1009
|
private validateForm;
|
|
989
1010
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationPopupComponent, never>;
|
|
990
|
-
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>;
|
|
1011
|
+
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; }; "branches": { "alias": "branches"; "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>;
|
|
991
1012
|
}
|
|
992
1013
|
|
|
993
1014
|
declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
@@ -1138,7 +1159,7 @@ declare class SharedService {
|
|
|
1138
1159
|
getDefaultEmailReportTemplatesForBranch(branchNr: string, reportType: ReportType): Promise<Report[]>;
|
|
1139
1160
|
emailViaTemplate(template: Report, emailTo: string, emailBcc: string, reply: string, subject?: string, message?: string, attachments?: CoEmailAttachment[], parameters?: object): Promise<boolean>;
|
|
1140
1161
|
private _createEmailJob;
|
|
1141
|
-
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<
|
|
1162
|
+
emailActivity(emailActivityRequest: EmailActivityRequest): Promise<boolean>;
|
|
1142
1163
|
insertEmailHistoryForRemark(history: ActivityEmailHistory): Promise<boolean>;
|
|
1143
1164
|
insertEmailHistoryForWork(history: ActivityEmailHistory): Promise<boolean>;
|
|
1144
1165
|
insertEmailHistoryForTask(history: ActivityEmailHistory): Promise<boolean>;
|
|
@@ -1680,25 +1701,65 @@ declare class StockStatusbarModule {
|
|
|
1680
1701
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockStatusbarModule>;
|
|
1681
1702
|
}
|
|
1682
1703
|
|
|
1683
|
-
declare class
|
|
1704
|
+
declare class StockPrintStickerComponent implements OnInit {
|
|
1705
|
+
sharedConnectorService: SharedConnectorService;
|
|
1706
|
+
readonly sendMethodType: typeof SendMethodType;
|
|
1707
|
+
printerList: Printer[];
|
|
1708
|
+
defaultSendMethod: string;
|
|
1709
|
+
printLayouts: ReportLayoutSelectionPrint[];
|
|
1710
|
+
layoutCode: LayoutCode;
|
|
1711
|
+
reportDocumentPrintRequest: PrintStockStickersRequest;
|
|
1712
|
+
close: EventEmitter<void>;
|
|
1713
|
+
showClass(): boolean;
|
|
1714
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1715
|
+
ngOnInit(): Promise<void>;
|
|
1716
|
+
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1717
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1718
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintStockStickersRequest, localPrint: boolean): Promise<void>;
|
|
1719
|
+
private _prepareData;
|
|
1720
|
+
private _getPrinters;
|
|
1721
|
+
private _getPrintLayouts;
|
|
1722
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerComponent, never>;
|
|
1723
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockPrintStickerComponent, "co-stock-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1724
|
+
}
|
|
1725
|
+
|
|
1726
|
+
declare class StockPrintStickerModule {
|
|
1727
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockPrintStickerModule, never>;
|
|
1728
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockPrintStickerModule, [typeof StockPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockPrintStickerComponent]>;
|
|
1729
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockPrintStickerModule>;
|
|
1730
|
+
}
|
|
1731
|
+
|
|
1732
|
+
declare class StockTransferPrintStickerComponent implements OnInit {
|
|
1733
|
+
sharedConnectorService: SharedConnectorService;
|
|
1684
1734
|
readonly sendMethodType: typeof SendMethodType;
|
|
1685
1735
|
printerList: Printer[];
|
|
1686
1736
|
defaultSendMethod: string;
|
|
1687
1737
|
printLayouts: ReportLayoutSelectionPrint[];
|
|
1688
1738
|
layoutCode: LayoutCode;
|
|
1689
|
-
reportDocumentPrintRequest:
|
|
1739
|
+
reportDocumentPrintRequest: PrintTransferStickersRequest;
|
|
1690
1740
|
close: EventEmitter<void>;
|
|
1691
1741
|
showClass(): boolean;
|
|
1742
|
+
constructor(sharedConnectorService: SharedConnectorService);
|
|
1743
|
+
ngOnInit(): Promise<void>;
|
|
1692
1744
|
handleSendMethodOkClick(method: string | ProcessPrintRequest): Promise<void>;
|
|
1693
|
-
|
|
1745
|
+
print(method: string | ProcessPrintRequest): Promise<void>;
|
|
1746
|
+
printDocument(reportingDocumentPrintBaseRequest: PrintTransferStickersRequest, localPrint: boolean): Promise<void>;
|
|
1694
1747
|
private _prepareData;
|
|
1748
|
+
private _getPrinters;
|
|
1749
|
+
private _getPrintLayouts;
|
|
1695
1750
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerComponent, never>;
|
|
1696
|
-
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferPrintStickerComponent, "co-stock-transfer-print-sticker", never, {}, { "close": "close"; }, never, never,
|
|
1751
|
+
static ɵcmp: i0.ɵɵComponentDeclaration<StockTransferPrintStickerComponent, "co-stock-transfer-print-sticker", never, { "reportDocumentPrintRequest": { "alias": "reportDocumentPrintRequest"; "required": false; }; }, { "close": "close"; }, never, never, false, never>;
|
|
1752
|
+
}
|
|
1753
|
+
|
|
1754
|
+
declare class StockTransferPrintStickerModule {
|
|
1755
|
+
static ɵfac: i0.ɵɵFactoryDeclaration<StockTransferPrintStickerModule, never>;
|
|
1756
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<StockTransferPrintStickerModule, [typeof StockTransferPrintStickerComponent], [typeof i2.CommonModule, typeof SendMethodDialogModule], [typeof StockTransferPrintStickerComponent]>;
|
|
1757
|
+
static ɵinj: i0.ɵɵInjectorDeclaration<StockTransferPrintStickerModule>;
|
|
1697
1758
|
}
|
|
1698
1759
|
|
|
1699
1760
|
declare class StockModule {
|
|
1700
1761
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockModule, never>;
|
|
1701
|
-
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
|
|
1762
|
+
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]>;
|
|
1702
1763
|
static ɵinj: i0.ɵɵInjectorDeclaration<StockModule>;
|
|
1703
1764
|
}
|
|
1704
1765
|
|
|
@@ -1984,7 +2045,6 @@ declare class AgendaHeaderComponent implements OnInit, OnDestroy, AfterContentCh
|
|
|
1984
2045
|
readonly viewTypes: typeof CalendarView;
|
|
1985
2046
|
private readonly scrollbarWidth;
|
|
1986
2047
|
today: Date;
|
|
1987
|
-
originalSelectedDate: Date;
|
|
1988
2048
|
set selectedDate(value: Date);
|
|
1989
2049
|
selectedFirstDayOfTheWeek: Date;
|
|
1990
2050
|
get selectedDate(): Date;
|
|
@@ -3212,6 +3272,7 @@ declare class NotificationSummaryBlockComponent extends BaseActivitySummaryCompo
|
|
|
3212
3272
|
summaryBlock: ActivitySummaryBlockComponent;
|
|
3213
3273
|
showClass(): boolean;
|
|
3214
3274
|
branchNo: string;
|
|
3275
|
+
emailingInProgress: Boolean;
|
|
3215
3276
|
listItems: RoleEmailaddress[];
|
|
3216
3277
|
emailAddresses: string[];
|
|
3217
3278
|
constructor(boFactory: BusinessObjectFactory, dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, sharedService: SharedService);
|
|
@@ -3264,7 +3325,7 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
|
|
|
3264
3325
|
handleAddDocument(doc: CoDocument): void;
|
|
3265
3326
|
constructor(_boFactory: BusinessObjectFactory, sharedService: SharedService, iconCacheService: IconCacheService$1);
|
|
3266
3327
|
ngOnInit(): void;
|
|
3267
|
-
showContent(menu: string): void
|
|
3328
|
+
showContent(menu: string): Promise<void>;
|
|
3268
3329
|
handleRegisterWork(): void;
|
|
3269
3330
|
handleSaveActivity(activity: Activity): void;
|
|
3270
3331
|
handleDeleteActivity(activity: Activity): void;
|
|
@@ -3661,6 +3722,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3661
3722
|
constructor(iconService: IconCacheService, sharedService: SharedService, renderer: Renderer2);
|
|
3662
3723
|
ngOnInit(): Promise<void>;
|
|
3663
3724
|
ngAfterViewInit(): void;
|
|
3725
|
+
handleVisibilityChange(visible: boolean): void;
|
|
3664
3726
|
fetchRoleEmailAddresses(): Promise<void>;
|
|
3665
3727
|
roleChosen(roles: RoleEmailaddress[]): void;
|
|
3666
3728
|
handleKeyPressed(event: KeyboardEvent): void;
|
|
@@ -3674,7 +3736,7 @@ declare class RoleEmailSelectorComponent implements OnInit, AfterViewInit {
|
|
|
3674
3736
|
|
|
3675
3737
|
declare class RoleEmailSelectorModule {
|
|
3676
3738
|
static ɵfac: i0.ɵɵFactoryDeclaration<RoleEmailSelectorModule, never>;
|
|
3677
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleEmailSelectorModule, [typeof RoleEmailSelectorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof SharedComponentsTranslationModule, typeof i3.IconModule, typeof i2.CommonModule], [typeof RoleEmailSelectorComponent]>;
|
|
3739
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<RoleEmailSelectorModule, [typeof RoleEmailSelectorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof SharedComponentsTranslationModule, typeof i3.IconModule, typeof i2.CommonModule, typeof i3.ObserveVisibilityModule], [typeof RoleEmailSelectorComponent]>;
|
|
3678
3740
|
static ɵinj: i0.ɵɵInjectorDeclaration<RoleEmailSelectorModule>;
|
|
3679
3741
|
}
|
|
3680
3742
|
|
|
@@ -3950,7 +4012,6 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3950
4012
|
private _formMasterService;
|
|
3951
4013
|
private _elementRef;
|
|
3952
4014
|
readonly icons: typeof Icon;
|
|
3953
|
-
onDocumentMouseDown(event: MouseEvent): void;
|
|
3954
4015
|
createForm: FormComponent;
|
|
3955
4016
|
author: RelationSmallObject;
|
|
3956
4017
|
branchNo: string;
|
|
@@ -3999,6 +4060,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
3999
4060
|
private _allowTaskCreation;
|
|
4000
4061
|
constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
|
|
4001
4062
|
ngOnInit(): Promise<void>;
|
|
4063
|
+
outsideClick(): void;
|
|
4002
4064
|
setupOptionCollection(): void;
|
|
4003
4065
|
itemSelected(item: IconListItem): void;
|
|
4004
4066
|
openAttachmentDialog(): void;
|
|
@@ -4029,7 +4091,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
|
|
|
4029
4091
|
|
|
4030
4092
|
declare class TaskCreatorModule {
|
|
4031
4093
|
static ɵfac: i0.ɵɵFactoryDeclaration<TaskCreatorModule, never>;
|
|
4032
|
-
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskCreatorModule, [typeof TaskCreatorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.CoDialogModule, typeof FilesUploadModule, typeof SharedComponentsTranslationModule, typeof i3.ListOfIconsModule, typeof i3.FormModule, typeof i3.IconModule, typeof RoleEmailSelectorModule, typeof EmailSelectorModule, typeof i3.InputTextareaModule], [typeof TaskCreatorComponent]>;
|
|
4094
|
+
static ɵmod: i0.ɵɵNgModuleDeclaration<TaskCreatorModule, [typeof TaskCreatorComponent], [typeof i3.ListOfValuesModule, typeof i3.InputTextModule, typeof i3.ButtonModule, typeof i2.CommonModule, typeof i3.CoDialogModule, typeof FilesUploadModule, typeof SharedComponentsTranslationModule, typeof i3.ListOfIconsModule, typeof i3.FormModule, typeof i3.IconModule, typeof RoleEmailSelectorModule, typeof EmailSelectorModule, typeof i3.InputTextareaModule, typeof i3.ClickoutsideModule], [typeof TaskCreatorComponent]>;
|
|
4033
4095
|
static ɵinj: i0.ɵɵInjectorDeclaration<TaskCreatorModule>;
|
|
4034
4096
|
}
|
|
4035
4097
|
|
|
@@ -2,47 +2,58 @@
|
|
|
2
2
|
.co-role-email-selector {
|
|
3
3
|
width: 100%;
|
|
4
4
|
height: 100%;
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
position: relative;
|
|
10
|
-
.chips-wrapper {
|
|
5
|
+
|
|
6
|
+
.role-email-selector-wrapper {
|
|
7
|
+
width: 100%;
|
|
8
|
+
height: 100%;
|
|
11
9
|
display: flex;
|
|
12
|
-
flex-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
top: 8px;
|
|
19
|
-
max-width: 50%;
|
|
20
|
-
max-height: 30px;
|
|
21
|
-
overflow: auto;
|
|
22
|
-
.chips {
|
|
23
|
-
font-family: $cc-co-role-email-selector-chip-font-family;
|
|
24
|
-
font-size: $cc-co-role-email-selector-chip-font-size;
|
|
25
|
-
color: $cc-co-role-email-selector-chip-font-color;
|
|
10
|
+
flex-direction: row;
|
|
11
|
+
row-gap: 0;
|
|
12
|
+
justify-content: space-between;
|
|
13
|
+
position: relative;
|
|
14
|
+
|
|
15
|
+
.chips-wrapper {
|
|
26
16
|
display: flex;
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding: $cc-co-role-email-selector-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
17
|
+
flex-wrap: wrap;
|
|
18
|
+
column-gap: $cc-co-role-email-selector-chips-column-gap;
|
|
19
|
+
row-gap: $cc-co-role-email-selector-chips-row-gap;
|
|
20
|
+
padding: $cc-co-role-email-selector-chips-padding;
|
|
21
|
+
position: absolute;
|
|
22
|
+
left: 10px;
|
|
23
|
+
top: 8px;
|
|
24
|
+
max-width: 50%;
|
|
25
|
+
max-height: 30px;
|
|
26
|
+
overflow: auto;
|
|
27
|
+
|
|
28
|
+
.chips {
|
|
29
|
+
font-family: $cc-co-role-email-selector-chip-font-family;
|
|
30
|
+
font-size: $cc-co-role-email-selector-chip-font-size;
|
|
31
|
+
color: $cc-co-role-email-selector-chip-font-color;
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
background: $cc-co-role-email-selector-chip-background-color;
|
|
35
|
+
border-radius: $cc-co-role-email-selector-chip-border-radius; // 5px;
|
|
36
|
+
padding: $cc-co-role-email-selector-chip-padding; // 5px 7px;
|
|
37
|
+
user-select: none;
|
|
38
|
+
|
|
39
|
+
&:last-child {
|
|
40
|
+
margin-right: 20px;
|
|
41
|
+
}
|
|
34
42
|
}
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
43
|
+
|
|
44
|
+
.remove-chip-icon {
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
padding: 5px;
|
|
47
|
+
height: $cc-co-role-email-selector-chip-delete-icon-size;
|
|
48
|
+
width: $cc-co-role-email-selector-chip-delete-icon-size;
|
|
49
|
+
|
|
50
|
+
svg { // for fontawesome icons
|
|
51
|
+
fill: $cc-co-role-email-selector-chip-delete-icon-color;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
& [fill] { // for own icons
|
|
55
|
+
fill: $cc-co-role-email-selector-chip-delete-icon-color;
|
|
56
|
+
}
|
|
46
57
|
}
|
|
47
58
|
}
|
|
48
59
|
}
|
|
File without changes
|