@colijnit/sharedcomponents 262.1.21 → 262.1.23
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/index.d.ts
CHANGED
|
@@ -59,9 +59,10 @@ import { PrintStockStickersRequest } from '@colijnit/mainapi/build/model/print-s
|
|
|
59
59
|
import { PrintTransferStickersRequest } from '@colijnit/mainapi/build/model/print-transfer-stickers-request';
|
|
60
60
|
import { ReportLayoutSelectionPrint } from '@colijnit/mainapi/build/model/report-layout-selection-print.bo';
|
|
61
61
|
import { ReportLayoutSelectionEmail } from '@colijnit/mainapi/build/model/report-layout-selection-email.bo';
|
|
62
|
-
import {
|
|
62
|
+
import { RelationLight } from '@colijnit/mainapi/build/model/relation-light.bo';
|
|
63
63
|
import * as i3 from '@colijnit/corecomponents_v12';
|
|
64
|
-
import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType,
|
|
64
|
+
import { CoreDialogService, BaseModuleScreenConfigService, SimpleGridColumnTemplateType, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, InputTextComponent, ColorSequenceService, IconListItem, ColorSequenceName } from '@colijnit/corecomponents_v12';
|
|
65
|
+
import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
|
|
65
66
|
import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
|
|
66
67
|
import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
|
|
67
68
|
import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
|
|
@@ -286,12 +287,13 @@ declare class OptionsService {
|
|
|
286
287
|
|
|
287
288
|
declare class SharedConnectorService {
|
|
288
289
|
private _optionsService;
|
|
290
|
+
private _dialogService;
|
|
289
291
|
articleConnector: Articles;
|
|
290
292
|
sharedConnector: Sharedapi;
|
|
291
293
|
mainConnector: MainApi;
|
|
292
294
|
relationConnector: RelationApi;
|
|
293
295
|
private _boFactory;
|
|
294
|
-
constructor(_optionsService: OptionsService);
|
|
296
|
+
constructor(_optionsService: OptionsService, _dialogService: CoreDialogService);
|
|
295
297
|
connect(): Promise<void>;
|
|
296
298
|
getConfiguration(module: string, params: string[]): Promise<ObjectConfiguration[]>;
|
|
297
299
|
getSequenceValue(seq: SequenceName): Promise<number>;
|
|
@@ -349,12 +351,14 @@ declare class SharedConnectorService {
|
|
|
349
351
|
updateFormResponse(formResponse: FormResponse): Promise<FormResponse>;
|
|
350
352
|
lockFormResponse(formResponseId: number): Promise<boolean>;
|
|
351
353
|
unlockFormResponse(formResponseId: number): Promise<boolean>;
|
|
354
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
352
355
|
getStockStickerEmailLayouts(): Promise<ReportLayoutSelectionEmail[]>;
|
|
353
356
|
getStockStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
354
357
|
printStockStickers(printStockStickersRequest: PrintStockStickersRequest): Promise<boolean>;
|
|
355
358
|
getTransferStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
|
|
356
359
|
printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<boolean>;
|
|
357
360
|
commit(): Promise<boolean>;
|
|
361
|
+
private _handleExceptionFromResponse;
|
|
358
362
|
static ɵfac: i0.ɵɵFactoryDeclaration<SharedConnectorService, never>;
|
|
359
363
|
static ɵprov: i0.ɵɵInjectableDeclaration<SharedConnectorService>;
|
|
360
364
|
}
|
|
@@ -392,6 +396,7 @@ declare class StockService {
|
|
|
392
396
|
lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
|
|
393
397
|
getArticleFlat(sku: string): Promise<ArticleFlat>;
|
|
394
398
|
searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
|
|
399
|
+
getBranchesByWarehouseNumber(warehouseNo: number): Promise<RelationLight[]>;
|
|
395
400
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
|
|
396
401
|
static ɵprov: i0.ɵɵInjectableDeclaration<StockService>;
|
|
397
402
|
}
|
|
@@ -861,6 +866,7 @@ declare class StockLocationComponent extends BaseStockComponent implements OnIni
|
|
|
861
866
|
data: ArticleDetailsBo[];
|
|
862
867
|
selectedWarehouse: StockManagementWarehouses;
|
|
863
868
|
stockLocations: StockLocation[];
|
|
869
|
+
branches: RelationLight[];
|
|
864
870
|
stockStickerPrintRequest: PrintStockStickersRequest;
|
|
865
871
|
selectedRow: ArticleDetailsBo;
|
|
866
872
|
showSendMethodDialog: boolean;
|
|
@@ -981,6 +987,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
981
987
|
newStockLine: boolean;
|
|
982
988
|
deleteStockLine: boolean;
|
|
983
989
|
set setSelectedArticleDetailsData(articleDetails: ArticleDetailsBo);
|
|
990
|
+
branches: RelationLight[];
|
|
984
991
|
set setArticleFlat(article: ArticleFlat);
|
|
985
992
|
articleDetailsInformation: ArticleStockManagement;
|
|
986
993
|
selectedWarehouse: StockManagementWarehouses;
|
|
@@ -991,6 +998,7 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
991
998
|
saveEvent: EventEmitter<boolean>;
|
|
992
999
|
stockLocations: StockLocation[];
|
|
993
1000
|
stockStatus: StockStatus[];
|
|
1001
|
+
selectedBranch: RelationLight;
|
|
994
1002
|
stockBelow: boolean;
|
|
995
1003
|
validationMessage: string;
|
|
996
1004
|
constructor(iconCacheService: IconCacheService, _stockService: StockService);
|
|
@@ -998,13 +1006,15 @@ declare class StockLocationPopupComponent implements OnInit {
|
|
|
998
1006
|
amountInStockChanged(data: any): void;
|
|
999
1007
|
handleOkClick(): Promise<void>;
|
|
1000
1008
|
togglePopup(): void;
|
|
1001
|
-
locationForNumber(number: string):
|
|
1009
|
+
locationForNumber(number: string): "" | StockLocation;
|
|
1002
1010
|
locationChanged(event: StockLocation): void;
|
|
1003
1011
|
handleStockChange(): void;
|
|
1004
1012
|
handleSelectedStockState(event: StockStatus): void;
|
|
1013
|
+
handleBranchChange(branch: RelationLight): void;
|
|
1014
|
+
newDate(): Date;
|
|
1005
1015
|
private validateForm;
|
|
1006
1016
|
static ɵfac: i0.ɵɵFactoryDeclaration<StockLocationPopupComponent, never>;
|
|
1007
|
-
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>;
|
|
1017
|
+
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>;
|
|
1008
1018
|
}
|
|
1009
1019
|
|
|
1010
1020
|
declare class StockTransferAllocatedComponent implements AfterViewInit {
|
|
@@ -3330,7 +3340,7 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
|
|
|
3330
3340
|
declare class TaskModifierComponent implements OnDestroy {
|
|
3331
3341
|
private _dialogService;
|
|
3332
3342
|
private _boFactory;
|
|
3333
|
-
private
|
|
3343
|
+
private _dictionary;
|
|
3334
3344
|
iconService: IconCacheService;
|
|
3335
3345
|
protected sharedService: SharedService;
|
|
3336
3346
|
readonly icons: typeof Icon;
|
|
@@ -3890,6 +3900,7 @@ declare class ModifyActivityFormComponent extends BaseActivityLeafComponent {
|
|
|
3890
3900
|
declare class ActivityModifierComponent {
|
|
3891
3901
|
private _dialogService;
|
|
3892
3902
|
private _boFactory;
|
|
3903
|
+
private _dictionary;
|
|
3893
3904
|
iconService: IconCacheService;
|
|
3894
3905
|
protected sharedService: SharedService;
|
|
3895
3906
|
readonly icons: typeof Icon;
|
|
@@ -3906,7 +3917,7 @@ declare class ActivityModifierComponent {
|
|
|
3906
3917
|
showModificationForm: boolean;
|
|
3907
3918
|
get showForm(): boolean;
|
|
3908
3919
|
get readonly(): boolean;
|
|
3909
|
-
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, iconService: IconCacheService, sharedService: SharedService);
|
|
3920
|
+
constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: SharedComponentsDictionaryService, iconService: IconCacheService, sharedService: SharedService);
|
|
3910
3921
|
/**
|
|
3911
3922
|
* Open an existing Remark activity.
|
|
3912
3923
|
*/
|
|
@@ -4650,8 +4661,8 @@ declare class ActivityTimelineComponent implements OnInit {
|
|
|
4650
4661
|
addNewActivity(event: MouseEvent): void;
|
|
4651
4662
|
viewOrEditClick(event: MouseEvent, item: any): void;
|
|
4652
4663
|
onDeleteRemark(activity: Activity): Promise<void>;
|
|
4653
|
-
deleteActivity(event: MouseEvent, item: Activity):
|
|
4654
|
-
onDeleteTask(item: Activity): void
|
|
4664
|
+
deleteActivity(event: MouseEvent, item: Activity): Promise<void>;
|
|
4665
|
+
onDeleteTask(item: Activity): Promise<void>;
|
|
4655
4666
|
cancelEdit(): void;
|
|
4656
4667
|
handleSaveActivity(activity: Activity): Promise<void>;
|
|
4657
4668
|
reloadActivities(): Promise<void>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@colijnit/sharedcomponents",
|
|
3
|
-
"version": "262.1.
|
|
3
|
+
"version": "262.1.23",
|
|
4
4
|
"private": false,
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"chart.js": "4.3.0",
|
|
@@ -11,7 +11,7 @@
|
|
|
11
11
|
"@angular/common": "^20.3.16",
|
|
12
12
|
"@angular/core": "^20.3.16",
|
|
13
13
|
"@colijnit/articleapi": ">=262.1.0",
|
|
14
|
-
"@colijnit/mainapi": ">=262.1.
|
|
14
|
+
"@colijnit/mainapi": ">=262.1.18",
|
|
15
15
|
"@colijnit/corecomponents_v12": ">=262.1.0",
|
|
16
16
|
"@colijnit/ioneconnector": ">=262.1.0",
|
|
17
17
|
"@colijnit/sharedapi": ">=1.0.20",
|