@colijnit/sharedcomponents 262.1.2 → 262.1.4

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
@@ -978,7 +978,7 @@ declare class StockLocationPopupComponent {
978
978
  handleOkClick(): void;
979
979
  togglePopup(): void;
980
980
  getStockLocations(): void;
981
- locationForNumber(number: string): StockLocation | "";
981
+ locationForNumber(number: string): "" | StockLocation;
982
982
  locationChanged(event: StockLocation): void;
983
983
  handleStockChange(): void;
984
984
  newDate(): Date;
@@ -3437,6 +3437,7 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3437
3437
  }): void;
3438
3438
  openFirstTask(): void;
3439
3439
  tryOpenTaskByTaskId(taskId: number): boolean;
3440
+ hasTaskActivity(activities: any[]): boolean;
3440
3441
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityListComponent, never>;
3441
3442
  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>;
3442
3443
  }
@@ -3933,7 +3934,11 @@ declare class PreferredPlanningComponent implements OnInit {
3933
3934
  disclaimerHeader: string;
3934
3935
  disclaimerDescription: string;
3935
3936
  loadMoreButtonText: string;
3936
- eventsPerDay: AgendaEventPerDay[];
3937
+ showDisclaimer: boolean;
3938
+ showConfirmButton: boolean;
3939
+ verticalLayout: boolean;
3940
+ set eventsPerDay(value: AgendaEventPerDay[]);
3941
+ get eventsPerDay(): AgendaEventPerDay[];
3937
3942
  selectedDate: Date;
3938
3943
  readonly buttonClick: EventEmitter<MouseEvent>;
3939
3944
  selected: EventEmitter<AgendaEventPerDay>;
@@ -3944,12 +3949,14 @@ declare class PreferredPlanningComponent implements OnInit {
3944
3949
  selectedOption: AgendaEvent;
3945
3950
  moreLoadable: boolean;
3946
3951
  checkDisabled: boolean;
3952
+ private _eventsPerDay;
3947
3953
  constructor(locale: string, iconCacheService: IconCacheService, _changeDetector: ChangeDetectorRef);
3948
3954
  ngOnInit(): void;
3955
+ checkForMoreLoadable(): void;
3949
3956
  handleOptionSelect(event: boolean, selectedOption: AgendaEvent, date: Date, index: number): void;
3950
3957
  loadMore(): void;
3951
3958
  static ɵfac: i0.ɵɵFactoryDeclaration<PreferredPlanningComponent, never>;
3952
- static ɵcmp: i0.ɵɵComponentDeclaration<PreferredPlanningComponent, "co-preferred-planning", never, { "firstAvailableDate": { "alias": "firstAvailableDate"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerDescription": { "alias": "headerDescription"; "required": false; }; "disclaimerHeader": { "alias": "disclaimerHeader"; "required": false; }; "disclaimerDescription": { "alias": "disclaimerDescription"; "required": false; }; "loadMoreButtonText": { "alias": "loadMoreButtonText"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; }, { "buttonClick": "buttonClick"; "selected": "selected"; }, never, never, false, never>;
3959
+ static ɵcmp: i0.ɵɵComponentDeclaration<PreferredPlanningComponent, "co-preferred-planning", never, { "firstAvailableDate": { "alias": "firstAvailableDate"; "required": false; }; "buttonLabel": { "alias": "buttonLabel"; "required": false; }; "headerText": { "alias": "headerText"; "required": false; }; "headerDescription": { "alias": "headerDescription"; "required": false; }; "disclaimerHeader": { "alias": "disclaimerHeader"; "required": false; }; "disclaimerDescription": { "alias": "disclaimerDescription"; "required": false; }; "loadMoreButtonText": { "alias": "loadMoreButtonText"; "required": false; }; "showDisclaimer": { "alias": "showDisclaimer"; "required": false; }; "showConfirmButton": { "alias": "showConfirmButton"; "required": false; }; "verticalLayout": { "alias": "verticalLayout"; "required": false; }; "eventsPerDay": { "alias": "eventsPerDay"; "required": false; }; "selectedDate": { "alias": "selectedDate"; "required": false; }; }, { "buttonClick": "buttonClick"; "selected": "selected"; }, never, never, false, never>;
3953
3960
  }
3954
3961
 
3955
3962
  declare class PreferredPlanningModule {
@@ -1,24 +1,17 @@
1
1
  @include export-module('co-component-activity-overview-layout') {
2
2
  .co-component-activity-overview {
3
- user-select: none;
4
- display: block;
5
- background: rgba(255, 255, 255, 0);
6
- transition: all .2s ease-in-out;
7
- box-shadow: inset 0 0 1px rgba(1, 1, 1, 0.3);
8
- padding: 10px;
9
- overflow: hidden;
10
- margin-bottom: 15px;
11
3
  .overview-wrapper {
12
4
  display: flex;
13
- flex-direction: row;
5
+ flex-direction: column;
14
6
  align-items: flex-start;
15
- gap: 30px;
7
+ gap: 15px;
16
8
  justify-content: space-between;
17
9
  .overview-current {
18
10
  display: flex;
19
11
  align-items: center;
20
12
  gap: 15px;
21
13
  .overview-wrapper-icons {
14
+ display: none;
22
15
  .activity-icon {
23
16
  border-radius: 100%;
24
17
  display: flex;
@@ -4,19 +4,28 @@
4
4
  display: flex;
5
5
  min-height: 0;
6
6
  margin-top: 20px;
7
- .eventOption {
8
- border: 1px solid #939397;
9
- border-radius: 2px;
10
- box-sizing: border-box;
11
- padding: 15px;
12
- min-width: 330px;
13
- margin-bottom: 15px;
14
- p {
15
- font-weight: bold;
16
- margin-bottom: 5px;
7
+ .planning-options {
8
+ .eventOption {
9
+ border: 1px solid #939397;
10
+ border-radius: 2px;
11
+ box-sizing: border-box;
12
+ padding: 15px;
13
+ min-width: 330px;
14
+ margin-bottom: 15px;
15
+
16
+ p {
17
+ font-weight: bold;
18
+ margin-bottom: 5px;
19
+ }
20
+
21
+ .planning-option {
22
+ margin-bottom: 10px;
23
+ }
17
24
  }
18
- .planning-option {
19
- margin-bottom: 10px;
25
+ &.horizontal-layout {
26
+ display: flex;
27
+ column-gap: 20px;
28
+ flex-direction: row;
20
29
  }
21
30
  }
22
31
  .day-selected {
@@ -42,6 +51,7 @@
42
51
  }
43
52
  }
44
53
  }
54
+
45
55
  .load-more-container {
46
56
  margin: 10px 0;
47
57
  }
@@ -91,7 +91,7 @@
91
91
  }
92
92
  .co-input-textarea {
93
93
  &.large-remark {
94
- min-height: 130px;
94
+ min-height: 60px;
95
95
  width: 100%;
96
96
  border-bottom: 4px solid #f5f5fc;
97
97
  }
@@ -105,7 +105,7 @@
105
105
  textarea {
106
106
  margin-top: 0;
107
107
  padding-top: 30px;
108
- min-height: 130px;
108
+ min-height: 60px;
109
109
  }
110
110
  }
111
111
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@colijnit/sharedcomponents",
3
- "version": "262.1.2",
3
+ "version": "262.1.4",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",
@@ -0,0 +1,3 @@
1
+ {
2
+ "routes": {}
3
+ }