@colijnit/sharedcomponents 261.20.9 → 261.20.10

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.
Files changed (33) hide show
  1. package/fesm2022/colijnit-sharedcomponents.mjs +3444 -165
  2. package/fesm2022/colijnit-sharedcomponents.mjs.map +1 -1
  3. package/index.d.ts +613 -11
  4. package/lib/components/activity-timeline/style/_layout.scss +60 -0
  5. package/lib/components/activity-timeline/style/_material-definition.scss +9 -0
  6. package/lib/components/activity-timeline/style/_theme.scss +4 -0
  7. package/lib/components/activity-timeline/style/material.scss +4 -0
  8. package/lib/components/avatar/style/_layout.scss +4 -0
  9. package/lib/components/avatar/style/_material-definition.scss +0 -0
  10. package/lib/components/avatar/style/_theme.scss +4 -0
  11. package/lib/components/avatar/style/material.scss +4 -0
  12. package/lib/components/docsign/style/_layout.scss +10 -0
  13. package/lib/components/email-selector/style/_layout.scss +1 -1
  14. package/lib/components/input-calculation-key/style/_layout.scss +4 -0
  15. package/lib/components/input-calculation-key/style/_material-definition.scss +0 -0
  16. package/lib/components/input-calculation-key/style/_theme.scss +4 -0
  17. package/lib/components/input-calculation-key/style/material.scss +4 -0
  18. package/lib/components/input-duration/style/_layout.scss +5 -0
  19. package/lib/components/input-duration/style/_material-definition.scss +0 -0
  20. package/lib/components/input-duration/style/_theme.scss +4 -0
  21. package/lib/components/input-duration/style/material.scss +4 -0
  22. package/lib/components/input-search-employee/style/_layout.scss +4 -0
  23. package/lib/components/input-search-employee/style/_material-definition.scss +0 -0
  24. package/lib/components/input-search-employee/style/_theme.scss +4 -0
  25. package/lib/components/input-search-employee/style/material.scss +4 -0
  26. package/lib/components/modify-task-form/style/_layout.scss +6 -0
  27. package/lib/components/task-creator/style/_layout.scss +156 -63
  28. package/lib/components/task-modifyer/style/_layout.scss +22 -2
  29. package/lib/components/timeline/style/_layout.scss +75 -0
  30. package/lib/components/timeline/style/_material-definition.scss +23 -0
  31. package/lib/components/timeline/style/_theme.scss +4 -0
  32. package/lib/components/timeline/style/material.scss +4 -0
  33. package/package.json +1 -1
package/index.d.ts CHANGED
@@ -21,7 +21,6 @@ import { BehaviorSubject, Subject } from 'rxjs';
21
21
  import { LanguageCode as LanguageCode$1 } from '@colijnit/ioneconnector/build/enum/language-code.enum';
22
22
  import { MainApi } from '@colijnit/mainapi';
23
23
  import { Printer } from '@colijnit/mainapi/build/model/printer.bo';
24
- import { DataServiceResponseData } from '@colijnit/ioneconnector/build/model/data-service-response-data';
25
24
  import { SendMethod as SendMethod$1 } from '@colijnit/mainapi/build/model/send-method.bo';
26
25
  import { StockForecast } from '@colijnit/articleapi/build/model/stock-forecast.bo';
27
26
  import { TagCategory as TagCategory$1 } from '@colijnit/mainapi/build/enum/tab-category.enum';
@@ -54,9 +53,10 @@ import { ActivityWorkflow } from '@colijnit/mainapi/build/model/activity-workflo
54
53
  import { EmailActivityRequest } from '@colijnit/mainapi/build/model/email-activity-request';
55
54
  import { Form } from '@colijnit/mainapi/build/model/form.bo';
56
55
  import { FormResponse } from '@colijnit/mainapi/build/model/form-response.bo';
56
+ import { SequenceName } from '@colijnit/mainapi/build/enum/sequence-name.enum';
57
57
  import { SafeHtml, DomSanitizer } from '@angular/platform-browser';
58
58
  import * as i3 from '@colijnit/corecomponents_v12';
59
- import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType, CoreDialogService, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, ColorSequenceService, IconListItem } from '@colijnit/corecomponents_v12';
59
+ import { BaseModuleScreenConfigService, SimpleGridColumnTemplateType, CoreDialogService, OverlayService, ScreenConfigAdapterComponent, FormComponent, PromptService, FormMasterService, IconCacheService as IconCacheService$1, ColorSequenceService, IconListItem, ColorSequenceName, InputTextComponent } from '@colijnit/corecomponents_v12';
60
60
  import { SendMethodType } from '@colijnit/mainapi/build/enum/send-method-type.enum';
61
61
  import { PrintStockStickers as PrintStockStickers$1 } from '@colijnit/articleapi/build/model/print-stock-stickers';
62
62
  import { PrintPriceStickers } from '@colijnit/sharedapi/build/model/print-price-stickers.bo';
@@ -99,6 +99,10 @@ import { FormQuestionType } from '@colijnit/mainapi/build/enum/form-question.typ
99
99
  import { FormQuestion } from '@colijnit/mainapi/build/model/form-question.bo';
100
100
  import { FormQuestionAnswer } from '@colijnit/mainapi/build/model/form-question-answer.bo';
101
101
  import { FormQuestionResponse } from '@colijnit/mainapi/build/model/form-question-response.bo';
102
+ import { BusinessObjectIDType } from '@colijnit/ioneconnector/build/type/business-object-id-type';
103
+ import { RelationKind as RelationKind$1 } from '@colijnit/mainapi/build/enum/relation-kind';
104
+ import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
105
+ import { Relation } from '@colijnit/relationapi/build/model/relation.bo';
102
106
  import { Options } from '@colijnit/ioneconnector/build/model/options';
103
107
 
104
108
  interface TextDimension {
@@ -110,7 +114,7 @@ interface TextDimension {
110
114
  }
111
115
  declare class DocsignComponent {
112
116
  private _changeDetector;
113
- iframe: ElementRef;
117
+ pdfContainer: ElementRef<HTMLDivElement>;
114
118
  /**
115
119
  * Load an existing [[PDFDocument]]. The input data can be provided in
116
120
  * multiple formats:
@@ -192,11 +196,13 @@ declare class DocsignComponent {
192
196
  saveFirstSignature(sig: string): void;
193
197
  saveSecondSignature(sig: string): void;
194
198
  private _openPDF;
199
+ private _renderPdfPages;
195
200
  private _savePdf;
196
201
  private _checkSignatures;
197
202
  private _getPositionSignature;
198
203
  private _saveSignature;
199
204
  private _preparePDF;
205
+ private _getPdfBytesCopy;
200
206
  static ɵfac: i0.ɵɵFactoryDeclaration<DocsignComponent, never>;
201
207
  static ɵcmp: i0.ɵɵComponentDeclaration<DocsignComponent, "co-docsign", never, { "pdf": { "alias": "pdf"; "required": false; }; "firstSignatureLabel": { "alias": "firstSignatureLabel"; "required": false; }; "firstSignatureField": { "alias": "firstSignatureField"; "required": false; }; "secondSignatureLabel": { "alias": "secondSignatureLabel"; "required": false; }; "secondSignatureField": { "alias": "secondSignatureField"; "required": false; }; "saveButtonLabel": { "alias": "saveButtonLabel"; "required": false; }; "clearButtonLabel": { "alias": "clearButtonLabel"; "required": false; }; "signDocumentButtonLabel": { "alias": "signDocumentButtonLabel"; "required": false; }; "cancelButtonLabel": { "alias": "cancelButtonLabel"; "required": false; }; }, { "pdfSaved": "pdfSaved"; "cancelClick": "cancelClick"; }, never, never, false, never>;
202
208
  }
@@ -283,6 +289,7 @@ declare class SharedConnectorService {
283
289
  constructor(_optionsService: OptionsService);
284
290
  connect(): Promise<void>;
285
291
  getConfiguration(module: string, params: string[]): Promise<ObjectConfiguration[]>;
292
+ getSequenceValue(seq: SequenceName): Promise<number>;
286
293
  getAllPrinters(): Promise<Printer[]>;
287
294
  getDefaultPrinter(reportId: number, layoutCode: string): Promise<string>;
288
295
  getSendMethods(): Promise<SendMethod$1[]>;
@@ -337,7 +344,7 @@ declare class SharedConnectorService {
337
344
  updateFormResponse(formResponse: FormResponse): Promise<FormResponse>;
338
345
  lockFormResponse(formResponseId: number): Promise<boolean>;
339
346
  unlockFormResponse(formResponseId: number): Promise<boolean>;
340
- commit(): Promise<DataServiceResponseData>;
347
+ commit(): Promise<boolean>;
341
348
  static ɵfac: i0.ɵɵFactoryDeclaration<SharedConnectorService, never>;
342
349
  static ɵprov: i0.ɵɵInjectableDeclaration<SharedConnectorService>;
343
350
  }
@@ -372,7 +379,7 @@ declare class StockService {
372
379
  getArticleTransaction(data: ArticleTransaction): Promise<ArticleTransaction$1[]>;
373
380
  stockPrognose(goodId: number, warehouseNumber: number): Promise<StockForecast[]>;
374
381
  lockArticleDetails(data: ArticleStockManagement): Promise<boolean>;
375
- commit(): Promise<DataServiceResponseData>;
382
+ commit(): Promise<boolean>;
376
383
  getArticleFlat(sku: string): Promise<ArticleFlat>;
377
384
  searchArticles(request: ArticleExtendedRequest): Promise<ArticleExtended[]>;
378
385
  static ɵfac: i0.ɵɵFactoryDeclaration<StockService, never>;
@@ -403,6 +410,8 @@ declare enum Icon {
403
410
  CheckRound = "check_round",
404
411
  CheckSolid = "check_solid",
405
412
  ChevronRightRegular = "chevron_right_regular",
413
+ CircleCheckRegular = "circle_check_regular",
414
+ ClockArrow = "clock_arrow",
406
415
  ClockRegular = "clock_regular",
407
416
  CommentRegular = "comment_regular",
408
417
  CrossSkinny = "cross_skinny",
@@ -444,6 +453,7 @@ declare enum Icon {
444
453
  PrintRegular = "print_regular",
445
454
  PrintSolid = "print_solid",
446
455
  RegularFileSignatureCirclePlus = "regular_file_signature_circle_plus",
456
+ RemarkRoundOpen = "remark_round_open",
447
457
  ShareSolid = "share_solid",
448
458
  SignatureField = "signature_field",
449
459
  SolidBarcodeReadTag = "solid_barcode_read_tag",
@@ -452,6 +462,8 @@ declare enum Icon {
452
462
  Task = "task",
453
463
  Trashbin = "trashbin",
454
464
  TrashCanRegular = "trash_can_regular",
465
+ WorkInProgress = "work_in_progress",
466
+ WorkInProgressRoundOpen = "work_in_progress_round_open",
455
467
  Xml = "xml",
456
468
  XSolid = "x_solid"
457
469
  }
@@ -970,7 +982,7 @@ declare class StockLocationPopupComponent {
970
982
  stockBelow: boolean;
971
983
  validationMessage: string;
972
984
  constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
973
- statusForId(id: number): StockStatus | 0;
985
+ statusForId(id: number): 0 | StockStatus;
974
986
  handleStockStatusChange(status: StockStatus): void;
975
987
  handleStockStatusRemarkChange(remark: string): void;
976
988
  amountInStockChanged(data: any): void;
@@ -978,7 +990,7 @@ declare class StockLocationPopupComponent {
978
990
  handleOkClick(): void;
979
991
  togglePopup(): void;
980
992
  getStockLocations(): void;
981
- locationForNumber(number: string): StockLocation | "";
993
+ locationForNumber(number: string): "" | StockLocation;
982
994
  locationChanged(event: StockLocation): void;
983
995
  handleStockChange(): void;
984
996
  newDate(): Date;
@@ -1102,6 +1114,7 @@ declare class SharedService {
1102
1114
  constructor(locale: LanguageCode, options: OptionsService, connector: SharedConnectorService, dictionary: SharedComponentsDictionaryService);
1103
1115
  init(options: any): Promise<void>;
1104
1116
  connect(): Promise<void>;
1117
+ getSequenceValue(seq: SequenceName): Promise<number>;
1105
1118
  getAllPrinters(): Promise<Printer[]>;
1106
1119
  getDefaultPrinter(reportId: number, layoutCode: string): Promise<string>;
1107
1120
  getSendMethods(): Promise<SendMethod$1[]>;
@@ -1120,6 +1133,7 @@ declare class SharedService {
1120
1133
  updateActivity(activity: Activity): Promise<boolean>;
1121
1134
  deleteActivity(activity: Activity): Promise<boolean>;
1122
1135
  lockTask(id: number): Promise<boolean>;
1136
+ commit(): Promise<boolean>;
1123
1137
  canFireTrigger(activity: Activity, task: Task): boolean;
1124
1138
  fireTrigger(workFlowProcessId: number, sequence: number, triggerId: number): Promise<ValidationResult>;
1125
1139
  fireGenericTrigger(workFlowProcessId: number, genericTransitionId: number, relationId: number): Promise<ValidationResult>;
@@ -3229,6 +3243,7 @@ declare class TaskModifierComponent implements OnDestroy {
3229
3243
  modifyTaskForm: ModifyTaskFormComponent;
3230
3244
  notificationBlock: NotificationSummaryBlockComponent;
3231
3245
  get readonly(): boolean;
3246
+ taskCfgNames: ActivitiesTaskConfigNames;
3232
3247
  workflowCategory: WorkflowCategoryType;
3233
3248
  reference: string;
3234
3249
  referenceId: string;
@@ -3278,7 +3293,7 @@ declare class TaskModifierComponent implements OnDestroy {
3278
3293
  handleTriggerFired(): void;
3279
3294
  enableEmailOnNextSave(): void;
3280
3295
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskModifierComponent, never>;
3281
- static ɵcmp: i0.ɵɵComponentDeclaration<TaskModifierComponent, "co-task-modifier", never, { "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>;
3296
+ 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>;
3282
3297
  }
3283
3298
 
3284
3299
  declare abstract class BaseActivityOverviewComponent {
@@ -3394,6 +3409,9 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3394
3409
  userGroupId: number;
3395
3410
  relationId: number;
3396
3411
  branchNo: string;
3412
+ draggableActivities: boolean;
3413
+ taskView: boolean;
3414
+ hideInitialWorkflowTasks: boolean;
3397
3415
  componentActivitiesMethod: OperationCallbackSimpleFunction;
3398
3416
  setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
3399
3417
  openLinkClick: EventEmitter<Activity>;
@@ -3405,6 +3423,7 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3405
3423
  formCreated: EventEmitter<void>;
3406
3424
  refreshRequested: EventEmitter<void>;
3407
3425
  showUsergroupActivitiesChanged: EventEmitter<void>;
3426
+ activityDragStarted: EventEmitter<ActivityViewModel>;
3408
3427
  activeTab: PersonalActivityTabEnum;
3409
3428
  activityList: ActivityViewModel[];
3410
3429
  trackByFn(index: number, vm: ActivityViewModel): any;
@@ -3443,8 +3462,11 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3443
3462
  openFirstTask(): void;
3444
3463
  tryOpenTaskByTaskId(taskId: number): boolean;
3445
3464
  hasTaskActivity(activities: any[]): boolean;
3465
+ handleDragStart(dragEvent: DragEvent, activity: ActivityViewModel): void;
3466
+ private shouldHideActivity;
3467
+ private filterActivities;
3446
3468
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityListComponent, never>;
3447
- static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityListComponent, "co-component-activity-list", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; "showActivityHeader": { "alias": "showActivityHeader"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "noFreeTasks": { "alias": "noFreeTasks"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "userGroupId": { "alias": "userGroupId"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "componentActivitiesMethod": { "alias": "componentActivitiesMethod"; "required": false; }; "setHasPausedNotificationsForWorkflowProcessOperation": { "alias": "setHasPausedNotificationsForWorkflowProcessOperation"; "required": false; }; "activitiesList": { "alias": "activitiesList"; "required": false; }; }, { "openLinkClick": "openLinkClick"; "amountActivityChanged": "amountActivityChanged"; "linkClicked": "linkClicked"; "formCreated": "formCreated"; "refreshRequested": "refreshRequested"; "showUsergroupActivitiesChanged": "showUsergroupActivitiesChanged"; }, never, never, false, never>;
3469
+ static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityListComponent, "co-component-activity-list", never, { "table": { "alias": "table"; "required": false; }; "key": { "alias": "key"; "required": false; }; "showActivityHeader": { "alias": "showActivityHeader"; "required": false; }; "hideTitle": { "alias": "hideTitle"; "required": false; }; "noFreeTasks": { "alias": "noFreeTasks"; "required": false; }; "customTitle": { "alias": "customTitle"; "required": false; }; "userGroupId": { "alias": "userGroupId"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; "draggableActivities": { "alias": "draggableActivities"; "required": false; }; "taskView": { "alias": "taskView"; "required": false; }; "hideInitialWorkflowTasks": { "alias": "hideInitialWorkflowTasks"; "required": false; }; "componentActivitiesMethod": { "alias": "componentActivitiesMethod"; "required": false; }; "setHasPausedNotificationsForWorkflowProcessOperation": { "alias": "setHasPausedNotificationsForWorkflowProcessOperation"; "required": false; }; "activitiesList": { "alias": "activitiesList"; "required": false; }; }, { "openLinkClick": "openLinkClick"; "amountActivityChanged": "amountActivityChanged"; "linkClicked": "linkClicked"; "formCreated": "formCreated"; "refreshRequested": "refreshRequested"; "showUsergroupActivitiesChanged": "showUsergroupActivitiesChanged"; "activityDragStarted": "activityDragStarted"; }, never, never, false, never>;
3448
3470
  }
3449
3471
 
3450
3472
  declare class PersonalActivityOverviewComponent extends BaseActivityOverviewComponent {
@@ -3844,7 +3866,9 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3844
3866
  sharedService: SharedService;
3845
3867
  private _dialogService;
3846
3868
  private _formMasterService;
3869
+ private _elementRef;
3847
3870
  readonly icons: typeof Icon;
3871
+ onDocumentMouseDown(event: MouseEvent): void;
3848
3872
  createForm: FormComponent;
3849
3873
  author: RelationSmallObject;
3850
3874
  branchNo: string;
@@ -3872,6 +3896,7 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3872
3896
  workListItem: IconListItem;
3873
3897
  taskListItem: IconListItem;
3874
3898
  showFilesDialog: boolean;
3899
+ headerVisible: boolean;
3875
3900
  documents: CoDocument[];
3876
3901
  oldDocuments: CoDocument[];
3877
3902
  showEmailDialog: boolean;
@@ -3890,13 +3915,14 @@ declare class TaskCreatorComponent implements OnInit, ScreenConfigAdapterCompone
3890
3915
  private _allowRemarkCreation;
3891
3916
  private _allowWorkCreation;
3892
3917
  private _allowTaskCreation;
3893
- constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService);
3918
+ constructor(iconService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService, _dialogService: CoreDialogService, _formMasterService: FormMasterService, _elementRef: ElementRef);
3894
3919
  ngOnInit(): Promise<void>;
3895
3920
  setupOptionCollection(): void;
3896
3921
  itemSelected(item: IconListItem): void;
3897
3922
  openAttachmentDialog(): void;
3898
3923
  attachmentDialogClosed(): void;
3899
3924
  attachmentDialogCancelled(): void;
3925
+ showHeader(): void;
3900
3926
  addedDocument(docs: CoDocument[]): Promise<void>;
3901
3927
  deletedDocument(doc: CoDocument): Promise<void>;
3902
3928
  createRemarkClicked(): Promise<void>;
@@ -4086,6 +4112,582 @@ declare class FormBuilderUserFormModule {
4086
4112
  static ɵinj: i0.ɵɵInjectorDeclaration<FormBuilderUserFormModule>;
4087
4113
  }
4088
4114
 
4115
+ declare class CategoryViewObject {
4116
+ readonly identifier: any;
4117
+ readonly label: string;
4118
+ readonly items: any[];
4119
+ active: boolean;
4120
+ colorCss?: string;
4121
+ icon?: Icon;
4122
+ letter: string;
4123
+ itemCount: number;
4124
+ constructor(identifier: any, label: string, items: any[], active?: boolean, colorCss?: string, icon?: Icon);
4125
+ containsItem(item: any): boolean;
4126
+ }
4127
+
4128
+ declare class CategoryViewObjectsWrappedObject<T> extends BusinessObject {
4129
+ dataObject: T;
4130
+ categoryViewObjects: CategoryViewObject[];
4131
+ get categoryLetters(): string;
4132
+ constructor(dataObject: T);
4133
+ firstCategoryColorCss(): string;
4134
+ firstCategoryLetter(): string;
4135
+ firstCategoryIcon(): Icon;
4136
+ getId(): BusinessObjectIDType;
4137
+ private _getFirstCatViewObj;
4138
+ }
4139
+
4140
+ declare class TimelineComponent implements OnDestroy, DoCheck {
4141
+ private _changeRef;
4142
+ iconCacheService: IconCacheService;
4143
+ timelineDateItem: TemplateRef<any>;
4144
+ timelineBulletItem: TemplateRef<any>;
4145
+ timelineItem: TemplateRef<any>;
4146
+ timelineNewItem: TemplateRef<any>;
4147
+ set collection(collection: CategoryViewObjectsWrappedObject<any>[]);
4148
+ get collection(): CategoryViewObjectsWrappedObject<any>[];
4149
+ set inverted(value: boolean);
4150
+ get inverted(): boolean;
4151
+ showAddButton: boolean;
4152
+ addButtonDisabled: boolean;
4153
+ showAddButtonBottom: boolean;
4154
+ noAlternating: boolean;
4155
+ showTimestamp: boolean;
4156
+ showYear: boolean;
4157
+ readonly: boolean;
4158
+ bulletField: string;
4159
+ dateField: string;
4160
+ addLabel: string;
4161
+ remarkIcon: Icon;
4162
+ workIcon: Icon;
4163
+ statusIcon: Icon;
4164
+ taskIcon: Icon;
4165
+ hideInitialWorkflowTasks: boolean;
4166
+ addClick: EventEmitter<MouseEvent>;
4167
+ showClass: boolean;
4168
+ readonly Icon: typeof Icon;
4169
+ collectionCount: number;
4170
+ parsedCollection: {
4171
+ year: number;
4172
+ items: CategoryViewObjectsWrappedObject<any>[];
4173
+ }[];
4174
+ selectedItem: CategoryViewObjectsWrappedObject<any>;
4175
+ private _collectionCountLocal;
4176
+ private _collection;
4177
+ private _inverted;
4178
+ protected readonly ActivityType: typeof ActivityType;
4179
+ protected readonly icons: typeof Icon;
4180
+ constructor(_changeRef: ChangeDetectorRef, iconCacheService: IconCacheService);
4181
+ ngOnDestroy(): void;
4182
+ ngDoCheck(): void;
4183
+ trackById(index: number, wrapper: {
4184
+ year: number;
4185
+ items: CategoryViewObjectsWrappedObject<any>[];
4186
+ }): BusinessObjectIDType;
4187
+ update(): void;
4188
+ onTimeLineItemClick(item: CategoryViewObjectsWrappedObject<any>): void;
4189
+ handleAddButtonClick(event: MouseEvent): void;
4190
+ addYearWhenCollectionEmpty(): void;
4191
+ getTimelineTrackId(item: any, index: number): string;
4192
+ getActivityClass(activity: Activity): string;
4193
+ getActivityIcon(activity: Activity): Icon;
4194
+ private _shouldHideActivity;
4195
+ static ɵfac: i0.ɵɵFactoryDeclaration<TimelineComponent, never>;
4196
+ static ɵcmp: i0.ɵɵComponentDeclaration<TimelineComponent, "co-timeline", never, { "collection": { "alias": "collection"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "showAddButton": { "alias": "showAddButton"; "required": false; }; "addButtonDisabled": { "alias": "addButtonDisabled"; "required": false; }; "showAddButtonBottom": { "alias": "showAddButtonBottom"; "required": false; }; "noAlternating": { "alias": "noAlternating"; "required": false; }; "showTimestamp": { "alias": "showTimestamp"; "required": false; }; "showYear": { "alias": "showYear"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "bulletField": { "alias": "bulletField"; "required": false; }; "dateField": { "alias": "dateField"; "required": false; }; "addLabel": { "alias": "addLabel"; "required": false; }; "remarkIcon": { "alias": "remarkIcon"; "required": false; }; "workIcon": { "alias": "workIcon"; "required": false; }; "statusIcon": { "alias": "statusIcon"; "required": false; }; "taskIcon": { "alias": "taskIcon"; "required": false; }; "hideInitialWorkflowTasks": { "alias": "hideInitialWorkflowTasks"; "required": false; }; }, { "addClick": "addClick"; }, ["timelineDateItem", "timelineBulletItem", "timelineItem", "timelineNewItem"], never, true, never>;
4197
+ }
4198
+
4199
+ interface ActivitiesTimeLineAddButtonsConfigNames {
4200
+ addActivityTaskButton?: string;
4201
+ addActivityRemarkButton?: string;
4202
+ addActivityWorkButton?: string;
4203
+ }
4204
+
4205
+ interface ActivitiesWorkConfigNames {
4206
+ workHeader?: string;
4207
+ workExecutive?: string;
4208
+ workCalculationKey?: string;
4209
+ workDescription?: string;
4210
+ workFile?: string;
4211
+ workedTime?: string;
4212
+ }
4213
+
4214
+ interface ActivitiesTimeLineConfigNames {
4215
+ header?: string;
4216
+ buttons?: ActivitiesTimeLineAddButtonsConfigNames;
4217
+ task?: ActivitiesTaskConfigNames;
4218
+ work?: ActivitiesWorkConfigNames;
4219
+ }
4220
+
4221
+ declare class MakeCategoryViewObjectsResult<T> {
4222
+ private _categories;
4223
+ private _wrappedCollectionItems;
4224
+ get categories(): CategoryViewObject[];
4225
+ get wrappedCollectionItems(): CategoryViewObjectsWrappedObject<T>[];
4226
+ constructor(_categories: CategoryViewObject[], _wrappedCollectionItems: CategoryViewObjectsWrappedObject<T>[]);
4227
+ }
4228
+
4229
+ declare class ActivityTimelineService {
4230
+ private _sharedService;
4231
+ private _colorService;
4232
+ user: RelationSmallObject;
4233
+ private _activityTypeIconMap;
4234
+ constructor(_sharedService: SharedService, _colorService: ColorSequenceService);
4235
+ getActivities(table: TableName$1, key: string): Promise<Activity[]>;
4236
+ makeCategoryViewObjects<T>(collection: T[], groupByProp: string, domainName?: DomainName, masterDataClass?: typeof BusinessObject, enumClass?: any, colorSequence?: ColorSequenceName, customMasterDataClassDescriptionField?: string): Promise<MakeCategoryViewObjectsResult<T>>;
4237
+ getIconFromActivityType(activityType: ActivityType): Icon;
4238
+ createNewRemark(table: TableName$1, key: string): Promise<Activity>;
4239
+ createNewWork(table: TableName$1, key: string): Promise<Activity>;
4240
+ upsertActivity(activity: Activity): Promise<boolean>;
4241
+ private _getNextRemarkSequenceNumber;
4242
+ private _getNextWorkSequenceNumber;
4243
+ private _performGroupBy;
4244
+ private _generateWrappedCollectionItems;
4245
+ private _createColorSequenceMap;
4246
+ private _addColorsAndIconsToCategories;
4247
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTimelineService, never>;
4248
+ static ɵprov: i0.ɵɵInjectableDeclaration<ActivityTimelineService>;
4249
+ }
4250
+
4251
+ declare class ActivityTimelineComponent implements OnInit {
4252
+ private _activityTimelineService;
4253
+ timeline: TimelineComponent;
4254
+ taskModifier: TaskModifierComponent;
4255
+ formBuilderForm: FormBuilderUserFormComponent;
4256
+ workLeaf: ElementRef;
4257
+ cfgNames: ActivitiesTimeLineConfigNames;
4258
+ collection: CategoryViewObjectsWrappedObject<Activity>[];
4259
+ readonly: boolean;
4260
+ key: string;
4261
+ table: TableName$1;
4262
+ workflowCategory: WorkflowCategoryType;
4263
+ reference: string;
4264
+ hideNew: boolean;
4265
+ showPlusButton: boolean;
4266
+ showOnTop: boolean;
4267
+ canEditTask: boolean;
4268
+ canDeleteTask: boolean;
4269
+ allowNewTask: boolean;
4270
+ autoSave: boolean;
4271
+ loggedInUser: RelationSmallObject;
4272
+ inverted: boolean;
4273
+ editActivities: boolean;
4274
+ showYear: boolean;
4275
+ hideInitialWorkflowTasks: boolean;
4276
+ saveActivity: EventEmitter<Activity>;
4277
+ onDeleteActivity: EventEmitter<Activity>;
4278
+ statusChange: EventEmitter<boolean>;
4279
+ activitiesLoaded: EventEmitter<void>;
4280
+ refreshRequested: EventEmitter<void>;
4281
+ showClass(): boolean;
4282
+ set activity(value: Activity);
4283
+ get activity(): Activity;
4284
+ activitySelectionShown: boolean;
4285
+ plusButtonElementClicked: any;
4286
+ showNewActivityLeaf: boolean;
4287
+ selectedActivity: Activity;
4288
+ addingOrEditingActivity: boolean;
4289
+ showFormBuilder: boolean;
4290
+ private _boFactory;
4291
+ private _activity;
4292
+ constructor(_activityTimelineService: ActivityTimelineService);
4293
+ ngOnInit(): void;
4294
+ createActivity(type: ActivityType): void;
4295
+ addNewActivity(event: MouseEvent): void;
4296
+ viewOrEditClick(event: MouseEvent, item: any): void;
4297
+ deleteActivity(event: MouseEvent, item: Activity): any;
4298
+ onDeleteTask(item: Activity): void;
4299
+ cancelEdit(): void;
4300
+ handleSaveActivity(activity: Activity): Promise<void>;
4301
+ reloadActivities(): Promise<void>;
4302
+ handleTriggerFired(): Promise<void>;
4303
+ handleClosedWithoutSave(bool: boolean): void;
4304
+ doSaveForm(form: FormResponse): Promise<void>;
4305
+ getRelationKind(author: RelationSmallObject): RelationKind$1;
4306
+ doCancelForm(): void;
4307
+ private _prepareCollection;
4308
+ private _prepareNewActivity;
4309
+ private _showNewActivityLeaf;
4310
+ private _hideNewActivityLeaf;
4311
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTimelineComponent, never>;
4312
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTimelineComponent, "co-activity-timeline", never, { "cfgNames": { "alias": "cfgNames"; "required": false; }; "collection": { "alias": "collection"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "key": { "alias": "key"; "required": false; }; "table": { "alias": "table"; "required": false; }; "workflowCategory": { "alias": "workflowCategory"; "required": false; }; "reference": { "alias": "reference"; "required": false; }; "hideNew": { "alias": "hideNew"; "required": false; }; "showPlusButton": { "alias": "showPlusButton"; "required": false; }; "showOnTop": { "alias": "showOnTop"; "required": false; }; "canEditTask": { "alias": "canEditTask"; "required": false; }; "canDeleteTask": { "alias": "canDeleteTask"; "required": false; }; "allowNewTask": { "alias": "allowNewTask"; "required": false; }; "autoSave": { "alias": "autoSave"; "required": false; }; "loggedInUser": { "alias": "loggedInUser"; "required": false; }; "inverted": { "alias": "inverted"; "required": false; }; "editActivities": { "alias": "editActivities"; "required": false; }; "showYear": { "alias": "showYear"; "required": false; }; "hideInitialWorkflowTasks": { "alias": "hideInitialWorkflowTasks"; "required": false; }; }, { "saveActivity": "saveActivity"; "onDeleteActivity": "onDeleteActivity"; "statusChange": "statusChange"; "activitiesLoaded": "activitiesLoaded"; "refreshRequested": "refreshRequested"; }, never, never, false, never>;
4313
+ }
4314
+
4315
+ declare class ActivityLeafComponent {
4316
+ iconCacheService: IconCacheService;
4317
+ readonly icons: typeof Icon;
4318
+ readonly ActivityType: typeof ActivityType;
4319
+ form: FormComponent;
4320
+ set model(value: Activity);
4321
+ get model(): Activity;
4322
+ myCfgNames: ActivitiesTimeLineConfigNames;
4323
+ key: string;
4324
+ readonly: boolean;
4325
+ noEdit: boolean;
4326
+ noDelete: boolean;
4327
+ canEditTask: boolean;
4328
+ editActivities: boolean;
4329
+ okClick: EventEmitter<Activity>;
4330
+ cancelClick: EventEmitter<Activity>;
4331
+ viewOrEditClick: EventEmitter<MouseEvent>;
4332
+ deleteClick: EventEmitter<MouseEvent>;
4333
+ triggerFired: EventEmitter<void>;
4334
+ showClass: boolean;
4335
+ readonly trackByIndex: Function;
4336
+ clone: Activity;
4337
+ private _model;
4338
+ private _boFactory;
4339
+ constructor(iconCacheService: IconCacheService);
4340
+ handleOkClick(event: MouseEvent): void;
4341
+ handleValidSubmit(): void;
4342
+ handleCancelClick(event: MouseEvent): void;
4343
+ handleViewOrEditClick(event: MouseEvent): void;
4344
+ changeActivityDescription(text: string): void;
4345
+ private _getActivityFromModel;
4346
+ private _cloneModelToUse;
4347
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityLeafComponent, never>;
4348
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityLeafComponent, "co-activity-leaf", never, { "model": { "alias": "model"; "required": false; }; "myCfgNames": { "alias": "myCfgNames"; "required": false; }; "key": { "alias": "key"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "noEdit": { "alias": "noEdit"; "required": false; }; "noDelete": { "alias": "noDelete"; "required": false; }; "canEditTask": { "alias": "canEditTask"; "required": false; }; "editActivities": { "alias": "editActivities"; "required": false; }; }, { "okClick": "okClick"; "cancelClick": "cancelClick"; "viewOrEditClick": "viewOrEditClick"; "deleteClick": "deleteClick"; "triggerFired": "triggerFired"; }, never, never, false, never>;
4349
+ }
4350
+
4351
+ declare class NewActivityLeafComponent {
4352
+ iconCacheService: IconCacheService;
4353
+ private _elementRef;
4354
+ private _activityService;
4355
+ set activity(value: Activity);
4356
+ get activity(): Activity;
4357
+ myCfgNames: ActivitiesTimeLineConfigNames;
4358
+ okClick: EventEmitter<Activity>;
4359
+ cancelClick: EventEmitter<void>;
4360
+ showClass: boolean;
4361
+ key: string;
4362
+ icon: Icon;
4363
+ private _activity;
4364
+ constructor(iconCacheService: IconCacheService, _elementRef: ElementRef, _activityService: ActivityTimelineService);
4365
+ scrollLeafIntoView(event: any): void;
4366
+ static ɵfac: i0.ɵɵFactoryDeclaration<NewActivityLeafComponent, never>;
4367
+ static ɵcmp: i0.ɵɵComponentDeclaration<NewActivityLeafComponent, "co-new-activity-leaf", never, { "activity": { "alias": "activity"; "required": false; }; "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "okClick": "okClick"; "cancelClick": "cancelClick"; }, never, never, false, never>;
4368
+ }
4369
+
4370
+ declare class BaseActivityLeafComponent implements ScreenConfigAdapterComponent {
4371
+ private _fileTypeImgPipe;
4372
+ decimals: number;
4373
+ forceReadonly: boolean;
4374
+ maxLength: number;
4375
+ objectConfigName: string;
4376
+ redErrorBackground: boolean;
4377
+ required: boolean;
4378
+ readonly fileTypeImage: FileTypeInternal;
4379
+ readonly blackListValidatorsArray: AsyncValidatorFn[];
4380
+ readonly trackByIndex: Function;
4381
+ activity: Activity;
4382
+ key: string;
4383
+ readonly: boolean;
4384
+ noEdit: boolean;
4385
+ noDelete: boolean;
4386
+ canEditTask: boolean;
4387
+ activityChange: EventEmitter<Activity>;
4388
+ hidden: boolean;
4389
+ constructor(_fileTypeImgPipe: FileTypeImagePipe);
4390
+ imageDataUri(document: CoDocument): string;
4391
+ onDocClick(document: CoDocument): void;
4392
+ changeActivityDescription(text: string): void;
4393
+ static ɵfac: i0.ɵɵFactoryDeclaration<BaseActivityLeafComponent, never>;
4394
+ static ɵdir: i0.ɵɵDirectiveDeclaration<BaseActivityLeafComponent, never, never, { "activity": { "alias": "activity"; "required": false; }; "key": { "alias": "key"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "noEdit": { "alias": "noEdit"; "required": false; }; "noDelete": { "alias": "noDelete"; "required": false; }; "canEditTask": { "alias": "canEditTask"; "required": false; }; }, { "activityChange": "activityChange"; }, never, never, true, never>;
4395
+ }
4396
+
4397
+ declare class FormActivityLeafComponent extends BaseActivityLeafComponent {
4398
+ showClass: boolean;
4399
+ static ɵfac: i0.ɵɵFactoryDeclaration<FormActivityLeafComponent, never>;
4400
+ static ɵcmp: i0.ɵɵComponentDeclaration<FormActivityLeafComponent, "co-form-activity-leaf", never, {}, {}, never, never, false, never>;
4401
+ }
4402
+
4403
+ declare class RemarkActivityLeafComponent extends BaseActivityLeafComponent implements OnInit {
4404
+ private _sharedService;
4405
+ private _cfgService;
4406
+ myCfgNames: ActivitiesWorkConfigNames;
4407
+ showClass: boolean;
4408
+ constructor(fileTypeImgPipe: FileTypeImagePipe, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService);
4409
+ ngOnInit(): Promise<void>;
4410
+ static ɵfac: i0.ɵɵFactoryDeclaration<RemarkActivityLeafComponent, never>;
4411
+ static ɵcmp: i0.ɵɵComponentDeclaration<RemarkActivityLeafComponent, "co-remark-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, {}, never, never, false, never>;
4412
+ }
4413
+
4414
+ declare class TaskActivityLeafComponent extends BaseActivityLeafComponent implements OnInit {
4415
+ iconCacheService: IconCacheService;
4416
+ protected dictionaryService: SharedComponentsDictionaryService;
4417
+ protected dialogService: CoreDialogService;
4418
+ private _sharedService;
4419
+ showClass: boolean;
4420
+ myCfgNames: ActivitiesWorkConfigNames;
4421
+ readonly triggerFired: EventEmitter<ActivityWorkflow>;
4422
+ viewOrEditClick: EventEmitter<MouseEvent>;
4423
+ protected readonly icons: typeof Icon;
4424
+ private _workFlow;
4425
+ constructor(fileTypeImgPipe: FileTypeImagePipe, iconCacheService: IconCacheService, dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, _sharedService: SharedService);
4426
+ ngOnInit(): Promise<void>;
4427
+ handleManualTriggerClick(trigger: WorkflowTrigger): Promise<void>;
4428
+ handleViewOrEditClick(event: MouseEvent): void;
4429
+ static ɵfac: i0.ɵɵFactoryDeclaration<TaskActivityLeafComponent, never>;
4430
+ static ɵcmp: i0.ɵɵComponentDeclaration<TaskActivityLeafComponent, "co-task-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, { "triggerFired": "triggerFired"; "viewOrEditClick": "viewOrEditClick"; }, never, never, false, never>;
4431
+ }
4432
+
4433
+ declare class WorkActivityLeafComponent extends BaseActivityLeafComponent implements OnInit {
4434
+ private _sharedService;
4435
+ private _cfgService;
4436
+ myCfgNames: ActivitiesWorkConfigNames;
4437
+ showClass: boolean;
4438
+ calculationDescription: string;
4439
+ calculationKeys: CoDomainValue[];
4440
+ showCalculationKey: boolean;
4441
+ showDocuments: boolean;
4442
+ showDescription: boolean;
4443
+ showWorkedTime: boolean;
4444
+ constructor(fileTypeImgPipe: FileTypeImagePipe, _sharedService: SharedService, _cfgService: BaseModuleScreenConfigService);
4445
+ ngOnInit(): Promise<void>;
4446
+ getCalculationDescription(): string;
4447
+ handleCalculationKeyChange(code: string): void;
4448
+ handleExecutiveChange(id: number): Promise<void>;
4449
+ static ɵfac: i0.ɵɵFactoryDeclaration<WorkActivityLeafComponent, never>;
4450
+ static ɵcmp: i0.ɵɵComponentDeclaration<WorkActivityLeafComponent, "co-work-activity-leaf", never, { "myCfgNames": { "alias": "myCfgNames"; "required": false; }; }, {}, never, never, false, never>;
4451
+ }
4452
+
4453
+ declare class ActivityLinkComponent implements ScreenConfigAdapterComponent {
4454
+ iconCacheService: IconCacheService;
4455
+ readonly icons: typeof Icon;
4456
+ objectConfigName: string;
4457
+ required: boolean;
4458
+ forceReadonly: boolean;
4459
+ readonly: boolean;
4460
+ maxLength: number;
4461
+ decimals: number;
4462
+ redErrorBackground: boolean;
4463
+ hidden: boolean;
4464
+ icon: Icon;
4465
+ linkTxt: string;
4466
+ showClass: boolean;
4467
+ constructor(iconCacheService: IconCacheService);
4468
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityLinkComponent, never>;
4469
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityLinkComponent, "co-activity-link", never, { "icon": { "alias": "icon"; "required": false; }; "linkTxt": { "alias": "linkTxt"; "required": false; }; }, {}, never, never, false, never>;
4470
+ }
4471
+
4472
+ declare class ActivityTypeSelectComponent {
4473
+ readonly icon: typeof Icon;
4474
+ readonly activityType: typeof ActivityType;
4475
+ cfgNames: ActivitiesTimeLineAddButtonsConfigNames;
4476
+ allowNewTask: boolean;
4477
+ activitySelect: EventEmitter<ActivityType>;
4478
+ showClass: boolean;
4479
+ handleActivitySelect(type: ActivityType): void;
4480
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTypeSelectComponent, never>;
4481
+ static ɵcmp: i0.ɵɵComponentDeclaration<ActivityTypeSelectComponent, "co-activity-type-select", never, { "cfgNames": { "alias": "cfgNames"; "required": false; }; "allowNewTask": { "alias": "allowNewTask"; "required": false; }; }, { "activitySelect": "activitySelect"; }, never, never, false, never>;
4482
+ }
4483
+
4484
+ declare class InputDurationComponent implements ScreenConfigAdapterComponent {
4485
+ iconCacheService: IconCacheService;
4486
+ readonly icon: typeof Icon;
4487
+ readonly regex: string;
4488
+ inputTextComp: InputTextComponent;
4489
+ inputTextRef: ElementRef;
4490
+ placeholder: string;
4491
+ disabled: boolean;
4492
+ customWidth: boolean;
4493
+ set model(model: number);
4494
+ get model(): number;
4495
+ required: boolean;
4496
+ forceReadonly: boolean;
4497
+ readonly: boolean;
4498
+ maxLength: number;
4499
+ hoursPerDay: number;
4500
+ labelSuffix: string;
4501
+ readonly modelChange: EventEmitter<number>;
4502
+ readonly blur: EventEmitter<string>;
4503
+ showClass(): boolean;
4504
+ objectConfigName: string;
4505
+ hidden: boolean;
4506
+ defaultValue?: ObjectConfigurationDefaultValueType;
4507
+ decimals: number;
4508
+ redErrorBackground: boolean;
4509
+ configObject?: ObjectConfiguration;
4510
+ private _modelFromSetter;
4511
+ private _minutes;
4512
+ constructor(iconCacheService: IconCacheService);
4513
+ ngOnDestroy(): void;
4514
+ ngOnInit(): void;
4515
+ setModel(model: number): void;
4516
+ private _emitModelChange;
4517
+ private _setInputTextText;
4518
+ private _convertToMinutes;
4519
+ private _convertToDuration;
4520
+ requestFocus(): void;
4521
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDurationComponent, never>;
4522
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputDurationComponent, "co-input-duration", never, { "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customWidth": { "alias": "customWidth"; "required": false; }; "model": { "alias": "model"; "required": false; }; "required": { "alias": "required"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; "hoursPerDay": { "alias": "hoursPerDay"; "required": false; }; "labelSuffix": { "alias": "labelSuffix"; "required": false; }; }, { "modelChange": "modelChange"; "blur": "blur"; }, never, never, false, never>;
4523
+ }
4524
+
4525
+ declare class InputDurationModule {
4526
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputDurationModule, never>;
4527
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputDurationModule, [typeof InputDurationComponent], [typeof i2.CommonModule, typeof i3.InputTextModule], [typeof InputDurationComponent]>;
4528
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputDurationModule>;
4529
+ }
4530
+
4531
+ declare class InputSearchEmployeeComponent implements ScreenConfigAdapterComponent, OnInit {
4532
+ private _sharedService;
4533
+ model: number;
4534
+ placeholder: string;
4535
+ disabled: boolean;
4536
+ customWidth: boolean;
4537
+ required: boolean;
4538
+ forceReadonly: boolean;
4539
+ readonly: boolean;
4540
+ maxLength: number;
4541
+ modelChange: EventEmitter<number>;
4542
+ showClass(): boolean;
4543
+ objectConfigName: string;
4544
+ hidden: boolean;
4545
+ defaultValue?: ObjectConfigurationDefaultValueType;
4546
+ decimals: number;
4547
+ redErrorBackground: boolean;
4548
+ configObject?: ObjectConfiguration;
4549
+ modelForLov: RelationListObject;
4550
+ constructor(_sharedService: SharedService);
4551
+ ngOnInit(): Promise<void>;
4552
+ getCollection: (search: string) => Promise<RelationListObject[]>;
4553
+ handleModelChange(model: RelationListObject): void;
4554
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchEmployeeComponent, never>;
4555
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputSearchEmployeeComponent, "co-input-search-employee", never, { "model": { "alias": "model"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customWidth": { "alias": "customWidth"; "required": false; }; "required": { "alias": "required"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, false, never>;
4556
+ }
4557
+
4558
+ declare class InputSearchEmployeeModule {
4559
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputSearchEmployeeModule, never>;
4560
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputSearchEmployeeModule, [typeof InputSearchEmployeeComponent], [typeof i2.CommonModule, typeof i3.ListOfValuesModule, typeof SharedComponentsTranslationModule], [typeof InputSearchEmployeeComponent]>;
4561
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputSearchEmployeeModule>;
4562
+ }
4563
+
4564
+ declare class InputCalculationKeyComponent implements ScreenConfigAdapterComponent {
4565
+ private _sharedService;
4566
+ model: string;
4567
+ placeholder: string;
4568
+ disabled: boolean;
4569
+ customWidth: boolean;
4570
+ required: boolean;
4571
+ forceReadonly: boolean;
4572
+ readonly: boolean;
4573
+ maxLength: number;
4574
+ modelChange: EventEmitter<string>;
4575
+ showClass: boolean;
4576
+ objectConfigName: string;
4577
+ hidden: boolean;
4578
+ defaultValue?: ObjectConfigurationDefaultValueType;
4579
+ decimals: number;
4580
+ redErrorBackground: boolean;
4581
+ configObject?: ObjectConfiguration;
4582
+ modelForLov: CoDomainValue;
4583
+ collection: CoDomainValue[];
4584
+ constructor(_sharedService: SharedService);
4585
+ ngOnInit(): Promise<void>;
4586
+ handleModelChange(model: CoDomainValue): void;
4587
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCalculationKeyComponent, never>;
4588
+ static ɵcmp: i0.ɵɵComponentDeclaration<InputCalculationKeyComponent, "co-input-calculation-key", never, { "model": { "alias": "model"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; "disabled": { "alias": "disabled"; "required": false; }; "customWidth": { "alias": "customWidth"; "required": false; }; "required": { "alias": "required"; "required": false; }; "forceReadonly": { "alias": "forceReadonly"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "maxLength": { "alias": "maxLength"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, false, never>;
4589
+ }
4590
+
4591
+ declare class InputCalculationKeyModule {
4592
+ static ɵfac: i0.ɵɵFactoryDeclaration<InputCalculationKeyModule, never>;
4593
+ static ɵmod: i0.ɵɵNgModuleDeclaration<InputCalculationKeyModule, [typeof InputCalculationKeyComponent], [typeof i2.CommonModule, typeof i3.ListOfValuesModule, typeof SharedComponentsTranslationModule], [typeof InputCalculationKeyComponent]>;
4594
+ static ɵinj: i0.ɵɵInjectorDeclaration<InputCalculationKeyModule>;
4595
+ }
4596
+
4597
+ declare class AvatarService {
4598
+ private readonly _sharedService;
4599
+ private readonly _colorSequenceService;
4600
+ readonly relationDataUpdated: EventEmitter<number>;
4601
+ private _relationColorMap;
4602
+ private _relationAvatarsMap;
4603
+ private _relationRelationMap;
4604
+ constructor(_sharedService: SharedService, _colorSequenceService: ColorSequenceService);
4605
+ getRelationColor(relation: Relation | RelationSmallObject, sequenceName?: ColorSequenceName): string;
4606
+ getRelationColorById(relationId: number, sequenceName?: ColorSequenceName): string;
4607
+ getRelationAvatar(relation: Relation | RelationSmallObject): Promise<string>;
4608
+ setAvatarForRelationId(relationId: number, thumbnail: string): void;
4609
+ updateRelationData(relation: Relation | RelationSmallObject): void;
4610
+ private updateRelationAvatar;
4611
+ getRelation(relationId: number, relation: Relation | RelationSmallObject): Relation | RelationSmallObject;
4612
+ setRelation(relationId: number, relation: Relation): void;
4613
+ updateRelation(relationId: number, relation: Relation): void;
4614
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarService, never>;
4615
+ static ɵprov: i0.ɵɵInjectableDeclaration<AvatarService>;
4616
+ }
4617
+
4618
+ declare class AvatarComponent {
4619
+ iconCacheService: IconCacheService;
4620
+ private _promptService;
4621
+ private _avatarService;
4622
+ private _colorSequenceService;
4623
+ private _sharedService;
4624
+ private _changeDetector;
4625
+ readonly icons: typeof Icon;
4626
+ input: ElementRef;
4627
+ canChangeAvatar: boolean;
4628
+ checkOwnership: boolean;
4629
+ colorSequence: ColorSequenceName;
4630
+ sequence: number;
4631
+ tooltipText: string;
4632
+ set icon(value: Icon);
4633
+ set staticImageUri(imageData: string);
4634
+ set staticInitials(initials: string);
4635
+ set relation(relation: Relation);
4636
+ set relationId(relationId: number);
4637
+ loggedInRelation: {
4638
+ relationId: number;
4639
+ userName: string;
4640
+ };
4641
+ avatarDocChange: EventEmitter<CoDocument>;
4642
+ showClass: boolean;
4643
+ backgroundColor: string;
4644
+ displayName: string;
4645
+ handleMouseEnter(): void;
4646
+ handleMouseLeave(): void;
4647
+ onClick(): void;
4648
+ ownAvatar: boolean;
4649
+ imageData: string;
4650
+ staticIcon: Icon;
4651
+ initials: string;
4652
+ hoverTimer: any;
4653
+ private _hoverTimeout;
4654
+ private _relation;
4655
+ private _relationId;
4656
+ private _staticImageData;
4657
+ private _staticInitials;
4658
+ private _destroyed;
4659
+ private _subs;
4660
+ private _maxAvatarSize;
4661
+ constructor(iconCacheService: IconCacheService, _promptService: PromptService, _avatarService: AvatarService, _colorSequenceService: ColorSequenceService, _sharedService: SharedService, _changeDetector: ChangeDetectorRef);
4662
+ ngOnInit(): void;
4663
+ ngOnDestroy(): void;
4664
+ onFileChangeEvent(event: any, input?: HTMLInputElement): void;
4665
+ updateAvatar(): Promise<void>;
4666
+ uploadTheAvatar(): void;
4667
+ private _staticSet;
4668
+ private _setAvatarDataByRelation;
4669
+ private _setInitials;
4670
+ private _isOwnAvatar;
4671
+ private _changeDisplayName;
4672
+ private _setFileAsAvatarToCurrentRelation;
4673
+ private setDocProperties;
4674
+ private _detectChanges;
4675
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarComponent, never>;
4676
+ static ɵcmp: i0.ɵɵComponentDeclaration<AvatarComponent, "co-avatar", never, { "canChangeAvatar": { "alias": "canChangeAvatar"; "required": false; }; "checkOwnership": { "alias": "checkOwnership"; "required": false; }; "colorSequence": { "alias": "colorSequence"; "required": false; }; "sequence": { "alias": "sequence"; "required": false; }; "tooltipText": { "alias": "tooltipText"; "required": false; }; "icon": { "alias": "icon"; "required": false; }; "staticImageUri": { "alias": "staticImageUri"; "required": false; }; "staticInitials": { "alias": "staticInitials"; "required": false; }; "relation": { "alias": "relation"; "required": false; }; "relationId": { "alias": "relationId"; "required": false; }; "loggedInRelation": { "alias": "loggedInRelation"; "required": false; }; }, { "avatarDocChange": "avatarDocChange"; }, never, never, false, never>;
4677
+ }
4678
+
4679
+ declare class AvatarModule {
4680
+ static ɵfac: i0.ɵɵFactoryDeclaration<AvatarModule, never>;
4681
+ static ɵmod: i0.ɵɵNgModuleDeclaration<AvatarModule, [typeof AvatarComponent], [typeof i2.CommonModule, typeof i3.IconModule, typeof ImageDisplayModule], [typeof AvatarComponent]>;
4682
+ static ɵinj: i0.ɵɵInjectorDeclaration<AvatarModule>;
4683
+ }
4684
+
4685
+ declare class ActivityTimelineModule {
4686
+ static ɵfac: i0.ɵɵFactoryDeclaration<ActivityTimelineModule, never>;
4687
+ static ɵmod: i0.ɵɵNgModuleDeclaration<ActivityTimelineModule, [typeof ActivityTimelineComponent, typeof ActivityLeafComponent, typeof NewActivityLeafComponent, typeof FormActivityLeafComponent, typeof RemarkActivityLeafComponent, typeof TaskActivityLeafComponent, typeof WorkActivityLeafComponent, typeof ActivityLinkComponent, typeof ActivityTypeSelectComponent], [typeof i2.CommonModule, typeof TimelineComponent, typeof i3.IconModule, typeof TaskModifyerModule, typeof FormBuilderUserFormModule, typeof i3.FormModule, typeof SharedComponentsTranslationModule, typeof i3.ButtonModule, typeof i3.ScreenConfigurationModule, typeof i3.AlignWithModule, typeof i3.ClickoutsideModule, typeof i3.OverlayModule, typeof InputDurationModule, typeof InputSearchEmployeeModule, typeof i3.InputTextareaModule, typeof FilesUploadModule, typeof ImageDisplayModule, typeof i3.ImageModule, typeof InputCalculationKeyModule, typeof AvatarModule], [typeof ActivityTimelineComponent]>;
4688
+ static ɵinj: i0.ɵɵInjectorDeclaration<ActivityTimelineModule>;
4689
+ }
4690
+
4089
4691
  interface FingerPrintResult {
4090
4692
  fingerPrint?: string;
4091
4693
  deviceLabel?: string;
@@ -4372,5 +4974,5 @@ interface TreeViewNodeItemOptions {
4372
4974
  leafConditionField: string;
4373
4975
  }
4374
4976
 
4375
- export { ActivityListComponent, ActivityListModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DateRange, Day, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, FingerPrintService, FormBuilderUserFormComponent, FormBuilderUserFormModule, GaugeColor$1 as GaugeColor, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, Month, NULL_AGENDA_EVENT, NULL_AGENDA_EVENT_PER_DAY, NULL_DAY, NULL_MONTH, NULL_WEEK, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethod, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedLocalizePipe, SharedService, SharedSettings, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StatusbarPopupComponent, StockComponent, StockModule, TagTreeItem, TaskCreatorComponent, TaskCreatorModule, TimeWindow, TreeObject, TreeView, TreeViewNode, UserFormMode, Week, Weekday, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon };
4977
+ export { ActivityListComponent, ActivityListModule, ActivityTimelineComponent, ActivityTimelineModule, AgendaEvent, AgendaEventPerDay, CalendarView, CoLinearGaugeComponent, CoLinearGaugeModule, ComponentActivityListComponent, ComponentActivityListModule, DatePlanningComponent, DatePlanningModule, DateRange, Day, DocsignComponent, DocsignModule, FilesUploadComponent, FilesUploadModule, FingerPrintService, FormBuilderUserFormComponent, FormBuilderUserFormModule, GaugeColor$1 as GaugeColor, KeyPadComponent, KeyPadModule, LayoutSwitcherComponent, LayoutSwitcherModule, Month, NULL_AGENDA_EVENT, NULL_AGENDA_EVENT_PER_DAY, NULL_DAY, NULL_MONTH, NULL_WEEK, PreferredPlanningComponent, PreferredPlanningModule, RoleEmailSelectorComponent, RoleEmailSelectorModule, SendMethod, SendMethodDialogComponent, SendMethodDialogModule, SharedComponentsDictionaryService, SharedComponentsTranslationModule, SharedEventService, SharedLocalizePipe, SharedService, SharedSettings, SimpleTagsComponent, SimpleTagsFormComponent, SimpleTagsFormModule, SimpleTagsModule, StatusbarComponent, StatusbarModule, StatusbarPopupComponent, StockComponent, StockModule, TagTreeItem, TaskCreatorComponent, TaskCreatorModule, TimeWindow, TreeObject, TreeView, TreeViewNode, UserFormMode, Week, Weekday, WorkflowInfoTilesComponent, WorkflowInfoTilesModule, sendMethodsWithIcon };
4376
4978
  export type { StatusbarData, TextDimension, TreeViewModel, TreeViewNodeItemOptions, TreeViewNodeModel };