@colijnit/sharedcomponents 262.1.3 → 262.1.5

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
@@ -3390,6 +3390,8 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3390
3390
  userGroupId: number;
3391
3391
  relationId: number;
3392
3392
  branchNo: string;
3393
+ draggableActivities: boolean;
3394
+ taskView: boolean;
3393
3395
  componentActivitiesMethod: OperationCallbackSimpleFunction;
3394
3396
  setHasPausedNotificationsForWorkflowProcessOperation: OperationCallbackFunctionWithValidation;
3395
3397
  openLinkClick: EventEmitter<Activity>;
@@ -3401,6 +3403,7 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3401
3403
  formCreated: EventEmitter<void>;
3402
3404
  refreshRequested: EventEmitter<void>;
3403
3405
  showUsergroupActivitiesChanged: EventEmitter<void>;
3406
+ activityDragStarted: EventEmitter<ActivityViewModel>;
3404
3407
  activeTab: PersonalActivityTabEnum;
3405
3408
  activityList: ActivityViewModel[];
3406
3409
  trackByFn(index: number, vm: ActivityViewModel): any;
@@ -3437,8 +3440,10 @@ declare class ComponentActivityListComponent extends BaseActivityListComponent i
3437
3440
  }): void;
3438
3441
  openFirstTask(): void;
3439
3442
  tryOpenTaskByTaskId(taskId: number): boolean;
3443
+ hasTaskActivity(activities: any[]): boolean;
3444
+ handleDragStart(dragEvent: DragEvent, activity: ActivityViewModel): void;
3440
3445
  static ɵfac: i0.ɵɵFactoryDeclaration<ComponentActivityListComponent, never>;
3441
- 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>;
3446
+ 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; }; "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>;
3442
3447
  }
3443
3448
 
3444
3449
  declare class PersonalActivityOverviewComponent extends BaseActivityOverviewComponent {
@@ -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;
@@ -0,0 +1,11 @@
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
+ }
@@ -0,0 +1,23 @@
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
+
@@ -0,0 +1,57 @@
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
+ }
@@ -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.3",
3
+ "version": "262.1.5",
4
4
  "private": false,
5
5
  "dependencies": {
6
6
  "chart.js": "4.3.0",