@colijnit/sharedcomponents 262.1.6 → 262.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/index.d.ts CHANGED
@@ -980,7 +980,7 @@ declare class StockLocationPopupComponent {
980
980
  stockBelow: boolean;
981
981
  validationMessage: string;
982
982
  constructor(iconCacheService: IconCacheService, _stockService: StockService, _changeDetector: ChangeDetectorRef);
983
- statusForId(id: number): StockStatus | 0;
983
+ statusForId(id: number): 0 | StockStatus;
984
984
  handleStockStatusChange(status: StockStatus): void;
985
985
  handleStockStatusRemarkChange(remark: string): void;
986
986
  amountInStockChanged(data: any): void;
@@ -988,7 +988,7 @@ declare class StockLocationPopupComponent {
988
988
  handleOkClick(): void;
989
989
  togglePopup(): void;
990
990
  getStockLocations(): void;
991
- locationForNumber(number: string): StockLocation | "";
991
+ locationForNumber(number: string): "" | StockLocation;
992
992
  locationChanged(event: StockLocation): void;
993
993
  handleStockChange(): void;
994
994
  newDate(): Date;
@@ -2958,6 +2958,7 @@ declare class ActivityListComponent implements OnInit, ScreenConfigAdapterCompon
2958
2958
  getRelationKind(author: RelationSmallObject): RelationKind;
2959
2959
  getDateString(date: Date): string;
2960
2960
  getActivityIcon(activity: Activity): Icon;
2961
+ getActivityClass(activity: Activity): string;
2961
2962
  showTriggers(activity: Activity): boolean;
2962
2963
  showAttachments(activity: Activity): boolean;
2963
2964
  showEmailHistory(activity: Activity): boolean;
@@ -3372,11 +3373,14 @@ declare class ComponentActivityOverviewComponent extends BaseActivityOverviewCom
3372
3373
  taskIcon: Icon;
3373
3374
  branchNo: string;
3374
3375
  showClass(): boolean;
3376
+ handleDocumentClick(): void;
3377
+ taskBoxActive: boolean;
3375
3378
  private activityColorMap;
3376
3379
  constructor(iconCacheService: IconCacheService, dialogService: CoreDialogService, dictionaryService: SharedComponentsDictionaryService, sharedService: SharedService);
3377
3380
  getActivityIcon(activity: Activity): Icon;
3378
3381
  getRandomColor(): string;
3379
3382
  getColorForActivity(activity: Activity): string;
3383
+ handleOpenTasks(event: MouseEvent): void;
3380
3384
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityOverviewComponent, never>;
3381
3385
  static ɵcmp: i0.ɵɵComponentDeclaration<ComponentActivityOverviewComponent, "co-component-activity-overview", never, { "remarkIcon": { "alias": "remarkIcon"; "required": false; }; "workIcon": { "alias": "workIcon"; "required": false; }; "statusIcon": { "alias": "statusIcon"; "required": false; }; "taskIcon": { "alias": "taskIcon"; "required": false; }; "branchNo": { "alias": "branchNo"; "required": false; }; }, {}, never, never, false, never>;
3382
3386
  }
@@ -3432,14 +3436,15 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3432
3436
  constructor(sharedService: SharedService);
3433
3437
  ngOnInit(): Promise<void>;
3434
3438
  ngOnDestroy(): void;
3439
+ refreshActivities(): Promise<void>;
3435
3440
  getActivities(): Promise<void>;
3436
3441
  set activitiesList(allActivities: Activity[]);
3437
3442
  get activitiesList(): Activity[];
3438
3443
  getDelegatedActivities(): Promise<void>;
3439
3444
  showUsergroupActivitiesChange(): void;
3440
- handleTriggerFired(activity: Activity): void;
3441
- handleGenericTriggerFired(activity: Activity): void;
3442
- handleFormTriggerFired(): void;
3445
+ handleTriggerFired(activity: Activity): Promise<void>;
3446
+ handleGenericTriggerFired(activity: Activity): Promise<void>;
3447
+ handleFormTriggerFired(): Promise<void>;
3443
3448
  handleFormCreation(): void;
3444
3449
  handleChangedActivity(idx: number, activity: Activity): void;
3445
3450
  deleteActivity(activity: Activity): void;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.6",
3
+ "version": "262.1.7",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }
@@ -1,11 +0,0 @@
1
- #search-preset-overview:not(.is-mobile)::ng-deep.co-dialog-wrapper::ng-deep {
2
- width: 600px;
3
- min-height: 200px;
4
- max-height: 500px;
5
-
6
- .header {
7
- padding: 1em;
8
- font-size: 14px;
9
- font-weight: bold;
10
- }
11
- }
@@ -1,23 +0,0 @@
1
- #preset-save-dialog:not(.is-mobile) .co-dialog-wrapper {
2
- width: 400px;
3
- min-height: 200px;
4
- max-height: 500px;
5
-
6
- .save-dialog-contents {
7
- width: 100%;
8
- display: flex;
9
- flex-direction: column;
10
- row-gap: 10px;
11
- padding: 10px;
12
-
13
- .co-input-text {
14
- width: 100%;
15
- }
16
-
17
- .co-list-of-values {
18
- width: 100%;
19
- }
20
- }
21
- }
22
-
23
-
@@ -1,57 +0,0 @@
1
- :host {
2
- width: 100%;
3
- padding: 2px;
4
- min-height: 30px;
5
- display: flex;
6
- .preset-button {
7
- display: block;
8
- }
9
- .pinned-presets-row {
10
- width: 100%;
11
- display: flex;
12
- flex-direction: row;
13
- column-gap: 5px;
14
- padding: 10px 10px 10px 20px;
15
- justify-content: flex-start;
16
- flex-wrap: wrap;
17
- }
18
- .presets-wrapper {
19
- display: flex;
20
- align-items: center;
21
- flex-wrap: wrap;
22
- gap: 5px
23
- }
24
- .presets {
25
- height: 16px;
26
- font-size: 10px;
27
- color: #000000;
28
- background: #f5f5fa;
29
- border-radius: 5px;
30
- padding: 2px 7px;
31
- user-select: none;
32
-
33
- &.active {
34
- color: #FFFFFF;
35
- background: red;
36
- }
37
- }
38
-
39
- .show-all-button {
40
- height: 16px;
41
- font-size: 10px;
42
- color: #000000;
43
- display: flex;
44
- align-items: center;
45
- background: #FFFFFF;
46
- border: 1px solid;
47
- border-radius: 5px;
48
- padding: 2px 7px;
49
- cursor: pointer;
50
-
51
- &:hover {
52
- background: #1A73E8;
53
- color: #FFF;
54
- filter: none;
55
- }
56
- }
57
- }