@colijnit/sharedcomponents 262.1.22 → 262.1.24

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
@@ -60,9 +60,9 @@ import { PrintTransferStickersRequest } from '@colijnit/mainapi/build/model/prin
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
62
  import { RelationLight } from '@colijnit/mainapi/build/model/relation-light.bo';
63
- import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
64
63
  import * as i3 from '@colijnit/corecomponents_v12';
65
- import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType, CoreDialogService, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, InputTextComponent, ColorSequenceService, IconListItem, ColorSequenceName } from '@colijnit/corecomponents_v12';
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';
66
66
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
67
67
  import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
68
68
  import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
@@ -287,12 +287,14 @@ declare class OptionsService {
287
287
 
288
288
  declare class SharedConnectorService {
289
289
  private _optionsService;
290
+ private _dialogService;
291
+ private _dictionaryService;
290
292
  articleConnector: Articles;
291
293
  sharedConnector: Sharedapi;
292
294
  mainConnector: MainApi;
293
295
  relationConnector: RelationApi;
294
296
  private _boFactory;
295
- constructor(_optionsService: OptionsService);
297
+ constructor(_optionsService: OptionsService, _dialogService: CoreDialogService, _dictionaryService: SharedComponentsDictionaryService);
296
298
  connect(): Promise<void>;
297
299
  getConfiguration(module: string, params: string[]): Promise<ObjectConfiguration[]>;
298
300
  getSequenceValue(seq: SequenceName): Promise<number>;
@@ -357,6 +359,9 @@ declare class SharedConnectorService {
357
359
  getTransferStickerPrintLayouts(): Promise<ReportLayoutSelectionPrint[]>;
358
360
  printTransferStickers(printTransferStickerRequest: PrintTransferStickersRequest): Promise<boolean>;
359
361
  commit(): Promise<boolean>;
362
+ private _handleExceptionFromResponse;
363
+ private _messageAsValidationError;
364
+ private _messageDetails;
360
365
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedConnectorService, never>;
361
366
  static ɵprov: i0.ɵɵInjectableDeclaration<SharedConnectorService>;
362
367
  }
@@ -441,6 +446,7 @@ declare enum Icon {
441
446
  Employee = "employee",
442
447
  EnvelopeRegular = "envelope_regular",
443
448
  EyeRegular = "eye_regular",
449
+ EyeSlashRegular = "eye_slash_regular",
444
450
  FileExportRegular = "file_export_regular",
445
451
  FileExportSolid = "file_export_solid",
446
452
  FileMagnifyingGlass = "file_magnifying_glass",
@@ -452,6 +458,8 @@ declare enum Icon {
452
458
  IoneWorkflow = "ione_workflow",
453
459
  ListUlRegular = "list_ul_regular",
454
460
  Lock = "lock",
461
+ LockRegular = "lock_regular",
462
+ LockSolid = "lock_solid",
455
463
  MessageSmsRegular = "message_sms_regular",
456
464
  MessageSmsSolid = "message_sms_solid",
457
465
  MinusSimple = "minus_simple",
@@ -476,6 +484,7 @@ declare enum Icon {
476
484
  Task = "task",
477
485
  Trashbin = "trashbin",
478
486
  TrashCanRegular = "trash_can_regular",
487
+ UserSolid = "user_solid",
479
488
  WorkInProgress = "work_in_progress",
480
489
  WorkInProgressRoundOpen = "work_in_progress_round_open",
481
490
  Xml = "xml",
@@ -1004,7 +1013,7 @@ declare class StockLocationPopupComponent implements OnInit {
1004
1013
  amountInStockChanged(data: any): void;
1005
1014
  handleOkClick(): Promise<void>;
1006
1015
  togglePopup(): void;
1007
- locationForNumber(number: string): StockLocation | "";
1016
+ locationForNumber(number: string): "" | StockLocation;
1008
1017
  locationChanged(event: StockLocation): void;
1009
1018
  handleStockChange(): void;
1010
1019
  handleSelectedStockState(event: StockStatus): void;
@@ -3338,7 +3347,7 @@ declare class ModifyTaskFormComponent implements OnInit, ScreenConfigAdapterComp
3338
3347
  declare class TaskModifierComponent implements OnDestroy {
3339
3348
  private _dialogService;
3340
3349
  private _boFactory;
3341
- private readonly _dictionary;
3350
+ private _dictionary;
3342
3351
  iconService: IconCacheService;
3343
3352
  protected sharedService: SharedService;
3344
3353
  readonly icons: typeof Icon;
@@ -3394,6 +3403,7 @@ declare class TaskModifierComponent implements OnDestroy {
3394
3403
  updateEditActivity(activity: Activity): void;
3395
3404
  handleTriggerFired(): void;
3396
3405
  enableEmailOnNextSave(): void;
3406
+ protected readonly ActivityType: typeof ActivityType;
3397
3407
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskModifierComponent, never>;
3398
3408
  static ɵcmp: i0.ɵɵComponentDeclaration<TaskModifierComponent, "co-task-modifier", never, { "taskCfgNames": { "alias": "taskCfgNames"; "required": false; }; "workflowCategory": { "alias": "workflowCategory"; "required": false; }; "reference": { "alias": "reference"; "required": false; }; "referenceId": { "alias": "referenceId"; "required": false; }; "userGroupId": { "alias": "userGroupId"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "createTaskOperation": { "alias": "createTaskOperation"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; }, { "editingComplete": "editingComplete"; "activitySaved": "activitySaved"; "activityDeleted": "activityDeleted"; "closedWithoutComplete": "closedWithoutComplete"; "showWorkLog": "showWorkLog"; "taskCreated": "taskCreated"; "taskModified": "taskModified"; "triggerFired": "triggerFired"; }, never, never, false, never>;
3399
3409
  }
@@ -3898,6 +3908,7 @@ declare class ModifyActivityFormComponent extends BaseActivityLeafComponent {
3898
3908
  declare class ActivityModifierComponent {
3899
3909
  private _dialogService;
3900
3910
  private _boFactory;
3911
+ private _dictionary;
3901
3912
  iconService: IconCacheService;
3902
3913
  protected sharedService: SharedService;
3903
3914
  readonly icons: typeof Icon;
@@ -3914,7 +3925,7 @@ declare class ActivityModifierComponent {
3914
3925
  showModificationForm: boolean;
3915
3926
  get showForm(): boolean;
3916
3927
  get readonly(): boolean;
3917
- constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, iconService: IconCacheService, sharedService: SharedService);
3928
+ constructor(_dialogService: CoreDialogService, _boFactory: BusinessObjectFactory, _dictionary: SharedComponentsDictionaryService, iconService: IconCacheService, sharedService: SharedService);
3918
3929
  /**
3919
3930
  * Open an existing Remark activity.
3920
3931
  */
@@ -4658,8 +4669,8 @@ declare class ActivityTimelineComponent implements OnInit {
4658
4669
  addNewActivity(event: MouseEvent): void;
4659
4670
  viewOrEditClick(event: MouseEvent, item: any): void;
4660
4671
  onDeleteRemark(activity: Activity): Promise<void>;
4661
- deleteActivity(event: MouseEvent, item: Activity): any;
4662
- onDeleteTask(item: Activity): void;
4672
+ deleteActivity(event: MouseEvent, item: Activity): Promise<void>;
4673
+ onDeleteTask(item: Activity): Promise<void>;
4663
4674
  cancelEdit(): void;
4664
4675
  handleSaveActivity(activity: Activity): Promise<void>;
4665
4676
  reloadActivities(): Promise<void>;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.22",
3
+ "version": "262.1.24",
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.8",
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",