@colijnit/sharedcomponents 262.1.19 → 262.1.21

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
@@ -3,6 +3,7 @@ import { ElementRef, EventEmitter, ChangeDetectorRef, OnDestroy, OnInit, AfterVi
3
3
  import { PDFDocument } from 'pdf-lib';
4
4
  import SignaturePad from 'signature_pad';
5
5
  import * as i2 from '@angular/common';
6
+ import { LocationStrategy } from '@angular/common';
6
7
  import { PrintStockStickers } from '@colijnit/sharedapi/build/model/print-stock-stickers';
7
8
  import { GetStockHistoryRequest } from '@colijnit/articleapi/build/model/get-stock-history-request';
8
9
  import { ArticleStock as ArticleStock$1 } from '@colijnit/articleapi/build/model/article-stock.bo';
@@ -95,7 +96,9 @@ import { ModuleNavigationLink } from '@colijnit/mainapi/build/enum/module-naviga
95
96
  import { WorkflowGenericTransition } from '@colijnit/mainapi/build/model/workflow-generic-transition.bo';
96
97
  import { WorkflowCategoryType } from '@colijnit/mainapi/build/enum/workflow-category.enum';
97
98
  import { BusinessObjectFactory } from '@colijnit/ioneconnector/build/service/business-object-factory';
99
+ import * as i7 from '@angular/forms';
98
100
  import { AsyncValidatorFn } from '@angular/forms';
101
+ import * as i6 from '@tinymce/tinymce-angular';
99
102
  import { ObjectConfigurationDefaultValueType } from '@colijnit/ioneconnector/build/type/object-configuration-default-value-type';
100
103
  import { activityEmailRequestData } from '@colijnit/mainapi/build/model/activity-email-request-data';
101
104
  import { FormQuestionType } from '@colijnit/mainapi/build/enum/form-question.type';
@@ -995,7 +998,7 @@ declare class StockLocationPopupComponent implements OnInit {
995
998
  amountInStockChanged(data: any): void;
996
999
  handleOkClick(): Promise<void>;
997
1000
  togglePopup(): void;
998
- locationForNumber(number: string): "" | StockLocation;
1001
+ locationForNumber(number: string): StockLocation | "";
999
1002
  locationChanged(event: StockLocation): void;
1000
1003
  handleStockChange(): void;
1001
1004
  handleSelectedStockState(event: StockStatus): void;
@@ -1902,7 +1905,7 @@ declare class DatePlanningComponent {
1902
1905
  scrollToDayStart(): void;
1903
1906
  setFirstDayOfTheWeek(input: Date, weekStartsOn?: WeekStart): void;
1904
1907
  static ɵfac: i0.ɵɵFactoryDeclaration<DatePlanningComponent, never>;
1905
- static ɵcmp: i0.ɵɵComponentDeclaration<DatePlanningComponent, "co-date-planning", never, { "selectedDate": { "alias": "selectedDate"; "required": false; }; "selectedFirstDateOfTheWeek": { "alias": "selectedFirstDateOfTheWeek"; "required": false; }; "calendarNavigation": { "alias": "calendarNavigation"; "required": false; }; "customEventObject": { "alias": "customEventObject"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; }; "setSelectedDate": { "alias": "setSelectedDate"; "required": false; }; "firstAvailableDate": { "alias": "firstAvailableDate"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "view": { "alias": "view"; "required": false; }; "viewSelection": { "alias": "viewSelection"; "required": false; }; }, { "eventChecked": "eventChecked"; "selectedDateChange": "selectedDateChange"; "rangeChange": "rangeChange"; "viewChange": "viewChange"; "buttonClick": "buttonClick"; }, never, never, false, never>;
1908
+ static ɵcmp: i0.ɵɵComponentDeclaration<DatePlanningComponent, "co-date-planning", never, { "calendarNavigation": { "alias": "calendarNavigation"; "required": false; }; "customEventObject": { "alias": "customEventObject"; "required": false; }; "showButton": { "alias": "showButton"; "required": false; }; "weekStartsOn": { "alias": "weekStartsOn"; "required": false; }; "setSelectedDate": { "alias": "setSelectedDate"; "required": false; }; "firstAvailableDate": { "alias": "firstAvailableDate"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "view": { "alias": "view"; "required": false; }; "viewSelection": { "alias": "viewSelection"; "required": false; }; }, { "eventChecked": "eventChecked"; "selectedDateChange": "selectedDateChange"; "rangeChange": "rangeChange"; "viewChange": "viewChange"; "buttonClick": "buttonClick"; }, never, never, false, never>;
1906
1909
  }
1907
1910
 
1908
1911
  declare class CalendarAllYearsComponent implements OnInit {
@@ -3586,13 +3589,39 @@ declare class TaskDetailsComponent extends BaseActivitySummaryComponent {
3586
3589
  constructor(dictionaryService: SharedComponentsDictionaryService, dialogService: CoreDialogService, iconCacheService: IconCacheService, sharedService: SharedService);
3587
3590
  toggleStatusDropdown(): void;
3588
3591
  handleTriggerClickAndClose(trigger: any): void;
3592
+ handleDescriptionChange(description: string): void;
3589
3593
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskDetailsComponent, never>;
3590
3594
  static ɵcmp: i0.ɵɵComponentDeclaration<TaskDetailsComponent, "co-task-details", never, { "activity": { "alias": "activity"; "required": false; }; }, {}, never, never, false, never>;
3591
3595
  }
3592
3596
 
3597
+ declare class SimpleTextEditorComponent {
3598
+ private _locationStrategy;
3599
+ set model(value: string);
3600
+ get model(): string;
3601
+ modelChange: EventEmitter<string>;
3602
+ readonly: boolean;
3603
+ placeholder: string;
3604
+ showClass: boolean;
3605
+ editorConfig: any;
3606
+ private _editorModel;
3607
+ constructor(_locationStrategy: LocationStrategy);
3608
+ handleModelChange(value: string): void;
3609
+ private get _tinymceBaseUrl();
3610
+ private linkifyUrls;
3611
+ private htmlToPlainText;
3612
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTextEditorComponent, never>;
3613
+ static ɵcmp: i0.ɵɵComponentDeclaration<SimpleTextEditorComponent, "co-simple-text-editor", never, { "model": { "alias": "model"; "required": false; }; "readonly": { "alias": "readonly"; "required": false; }; "placeholder": { "alias": "placeholder"; "required": false; }; }, { "modelChange": "modelChange"; }, never, never, false, never>;
3614
+ }
3615
+
3616
+ declare class SimpleTextEditorModule {
3617
+ static ɵfac: i0.ɵɵFactoryDeclaration<SimpleTextEditorModule, never>;
3618
+ static ɵmod: i0.ɵɵNgModuleDeclaration<SimpleTextEditorModule, [typeof SimpleTextEditorComponent], [typeof i2.CommonModule, typeof i3.CoDialogModule, typeof i3.InputSearchModule, typeof i3.IconModule, typeof i4.DragDropModule, typeof i3.ButtonModule, typeof SharedComponentsTranslationModule, typeof i6.EditorComponent, typeof i7.FormsModule], [typeof SimpleTextEditorComponent]>;
3619
+ static ɵinj: i0.ɵɵInjectorDeclaration<SimpleTextEditorModule>;
3620
+ }
3621
+
3593
3622
  declare class TaskDetailsModule {
3594
3623
  static ɵfac: i0.ɵɵFactoryDeclaration<TaskDetailsModule, never>;
3595
- static ɵmod: i0.ɵɵNgModuleDeclaration<TaskDetailsModule, [typeof TaskDetailsComponent], [typeof SharedComponentsTranslationModule, typeof i3.InputTextModule, typeof i3.InputTextareaModule, typeof i3.IconModule, typeof i2.CommonModule], [typeof TaskDetailsComponent]>;
3624
+ static ɵmod: i0.ɵɵNgModuleDeclaration<TaskDetailsModule, [typeof TaskDetailsComponent], [typeof SharedComponentsTranslationModule, typeof i3.InputTextModule, typeof i3.InputTextareaModule, typeof i3.IconModule, typeof i2.CommonModule, typeof SimpleTextEditorModule], [typeof TaskDetailsComponent]>;
3596
3625
  static ɵinj: i0.ɵɵInjectorDeclaration<TaskDetailsModule>;
3597
3626
  }
3598
3627
 
@@ -202,6 +202,14 @@
202
202
  align-items: center;
203
203
  gap: 15px;
204
204
  }
205
+ .label {
206
+ margin: 0;
207
+ display: -webkit-box;
208
+ -webkit-line-clamp: 2;
209
+ -webkit-box-orient: vertical;
210
+ overflow: hidden;
211
+ text-overflow: ellipsis;
212
+ }
205
213
  }
206
214
  }
207
215
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.19",
3
+ "version": "262.1.21",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",